/* =======================================================================
   Buy2LetMortgages.co.uk — "Front Door" theme
   Every mortgage type is a numbered British front door with its own
   paint colour. Signature details: enamel house-number plaques, London
   street-sign kickers, arched fanlight photo frames with glazing bars,
   doors that swing open on hover, brass intercom-panel contents lists,
   and a brick-wall footer.
   ======================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Figtree:wght@400;500;600;700;800&family=Josefin+Sans:wght@600;700&display=swap');

:root {
    /* Street palette — painted front doors */
    --red: #b3261e;
    --green: #1f5c45;
    --navy: #1e3a5f;
    --mustard: #d4a01c;
    --plum: #6b2d5c;
    --teal: #2f7f86;
    --black: #24272b;
    --brick: #9c4a32;

    /* Ground + hardware */
    --ink: #1d1b18;
    --ink-soft: #55504a;
    --stucco: #f7f2e8;
    --stucco-deep: #efe5d1;
    --paper: #fffdf8;
    --line: #e3d8c3;
    --brass: #b8893b;
    --brass-light: #e5c57f;
    --brass-deep: #8e6828;
    --brass-tint: #f6ead0;

    /* Aliases kept for admin.css and older markup */
    --forest: var(--green);
    --forest-deep: #143d2e;
    --forest-tint: #e3eee8;
    --cream: var(--stucco);
    --cream-deep: var(--stucco-deep);
    --terracotta: var(--red);
    --gold: var(--brass-light);

    --accent: var(--red);
    --shadow: 0 22px 48px -24px rgba(29, 27, 24, 0.45);
    --shadow-sm: 0 8px 20px -12px rgba(29, 27, 24, 0.35);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --maxw: 1200px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-sign: "Josefin Sans", "Gill Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--ink);
    background: var(--stucco);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a.plain { text-decoration: none; color: inherit; }
.icon { flex-shrink: 0; }
code { font-size: .88em; background: var(--stucco-deep); padding: 1px 6px; border-radius: 5px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.28rem; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.section { padding: 84px 0; }
.section--tight { padding: 44px 0; }
.section--paper { background: var(--paper); }
.section--cream-deep, .section--stucco-deep { background: var(--stucco-deep); }
.section--dark { background: var(--forest-deep); color: #e7efe9; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c4d6cd; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-sign); font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--brass-light); }

/* ---------- Enamel house-number plaque ---------- */
.plaque {
    display: inline-flex; align-items: baseline; justify-content: center; gap: 3px;
    min-width: 62px; height: 44px; padding: 0 14px;
    background: #fff; color: var(--ink);
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 5px #fff, inset 0 0 0 6px var(--ink), 0 3px 8px -3px rgba(0,0,0,.35);
    font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 44px;
}
.plaque small { font-family: var(--font-sign); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.plaque.brass { background: linear-gradient(145deg, var(--brass-light), var(--brass) 55%, var(--brass-deep)); color: #2a1f0b; box-shadow: 0 3px 8px -3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.5); }

/* ---------- London street sign ---------- */
.street-sign {
    display: inline-flex; align-items: center; gap: 12px;
    background: #fff; color: #111; padding: 7px 14px 5px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 2px #111, inset 0 0 0 4px #fff, inset 0 0 0 5px #111, 0 3px 8px -4px rgba(0,0,0,.35);
    font-family: var(--font-sign); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; line-height: 1.3;
}
.street-sign em { font-style: normal; color: var(--red); font-size: .8em; border-left: 2px solid #111; padding-left: 10px; }

/* ---------- Disclaimer strip + header ---------- */
.disclaimer-banner { background: var(--ink); color: #ddd6c8; padding: 9px 0; font-size: .84rem; }
.disclaimer-banner .wrap { display: flex; align-items: center; gap: 10px; }
.disclaimer-banner .icon { color: var(--brass-light); }
.disclaimer-banner a { color: #fff; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 242, 232, .94); backdrop-filter: blur(8px);
    border-bottom: 3px double var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; line-height: 1.05; }
.brand-mark {
    display: grid; place-items: center; width: 40px; height: 48px;
    border-radius: 20px 20px 4px 4px; background: var(--red); color: var(--brass-light);
    box-shadow: inset 0 0 0 3px rgba(0,0,0,.16), 0 4px 10px -5px rgba(0,0,0,.5);
}
.brand b { color: var(--red); font-weight: 700; }
.brand small { display: block; font-family: var(--font-sign); font-weight: 600; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main a { padding: 9px 13px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.nav-main a:hover, .nav-main a.is-active { background: var(--stucco-deep); color: var(--ink); }
.nav-main .dropdown { position: relative; }
.nav-main .dropdown-panel {
    position: absolute; top: calc(100% + 8px); left: -10px; min-width: 330px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
    box-shadow: var(--shadow); padding: 10px; display: none; gap: 2px;
}
.nav-main .dropdown:hover .dropdown-panel, .nav-main .dropdown:focus-within .dropdown-panel { display: grid; }
.dropdown-panel a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.dropdown-panel .mini-door { width: 22px; height: 30px; border-radius: 11px 11px 2px 2px; background: var(--door, var(--ink)); flex-shrink: 0; position: relative; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.dropdown-panel .mini-door::after { content: ""; position: absolute; right: 4px; top: 16px; width: 4px; height: 4px; border-radius: 50%; background: var(--brass-light); }
.dropdown-panel .d-title { display: block; font-weight: 700; }
.dropdown-panel .d-sub { display: block; font-size: .78rem; color: var(--ink-soft); font-weight: 400; }
.dropdown-panel .d-ico { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }

@media (max-width: 1080px) {
    .nav-main { position: fixed; inset: 78px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 18px; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s; overflow-y: auto; }
    .nav-main.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .nav-main a { padding: 13px 14px; }
    .nav-main .dropdown-panel { position: static; display: grid; box-shadow: none; border: none; padding: 0 0 0 10px; min-width: 0; }
    .nav-toggle { display: inline-flex; }
}
@media (max-width: 520px) { .nav-cta .btn .hide-sm { display: none; } .brand small { display: none; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px; justify-content: center;
    padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem;
    text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
    transition: transform .12s, box-shadow .15s, background .15s, color .15s; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px rgba(179, 38, 30, .8); }
.btn-primary:hover { background: #951f18; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-brass { background: linear-gradient(145deg, var(--brass-light), var(--brass)); color: #2a1f0b; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 22px -12px rgba(142,104,40,.9); }
.btn-brass:hover { color: #2a1f0b; filter: brightness(1.05); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { padding: 9px 17px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn .knob { width: 9px; height: 9px; border-radius: 50%; background: var(--brass-light); box-shadow: inset -1px -1px 0 rgba(0,0,0,.25); }

/* ---------- Page hero (guides, tools) ---------- */
.page-hero { background: var(--stucco); padding: 56px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--accent); }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.page-hero h1 { max-width: 16ch; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; gap: 32px; } .page-hero .fanlight { max-width: 460px; } }

.hero-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.hero-badges .icon { color: var(--accent); }

/* Arched fanlight photo frame with radiating glazing bars */
.fanlight {
    margin: 0; position: relative; aspect-ratio: 4 / 5;
    border-radius: 999px 999px 16px 16px / 38% 38% 16px 16px;
    overflow: hidden; background: var(--stucco-deep);
    box-shadow: 0 0 0 10px var(--paper), 0 0 0 13px var(--accent), var(--shadow);
}
.fanlight img { width: 100%; height: 100%; object-fit: cover; }
.fanlight::after {
    content: ""; position: absolute; left: 22%; right: 22%; top: 3%; aspect-ratio: 2 / 1;
    border-radius: 999px 999px 0 0;
    background:
        radial-gradient(circle at 50% 100%, rgba(255,253,248,.18) 0 24%, rgba(255,253,248,.9) 24% 26%, transparent 26%),
        repeating-conic-gradient(from -90deg at 50% 100%, rgba(255,253,248,.14) 0 16.5deg, rgba(255,253,248,.9) 16.5deg 18deg);
    box-shadow: inset 0 0 0 3px rgba(255,253,248,.9), 0 3px 0 rgba(255,253,248,.9);
    pointer-events: none;
}
.fanlight--wide { aspect-ratio: 5 / 4; }

/* ---------- Home hero ---------- */
.home-hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.home-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .home-hero .wrap { grid-template-columns: 1fr; } }
.home-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-art { position: relative; padding: 16px 16px 40px 0; }
.hero-art .fanlight { aspect-ratio: 4 / 4.6; }
.hero-sheet {
    position: absolute; left: -44px; bottom: 0; width: 250px; z-index: 3;
    background: #fff; border-radius: 10px; padding: 16px 16px 12px; transform: rotate(-4deg);
    box-shadow: var(--shadow); border-top: 6px solid var(--red); font-size: .8rem;
}
.hero-sheet b { font-family: var(--font-display); font-size: 1rem; display: block; margin-bottom: 6px; }
.hero-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.hero-sheet li { display: flex; gap: 7px; align-items: center; color: var(--ink-soft); }
.hero-sheet li .icon { color: var(--green); }
.hero-sheet li.flag .icon { color: var(--red); }
.hero-sheet .ref { display: block; white-space: nowrap; font-family: var(--font-sign); font-size: .64rem; letter-spacing: .1em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 4px; }
.hero-art .plaque { position: absolute; right: 0; top: 0; z-index: 3; transform: rotate(5deg); }
@media (max-width: 600px) { .hero-sheet { left: 8px; width: 210px; } }

/* ---------- The street of doors ---------- */
.street { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; position: relative; padding-bottom: 26px; }
.street::after { content: ""; position: absolute; left: -24px; right: -24px; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, #cfc4ae 0 90px, #bfb39b 90px 92px); border-top: 3px solid #b0a38a; }
@media (max-width: 1100px) { .street { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .street { grid-template-columns: repeat(2, 1fr); gap: 14px; } .street::after { display: none; } }

.door-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.door-frame {
    position: relative; aspect-ratio: 5 / 9; perspective: 900px;
    border-radius: 999px 999px 4px 4px / 28% 28% 4px 4px;
    background: #1b1a18; overflow: hidden;
    box-shadow: 0 0 0 7px #fbf8f1, 0 0 0 8px #d9ceb7, 0 16px 30px -18px rgba(0,0,0,.6);
    margin: 8px 8px 0;
}
.door-inside { position: absolute; inset: 0; }
.door-inside img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.door-leaf {
    position: absolute; inset: 0; background: var(--door);
    transform-origin: 0 50%; transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .7s;
    border-radius: inherit;
    box-shadow: inset 0 0 0 3px rgba(0,0,0,.18);
}
.door-fan { position: absolute; left: 10%; right: 10%; top: 5%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0;
    background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(210,230,236,.75) 0 16deg, rgba(0,0,0,.35) 16deg 18deg);
    box-shadow: 0 0 0 3px rgba(0,0,0,.2); }
.door-panels { position: absolute; left: 14%; right: 14%; top: 39%; bottom: 7%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; gap: 9%; }
.door-panels i { border-radius: 3px; box-shadow: inset 2px 2px 0 rgba(0,0,0,.2), inset -2px -2px 0 rgba(255,255,255,.14); }
.door-knob { position: absolute; right: 11%; top: 64%; width: 11%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d1, var(--brass-light) 35%, var(--brass-deep)); box-shadow: 0 2px 3px rgba(0,0,0,.4); }
.door-letterbox { position: absolute; left: 30%; right: 30%; top: 60.5%; height: 3.4%; border-radius: 2px; background: linear-gradient(var(--brass-light), var(--brass-deep)); box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.door-no { position: absolute; left: 0; right: 0; top: 29%; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--brass-light); text-shadow: 0 1px 1px rgba(0,0,0,.4); }
.door-card:hover .door-leaf, .door-card:focus-visible .door-leaf { transform: rotateY(-68deg); box-shadow: inset 0 0 0 3px rgba(0,0,0,.18), 18px 0 30px rgba(0,0,0,.45); }
.door-card:focus-visible { outline: none; }
.door-card:focus-visible .door-frame { box-shadow: 0 0 0 7px #fbf8f1, 0 0 0 11px var(--door); }
.door-step { padding: 18px 4px 0; text-align: center; }
.door-step h3 { font-size: 1.02rem; margin-bottom: 4px; }
.door-step p { font-size: .84rem; line-height: 1.45; margin: 0; }
.door-card:hover .door-step h3 { color: var(--door); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card .card-icon { display: inline-grid; place-items: center; width: 54px; height: 62px; border-radius: 27px 27px 6px 6px; background: var(--accent); color: #fff; margin-bottom: 18px; box-shadow: inset 0 0 0 3px rgba(0,0,0,.14); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; margin-top: 12px; }
.card-link .icon { color: var(--accent); }
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.card--photo .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card--photo:hover .card-photo img { transform: scale(1.04); }
.card--photo .card-body { padding: 24px 26px 26px; }

.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--brass-tint); color: var(--brass-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 5px 11px; border-radius: 999px; }
.tag--forest { background: var(--forest-tint); color: var(--forest-deep); }

/* ---------- Broker Briefing promo ---------- */
.briefing-promo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .briefing-promo .wrap { grid-template-columns: 1fr; } }
.briefing-steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.briefing-steps li { display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: start; }
.briefing-steps b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.briefing-steps span { color: #c4d6cd; font-size: .95rem; }

.particulars {
    background: #fff; color: var(--ink); border-radius: 12px; padding: 30px 30px 26px;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transform: rotate(1.5deg);
    border-top: 8px solid var(--red); position: relative;
}
.particulars::before { content: ""; position: absolute; top: -20px; left: 50%; width: 80px; height: 26px; transform: translateX(-50%) rotate(-2deg); background: rgba(229, 197, 127, .75); }
.particulars .p-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 16px; gap: 10px; }
.particulars .p-head h3 { margin: 0; font-size: 1.4rem; color: var(--ink); }
.particulars .p-ref { font-family: var(--font-sign); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.particulars h4 { font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--ink-soft); margin: 16px 0 8px; }
.particulars ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.particulars li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.particulars li .icon { margin-top: 3px; color: var(--green); }
.particulars li.flag .icon { color: var(--red); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.door-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--stucco); font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.door-chip i { width: 14px; height: 19px; border-radius: 7px 7px 2px 2px; background: var(--door); display: inline-block; }

/* ---------- Photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.mosaic a { position: relative; border-radius: var(--radius-md); overflow: hidden; display: block; color: #fff; text-decoration: none; }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.72)); }
.mosaic .m-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.mosaic .m-place { display: inline-flex; gap: 6px; align-items: center; font-family: var(--font-sign); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.mosaic .m-title { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-top: 3px; }
.mosaic .m-door { position: absolute; top: 14px; left: 14px; z-index: 2; width: 26px; height: 36px; border-radius: 13px 13px 3px 3px; background: var(--door); box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
@media (max-width: 800px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .mosaic a:nth-child(4) { grid-column: span 2; } }

/* ---------- Brass promise plaques ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }
.promise {
    position: relative; padding: 26px 24px 22px; border-radius: 8px;
    background: linear-gradient(150deg, #f0d99e, var(--brass-light) 30%, var(--brass) 75%, var(--brass-deep));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.15), var(--shadow-sm);
    color: #2a1f0b;
}
.promise::before, .promise::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff2c9, #7a5a22); }
.promise::before { left: 10px; } .promise::after { right: 10px; }
.promise .icon { color: #3b2b0e; margin-bottom: 10px; }
.promise h3 { font-size: 1.1rem; color: #2a1f0b; margin-bottom: 6px; }
.promise p { color: #4a3814; font-size: .9rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step .plaque { margin-bottom: 16px; }

/* ---------- Callouts ---------- */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--accent); margin: 28px 0; }
.callout > .icon { color: var(--accent); margin-top: 2px; }
.callout h4 { margin: 0 0 4px; font-family: var(--font-sign); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: #fbefe9; border-color: #efc9ba; border-left-color: var(--red); }
.callout--warn > .icon, .callout--warn h4 { color: var(--red); }
.callout--important { background: var(--forest-tint); border-color: #c7dccf; border-left-color: var(--green); }
.callout--important > .icon { color: var(--green); }

/* ---------- Guide layout ---------- */
.guide-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; } .guide-toc { position: static !important; } }
/* Contents list styled as a brass intercom / doorbell panel */
.guide-toc {
    position: sticky; top: 100px; padding: 20px 18px 16px; border-radius: 10px;
    background: linear-gradient(160deg, #f1dca6, var(--brass-light) 35%, var(--brass) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), var(--shadow-sm);
}
.guide-toc .toc-label { display: flex; align-items: center; gap: 7px; font-family: var(--font-sign); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #3b2b0e; font-weight: 700; margin-bottom: 10px; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.guide-toc a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: .88rem; font-weight: 600; color: #2a1f0b; text-decoration: none; background: rgba(255,255,255,.18); }
.guide-toc a::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 35% 35%, #fff4d1, #b58a3c 60%, #6d501b); box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.guide-toc a:hover { background: rgba(255,255,255,.4); color: #000; }

.guide-body { max-width: 760px; }
.guide-body h2 { margin-top: 2.2em; scroll-margin-top: 100px; display: flex; align-items: center; gap: 14px; }
.guide-body h2::before { content: ""; width: 14px; height: 20px; border-radius: 7px 7px 2px 2px; background: var(--accent); flex-shrink: 0; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body ul { list-style: none; padding-left: 0; }
.guide-body ul li { position: relative; padding-left: 26px; margin-bottom: .6em; color: var(--ink-soft); }
.guide-body ul li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 12px; border-radius: 5px 5px 1px 1px; background: var(--accent); }
.guide-body ol { color: var(--ink-soft); padding-left: 1.3em; }
.guide-body ol li { margin-bottom: .6em; }
.guide-body ol li::marker { color: var(--accent); font-family: var(--font-display); font-weight: 700; }
.guide-body li strong { color: var(--ink); }
.guide-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.guide-body th, .guide-body td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.guide-body th { background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 600; }
.guide-body tr:last-child td { border-bottom: none; }
.guide-body .card, .guide-body .grid { margin-top: 1em; }
.guide-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.guide-figure { margin: 2em 0; border-radius: var(--radius-md); overflow: hidden; }
.guide-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.guide-figure figcaption { font-size: .8rem; color: var(--ink-soft); padding: 8px 2px 0; display: flex; gap: 6px; align-items: center; }

.next-door { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 2.6em; padding: 22px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.next-door .mini { width: 44px; height: 60px; border-radius: 22px 22px 4px 4px; background: var(--door); box-shadow: inset 0 0 0 3px rgba(0,0,0,.18); position: relative; }
.next-door .mini::after { content: ""; position: absolute; right: 7px; top: 33px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-light); }
.next-door small { font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ink-soft); }
.next-door b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.next-door:hover { box-shadow: var(--shadow-sm); }

/* ---------- Calculator ---------- */
.calc-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border-top: 8px solid var(--accent); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .calc-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .76rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .form-row input, .form-row textarea, .form-row select {
    padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--stucco);
    font-size: 1rem; font-family: var(--font-body); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.calc-result { margin-top: 22px; padding: 22px; border-radius: var(--radius-md); background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.calc-result .r-item b { display: block; font-family: var(--font-display); font-size: 1.75rem; }
.calc-result .r-item span { font-size: .76rem; color: #cfc6b6; text-transform: uppercase; letter-spacing: .06em; }
.calc-result.warn { background: var(--red); }
.calc-result.warn .r-item span { color: #fbd9d2; }
.calc-result .r-item.wide { grid-column: 1 / -1; }
.calc-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Broker list ---------- */
.broker-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); margin-bottom: 14px; transition: box-shadow .15s; }
.broker-card:hover { box-shadow: var(--shadow-sm); }
@media (max-width: 700px) { .broker-card { grid-template-columns: 1fr; } }
.broker-mark { width: 52px; height: 62px; border-radius: 26px 26px 5px 5px; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 3px rgba(0,0,0,.15); }
.broker-card h3 { margin-bottom: 4px; }
.broker-card .meta-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s; color: var(--accent); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { margin-top: 12px; }

/* ---------- Briefing tool ---------- */
.briefing-shell { max-width: 820px; margin: 0 auto; }
.brief-progress { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.brief-progress span { width: 34px; height: 44px; border-radius: 17px 17px 3px 3px; background: var(--stucco-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink-soft); box-shadow: inset 0 0 0 2px rgba(0,0,0,.06); transition: background .2s, color .2s; }
.brief-progress span.done { background: var(--green); color: var(--brass-light); }
.brief-progress span.current { background: var(--red); color: #fff; }
.brief-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.brief-q { display: none; }
.brief-q.active { display: block; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.brief-q legend { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.2; margin-bottom: 6px; padding: 0; }
.brief-q fieldset { border: 0; padding: 0; margin: 0; }
.brief-q .q-help { margin-bottom: 20px; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 14px; align-items: center; padding: 15px 18px; border-radius: 12px; border: 2px solid var(--line); background: var(--stucco); cursor: pointer; transition: border-color .15s, background .15s; font-weight: 600; }
.option:hover { border-color: #cbbd9f; }
.option input { accent-color: var(--red); width: 18px; height: 18px; flex-shrink: 0; }
.option:has(input:checked) { border-color: var(--red); background: #fff; }
.option .icon { color: var(--ink-soft); }
.option small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .84rem; }
.brief-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
#brief-back .icon { transform: rotate(180deg); }

.sheet { background: #fff; border-radius: 14px; padding: 40px; box-shadow: var(--shadow); border-top: 10px solid var(--red); }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; border-bottom: 3px double var(--ink); padding-bottom: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sheet-head h2 { margin: 0; }
.sheet-meta { font-family: var(--font-sign); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.sheet h3 { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 1.2rem; }
.sheet h3 .icon { color: var(--red); }
.sheet .summary { font-size: 1.1rem; color: var(--ink); background: var(--stucco); padding: 16px 18px; border-radius: 10px; }
.sheet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sheet li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); }
.sheet li .icon { margin-top: 3px; color: var(--green); }
.sheet li.flag { background: #fbefe9; border-radius: 10px; padding: 12px 14px; }
.sheet li.flag .icon { color: var(--red); }
.sheet li.check::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 3px; flex-shrink: 0; margin-top: 4px; }
.sheet-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.sheet-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); }

/* ---------- Footer: brick wall ---------- */
.site-footer {
    color: #e9e0d2; position: relative;
    background-color: #7d3a28;
    background-image:
        linear-gradient(rgba(28, 18, 13, .7), rgba(28, 18, 13, .86)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='44'%3E%3Crect width='64' height='44' fill='%23c9b9a0'/%3E%3Crect x='1' y='1' width='62' height='20' fill='%239c4a32'/%3E%3Crect x='-31' y='23' width='62' height='20' fill='%238b4029'/%3E%3Crect x='33' y='23' width='62' height='20' fill='%23a3543a'/%3E%3C/svg%3E");
    border-top: 14px solid #d9ccb3;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: rgba(0,0,0,.25); }
.site-footer .wrap { padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--brass-light); font-family: var(--font-sign); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer a { color: #e9e0d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer-links .mini-door { display: inline-block; width: 10px; height: 13px; border-radius: 5px 5px 1px 1px; background: var(--door); margin-right: 9px; vertical-align: -1px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #cabfae; font-size: .92rem; }
.footer-plate { margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: linear-gradient(150deg, #f0d99e, var(--brass-light) 35%, var(--brass)); color: #2a1f0b; font-size: .82rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.footer-plate strong { display: block; font-family: var(--font-sign); letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px; font-size: .8rem; color: #b6aa98; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-legal a { color: #e0d5c3; }

/* ---------- Forms ---------- */
.form-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; border-top: 8px solid var(--accent); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.form-row textarea { min-height: 140px; resize: vertical; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .94rem; display: flex; gap: 8px; align-items: flex-start; flex-direction: column; }
.alert-success { background: var(--forest-tint); color: var(--forest-deep); border: 1px solid #bfd8cf; }
.alert-error { background: #fbefe9; color: var(--red); border: 1px solid #efc9ba; }

/* ---------- Credits ---------- */
.credits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.credit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; font-size: .85rem; }
.credit img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.credit div { padding: 12px 14px; }
.credit b { display: block; color: var(--ink); }

/* ---------- Utility ---------- */
.badge-count { display: inline-block; background: var(--red); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .72rem; font-weight: 700; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 0; }
.mt-0 { margin-top: 0; }

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

@media print {
    .disclaimer-banner, .site-header, .site-footer, .no-print, .page-hero .fanlight { display: none !important; }
    body { background: #fff; font-size: 12pt; }
    .sheet { box-shadow: none; padding: 0; border-top: 6px solid #000; }
    .sheet li.flag { background: none; border: 1px solid #999; }
    a { text-decoration: none; color: #000; }
    .section { padding: 0; }
}
