/* CBA branded A4 documents (/pdf/...). Screen: stacked A4 sheets with a toolbar. Print: one sheet per page, full bleed.
   Language: photo covers with grain and a red pulse, big Instrument Serif, ink panels with peach accents, sand cards, red numerals. */
:root { --ink: #0d0d0f; --ink2: #17161a; --red: #f43b2f; --peach: #f3c9a3; --sand: #f7f1ea; --sand2: #efe6da; --line: #e7ddd1; --stone: #8a7d70; --body: #3a3430;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Instrument Serif", Georgia, serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dbody { margin: 0; background: #2a2724; background: radial-gradient(120% 60% at 50% 0%, #3a3430 0%, #1c1a18 60%); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; }
img { display: block; max-width: 100%; }

/* Toolbar (screen only) */
.dtb { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: rgba(13,13,15,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dtb__back { color: rgba(255,255,255,.72); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34%; }
.dtb__back:hover { color: #fff; }
.dtb__t { flex: 1; text-align: center; font-family: var(--display); font-style: italic; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtb__b { display: flex; gap: 8px; }
.dtb__wa, .dtb__dl { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 999px; font: 700 14px var(--sans); text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; transition: transform .2s, filter .2s; }
.dtb__wa { background: rgba(255,255,255,.1); color: #fff; }
.dtb__dl { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(244,59,47,.95); }
.dtb__dl svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dtb__dl:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dtb__dl:disabled { opacity: .7; }
.dtb__hint { margin: 16px 16px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }
.dtb__hint b { color: rgba(255,255,255,.85); }
.dstack { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 20px 0 70px; }
.dstack > .dp { animation: dpIn .7s cubic-bezier(.2,.7,.2,1) both; }
.dstack > .dp:nth-child(2) { animation-delay: .08s; } .dstack > .dp:nth-child(3) { animation-delay: .16s; } .dstack > .dp:nth-child(n+4) { animation-delay: .22s; }
@keyframes dpIn { from { opacity: 0; transform: translateY(26px) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .dstack > .dp { animation: none; } }
@media (max-width: 640px) {
  .dtb { gap: 8px; }
  .dtb__t, .dtb__wa { display: none; }
  .dtb__back { max-width: none; flex: 1; font-size: 13px; }
  .dstack { gap: 14px; }
}

/* One A4 sheet */
.dp { position: relative; width: 210mm; height: 297mm; overflow: hidden; background: #fff; padding: 13mm 15mm 21mm; display: flex; flex-direction: column; gap: 6mm;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04); font-size: 9pt; line-height: 1.5; color: var(--body); font-feature-settings: "lnum", "tnum";
  -webkit-print-color-adjust: exact; print-color-adjust: exact; flex: none; }
.dp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.dp h1, .dp h2, .dp h3, .dp p, .dp dl, .dp dd, .dp ul, .dp ol, .dp figure { margin: 0; padding: 0; }
.dp ul, .dp ol { list-style: none; }
.dp::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2.2mm; background: linear-gradient(180deg, var(--red) 0 34mm, var(--sand2) 34mm); }
.dp--cover::before { display: none; }
.dp__hd { display: flex; align-items: center; justify-content: space-between; gap: 8mm; }
.dp__logo { height: 8mm; width: auto; }
.dp__hd span { display: flex; flex-direction: column; align-items: flex-end; font-size: 7.4pt; color: var(--stone); text-align: right; }
.dp__hd span b { font-size: 6.4pt; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.dp__ft { position: absolute; left: 15mm; right: 15mm; bottom: 8.5mm; display: grid; grid-template-columns: 1fr auto auto auto; gap: 7mm; align-items: baseline; padding-top: 2.6mm; border-top: .25mm solid var(--line); font-size: 6.4pt; letter-spacing: .08em; color: var(--stone); text-transform: uppercase; }
.dp__pg { font-family: var(--display); font-size: 13pt; letter-spacing: 0; color: var(--ink); text-transform: none; }
.dp__pg i { font-size: 8pt; color: var(--stone); }
.dp--cover .dp__ft { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); z-index: 3; }
.dp--cover .dp__pg { color: #fff; } .dp--cover .dp__pg i { color: rgba(255,255,255,.5); }

/* Covers */
.dp--cover { color: #fff; background: var(--ink); justify-content: space-between; padding: 14mm 15mm 25mm; }
.dp__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 70% at 85% 10%, rgba(244,59,47,.35), transparent 55%), radial-gradient(90% 60% at 0% 100%, rgba(243,201,163,.18), transparent 60%), var(--ink); }
.dp__bg img { width: 100%; height: 100%; object-fit: cover; }
.dp__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,.6) 0%, rgba(13,13,15,0) 24%, rgba(13,13,15,.08) 42%, rgba(13,13,15,.78) 68%, rgba(13,13,15,.97) 100%), radial-gradient(70% 40% at 0% 100%, rgba(244,59,47,.28), transparent 70%); }
.dp__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.dc { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.dc__logo { height: 11mm; width: auto; }
.dc__tag { font-family: var(--display); font-style: italic; font-size: 13pt; color: rgba(255,255,255,.9); padding: 1.6mm 4.5mm; border: .3mm solid rgba(255,255,255,.35); border-radius: 99px; backdrop-filter: blur(6px); background: rgba(13,13,15,.18); }
.dc__b { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 5.5mm; }
.dc__eye { display: flex; align-items: center; gap: 3mm; font-size: 7.4pt; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.dc__eye i { width: 10mm; height: .5mm; background: var(--red); }
.dc__facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: .3mm solid rgba(255,255,255,.3); padding-top: 4.5mm; }
.dc__facts div { padding-right: 4mm; min-width: 0; }
.dc__facts div + div { padding-left: 4mm; border-left: .3mm solid rgba(255,255,255,.18); }
.dc__facts small { display: block; font-size: 6.4pt; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.5mm; }
.dc__facts b { font-size: 12.5pt; font-weight: 800; color: #fff; }
.dc__lead { max-width: 128mm; font-size: 11pt; line-height: 1.55; color: rgba(255,255,255,.84); }
.dc__prep { font-size: 7pt; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.dc__toc { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5mm 8mm; padding-top: 5mm !important; border-top: .3mm solid rgba(255,255,255,.25); }
.dc__toc li { font-size: 10.5pt; color: #fff; display: flex; gap: 3mm; align-items: baseline; }
.dc__toc span { font-family: var(--display); font-size: 15pt; color: var(--red); }
.dp--guide .d-h1 { font-size: 72pt; }
.dp__bg--mos { background: var(--ink); }
.dc__mos { position: absolute; inset: 0; display: grid; gap: 1.2mm; }
.dc__mos--1 { grid-template-columns: 1fr; } .dc__mos--2 { grid-template-columns: 1fr 1fr; } .dc__mos--3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; } .dc__mos--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.dc__mos--3 img:first-child { grid-row: 1 / 3; }
.dc__mos img { width: 100%; height: 100%; object-fit: cover; }
.dc__list { display: flex; flex-direction: column; border-top: .3mm solid rgba(255,255,255,.3); }
.dc__list li { display: grid; grid-template-columns: 11mm 1fr auto; gap: 3mm; align-items: baseline; padding: 2.6mm 0; border-bottom: .25mm solid rgba(255,255,255,.14); }
.dc__list span { font-family: var(--display); font-size: 15pt; color: var(--red); }
.dc__list b { font-size: 9.6pt; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc__list em { font-style: normal; font-weight: 800; color: var(--peach); font-size: 10pt; }

/* Back cover */
.dp--back .dp__bg::after { background: linear-gradient(180deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,.35) 30%, rgba(13,13,15,.9) 62%, rgba(13,13,15,.98) 100%); }
.db { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 5mm; }
.db__h { font-family: var(--display); font-weight: 400; font-size: 44pt; line-height: 1; color: #fff; max-width: 170mm; }
.db__h em { font-style: italic; color: var(--peach); }
.db__p { font-size: 11pt; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 130mm; }
.db__adv { display: flex; align-items: center; gap: 4mm; }
.db__adv img { width: 15mm; height: 15mm; border-radius: 50%; object-fit: cover; border: .6mm solid rgba(255,255,255,.8); }
.db__adv small { display: block; font-size: 6.6pt; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); }
.db__adv b { font-size: 12pt; color: #fff; }
.db__card { display: grid; grid-template-columns: 44mm 1fr; gap: 8mm; align-items: center; padding: 6mm; border-radius: 4mm; background: rgba(255,255,255,.07); border: .3mm solid rgba(255,255,255,.16); backdrop-filter: blur(10px); margin-top: 2mm; }
.db__qr { display: flex; flex-direction: column; align-items: center; gap: 2.2mm; text-align: center; }
.db__qr .d-qr__c { width: 40mm; height: 40mm; }
.db__qr small { font-size: 6.6pt; color: rgba(255,255,255,.65); line-height: 1.35; }
.db__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5mm 6mm; }
.db__dl dt { font-size: 6.2pt; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .8mm; }
.db__dl dd { font-size: 9.6pt; font-weight: 700; color: #fff; }

/* Type */
.d-eye { font-size: 6.8pt; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.d-h1 { font-family: var(--display); font-weight: 400; font-size: 54pt; line-height: .95; letter-spacing: -.015em; color: #fff; }
.d-h1 em, .d-h2 em { font-style: italic; }
.d-dot { display: inline-block; width: .15em; height: .15em; margin-left: .06em; border-radius: 50%; background: var(--red); vertical-align: baseline; box-shadow: 0 0 0 .05em rgba(244,59,47,.25); }
.d-h2 { font-family: var(--display); font-weight: 400; font-size: 30pt; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.d-h3 { font-size: 10pt; font-weight: 800; color: var(--ink); letter-spacing: -.005em; display: flex; align-items: center; gap: 2.5mm; }
.d-h3::before { content: ""; width: 5mm; height: .6mm; background: var(--red); }
.d-body { font-size: 9.2pt; line-height: 1.6; }
.d-drop { font-size: 9.6pt; line-height: 1.65; color: var(--body); }
.d-drop::first-letter { float: left; font-family: var(--display); font-size: 42pt; line-height: .82; padding: 1.2mm 2.2mm 0 0; color: var(--red); }
.d-note { font-size: 6.6pt; line-height: 1.5; color: var(--stone); margin-top: auto !important; }
.d-note--in { margin-top: 0 !important; }
.d-mut { color: var(--stone); }
.d-pill { font-style: normal; font-size: 6.4pt; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .5mm 1.8mm; border-radius: 99px; background: var(--sand); color: var(--red); margin-left: 1.5mm; }

/* Section opener */
.d-sh { display: grid; grid-template-columns: auto 1fr; gap: 5mm; align-items: end; padding-bottom: 4mm; border-bottom: .3mm solid var(--ink); }
.d-sh__n { font-family: var(--display); font-size: 58pt; line-height: .78; color: var(--red); letter-spacing: -.03em; }
.d-sh .d-eye { margin-bottom: 1.5mm; }

/* Layout */
.d-sec { display: flex; flex-direction: column; gap: 3mm; }
.d-col { display: flex; flex-direction: column; gap: 5mm; }
.d-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; }
.d-grid2--wide { grid-template-columns: 1.4fr 1fr; gap: 9mm; }
.d-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.d-box { background: var(--sand); border-radius: 3mm; padding: 4.5mm 5mm; display: flex; flex-direction: column; gap: 2mm; }
.d-box > b { color: var(--ink); font-size: 9.5pt; }
.d-box p { font-size: 8.3pt; line-height: 1.5; }
.d-card { position: relative; background: var(--sand); border-radius: 3mm; padding: 4.5mm 5mm 5mm; display: flex; flex-direction: column; gap: 1.6mm; overflow: hidden; }
.d-card span { font-family: var(--display); font-size: 20pt; line-height: 1; color: var(--red); }
.d-card b { color: var(--ink); font-size: 9.4pt; }
.d-card p { font-size: 7.9pt; line-height: 1.5; }
.d-hero { position: relative; flex: 1; min-height: 0; border-radius: 3.5mm; overflow: hidden; }
.d-hero img { width: 100%; height: 100%; object-fit: cover; }
.d-hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10mm 6mm 4.5mm; font-family: var(--display); font-style: italic; font-size: 13pt; color: #fff; background: linear-gradient(180deg, transparent, rgba(13,13,15,.75)); }
.d-hero--sm { flex: 0 0 46mm; }

/* KPIs */
.d-kpis { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 3mm; }
.d-kpis > div { border: .3mm solid var(--line); border-radius: 3mm; padding: 4mm; display: flex; flex-direction: column; gap: 1.2mm; min-width: 0; }
.d-kpis > div.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; background-image: radial-gradient(120% 90% at 100% 0%, rgba(244,59,47,.35), transparent 60%); }
.d-kpis small { font-size: 6.2pt; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 700; }
.d-kpis .is-dark small { color: rgba(255,255,255,.6); }
.d-kpis b { font-size: 12.5pt; font-weight: 800; color: var(--ink); line-height: 1.15; white-space: nowrap; }
.d-kpis .is-dark b { color: #fff; }
.d-kpis span { font-size: 6.8pt; color: var(--stone); }
.d-kpis .is-dark span { color: var(--peach); }

/* Facts list */
.d-facts { display: flex; flex-direction: column; padding: 2mm 5mm; background: var(--sand); border-radius: 3mm; align-self: start; }
.d-facts div { display: flex; justify-content: space-between; gap: 4mm; padding: 2.5mm 0; border-bottom: .25mm solid var(--line); }
.d-facts div:last-child { border: 0; }
.d-facts dt { font-size: 6.6pt; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); padding-top: .6mm; font-weight: 700; }
.d-facts dd { font-weight: 800; color: var(--ink); text-align: right; }
.d-tags { display: flex; flex-wrap: wrap; gap: 1.6mm; margin-top: 2mm !important; }
.d-tags li { font-size: 7.4pt; padding: 1.2mm 3mm; border-radius: 99px; border: .25mm solid var(--line); color: var(--ink); }

/* Payment plan */
.d-pp { display: flex; flex-direction: column; gap: 5mm; padding: 7mm; border-radius: 4mm; background: var(--ink); color: #fff; background-image: radial-gradient(90% 120% at 100% 0%, rgba(244,59,47,.3), transparent 55%); }
.d-pp__sum small { display: block; font-size: 6.6pt; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.d-pp__sum b { display: block; font-family: var(--display); font-weight: 400; font-size: 46pt; line-height: 1; margin: 1mm 0; }
.d-pp__sum span { font-size: 8pt; color: var(--peach); }
.d-pp__track { display: flex; gap: 1.2mm; height: 12mm; }
.d-pp__seg { border-radius: 2mm; display: flex; align-items: center; padding: 0 3mm; min-width: 12mm; }
.d-pp__seg b { font-size: 10pt; font-weight: 800; }
.d-pp__seg--0 { background: #fff; color: var(--ink); } .d-pp__seg--1 { background: var(--red); color: #fff; } .d-pp__seg--2 { background: var(--peach); color: var(--ink); } .d-pp__seg--3 { background: var(--stone); color: #fff; }
.d-pp__steps { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 5mm; }
.d-pp__steps li { display: flex; flex-direction: column; gap: .8mm; }
.d-pp__steps i { width: 3mm; height: 3mm; border-radius: 50%; margin-bottom: 1mm; }
.d-pp__steps span { font-size: 6.6pt; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }
.d-pp__steps b { font-size: 13pt; font-weight: 800; }
.d-pp__steps small { font-size: 7.4pt; color: rgba(255,255,255,.62); }

/* Photos */
.d-photos { display: grid; gap: 3mm; flex: 1; min-height: 0; }
.d-photos--1 { grid-template-columns: 1fr; } .d-photos--2 { grid-template-columns: 1fr 1fr; } .d-photos--3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; }
.d-photos--3 img:first-child { grid-row: 1 / 3; }
.d-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 3mm; min-height: 0; }

/* Tables */
.d-tbl { width: 100%; border-collapse: collapse; font-size: 8pt; }
.d-tbl th { font-size: 6.2pt; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); text-align: left; font-weight: 800; padding: 0 2mm 1.8mm 0; border-bottom: .35mm solid var(--ink); }
.d-tbl td { padding: 2mm 2mm 2mm 0; border-bottom: .25mm solid var(--line); vertical-align: top; color: var(--ink); }
.d-tbl tbody tr:nth-child(even) td { background: rgba(247,241,234,.55); }
.d-tbl .r { text-align: right; white-space: nowrap; padding-right: 1.5mm; }
.d-tbl tr { break-inside: avoid; }
.d-tbl tfoot td { font-weight: 800; border-bottom: 0; padding-top: 3mm; font-size: 10pt; border-top: .35mm solid var(--ink); }

/* Charts and bars */
.d-chart { display: flex; flex-direction: column; gap: 2mm; padding: 4.5mm 5mm 3.5mm; border: .3mm solid var(--line); border-radius: 3mm; }
.d-chart__hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 4mm; }
.d-chart__v { display: flex; align-items: baseline; gap: 2mm; }
.d-chart__v b { font-size: 13pt; font-weight: 800; color: var(--ink); }
.d-chart__v span { font-size: 8pt; font-weight: 800; } .d-chart__v .is-up { color: #1d8a4a; } .d-chart__v .is-dn { color: var(--red); }
.d-chart__v small { font-size: 6.6pt; color: var(--stone); }
.d-line { width: 100%; height: 34mm; display: block; }
.d-line__g { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.d-line__l { fill: none; stroke: var(--red); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.d-line__h { fill: rgba(244,59,47,.18); } .d-line__d { fill: var(--red); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.d-chart__x { display: flex; justify-content: space-between; font-size: 6.4pt; color: var(--stone); }
.d-bars { display: flex; flex-direction: column; gap: 1mm; }
.d-bars li { display: grid; grid-template-columns: 50mm 1fr 32mm; gap: 4mm; align-items: center; padding: 1.6mm 0; border-bottom: .25mm solid var(--line); }
.d-bars span b { display: block; font-size: 8.6pt; color: var(--ink); }
.d-bars span small { font-size: 6.8pt; color: var(--stone); }
.d-bars i { height: 3.4mm; border-radius: 99px; background: var(--sand); overflow: hidden; }
.d-bars em { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--stone), #b3a597); }
.d-bars .is-me em { background: linear-gradient(90deg, #ff6a4f, var(--red)); }
.d-bars > li > b { text-align: right; font-size: 9pt; color: var(--ink); }
.d-feat { padding: 6mm 7mm; border-radius: 4mm; background: var(--ink); color: #fff; background-image: radial-gradient(90% 140% at 100% 0%, rgba(244,59,47,.35), transparent 55%); display: flex; flex-direction: column; gap: 1mm; }
.d-feat small { font-size: 6.6pt; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }
.d-feat b { font-family: var(--display); font-weight: 400; font-size: 34pt; line-height: 1.05; }
.d-feat span { font-size: 8.4pt; color: var(--peach); }
.d-quote { position: relative; padding: 5mm 6mm 5mm 12mm; border-radius: 3mm; background: var(--sand); }
.d-quote::before { content: "\201C"; position: absolute; left: 3mm; top: -1mm; font-family: var(--display); font-size: 46pt; color: var(--red); line-height: 1; }
.d-quote h3 { font-family: var(--display); font-weight: 400; font-size: 17pt; color: var(--ink); margin: .5mm 0 1.5mm !important; }
.d-quote p:last-child { font-size: 8pt; line-height: 1.55; }

/* Steps */
.d-path { display: flex; flex-direction: column; position: relative; }
.d-path li { position: relative; display: grid; grid-template-columns: 16mm 1fr; column-gap: 4mm; padding: 4.5mm 0; }
.d-path li::before { content: ""; position: absolute; left: 6.5mm; top: 14mm; bottom: -4mm; width: .4mm; background: var(--line); }
.d-path li:last-child::before { display: none; }
.d-path span { grid-row: 1 / 3; width: 13mm; height: 13mm; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 15pt; position: relative; z-index: 1; }
.d-path li:first-child span { background: var(--red); }
.d-path b { font-size: 11pt; color: var(--ink); align-self: end; }
.d-path p { font-size: 8.6pt; line-height: 1.55; margin-top: .8mm !important; }
.d-path--row { flex-direction: row; gap: 4mm; }
.d-path--row li { display: flex; flex-direction: column; gap: 1.5mm; padding: 0; flex: 1; }
.d-path--row li::before { left: 13mm; right: -4mm; top: 5mm; bottom: auto; width: auto; height: .4mm; }
.d-path--row span { width: 10mm; height: 10mm; font-size: 12pt; }
.d-path--row b { font-size: 9pt; align-self: auto; }
.d-path--row span { grid-row: auto; }
.d-path--row p { font-size: 7.6pt; margin: 0 !important; }
.d-journey { display: grid; grid-template-columns: 1fr 1fr; gap: 0 7mm; }
.d-journey li { display: grid; grid-template-columns: 12mm 1fr; gap: 3mm; padding: 4mm 0; border-bottom: .25mm solid var(--line); }
.d-journey span { font-family: var(--display); font-size: 24pt; color: var(--red); line-height: .9; }
.d-journey b { color: var(--ink); font-size: 10pt; }
.d-journey p { font-size: 8pt; line-height: 1.5; margin-top: 1mm !important; }
.d-journey small { display: flex; flex-wrap: wrap; gap: .5mm 2mm; margin-top: 2mm; font-size: 7pt; color: var(--body); }
.d-journey small em { font-style: normal; font-size: 6pt; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.d-ticks { display: flex; flex-direction: column; gap: 2.4mm; }
.d-ticks li { display: grid; grid-template-columns: 4mm 1fr; gap: 2.4mm; font-size: 8.2pt; line-height: 1.45; color: var(--ink); }
.d-ticks i { width: 3.8mm; height: 3.8mm; border: .4mm solid var(--ink); border-radius: 1mm; margin-top: .3mm; background: #fff; }
.d-risks { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.d-risks > div { display: flex; flex-direction: column; gap: 1.4mm; padding: 4.5mm 5mm; border-radius: 3mm; border: .3mm solid var(--line); }
.d-risks span { font-family: var(--display); font-size: 18pt; color: var(--red); line-height: 1; }
.d-risks b { color: var(--ink); font-size: 9.6pt; }
.d-risks p { font-size: 7.8pt; line-height: 1.5; }
.d-risks__do { padding-top: 1.6mm !important; border-top: .25mm dashed var(--line); color: var(--ink); }
.d-risks__do em { font-style: normal; font-size: 6pt; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-right: 1mm; }
.d-hero--fill { flex: 1; min-height: 30mm; }
.d-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm 8mm; }
.d-faq div { padding-top: 3mm; border-top: .35mm solid var(--ink); }
.d-faq dt { font-family: var(--display); font-size: 13.5pt; line-height: 1.15; color: var(--ink); margin-bottom: 1.5mm; }
.d-faq dd { font-size: 7.9pt; line-height: 1.55; }

/* Valuation */
.d-val { display: grid; grid-template-columns: 82mm 1fr; gap: 8mm; align-items: center; padding: 7mm; border-radius: 4mm; background: var(--ink); color: #fff; background-image: radial-gradient(90% 120% at 100% 0%, rgba(244,59,47,.32), transparent 55%); }
.d-val__g svg { width: 100%; height: auto; display: block; }
.d-val__ends { display: flex; justify-content: space-between; font-size: 9pt; font-weight: 800; margin-top: 1mm; }
.d-val__ends span:last-child { text-align: right; }
.d-val__ends small { display: block; font-size: 6.2pt; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 700; }
.d-val__main small { display: block; font-size: 6.6pt; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }
.d-val__main b { display: block; font-family: var(--display); font-weight: 400; font-size: 40pt; line-height: 1; margin: 1.5mm 0; }
.d-val__main span { font-size: 9pt; color: var(--peach); font-weight: 700; }
.d-val__main p { font-size: 7.8pt; line-height: 1.5; color: rgba(255,255,255,.65); margin-top: 3mm !important; }

/* Costs */
.d-costhero { display: grid; grid-template-columns: 1fr 1fr; border-radius: 4mm; overflow: hidden; }
.d-costhero > div { padding: 6mm 7mm; display: flex; flex-direction: column; gap: 1mm; }
.d-costhero > div:first-child { background: var(--ink); color: #fff; background-image: radial-gradient(90% 140% at 100% 0%, rgba(244,59,47,.35), transparent 60%); }
.d-costhero > div:last-child { background: var(--sand); }
.d-costhero small { font-size: 6.6pt; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--stone); }
.d-costhero > div:first-child small { color: rgba(255,255,255,.6); }
.d-costhero b { font-family: var(--display); font-weight: 400; font-size: 34pt; line-height: 1.05; color: var(--ink); }
.d-costhero > div:first-child b { color: #fff; }
.d-costhero span { font-size: 8pt; color: var(--stone); } .d-costhero > div:first-child span { color: var(--peach); }
.d-stack { display: flex; gap: .8mm; height: 5mm; }
.d-stack .d-stack__s { border-radius: 1.2mm; }
.d-stack__s { display: inline-block; }
.d-stack__s--0 { background: var(--ink); } .d-stack__s--1 { background: var(--stone); } .d-stack__s--2 { background: var(--peach); } .d-stack__s--3 { background: var(--red); } .d-stack__s--4 { background: #b3a597; } .d-stack__s--5 { background: #ff8a6b; } .d-stack__s--6 { background: #5a524b; }
.d-tbl--costs td:first-child { width: 36%; }
.d-tbl--costs td:first-child .d-stack__s { width: 2.6mm; height: 2.6mm; border-radius: 50%; margin-right: 2mm; vertical-align: middle; }
.d-tbl--costs td:first-child small { display: block; margin-left: 4.6mm; font-size: 6.8pt; color: var(--stone); }
.d-tbl--costs td:nth-child(2) { color: var(--body); font-size: 7.4pt; }

/* Shortlist comparison */
.d-cmpt { display: flex; flex-direction: column; }
.d-cmpt__r { display: grid; grid-template-columns: 24mm repeat(var(--n), 1fr); gap: 3mm; padding: 1.7mm 0; border-bottom: .25mm solid var(--line); align-items: start; font-size: 8pt; color: var(--ink); }
.d-cmpt__l { font-size: 6.2pt; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding-top: .5mm; font-weight: 700; }
.d-cmpt__r--img { border: 0; padding-top: 0; }
.d-cmpt__r--img > span:not(.d-cmpt__l) { position: relative; }
.d-cmpt__r--img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2.5mm; }
.d-cmpt__n { position: absolute; left: 2mm; top: 2mm; z-index: 1; font-style: normal; font-family: var(--display); font-size: 13pt; color: #fff; background: var(--red); border-radius: 99px; padding: .4mm 2.6mm; line-height: 1.2; }
.d-cmpt__p { font-size: 10pt; }
.d-cmpt .is-best { color: var(--red); font-weight: 800; position: relative; }
.d-cmpt .is-best::after { content: "Best"; margin-left: 1.5mm; font-size: 5.6pt; letter-spacing: .1em; text-transform: uppercase; padding: .3mm 1.4mm; border-radius: 99px; background: var(--red); color: #fff; vertical-align: middle; }
.d-cmpt__r--qr { border: 0; }
.d-chip { display: inline-block; font-size: 7pt; padding: .8mm 2.2mm; border-radius: 99px; background: #e6f4ea; color: #1d6b37; font-weight: 700; }

/* QR */
.d-qr__c { width: 34mm; height: 34mm; background: #fff; border-radius: 2.5mm; padding: 2mm; display: block; }
.d-qr__c svg { width: 100%; height: 100%; display: block; }
.d-qr__c--s { width: 17mm; height: 17mm; padding: 1.2mm; border: .25mm solid var(--line); }

@media print {
  @page { size: A4 portrait; margin: 0; }
  html, body.dbody { background: #fff !important; margin: 0 !important; }
  .dtb, .dtb__hint { display: none !important; }
  .dstack { display: block; padding: 0; zoom: 1 !important; }
  .dp { box-shadow: none; height: 296.6mm; break-after: page; page-break-after: always; break-inside: avoid; margin: 0; animation: none !important; }
  .dp:last-child { break-after: auto; page-break-after: auto; }
  .dc__tag, .db__card { backdrop-filter: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Magazine layer: bleed photos, dark pages, galleries ---------- */
.dp { gap: 6.5mm; }
.d-drop { font-size: 10.2pt; line-height: 1.7; }
.d-drop::first-letter { font-size: 52pt; }
.d-kpis b { font-size: 14pt; }
.d-tbl { font-size: 8.4pt; }
.d-tbl td { padding: 2.4mm 2mm 2.4mm 0; }

/* Photo across the top of an inside page */
.dp--bleed { padding-top: 0; }
.dp--bleed::before { display: none; }
.d-bleed { position: relative; margin: 0 -15mm; flex: none; overflow: hidden; color: #fff; }
.d-bleed > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,.5) 0%, rgba(13,13,15,0) 30%, rgba(13,13,15,0) 50%, rgba(13,13,15,.82) 100%); }
.d-bleed__logo { position: absolute; z-index: 2; left: 15mm; top: 12mm; height: 9mm; width: auto; }
.d-bleed__t { position: absolute; z-index: 2; left: 15mm; right: 15mm; bottom: 9mm; display: grid; grid-template-columns: auto 1fr; gap: 5mm; align-items: end; }
.d-bleed__t .d-sh__n { font-size: 74pt; color: var(--red); text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.d-bleed__t .d-eye { color: rgba(255,255,255,.75); margin-bottom: 1.5mm; }
.d-bleed__t .d-h2 { color: #fff; font-size: 36pt; }
.d-grid2--path { grid-template-columns: 1.15fr 1fr; gap: 9mm; }

/* Dark inside page */
.dp--ink { background: var(--ink); color: rgba(255,255,255,.78); background-image: radial-gradient(90% 50% at 100% 0%, rgba(244,59,47,.28), transparent 60%), radial-gradient(80% 40% at 0% 100%, rgba(243,201,163,.12), transparent 60%); }
.dp--ink::before { background: var(--red); }
.dp--ink .dp__hd span { color: rgba(255,255,255,.55); }
.dp--ink .d-sh { border-color: rgba(255,255,255,.25); }
.dp--ink .d-h2, .dp--ink .d-h3 { color: #fff; }
.dp--ink .d-eye { color: rgba(255,255,255,.55); }
.dp--ink .d-note { color: rgba(255,255,255,.45); }
.dp--ink .dp__ft { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.5); }
.dp--ink .dp__pg { color: #fff; }
.d-ppx { display: flex; flex-direction: column; gap: 1mm; padding-top: 4mm; }
.d-ppx__big { font-family: var(--display); font-weight: 400; font-size: 104pt; line-height: .9; color: #fff; letter-spacing: -.02em; }
.d-ppx__big i { font-style: normal; color: var(--red); margin: 0 .12em; }
.d-ppx__sub { font-size: 10pt; color: var(--peach); }
.dp--ink .d-pp__track { height: 14mm; }
.d-ppx__steps { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6mm; }
.d-ppx__steps li { display: flex; flex-direction: column; gap: 1.2mm; padding-top: 4mm; border-top: .3mm solid rgba(255,255,255,.2); }
.d-ppx__steps i { width: 3.4mm; height: 3.4mm; border-radius: 50%; }
.d-ppx__steps span { font-size: 6.8pt; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 800; }
.d-ppx__steps b { font-family: var(--display); font-weight: 400; font-size: 24pt; color: #fff; line-height: 1.05; }
.d-ppx__steps small { font-size: 8pt; color: rgba(255,255,255,.62); }
.d-hero--ink { border-radius: 3mm; opacity: .95; }

/* Gallery page */
.dp--gal { padding: 0; background: #fff; }
.dg { position: absolute; inset: 0; display: grid; gap: 1.6mm; background: #fff; }
.dg img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.dg--1 { grid-template-columns: 1fr; }
.dg--2 { grid-template-rows: 1.3fr 1fr; }
.dg--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr 1fr; } .dg--3 img:first-child { grid-column: 1 / 3; }
.dg--4 { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1.2fr 1fr 1fr; } .dg--4 img:first-child { grid-column: 1 / 3; } .dg--4 img:nth-child(2) { grid-row: 2 / 4; }
.dg--5 { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr 1fr; } .dg--5 img:first-child { grid-column: 1 / 3; }
.dg__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22mm 15mm 25mm; background: linear-gradient(180deg, transparent, rgba(13,13,15,.88)); color: #fff; display: flex; flex-direction: column; gap: 2mm; }
.dg__t { font-family: var(--display); font-size: 34pt; line-height: 1; color: #fff; }
.dg__t em { color: var(--peach); }
.dp--gal .dp__ft { z-index: 3; }

/* Units list */
.d-units { display: flex; flex-direction: column; padding: 4.5mm 5mm; border-radius: 3mm; background: var(--ink); color: #fff; gap: 0; }
.d-units .d-eye { color: rgba(255,255,255,.55); margin-bottom: 1.5mm; }
.d-units div { display: flex; justify-content: space-between; gap: 4mm; padding: 2.4mm 0; border-top: .25mm solid rgba(255,255,255,.14); font-size: 8.6pt; }
.d-units b { color: var(--peach); }
.d-path li { padding: 3.6mm 0; }
.d-bigfacts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: .3mm solid var(--ink); }
.d-bigfacts div { padding: 1mm 4mm 4mm 0; }
.d-bigfacts div + div { padding-left: 4mm; border-left: .25mm solid var(--line); }
.d-bigfacts small { display: block; font-size: 6.4pt; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); font-weight: 800; margin-bottom: 1mm; }
.d-bigfacts b { font-family: var(--display); font-weight: 400; font-size: 25pt; line-height: 1; color: var(--ink); white-space: nowrap; }
.d-bigfacts b i { font-size: 11pt; font-style: normal; color: var(--stone); }
.dp--ink .d-kpis > div { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.dp--ink .d-kpis > div.is-dark { background: var(--red); border-color: var(--red); background-image: none; }
.dp--ink .d-kpis b { color: #fff; } .dp--ink .d-kpis small { color: rgba(255,255,255,.55); } .dp--ink .d-kpis span { color: var(--peach); }
.dp--ink .d-kpis .is-dark span { color: #fff; opacity: .85; }
.d-vx { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; align-items: center; padding: 4mm 0; }
.d-vx__g svg { width: 100%; height: auto; display: block; }
.d-vx__main b { display: block; font-family: var(--display); font-weight: 400; font-size: 54pt; line-height: .95; color: #fff; margin: 2mm 0 2.5mm; letter-spacing: -.01em; }
.d-vx__main > span { font-size: 10pt; color: var(--peach); font-weight: 700; }
.d-vx__main p:last-child { font-size: 8.4pt; line-height: 1.55; color: rgba(255,255,255,.62); margin-top: 4mm !important; }
.dp--ink .d-val__ends { color: #fff; }
.d-bars--ink li { border-color: rgba(255,255,255,.12); padding: 2.6mm 0; }
.d-bars--ink span b, .d-bars--ink > li > b { color: #fff; }
.d-bars--ink span small { color: rgba(255,255,255,.5); }
.d-bars--ink i { background: rgba(255,255,255,.08); }
.d-bars--ink em { background: linear-gradient(90deg, rgba(243,201,163,.5), var(--peach)); }
.dp--ink .d-units { background: rgba(255,255,255,.05); border: .3mm solid rgba(255,255,255,.12); }
.d-vx__main b { font-size: 46pt; white-space: nowrap; }
.dp--ink .d-faq div { border-color: rgba(255,255,255,.3); }
.dp--ink .d-faq dt { color: #fff; }
.dp--ink .d-faq dd { color: rgba(255,255,255,.66); }
.dp--bleed .d-journey li { padding: 3.4mm 0; }

/* ---------- Round 3: legibility, cost sheet, shortlist homes ---------- */
.d-tbl { font-size: 9pt; }
.d-tbl th { font-size: 6.8pt; }
.d-tbl td { padding: 2.6mm 2mm 2.6mm 0; }
.d-cmpt__r { font-size: 8.8pt; padding: 2mm 0; }
.d-cmpt__l { font-size: 6.8pt; }
.d-note { font-size: 7pt; }
.d-kpis small, .dc__facts small, .d-facts dt { font-size: 6.8pt; }
.d-card p, .d-risks p, .d-journey p, .d-faq dd { font-size: 8.4pt; }
.d-path p { font-size: 9pt; }
.d-bars span small { font-size: 7.2pt; }
.d-stack--xl { height: 12mm; gap: 1.2mm; }
.d-stack--xl .d-stack__s { border-radius: 2mm; }
.d-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8mm; }
.d-legend li { display: grid; grid-template-columns: 4mm 1fr auto 10mm; gap: 2.5mm; align-items: center; padding: 2.4mm 0; border-bottom: .25mm solid rgba(255,255,255,.12); font-size: 9pt; color: #fff; }
.d-legend i { width: 3.4mm; height: 3.4mm; border-radius: 50%; }
.d-legend b { font-weight: 800; }
.d-legend small { text-align: right; color: rgba(255,255,255,.5); font-size: 8pt; }
.dp--ink .d-stack__s--0 { background: #fff; }
.d-split { display: grid; grid-template-columns: 1fr 1fr; border: .3mm solid rgba(255,255,255,.16); border-radius: 3mm; }
.d-split div { padding: 5mm 6mm; display: flex; flex-direction: column; gap: 1mm; }
.d-split div + div { border-left: .3mm solid rgba(255,255,255,.16); }
.d-split small { font-size: 6.8pt; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 800; }
.d-split b { font-family: var(--display); font-weight: 400; font-size: 30pt; color: #fff; line-height: 1.05; }
.d-split span { font-size: 8.4pt; color: var(--peach); }
.d-ppx__big i { font-size: .32em; vertical-align: .9em; color: var(--peach); margin-left: .25em; }
.d-tbl--costs tfoot tr + tr td { border-top: 0; padding-top: 1mm; color: var(--red); }
.d-homes { display: grid; gap: 5mm; flex: 1; min-height: 0; }
.d-homes--1 { grid-template-rows: 1fr; } .d-homes--2 { grid-template-rows: 1fr 1fr; } .d-homes--3 { grid-template-rows: 1fr 1fr 1fr; } .d-homes--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.d-homes article { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6mm; min-height: 0; padding-bottom: 5mm; border-bottom: .25mm solid var(--line); }
.d-homes--4 article { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 3mm; }
.d-homes__img { position: relative; min-height: 0; border-radius: 3mm; overflow: hidden; }
.d-homes__img img { width: 100%; height: 100%; object-fit: cover; }
.d-homes__b { display: flex; flex-direction: column; gap: 2mm; justify-content: center; padding-right: 22mm; }
.d-homes__b h3 { font-family: var(--display); font-weight: 400; font-size: 18pt; line-height: 1.1; color: var(--ink); }
.d-homes__p { font-size: 15pt; font-weight: 800; color: var(--red); }
.d-homes__p small { font-size: 9pt; color: var(--stone); }
.d-homes__b ul { display: flex; gap: 6mm; padding-top: 2.5mm !important; border-top: .25mm solid var(--line); }
.d-homes__b li { font-size: 6.8pt; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); font-weight: 700; }
.d-homes__b li b { display: block; font-size: 13pt; letter-spacing: 0; color: var(--ink); text-transform: none; }
.d-homes article > .d-qr__c { position: absolute; right: 0; bottom: 5mm; }
@media print { .dp__grain { display: none; } }
.d-tbl--costs td { padding-top: 2mm; padding-bottom: 2mm; }
