/*
 * Dennett Estates
 *
 * Everything is a `de-*` class on top of a small reset scoped to .de-body.
 * No Bootstrap. Sections are in page order; shared pieces come first.
 *
 *   1. Fonts and tokens
 *   2. Base and utilities
 *   3. Buttons, links, forms
 *   4. Header, menu, utility bar, mobile bar
 *   5. Home sections: hero, Greg, featured, selling, valuation, reviews,
 *      areas, ledger, charity, recognition
 *   6. Footer
 *   7. Breakpoints and reduced motion
 */

/* 1. Fonts and tokens ---------------------------------------------------- */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/instrument-sans-latin.woff2") format('woff2');
}

@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/newsreader-latin.woff2") format('woff2');
}

@font-face {
    font-family: 'Newsreader';
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("../fonts/newsreader-italic-latin.woff2") format('woff2');
}

:root {
    --de-navy:       #0b4269;
    --de-navy-deep:  #08324f;
    --de-navy-soft:  #1d4a6a;
    --de-gold:       #84754e;
    --de-gold-dark:  #766742;
    --de-gold-light: #e9dcb4;

    --de-ink:        #16222c;
    --de-ink-body:   #2a3740;
    --de-ink-lede:   #33414b;
    --de-muted:      #4f5b64;
    --de-on-navy:    #d6e0e8;
    --de-on-navy-2:  #c9d6e0;

    --de-line:       #dcd9d2;
    --de-line-2:     #cfcbc2;
    --de-line-form:  #9aa3aa;
    --de-soft:       #f4f3f0;
    --de-hair-navy:  rgba(255, 255, 255, .2);

    --de-serif: 'Newsreader', Georgia, serif;
    --de-sans:  'Instrument Sans', system-ui, sans-serif;
}

/* 2. Base and utilities -------------------------------------------------- */

.de-body {
    margin: 0;
    background: #ffffff;
    color: var(--de-ink);
    font-family: var(--de-sans);
    -webkit-font-smoothing: antialiased;
}

/* :where() keeps the reset at zero specificity, so any class below wins. */
:where(.de-body) :is(h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul) { margin: 0; }
:where(.de-body) :is(ol, ul) { padding: 0; list-style: none; }
:where(.de-body) a { color: var(--de-navy); }
:where(.de-body) :where(a:hover) { color: var(--de-navy-deep); }
:where(.de-body) :focus-visible { outline: 3px solid var(--de-navy); outline-offset: 3px; border-radius: 2px; }
.de-onnavy :focus-visible { outline-color: var(--de-gold-light); }

.de-wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; box-sizing: border-box; }

.de-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.de-tdn { text-decoration: none; }
.de-tap { min-height: 44px; display: inline-flex; align-items: center; }
.de-link { font-weight: 600; font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; }
.de-stack { display: flex; flex-direction: column; gap: 12px; }
.de-caption { font-size: 14px; color: var(--de-muted); }

.de-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--de-gold-dark); }
.de-onnavy .de-eyebrow { color: var(--de-gold-light); }

.de-h1,
.de-h2 {
    font-family: var(--de-serif);
    font-weight: 400;
    font-size: clamp(36px, 3.8vw, 56px);
    line-height: 1.05;
    letter-spacing: -.015em;
    color: var(--de-navy);
}
.de-h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.06; }
.de-h2--md { font-size: clamp(36px, 3.6vw, 52px); }
.de-h2--lg { font-size: clamp(40px, 4vw, 60px); }
.de-h2--xl { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; }
.de-onnavy .de-h2 { color: #ffffff; letter-spacing: 0; }

.de-prose { display: flex; flex-direction: column; gap: 18px; max-width: 640px; font-size: 19px; line-height: 1.6; color: var(--de-ink-body); }

/* Image slots (views/dennettestates/site/_image.php) */
.de-ph {
    background: #cfd5d9;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    box-sizing: border-box;
}
.de-ph__note { font-family: var(--de-serif); font-style: italic; font-size: 16px; line-height: 1.4; color: #2c3a44; }
.de-ph--right .de-ph__note { margin-left: auto; max-width: 240px; text-align: right; }
.de-ph--soft { background: #dfe3e5; padding: 20px; }
.de-ph--soft .de-ph__note { font-size: 15px; color: var(--de-ink-lede); }
.de-img { display: block; width: 100%; height: auto; object-fit: cover; }
.de-avatar { width: 64px; height: 64px; border-radius: 50%; background: #cfd5d9; flex-shrink: 0; object-fit: cover; }
.de-avatar--sm { width: 48px; height: 48px; }
.de-avatar--lg { width: 72px; height: 72px; }
/* The logo standing in for Greg's photo keeps its own rectangle, at the avatar's height. */
.de-avatar.de-avatar--logo { width: auto; aspect-ratio: 300 / 204; border-radius: 3px; background: none; }

/* 3. Buttons, links, forms ----------------------------------------------- */

.de-btn {
    min-height: 52px;
    padding: 0 28px;
    background: var(--de-navy);
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}
.de-btn:hover { background: var(--de-navy-deep); }
.de-btn--lg { min-height: 56px; font-size: 18px; margin-top: 4px; }

.de-btn-gold {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    background: var(--de-gold-light);
    color: var(--de-navy-deep);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.de-row:hover .de-rarrow { transform: translateX(4px); }
.de-rarrow { transition: transform .2s ease; display: inline-block; }

.de-label { display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 600; }
.de-label__hint { font-weight: 400; font-size: 14px; color: var(--de-muted); margin-top: -4px; }
.de-field {
    font: inherit;
    font-size: 17px;
    color: var(--de-ink);
    background: #ffffff;
    border: 1.5px solid var(--de-line-form);
    border-radius: 4px;
    min-height: 52px;
    padding: 0 14px;
    width: 100%;
    box-sizing: border-box;
}
.de-field:focus-visible { border-color: var(--de-navy); outline: 3px solid var(--de-navy); outline-offset: 1px; }

.de-pick {
    font: inherit;
    color: var(--de-navy);
    background: #ffffff;
    border: 0;
    border-bottom: 2px solid var(--de-gold);
    border-radius: 0;
    min-height: 44px;
    padding: 0 6px;
    font-weight: 500;
    cursor: pointer;
}

/* 4. Header, menu, utility bar, mobile bar ------------------------------- */

.de-util { background: var(--de-navy-deep); color: #ffffff; font-size: 14px; }
.de-util__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 44px; }
.de-util__status { color: var(--de-gold-light); }
.de-util__links { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.de-util__links a { color: #ffffff; min-height: 44px; display: inline-flex; align-items: center; }
.de-util__links strong { margin-left: 6px; font-weight: 600; }
.de-util__long { display: none; }

.de-header { position: sticky; top: 0; z-index: 20; background: #ffffff; border-bottom: 1px solid var(--de-line); }
.de-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.de-header__cta { display: flex; align-items: center; gap: 10px; }

/* The client's logo: a navy panel with a gold frame, 300×204 source. */
.de-logo { display: block; flex-shrink: 0; }
.de-logo img { display: block; height: 64px; width: auto; }

.de-nav { display: flex; gap: 4px; align-items: center; }
.de-nav__a { text-decoration: none; color: var(--de-ink); font-weight: 500; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
.de-nav__a:hover { color: var(--de-navy); text-decoration: underline; text-underline-offset: 6px; }

.de-callbtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    background: var(--de-navy);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}
.de-callbtn__short { display: none; }
.de-menubtn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--de-navy);
    background: #ffffff;
    border-radius: 4px;
    color: var(--de-navy);
    cursor: pointer;
}

/* Full-screen mobile menu. Opens from the button (JS) or the #de-menu hash. */
.de-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    overflow-y: auto;
    background: var(--de-navy-deep);
    color: #ffffff;
}
.de-menu:target,
.de-menu.is-open { display: flex; }
html.de-menu-open { overflow: hidden; }
.de-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; min-height: 68px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.de-menu__logo { display: block; }
.de-menu__logo img { display: block; height: 48px; width: auto; }
.de-menu__close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 4px;
    color: #ffffff;
    background: none;
    cursor: pointer;
}
.de-menu__nav { padding: 8px 16px 0; display: flex; flex-direction: column; }
.de-menu__a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    text-decoration: none;
    color: #ffffff;
    font-family: var(--de-serif);
    font-size: 28px;
}
.de-menu__a span { font-family: var(--de-sans); font-size: 18px; color: var(--de-gold-light); }
.de-menu__foot { margin-top: auto; padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 10px; background: var(--de-navy); }
.de-menu__status { display: flex; align-items: center; gap: 12px; }
.de-menu__status p { font-size: 15px; line-height: 1.4; color: var(--de-gold-light); }
.de-menu__call {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: var(--de-navy);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 17px;
}
.de-menu__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.de-menu__pair .de-btn-gold { min-height: 52px; }
.de-menu__ooh {
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--de-gold-light);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    box-sizing: border-box;
}
.de-menu__ooh span { font-weight: 400; }

/* Sticky call bar, phone widths only */
.de-mbar {
    display: none;
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: var(--de-navy-deep);
    padding: 8px;
    gap: 8px;
    box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .5);
}
.de-mbar a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; border-radius: 4px; }
.de-mbar__call { background: #ffffff; color: var(--de-navy); }
.de-mbar__val { border: 1.5px solid var(--de-gold-light); color: #ffffff; box-sizing: border-box; }

/* 5. Home sections ------------------------------------------------------- */

/* Hero */
.de-hero { background: var(--de-soft); border-bottom: 1px solid var(--de-line); }
.de-hero__in { display: flex; flex-wrap: wrap; gap: 56px 72px; padding-top: 72px; padding-bottom: 104px; align-items: flex-start; }
.de-hero__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.de-hero__who { display: flex; gap: 14px; align-items: center; }
.de-hero__who .de-avatar { display: none; }
.de-hero__lede { max-width: 580px; font-size: 19px; line-height: 1.55; color: var(--de-ink-lede); }
.de-hero__aside { flex: 1 1 400px; min-width: 0; position: relative; padding-top: 8px; }

.de-search {
    margin-top: 8px;
    background: #ffffff;
    border: 1px solid var(--de-line);
    border-top: 3px solid var(--de-gold);
    border-radius: 4px;
    padding: 24px 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.de-search__sentence { font-family: var(--de-serif); font-size: 24px; line-height: 1.9; color: var(--de-ink); }
.de-search__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.de-search__foot a { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }

.de-quick { display: flex; flex-wrap: wrap; border-top: 1px solid var(--de-line-2); }
.de-quick__a {
    flex: 1 1 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 0 20px;
    text-decoration: none;
    color: var(--de-navy);
    font-weight: 600;
    font-size: 17px;
    border-bottom: 1px solid var(--de-line-2);
}
.de-quick__a + .de-quick__a { border-left: 1px solid var(--de-line-2); }
.de-quick__a:first-child { padding-left: 0; }
.de-quick__a:last-child { padding-right: 0; }

.de-lift {
    position: absolute;
    left: -56px;
    bottom: -56px;
    width: 360px;
    background: var(--de-navy);
    color: #ffffff;
    padding: 24px 26px;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px -24px rgba(8, 50, 79, .7);
}
.de-lift__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--de-gold-light); }
.de-lift__num {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    min-height: 44px;
    border-bottom: 1px solid var(--de-hair-navy);
    gap: 12px;
}
.de-lift__who { font-size: 14px; color: var(--de-on-navy-2); }
.de-lift__tel { font-family: var(--de-serif); font-size: 26px; }
.de-lift__status { font-size: 14px; line-height: 1.45; color: var(--de-gold-light); }

/* Greg */
.de-greg__in { padding-top: 120px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px 80px; }
.de-greg__photo { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.de-greg__text { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.de-handle { border-top: 2px solid var(--de-navy); margin-top: 8px; }
.de-handle .de-eyebrow { margin: 16px 0 4px; }
.de-handle__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 40px; }
.de-handle__item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--de-line); }
.de-handle__n { font-family: var(--de-serif); font-size: 22px; color: var(--de-gold-dark); min-width: 28px; }
.de-handle__t { display: block; font-size: 17px; color: var(--de-navy); }
.de-handle__d { font-size: 16px; color: var(--de-muted); }

.de-contact-wrap { padding-bottom: 120px; }
.de-contact {
    background: var(--de-navy);
    color: #ffffff;
    border-radius: 4px;
    padding: 40px 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    align-items: stretch;
}
.de-contact__intro { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.de-contact__title { font-family: var(--de-serif); font-weight: 400; font-size: 36px; line-height: 1.1; }
.de-contact__intro p { font-size: 17px; line-height: 1.55; color: var(--de-on-navy); }
.de-contact__cols { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-left: 1px solid var(--de-hair-navy); }
.de-contact__col { padding: 0 28px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--de-hair-navy); }
.de-contact__col:last-child { gap: 10px; border-right: 0; }
.de-contact__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--de-gold-light); }
.de-contact__tel { color: #ffffff; font-family: var(--de-serif); font-size: clamp(26px, 2.2vw, 30px); white-space: nowrap; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.de-contact__col p:not(.de-contact__label) { font-size: 15px; line-height: 1.5; color: var(--de-on-navy); }
.de-contact__mail { color: #ffffff; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }

/* Featured properties */
.de-sale { background: var(--de-soft); border-top: 1px solid var(--de-line); }
.de-sale__in { padding-top: 96px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.de-sale__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.de-grid-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; }
.de-grid-compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }

.de-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid var(--de-line);
    border-radius: 4px;
    text-decoration: none;
    color: var(--de-ink);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.de-card:hover { border-color: var(--de-navy); box-shadow: 0 14px 28px -18px rgba(8, 50, 79, .55); }
.de-card:hover .de-card__title { text-decoration: underline; text-underline-offset: 4px; }
.de-ph.de-card__ph { padding: 18px; }
.de-card__ph .de-ph__note { font-size: 15px; }
.de-card__body { padding: 22px 24px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; align-items: flex-end; }
.de-card__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.de-card__qual { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--de-gold-dark); min-height: 15px; }
.de-card__price { font-family: var(--de-serif); font-size: 36px; line-height: 1.05; color: var(--de-navy); }
.de-card__title { font-size: 19px; font-weight: 600; margin-top: 6px; }
.de-card__area { font-size: 15px; color: var(--de-muted); }

.de-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--de-line); border-radius: 2px; min-width: 220px; }
.de-stats div { padding: 10px 12px; text-align: center; }
.de-stats div + div { border-left: 1px solid var(--de-line); }
.de-stats dt { font-size: 12px; color: var(--de-muted); }
.de-stats dd { margin: 0; font-family: var(--de-serif); font-size: 26px; color: var(--de-navy); }

.de-card--compact .de-ph.de-card__ph { padding: 14px; }
.de-card--compact .de-card__ph .de-ph__note { font-size: 14px; }
.de-card--compact .de-card__info { padding: 18px 20px 6px; gap: 3px; }
.de-card--compact .de-card__price { font-size: 30px; line-height: 1.1; }
.de-card--compact .de-card__title { font-size: 17px; margin-top: 4px; }
.de-card__foot { margin: 12px 20px 18px; padding-top: 12px; border-top: 1px solid var(--de-line); display: flex; gap: 18px; font-size: 15px; color: var(--de-ink-body); }
.de-card__foot strong { color: var(--de-navy); }

/* How I sell */
.de-sell__in { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.de-sell__intro { display: flex; flex-wrap: wrap; gap: 24px 80px; align-items: flex-end; }
.de-sell__intro .de-h2 { flex: 1 1 420px; line-height: 1.04; }
.de-sell__intro p { flex: 1 1 420px; font-size: 19px; line-height: 1.6; color: var(--de-ink-body); }

.de-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 2px solid var(--de-navy); }
.de-way { padding: 32px 36px; border-left: 1px solid var(--de-line); display: flex; flex-direction: column; gap: 14px; }
.de-way:first-child { padding-left: 0; border-left: 0; }
.de-way:last-child { padding-right: 0; }
.de-way__kicker { font-family: var(--de-serif); font-style: italic; font-size: 22px; color: var(--de-gold-dark); }
.de-way__title { font-family: var(--de-serif); font-weight: 500; font-size: 32px; color: var(--de-navy); }
.de-way p { font-size: 17px; line-height: 1.6; color: var(--de-ink-body); }
.de-way a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

.de-market { display: flex; flex-wrap: wrap; background: var(--de-soft); border-radius: 4px; overflow: hidden; }
.de-market__photo { flex: 3 1 520px; min-width: 0; min-height: 380px; background: #c8cfd3; }
/* A real photo would otherwise refuse to shrink below its 1200px natural width. */
img.de-market__photo { height: auto; max-height: 480px; align-self: stretch; object-fit: cover; }
.de-market__text { flex: 2 1 360px; padding: 40px 44px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.de-market__text > p:not(.de-eyebrow) { font-size: 19px; line-height: 1.55; color: var(--de-ink-body); }
.de-quote { padding-left: 20px; border-left: 3px solid var(--de-gold); }
.de-quote p { font-family: var(--de-serif); font-size: 22px; line-height: 1.4; color: var(--de-navy); }
.de-quote footer { margin-top: 10px; font-size: 14px; color: var(--de-muted); }

/* Free valuation */
.de-val { background: var(--de-navy-deep); color: #ffffff; }
.de-val__in { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px 96px; align-items: center; }
.de-val__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.de-val__lede { font-size: 20px; line-height: 1.55; color: var(--de-on-navy); max-width: 520px; }
.de-steps { margin: 8px 0 0; display: flex; flex-direction: column; border-top: 1px solid var(--de-hair-navy); }
.de-steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--de-hair-navy); font-size: 17px; color: #ffffff; }
.de-steps__n { font-family: var(--de-serif); color: var(--de-gold-light); font-size: 20px; min-width: 20px; }
.de-val__quote { margin-top: 8px; }
.de-val__quote p { font-family: var(--de-serif); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--de-gold-light); }
.de-val__quote footer { margin-top: 8px; font-size: 14px; color: var(--de-on-navy-2); }

.de-form {
    flex: 1 1 420px;
    min-width: 0;
    background: #ffffff;
    color: var(--de-ink);
    border-radius: 4px;
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}
.de-form__head { display: flex; align-items: center; gap: 16px; }
.de-form__title { font-family: var(--de-serif); font-weight: 500; font-size: 26px; color: var(--de-navy); }
.de-form__head p { margin: 2px 0 0; font-size: 15px; color: var(--de-muted); }
.de-form__fine { font-size: 14px; line-height: 1.5; color: var(--de-muted); }

/* Reviews */
.de-rev__in { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.de-rev__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.de-rev__head .de-stack { max-width: 640px; }
.de-rev__links { display: flex; gap: 20px; flex-wrap: wrap; }
.de-rev__links a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.de-wall { column-width: 340px; column-gap: 40px; }

.de-rev { break-inside: avoid; margin: 0 0 40px; padding-top: 20px; border-top: 1px solid var(--de-line); }
.de-rev blockquote { font-size: 19px; line-height: 1.55; color: var(--de-ink-body); }
.de-rev figcaption { margin-top: 12px; font-size: 14px; color: var(--de-muted); }
.de-rev figcaption strong { color: var(--de-ink); font-weight: 600; }
.de-rev--feature { border-top: 2px solid var(--de-navy); }
.de-rev--feature blockquote { font-family: var(--de-serif); font-size: 30px; line-height: 1.3; color: var(--de-navy); }
.de-rev--feature figcaption { margin-top: 14px; }
.de-rev--tint { padding: 24px; background: var(--de-soft); border-top: 0; border-radius: 4px; }
.de-rev--tint blockquote { font-family: var(--de-serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--de-navy); }
.de-rev--gold { border-top: 2px solid var(--de-gold); }
.de-rev--gold blockquote { font-family: var(--de-serif); font-size: 26px; line-height: 1.35; color: var(--de-navy); }
.de-rev--placeholder { padding: 24px; border: 1.5px dashed var(--de-line-form); border-radius: 4px; }
.de-rev--placeholder blockquote { font-size: 18px; color: var(--de-muted); }

/* Areas */
.de-areas { background: var(--de-soft); border-top: 1px solid var(--de-line); }
.de-areas__in { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.de-areas__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.de-areas__head p { max-width: 460px; font-size: 19px; line-height: 1.55; color: var(--de-ink-body); }
.de-areas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.de-area {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1.5px solid var(--de-line);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--de-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.de-area:hover { border-color: var(--de-navy); box-shadow: 0 14px 28px -18px rgba(8, 50, 79, .55); }
.de-area__img { display: block; width: 100%; object-fit: cover; }
.de-area__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.de-area__name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--de-serif); font-size: 26px; color: var(--de-navy); }
.de-area__blurb { font-size: 15px; line-height: 1.5; color: var(--de-muted); }
.de-area .de-rarrow { font-family: var(--de-sans); font-size: 18px; }

/* Buyers, landlords, commercial */
.de-ledger__in { padding-top: 72px; padding-bottom: 72px; }
.de-ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border: 1.5px solid var(--de-navy); border-radius: 4px; }
.de-ledger__a { padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--de-ink); min-height: 44px; }
.de-ledger__a + .de-ledger__a { border-left: 1px solid var(--de-line); }
.de-ledger__kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--de-gold-dark); }
.de-ledger__title { font-family: var(--de-serif); font-size: 26px; color: var(--de-navy); }
.de-ledger__text { font-size: 16px; line-height: 1.5; color: var(--de-muted); }
.de-ledger__cta { font-weight: 600; color: var(--de-navy); margin-top: 4px; }

/* Charity */
.de-mums__in { padding-bottom: 88px; }
.de-mums__box { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding: 36px 0; border-top: 1px solid var(--de-line); border-bottom: 1px solid var(--de-line); max-width: 920px; }
.de-ph--logo {
    width: 120px;
    height: 120px;
    padding: 0;
    background: none;
    border: 1.5px dashed var(--de-line-form);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: var(--de-muted);
    flex-shrink: 0;
}
.de-ph--logo .de-ph__note { font-family: var(--de-sans); font-style: normal; font-size: 12px; color: var(--de-muted); }
/* The supplied logo is white on black, so it sits on its own dark tile. */
.de-img--logo { width: 220px; height: auto; border-radius: 4px; flex-shrink: 0; }
.de-mums__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.de-mums__title { font-family: var(--de-serif); font-weight: 500; font-size: 26px; color: var(--de-navy); }
.de-mums__text p { font-size: 17px; line-height: 1.6; color: var(--de-ink-body); }
.de-mums__text a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }

/* Recognition and portals */
.de-rec { background: var(--de-soft); border-top: 1px solid var(--de-line); }
.de-rec__in { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px 80px; }
.de-rec__col { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.de-rec__title { font-family: var(--de-serif); font-weight: 400; font-size: 34px; color: var(--de-navy); }
.de-rec__col > p { font-size: 16px; line-height: 1.55; color: var(--de-muted); }
.de-rec__col > p.de-rec__also { margin: 6px 0 0; font-size: 14px; }
/* GetAgent badges: 210px PNG roundels, shown at half size for sharp 2x screens. */
.de-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.de-awards a { display: block; border-radius: 50%; transition: transform .2s ease; }
.de-awards a:hover { transform: translateY(-3px); }
.de-awards img { display: block; width: 100%; max-width: 105px; height: auto; margin: 0 auto; }
.de-portals { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.de-portals li { background: #ffffff; border: 1px solid var(--de-line); border-radius: 4px; min-height: 76px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; }
/* Brand colours fight the navy and gold, so the logos sit in greyscale until hovered. */
.de-portals img { display: block; max-width: 100%; max-height: 30px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.de-portals li:hover img { filter: none; opacity: 1; }

/* 6. Footer -------------------------------------------------------------- */

.de-footer { background: var(--de-navy-deep); color: #ffffff; }
.de-footer__in { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.de-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.de-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.de-footer__logo { display: block; width: 160px; height: auto; }
.de-footer__brand address { margin: 8px 0 0; font-style: normal; font-size: 16px; line-height: 1.6; color: var(--de-on-navy); }
.de-footer__col { display: flex; flex-direction: column; }
.de-footer__col--contact { flex: 1 1 220px; gap: 4px; }
.de-footer__col--hours { flex: 1 1 200px; gap: 6px; }
.de-footer__label { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--de-gold-light); }
.de-footer a { color: #ffffff; }
.de-footer__col--contact a { min-height: 44px; display: inline-flex; align-items: center; }
.de-footer__hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 16px; color: var(--de-on-navy); }
.de-footer__map { flex: 1 1 260px; align-self: flex-start; background: var(--de-navy-soft); border-radius: 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; box-sizing: border-box; }
.de-footer__map .de-footer__label { margin: 0; }
.de-footer__where { font-size: 15px; line-height: 1.5; color: var(--de-on-navy); }
.de-footer__map .de-btn-gold { padding: 0 18px; color: var(--de-navy-deep); }

/* "Proudly made by LOS Digital", the same block as on the other client sites. */
.de-made-by { display: inline-flex; flex-direction: column; align-self: flex-start; gap: 7px; margin-top: 10px; text-decoration: none; opacity: .6; transition: opacity .2s ease; }
.de-made-by:hover, .de-made-by:focus-visible { opacity: 1; }
.de-made-by__label { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--de-gold-light); }
.de-made-by__mark { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ffffff; }
.de-made-by__mark img { display: block; width: auto; height: 24px; }
.de-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--de-hair-navy); font-size: 14px; color: var(--de-on-navy-2); }
.de-footer__group { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.de-footer__group a { min-height: 44px; display: inline-flex; align-items: center; }

/* 7. Breakpoints and reduced motion -------------------------------------- */

@media (max-width: 980px) {
    .de-nav { display: none; }
    .de-menubtn { display: inline-flex; }
    .de-hidesm { display: none; }
    .de-lift { position: static; width: auto; margin-top: 16px; }
}

/* Phone: follows the mobile board, which recomposes rather than just stacks. */
@media (max-width: 700px) {
    .de-wrap { padding-left: 16px; padding-right: 16px; }
    .de-mbar { display: flex; }

    /* Utility bar: status only; the numbers are in the call bar */
    .de-util { font-size: 13px; }
    .de-util__in { min-height: 36px; }
    .de-util__links, .de-util__short { display: none; }
    .de-util__long { display: inline; }

    /* Header */
    .de-header__in { min-height: 68px; gap: 8px; }
    .de-header__cta { gap: 8px; }
    .de-logo img { height: 50px; }
    .de-callbtn { min-height: 44px; padding: 0 14px; gap: 8px; font-size: 15px; }
    .de-callbtn__long { display: none; }
    .de-callbtn__short { display: inline; }
    .de-menubtn { width: 44px; height: 44px; }

    /* Hero */
    .de-hero__in { padding-top: 28px; padding-bottom: 32px; gap: 18px; }
    .de-hero__main { gap: 18px; }
    .de-hero .de-eyebrow { font-size: 11px; letter-spacing: .18em; }
    .de-h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
    .de-hero__who .de-avatar { display: flex; }
    .de-hero__lede { font-size: 16px; line-height: 1.5; }
    .de-hero__aside { display: none; }
    .de-search { padding: 18px 16px; }
    .de-search__sentence { font-size: 20px; line-height: 1.85; }
    .de-search__foot .de-btn { width: 100%; }
    .de-quick { flex-direction: column; }
    .de-quick__a, .de-quick__a:first-child, .de-quick__a:last-child { flex: none; padding: 0; min-height: 56px; font-size: 16px; }
    .de-quick__a + .de-quick__a { border-left: 0; }

    /* Greg and the contact block */
    .de-greg__in { padding-top: 40px; padding-bottom: 32px; gap: 18px; }
    .de-greg__photo, .de-greg__text { gap: 18px; }
    .de-greg__text .de-h2 { font-size: 38px; }
    .de-prose { font-size: 17px; }
    .de-contact-wrap { padding-bottom: 40px; }
    .de-contact { padding: 22px 18px; gap: 12px; }
    .de-contact__title { font-size: 28px; }
    .de-contact__cols { border-left: 0; }
    .de-contact__col, .de-contact__col:last-child { padding: 14px 0; border-right: 0; border-top: 1px solid var(--de-hair-navy); }

    /* Featured: list cards, photo on the left, four of them */
    .de-sale__in { padding-top: 40px; padding-bottom: 40px; gap: 18px; }
    .de-h2--md, .de-h2 { font-size: 32px; line-height: 1.1; }
    .de-sale .de-link { font-size: 15px; }
    .de-grid-lead, .de-grid-compact { gap: 14px; }
    .de-grid-compact .de-card:nth-child(n+3) { display: none; }
    .de-card { flex-direction: row; gap: 12px; }
    .de-card .de-card__ph { width: 116px; flex-shrink: 0; aspect-ratio: auto !important; padding: 0; }
    .de-card .de-card__ph .de-ph__note { display: none; }
    .de-card img.de-card__ph { align-self: stretch; height: auto; min-height: 100%; object-fit: cover; }
    .de-card__body { padding: 12px 12px 12px 0; display: block; }
    .de-card .de-card__info, .de-card--compact .de-card__info { padding: 12px 12px 0 0; gap: 2px; }
    .de-card__body .de-card__info { padding: 0; }
    .de-card__qual { font-size: 11px; letter-spacing: .16em; min-height: 13px; }
    .de-card__price, .de-card--compact .de-card__price { font-size: 24px; line-height: 1.1; }
    .de-card__title, .de-card--compact .de-card__title { font-size: 15px; margin-top: 0; }
    .de-card__area { font-size: 13px; }
    .de-stats { display: flex; gap: 10px; border: 0; min-width: 0; margin-top: 4px; }
    .de-stats div { display: flex; flex-direction: row-reverse; gap: 3px; padding: 0; text-align: left; }
    .de-stats div + div { border-left: 0; }
    .de-stats dt, .de-stats dd { font-family: var(--de-sans); font-size: 13px; text-transform: lowercase; }
    .de-stats dd { font-weight: 600; }
    .de-card--compact { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 0 12px; align-content: start; }
    .de-card--compact > .de-card__ph { grid-row: 1 / 3; width: auto; }
    .de-card--compact > img.de-card__ph { width: 116px; height: 100%; min-height: 0; }
    .de-card__foot { margin: 4px 12px 12px 0; padding-top: 0; border-top: 0; font-size: 13px; }
    .de-card__foot, .de-stats { flex-wrap: wrap; gap: 2px 10px; }
    .de-card__foot > span, .de-stats div { white-space: nowrap; }

    /* How I sell */
    .de-sell__in { padding-top: 40px; padding-bottom: 40px; gap: 16px; }
    .de-sell__intro { gap: 8px; }
    .de-sell__intro .de-h2 { font-size: 34px; }
    .de-sell__intro p { font-size: 16px; }
    .de-way, .de-way:first-child, .de-way:last-child { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--de-line); gap: 6px; }
    .de-way__kicker { display: none; }
    .de-way__title { font-size: 24px; }
    .de-way p { font-size: 15px; line-height: 1.55; }
    .de-market__photo { display: none; }
    .de-market__text { padding: 20px 18px; gap: 14px; }
    .de-market__text > p:not(.de-eyebrow) { font-size: 16px; }
    .de-quote p { font-size: 19px; }

    /* Valuation */
    .de-val__in { padding-top: 40px; padding-bottom: 40px; gap: 18px; }
    .de-val__text { gap: 18px; }
    .de-h2--xl { font-size: 36px; }
    .de-val__lede { font-size: 17px; }
    .de-steps, .de-val__quote, .de-form__head .de-avatar { display: none; }
    .de-form { padding: 20px 16px; gap: 14px; }
    .de-form__title { font-size: 22px; }
    .de-label { font-size: 15px; gap: 6px; }

    /* Reviews: three, stacked */
    .de-rev__in { padding-top: 40px; padding-bottom: 40px; gap: 22px; }
    .de-rev__head .de-eyebrow { display: none; }
    .de-rev:nth-child(n+4) { display: none; }
    .de-rev { margin-bottom: 22px; padding-top: 14px; }
    .de-rev blockquote { font-size: 17px; }
    .de-rev--feature blockquote { font-size: 23px; line-height: 1.35; }
    .de-rev--tint { padding: 18px; }
    .de-rev--tint blockquote { font-size: 20px; }

    /* Areas: two-up photo tiles, names only */
    .de-areas__in { padding-top: 40px; padding-bottom: 40px; gap: 18px; }
    .de-areas__head p { font-size: 16px; }
    .de-areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .de-areas__grid li:first-child { grid-column: 1 / -1; }
    .de-areas__grid li:first-child .de-area__img { aspect-ratio: 16 / 9 !important; }
    .de-area__body { padding: 10px 12px 12px; }
    .de-area__name { font-size: 20px; }
    .de-area__blurb { display: none; }

    /* Buyers, landlords, commercial */
    .de-ledger__in { padding-top: 32px; padding-bottom: 32px; }
    .de-ledger__a { padding: 16px; gap: 2px; }
    .de-ledger__a + .de-ledger__a { border-left: 0; border-top: 1px solid var(--de-line); }
    .de-ledger__kicker, .de-ledger__cta { display: none; }
    .de-ledger__title { font-size: 21px; }
    .de-ledger__text { font-size: 14px; }

    /* Charity */
    .de-mums__in { padding-bottom: 32px; }
    .de-mums__box { padding: 22px 0; gap: 10px; flex-direction: column; align-items: flex-start; }
    .de-ph--logo { width: 72px; height: 72px; }
    .de-img--logo { width: 180px; }
    .de-ph--logo .de-ph__note { font-size: 10px; }
    .de-mums__text { flex: none; }
    .de-mums__title { font-size: 22px; }
    .de-mums__text p { font-size: 15px; }

    /* Recognition */
    .de-rec__in { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
    .de-rec__col { flex: none; width: 100%; gap: 12px; }
    .de-rec__title { font-size: 24px; }
    .de-portals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .de-awards { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }

    /* Footer: room at the bottom for the call bar */
    .de-footer__in { padding-top: 36px; padding-bottom: 96px; gap: 18px; }
    .de-footer__cols { gap: 18px; flex-direction: column; }
    .de-footer__brand, .de-footer__col--contact, .de-footer__col--hours { flex: none; }
    .de-footer__logo { width: 130px; }
    .de-footer__map { flex: none; align-self: stretch; }
    .de-footer__base { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
