/* Commercial Property Funds (src/views/Cpf.astro), in the new Inheritance Tax Service page's design (Kyle, 29 October 2026).
   Builds on home.css, iht.css and ihv.css, as the IHT page does: the full-screen opening (.ihp-b), the section heads, the
   card icons (.va-terms, .va-ico), the widening navy box (.ihv-pf) and the full-screen call to action (.inv-card). Only what
   is the page's own is here. */



/* the previous investments: picture cards on chalk, as the IHT page's Why Seneca (ihv.css .ihv-tile), the notice beside the
   heading; the status sits in the brand's photo label, a solid navy-deep tab, 10px in from the photo's corner */
.cpf-prev > .wrap { padding-block: clamp(4rem, 8vw, 6.5rem); }
.cpf-ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cpf-ph h2 { margin-top: 1rem; }
.cpf-notice { margin: 0; max-width: 52ch; font-size: var(--t-small); line-height: 1.6; color: var(--ink); }
.cpf-notice b { font-weight: 600; color: var(--navy); }
.cpf-prev .ihv-tile figure { position: relative; aspect-ratio: 16 / 10; }
.cpf-prev .ihv-tile .tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .3125rem .625rem; border-radius: var(--r-tag); background: var(--navy-deep); color: var(--sand); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cpf-prev .ihv-tile .tag i { width: 7px; height: 7px; background: var(--brick-accent); }
.cpf-prev .ihv-tx dl { margin: .25rem 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; padding-top: .875rem; border-top: 1px solid var(--rule); }
.cpf-prev .ihv-tx dl div { display: grid; gap: .25rem; }
.cpf-prev .ihv-tx dt { font: 600 .75rem var(--sans); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--brick-word); }
.cpf-prev .ihv-tx dd { margin: 0; font-size: var(--t-card); color: var(--ink); }
@media (max-width: 900px) { .cpf-ph { grid-template-columns: minmax(0, 1fr); } }

/* register your interest: the full-screen call to action, three form cards */
/* the heading and the published paragraphs across the top, the three forms in a row under them */
.ihv .cpf-reg .inv-in { grid-template-columns: minmax(0, 1fr); row-gap: clamp(2rem, 5svh, 3.5rem); }
.cpf-rhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 1.25rem; }
.cpf-rhead .eye { margin-bottom: 1.25rem; }
.cpf-rhead p { margin: 0; color: var(--chalk); }
.cpf-rhead p + p { margin-top: .875rem; }
@media (max-width: 900px) { .cpf-rhead { grid-template-columns: minmax(0, 1fr); } }
.cpf-forms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cpf-forms .route { gap: .75rem; }
.cpf-forms .route h3 { --serif-size: 1.75rem; --serif-ls: 0em; --serif-ws: 0em; font-size: var(--serif-fit); }
.cpf-forms .route > p { margin: 0 0 1rem; }
.cpf-forms .acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.cpf-forms .btn { padding: .75rem 1rem; font-size: 1rem; }
.cpf-post { grid-column: 1 / -1; margin: 0; max-width: 80ch; font-size: var(--t-small); line-height: 1.6; color: var(--chalk); }
.cpf-post a { color: var(--chalk); }
.cpf-post a:hover { color: var(--brick-accent); }
@media (max-width: 900px) { .cpf-forms { grid-template-columns: minmax(0, 1fr); } }

/* Colour (Kyle, 29 October 2026: "Could we be creative with this page at all in terms of colour? ... It's super basic compared
   to IHT"). The page runs chalk, navy, chalk, navy, as the IHT page alternates its grounds: the opening on chalk with the
   photograph at the size of the IHT page's navy card; the funds in a navy box that widens to the screen; the previous
   investments on chalk; then registering and speaking to us, on navy. */
/* the previous investments on chalk, the page's own ground (Kyle, 30 October 2026: one off-white, as the top of the IHT
   page; the stone read too dark, and a chalk band sat above it) */
.cpf-prev { background: var(--chalk); }
.cpf-prev .ihv-tile { border-color: #D2C7B6; }
.cpf-prev .ihv-tx dl { border-top-color: var(--rule); }



