/* Cavara screenshot-led preview family. Brand colours/type inherit shared tokens. */
.editorial-site{overflow-wrap:anywhere}.ed-wrap{width:min(100%,90rem);margin-inline:auto;padding-inline:var(--page-gutter)}
.editorial-nav{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin:auto;padding:1.6rem clamp(16px,8px + 3vw,64px);position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--linen) 84%,transparent);-webkit-backdrop-filter:blur(.75rem);backdrop-filter:blur(.75rem);border-bottom:1px solid transparent}.editorial-logo{flex:none;padding:8px 0}.editorial-logo img{width:144px;height:auto}.editorial-desktop{display:flex;align-items:center;gap:1.75rem;margin-inline:auto}.editorial-nav a,.editorial-nav summary{font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;text-decoration:none;min-height:44px;align-content:center}.editorial-number{white-space:nowrap;letter-spacing:0!important}.editorial-call{border:1px solid;border-radius:var(--radius-pill);padding:.7rem 1.5rem;text-align:center;letter-spacing:.2em!important}.editorial-mobile{display:none}.ed-loans summary{cursor:pointer}.ed-loans>div{position:absolute;top:calc(100% - .5rem);display:grid;min-width:14rem;background:var(--linen);border:1px solid var(--line);padding:1rem 1.5rem}.ed-loans a{padding:.5rem 0}
.editorial-site h1,.editorial-site h2,.editorial-site h3{font-weight:400}.editorial-site p{line-height:1.65}.ed-label{font:400 .6875rem/1.6 var(--font-sans);letter-spacing:.2em;text-transform:uppercase}.ed-hero{text-align:center;padding-top:clamp(3rem,2rem + 4vw,6.5rem)}.ed-hero h1{font-size:clamp(2.5rem,1.2rem + 5.6vw,6.75rem);line-height:1.08;letter-spacing:-.035em;margin:0 auto 2rem;max-width:24ch}.ed-hero>.ed-label{margin:0 0 1.5rem}.ed-deck{font-size:clamp(1.0625rem,.8rem + .55vw,1.5rem);color:var(--muted);max-width:54ch;margin:0 auto 2.5rem}.ed-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem}.editorial-site .button{font-size:.6875rem;letter-spacing:.18em;text-transform:uppercase;padding:1.15rem 2rem;line-height:1.5}.ed-hero-team{display:block;width:100%;height:auto;margin:4.5rem auto 0}.ed-service-ribbon{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem 3rem;padding:1.5rem var(--page-gutter);border-block:1px solid var(--line);font-size:.625rem;letter-spacing:.18em;text-transform:uppercase}
.ed-centred{text-align:center}.ed-section{padding-block:clamp(4rem,2rem + 6vw,8rem)}.editorial-site h2{font-size:clamp(2rem,1rem + 3.5vw,4.25rem);line-height:1.12;letter-spacing:-.025em;margin:1.5rem auto 2.5rem;max-width:26ch}.ed-copy{max-width:48ch;margin:0 auto 2.5rem;color:var(--muted)}.ed-dark{background:var(--charcoal);color:var(--linen)}.ed-dark .ed-deck,.ed-dark .ed-copy,.ed-dark .ed-process p{color:var(--linen)}.ed-dark .button-secondary{color:var(--linen);border-color:var(--linen);background:transparent}.ed-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem;margin:4rem auto;max-width:70rem;text-align:left}.ed-process article{border-top:1px solid var(--line);padding-top:1.5rem}.ed-process h3{font:400 1.75rem/1.2 var(--font-display);margin:1.5rem 0 1rem}.ed-process p{font-size:.9375rem;color:var(--muted);max-width:32ch}.ed-dark .ed-process article{border-color:#777570}
.ed-inline{display:inline-block;font-size:.8125rem;padding:.85rem 0;text-underline-offset:.4em;min-height:2.75rem}.ed-faqs{max-width:52rem;text-align:left;margin:3rem auto 0}.ed-faqs details{border-top:1px solid var(--line)}.ed-faqs summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:space-between;gap:1.5rem;padding:1.5rem 0;cursor:pointer;min-height:2.75rem;line-height:1.5}.ed-faqs summary::-webkit-details-marker{display:none}.ed-faqs summary span{font-size:1.25rem;flex:none;align-self:start}.ed-faqs details[open] summary span{transform:rotate(45deg)}.ed-faqs p{color:var(--muted);max-width:60ch;margin:0 0 2rem}
.ed-contact{text-align:center;border-top:1px solid var(--line);padding-block:6rem}.ed-contact h2{margin-bottom:2rem}.ed-contact>p:not(.ed-label){color:var(--muted)}.ed-phone{display:inline-block;padding:.5rem 0;font-size:clamp(1.5rem,1rem + 1.5vw,2.5rem);text-decoration-thickness:1px;text-underline-offset:.25em}.ed-wide-image{margin-top:4rem}.ed-wide-image img{width:100%;height:auto;aspect-ratio:2.5;object-fit:cover;object-position:center 45%}.ed-people{padding-top:5rem;background:color-mix(in srgb,var(--linen) 92%,var(--charcoal))}.ed-people img{width:100%;height:auto;margin-top:3rem}.ed-people h2{margin-bottom:1rem}.ed-profile-photo{display:block;width:min(100%,18rem);height:auto;margin:3rem auto 0;mix-blend-mode:multiply}.ed-service-list{max-width:64rem;margin:4rem auto 0;text-align:left}.ed-service-list>a{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;align-items:center;gap:1.5rem;padding:2rem 0;border-top:1px solid var(--line);text-decoration:none}.ed-service-list h3{font:400 clamp(1.5rem,1rem + 2vw,2.75rem)/1.2 var(--font-display);margin:0}.ed-row-action{font-size:.75rem;text-decoration:underline;text-underline-offset:.4em}
.premium-sequence{padding-top:6rem}.sequence-intro{text-align:center}.motion-choice{font:inherit;font-size:.75rem;border:0;border-bottom:1px solid;background:transparent;color:inherit;padding:.75rem 0;cursor:pointer;min-height:2.75rem}.motion-choice[hidden]{display:none}/* Clear space after chapter 03 so its image never meets the next section, in both layouts. */.premium-sequence{--sequence-end:clamp(5rem,3rem + 5vw,9rem)}.sequence-body{position:relative;padding-bottom:var(--sequence-end)}.sequence-track{display:none}.sequence-chapter{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center;padding-block:4rem}.sequence-chapter>div{min-width:0}.sequence-chapter h3{font:400 clamp(2.5rem,1.25rem + 4vw,4.75rem)/1.04 var(--font-display);letter-spacing:-.03em;margin:2rem 0;overflow-wrap:break-word;hyphens:auto}.sequence-chapter h3{text-transform:uppercase;text-wrap:balance}.editorial-site .sequence-action{margin-top:1.5rem;min-height:3rem;padding:1rem 1.75rem;font-size:1rem;letter-spacing:.02em;text-transform:none}.sequence-chapter p:not(.ed-label){max-width:34ch;color:var(--muted)}.sequence-static{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.sequence-motion .sequence-track{display:block;position:absolute;inset:0 var(--page-gutter) var(--sequence-end) 55%}.sequence-frame{position:sticky;top:12vh;height:76vh}.sequence-layer{position:absolute;inset:0;overflow:hidden}.sequence-layer:not(:first-child){clip-path:inset(100% 0 0 0)}.sequence-layer img{width:100%;height:100%;object-fit:cover}.sequence-count{position:absolute;bottom:1.5rem;right:1.5rem;background:var(--linen);color:var(--charcoal);padding:.5rem .75rem;font-size:.6875rem;letter-spacing:.15em}.sequence-motion .sequence-chapter{min-height:100vh;grid-template-columns:minmax(0,44%);padding-block:5rem}.sequence-motion .sequence-static{display:none}
.editorial-footer{background:var(--charcoal);color:var(--linen);padding-block:3rem 2rem}.ed-footer-top{display:flex;flex-wrap:wrap;gap:2rem;align-items:center;justify-content:space-between;margin-bottom:3rem}.ed-footer-top>img{width:10rem;height:auto}.ed-footer-top .tagline{margin:0;font-size:2rem}.ed-footer-bottom{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;border-top:1px solid var(--muted);padding-top:1.5rem;font-size:.75rem;line-height:1.6}.ed-footer-bottom nav{display:flex;flex-wrap:wrap;gap:1rem}.ed-footer-bottom a{display:inline-block;min-height:2.75rem}
@media(max-width:70rem){.editorial-number{display:none}.editorial-desktop{gap:1.2rem}.editorial-nav{gap:16px}}
@media(max-width:60rem){.editorial-desktop{display:none}.editorial-mobile{display:block;margin-left:auto}.editorial-mobile summary{padding:0;cursor:pointer}.editorial-mobile nav{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;padding:1rem 0}.editorial-nav{flex-wrap:wrap;gap:16px 24px}.editorial-mobile[open]{flex-basis:100%}.editorial-call{margin-left:auto}.sequence-chapter{gap:2rem}.ed-process{gap:2rem}}
@media(max-width:45rem){.editorial-call{display:none}.ed-hero{padding-top:3rem}.ed-hero h1 br{display:none}.ed-hero-team{margin-top:3rem}.ed-deck br{display:none}.ed-process{grid-template-columns:1fr;gap:1.5rem;margin-block:3rem}.ed-process p{max-width:none}.ed-process h3{margin-top:.75rem}.ed-process article{padding-top:1rem}.ed-wide-image img{aspect-ratio:4/3}.sequence-chapter{grid-template-columns:1fr;padding-block:3rem}.sequence-static{aspect-ratio:4/3}.premium-sequence{padding-top:4rem}.ed-service-list>a{grid-template-columns:1.5rem minmax(0,1fr);gap:1rem}.ed-row-action{grid-column:2}.ed-contact{padding-block:4rem}.ed-footer-top{align-items:flex-start;flex-direction:column}.editorial-site .button{padding-inline:1.5rem}.ed-service-ribbon{gap:.75rem 1.5rem}}
@media(prefers-reduced-motion:reduce){.editorial-site *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Fuller homepage: source-inspired content depth; copy lives in content/pages/home.json. */
.home-line{display:block}.home-introduction{display:grid;grid-template-columns:1fr 1fr;gap:4rem;max-width:64rem;margin:3.5rem auto 0;text-align:left;align-items:start}.home-introduction p{margin:0}.home-lead{font-size:1.25rem}.home-introduction>p:last-child{color:var(--muted)}.home-why{border-bottom:1px solid var(--line)}.home-why .ed-process h3{font-size:1.5rem}.home-why .ed-process{margin-bottom:1rem}.home-tools{background:#e9e5dc}.home-section-heading{text-align:center}.home-tool-links{max-width:65rem;margin:3rem auto 0}.home-tool-links>a{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;gap:2rem;align-items:center;border-top:1px solid var(--control-border);padding:2rem 0;text-decoration:none}.home-tool-links h3{font:400 clamp(1.5rem,1rem + 1.5vw,2.5rem)/1.2 var(--font-display);margin:0 0 .75rem}.home-tool-links p{margin:0;max-width:52ch;color:var(--muted);font-size:.9375rem}.home-action{font-size:.75rem;text-decoration:underline;text-underline-offset:.4em}.home-small{font-size:.75rem;color:var(--muted);line-height:1.6}.home-tools .home-small{max-width:65rem;margin:2rem auto 0}.home-brokers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:2rem 1.5rem;margin-top:4rem;text-align:left}
@media(min-width:64rem){.home-brokers{grid-template-columns:repeat(5,minmax(0,1fr))}}/* Portraits: landscape photographs cropped by team/Portrait.astro into a 4:5 frame, as on the team page. */.home-portrait{aspect-ratio:4/5;display:block;overflow:hidden;border-radius:var(--panel-radius)}.home-portrait img{display:block;width:100%;height:100%;object-fit:cover}.home-brokers h3{font:400 1.5rem/1.25 var(--font-display);margin:1.25rem 0 .5rem}.home-brokers>article>a:first-child,.home-brokers h3 a{text-decoration:none}.home-brokers p{font-size:.8125rem;color:var(--muted);margin:0}.home-team-note{max-width:50rem;margin:3rem auto 0;padding-top:2rem;border-top:1px solid var(--line)}.home-team-note>p:last-child{color:var(--muted);max-width:55ch;margin-inline:auto}.home-story{display:grid;grid-template-columns:1fr 1fr;background:var(--charcoal);color:var(--linen)}.home-story-image{min-width:0}.home-story-image img{width:100%;height:100%;object-fit:cover}.home-story-copy{padding:clamp(2rem,1rem + 4vw,5rem);min-width:0;align-self:center}.home-story-copy h2{font-size:clamp(2rem,1rem + 2.5vw,3.75rem);margin-left:0}.home-story-copy>p{max-width:48ch}.home-story-copy .home-small{color:var(--linen);opacity:.8;margin-top:1.5rem}.home-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem;text-align:left;margin-top:4rem}.home-insights article{border-top:1px solid var(--line);padding-top:1.5rem;min-width:0}.home-insights h3{font:400 1.75rem/1.25 var(--font-display);margin:1.5rem 0}.home-insights p:not(.ed-label){font-size:.9375rem;color:var(--muted)}.home-insights summary{font-size:.8125rem;cursor:pointer;min-height:2.75rem;padding:.75rem 0;text-decoration:underline;text-underline-offset:.4em}.home-insights details[open]{border-top:1px solid var(--line);margin-top:1rem}.home-location{display:grid;grid-template-columns:1fr 1fr;gap:4rem;padding-block:5rem;border-top:1px solid var(--line);align-items:center}.home-location h2{margin-left:0;margin-bottom:0}.home-location address{font-style:normal;line-height:1.6;margin-top:2rem}.home-location>div>p:not(.ed-label){max-width:48ch;color:var(--muted)}
@media(max-width:60rem){.home-brokers{grid-template-columns:repeat(2,minmax(0,1fr))}.home-story-copy{padding:2rem}.home-insights{gap:1.5rem}.home-tool-links>a{gap:1rem}.home-introduction{gap:2rem}}
@media(max-width:45rem){.home-introduction,.home-story,.home-insights,.home-location{grid-template-columns:1fr;gap:2rem}.home-story-image img{height:auto;aspect-ratio:4/3;object-position:center 45%}.home-story-copy{padding:2.5rem var(--page-gutter)}.home-tool-links>a{grid-template-columns:1.5rem minmax(0,1fr)}.home-action{grid-column:2}.home-brokers{gap:1.5rem 1rem}.home-brokers h3{font-size:1.25rem}.home-location{padding-block:3rem}.home-introduction{margin-top:2rem}.home-insights{margin-top:3rem}.home-insights h3{margin-top:1rem}}
/* Give the homepage reference its intended scale on wide desktop displays. */
.ed-hero:has(>.ed-hero-team){width:min(100%,100rem)}
.ed-hero:has(>.ed-hero-team) h1{font-size:clamp(2.5rem,1.2rem + 5.6vw,7.75rem)}

/* Supplied group photography keeps the complete frame at every viewport. */
.ed-hero-team,.ed-people img{object-fit:contain;object-position:center;mix-blend-mode:normal;aspect-ratio:auto}
.home-portrait img,.ed-profile-photo{mix-blend-mode:normal}
.home-story-image img{object-position:35% center}
/* Transparent homepage group: the asset's headroom supplies the small CTA gap. */
.ed-hero:has(>.ed-hero-team){padding-top:clamp(2rem,1rem + 3vw,4rem)}
.ed-hero-team{margin-top:clamp(-4rem,-4vw,-.75rem);pointer-events:none}

/* Text links carry an underline (Tailwind preflight removes the default); lists keep their markers. */
.ed-inline,.ed-phone,.ed-row-action,.calc-back,.broker-back,.team-phone,.broker-direct,.calc-list-action,.home-action,.family-prose a,.calc-notes a,.broker-about a,.ed-faqs p a{text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:1px}
.calc-notes ul,.family-prose ul{list-style:disc}
/* Header compacts on scroll where scroll-driven animations exist; otherwise it simply stays sticky. */
@supports (animation-timeline:scroll()){@media(prefers-reduced-motion:no-preference){
.editorial-nav{animation:nav-compact linear both;animation-timeline:scroll(root);animation-range:0 14vh}
.editorial-logo img{animation:nav-logo linear both;animation-timeline:scroll(root);animation-range:0 14vh}}}
@keyframes nav-compact{to{padding-block:12.8px;border-bottom-color:var(--line)}}
@keyframes nav-logo{to{width:112px}}
/* Header sizes are in px on purpose (Dieter, 6 November 2026: at 200% text on a phone the header took a third of the
   screen). Only the header's own labels grow with text; the logo, spacing and tap targets stay put, so the logo and
   Menu share one row. On short screens (phone landscape) the header scrolls away instead of covering content, and an
   open menu taller than the screen scrolls inside the header. */
@media(max-height:480px){.editorial-nav{position:static}}
.editorial-nav:has(.editorial-mobile[open]){max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
.editorial-mobile .menu-label-close{display:none}
@media(min-height:480.02px){html{scroll-padding-top:112px}}
/* Under 320 CSS px (Dieter's Pixel, 6 November 2026: Chrome's 200% text scaling zooms a 412 px phone to about 206 CSS
   px). The logo shrinks so it and Menu stay on one row, and the header's padding tightens so it stays near an eighth
   of the screen. Menu keeps its 44 px tap target. Wider screens are unchanged. The
   scroll-shrink animation is off here because the header is already at its compact size.
   Second pass (Dieter on his Pixel after PR #29): the wordmark still read as huge and crowded Menu. It is an image, so
   it does not need to grow with text: it is now about 42% of the screen width (the wordmark fills the image edge to
   edge), with clear space before Menu. */
@media(max-width:319.98px){
 header.editorial-nav{flex-wrap:nowrap;justify-content:space-between;gap:16px;padding-block:8px;padding-inline:16px;animation:none}
 /* Third pass (17 November): at 206 px with text also at 200%, the larger Menu label pushed past the right edge and
    the page scrolled sideways. The logo may now give up width (never below 56 px) so Menu always fits on the row. */
 .editorial-nav .editorial-logo{flex:0 1 auto;min-width:56px;width:clamp(80px,42vw,128px);padding-block:4px}
 .editorial-nav .editorial-logo img{display:block;width:100%;animation:none}
 .editorial-nav .editorial-mobile{flex:none;margin-left:auto}
}
/* Open menu, at every width where the Menu button shows (up to 60rem; the desktop inline navigation is separate).
   Dieter's Pixel, 6 November 2026: at 200% text Menu dropped below the logo and the links ran off the right edge in
   a sideways-scrolling row; PR #31 fixed that under 320 CSS px. 7 November: he preferred that version at normal text
   size too, so it now applies to all phones and tablets. The button stays on the logo row, right-aligned, and reads
   "Close"; the links drop down over the page as a full-width list, one per row, each a 44 px tap target, so the page
   does not jump. The panel scrolls itself if it is taller than the screen. Works without JavaScript (details). */
@media(max-width:60rem){
 header.editorial-nav:has(.editorial-mobile[open]){max-height:none;overflow:visible}
 .editorial-nav .editorial-mobile[open]{flex-basis:auto}
 .editorial-nav .editorial-mobile summary{display:block;list-style:none;padding-inline:4px;margin-inline-end:-4px}
 .editorial-nav .editorial-mobile summary::-webkit-details-marker{display:none}
 .editorial-mobile[open] .menu-label-open{display:none}
 .editorial-mobile[open] .menu-label-close{display:inline}
 .editorial-nav .editorial-mobile nav{position:absolute;inset-inline:0;top:100%;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;max-height:calc(100dvh - 100%);overflow-y:auto;overscroll-behavior:contain;padding:0 clamp(16px,8px + 3vw,64px) 8px;background:var(--linen);border-block:1px solid var(--line);box-shadow:0 12px 24px -16px rgb(0 0 0 / .35)}
 .editorial-nav .editorial-mobile nav a{display:block;padding-block:12px;border-top:1px solid var(--line);overflow-wrap:break-word}
 .editorial-nav .editorial-mobile nav a:first-child{border-top:0}
}
/* Short screens (phone landscape): the header scrolls away (static, above) but still anchors the dropdown panel. */
@media(max-width:60rem) and (max-height:480px){header.editorial-nav{position:relative}}
/* Page headings on screens narrower than 20rem in the reader's own text size: Chrome's text scaling zooming a phone to
   about 206 CSS px, or a 320-412 px phone with text at 200%. A container query is used because its rem follows the
   page's text size (a media query's does not). The heading is capped at 15% of the width so "Know who's in your
   corner." takes three lines and the intro shows on the first screen, but never below 1.5rem, so it still grows with
   the reader's text and stays half as large again as body text. Wider screens and normal text keep their sizes. The
   doubled class outranks the per-template hero sizes (.editorial-site .team-hero h1 and similar). */
.editorial-site main{container:page/inline-size}
@container page (max-width:19.99rem){.editorial-site.editorial-site main h1{font-size:max(1.5rem,15cqi);line-height:1.08;letter-spacing:-.025em}}
/* Same narrow-in-text-terms condition (17 November): at 206 px with 200% text the 32 px page gutters, doubled by the
   inset contact card, left under 80 px for content and the page scrolled sideways. The gutter drops to 16 px (the
   header's own inset at this size) and the map panel's side padding follows. Lender cards become one full visible
   width each (two per column, the row still scrolls), so a name such as "Commonwealth Bank" wraps between words at
   body text size instead of breaking mid-word. Only a single word wider than the whole screen (206 px with 200% text)
   may still break; the text is not shrunk below the reader's size to avoid that. */
@container page (max-width:19.99rem){
 .editorial-site main>*{--page-gutter:16px}
 .editorial-site main .home-map-panel{padding-inline:16px}
 .editorial-site main .home-lender-track{grid-auto-columns:calc(100cqi - 32px)}
 .editorial-site main .home-lender-track>.home-lender{padding-inline:.75rem;font-size:1rem}
 .editorial-site main .home-lender-track>.home-lender>span{overflow-wrap:break-word;hyphens:manual}
}
@media(max-width:319.98px) and (min-height:480.02px){html{scroll-padding-top:72px}}

/* Broker rows share one row track so names, roles and links align across cards whatever wraps. */
@supports(grid-template-rows:subgrid){.home-brokers>article{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0;align-content:start}.home-brokers>article>*{margin-block:0}.home-brokers h3{margin:.75rem 0 0}.home-brokers .ed-inline{align-self:start}}
/* Placeholder until a portrait is supplied: sized by aspect ratio alone (a percentage height resolves differently in WebKit). */
.team-portrait-pending{display:grid;place-items:center;width:100%;aspect-ratio:4/5;background:color-mix(in srgb,var(--charcoal) 8%,var(--linen));color:var(--muted);font-size:var(--text-small);letter-spacing:.08em;text-transform:uppercase}

/* Homepage review round (Eden, 20 October): linked service row, brokers in Why Cavara, lender panel, reviews and map. */
.home-services{container-type:inline-size;padding-block:clamp(1.5rem,1rem + 2vw,3rem)}
.home-services ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.home-services li{display:flex;min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-services a{flex:1;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;min-height:2.75rem;padding:1rem 1.25rem;text-decoration:none;text-align:left;transition:background-color .2s ease,color .2s ease}
.home-services a:hover,.home-services a:focus-visible{background:var(--charcoal);color:var(--linen)}
.home-service-name{font:400 clamp(1.375rem,1.1rem + .8vw,2rem)/1.15 var(--font-display);letter-spacing:-.01em;min-width:0;max-width:100%;overflow-wrap:break-word;hyphens:auto}
.home-service-action{font-size:.6875rem;letter-spacing:.18em;text-transform:uppercase;text-decoration:underline;text-underline-offset:.4em;text-decoration-thickness:1px}
@container (min-width:30em){.home-services ul{grid-template-columns:repeat(2,minmax(0,1fr))}.home-services a{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:1.25rem;padding:clamp(1.25rem,1rem + 1vw,1.75rem)}}
@container (min-width:44em){.home-services ul{grid-template-columns:repeat(3,minmax(0,1fr))}}
.home-people .ed-deck{margin-bottom:0}
.home-team-photo{padding-bottom:clamp(2rem,1rem + 4vw,5rem)}
.home-team-figure{margin:clamp(1rem,.5rem + 2vw,2rem) auto 0;width:min(100% - 2 * var(--page-gutter),72rem)}
.home-team-figure img{display:block;width:100%;height:auto;border-radius:var(--radius-card);filter:grayscale(1)}
.home-placeholder-note{display:inline-block;margin:0 auto;padding:.5rem 1rem;border:1px dashed var(--control-border);border-radius:var(--radius-control);font-size:var(--text-small);color:var(--muted)}
.home-scroller{margin-top:clamp(2rem,1.5rem + 2vw,3rem);text-align:left}
.home-scroller-track{list-style:none;margin:0;padding:0 0 1rem;display:grid;grid-auto-flow:column;gap:1rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin}
.home-scroller-track>li{display:flex;min-width:0;scroll-snap-align:start}
.home-scroller-track:focus-visible{outline:2px solid var(--charcoal);outline-offset:.25rem}
.home-scroller-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.home-scroller-controls[hidden],.home-scroller:not([data-scrollable]) .home-scroller-controls{display:none}
.home-scroller-button{font:inherit;font-size:.6875rem;letter-spacing:.18em;text-transform:uppercase;min-height:2.75rem;min-width:2.75rem;padding:.75rem 1.5rem;border:1px solid var(--charcoal);border-radius:var(--radius-pill);background:transparent;color:var(--charcoal);cursor:pointer;transition:background-color .2s ease,color .2s ease}
.home-scroller-button:hover:not(:disabled),.home-scroller-button:focus-visible{background:var(--charcoal);color:var(--linen)}
.home-scroller-button:disabled{opacity:.45;cursor:default}
.home-lender-track{grid-template-rows:repeat(2,1fr);grid-auto-columns:minmax(min(70%,13em),1fr)}
.home-lender-track>.home-lender{flex:1;display:grid;place-items:center;min-height:5.5rem;padding:1rem 1.25rem;border:1px solid var(--line);border-radius:var(--panel-radius);background:var(--surface);text-align:center;font:400 clamp(1.125rem,1rem + .25vw,1.3125rem)/1.25 var(--font-display);text-wrap:balance;overflow-wrap:break-word}
.home-lender-logo{display:block;width:auto;max-width:100%;height:auto;max-height:3rem;object-fit:contain}
.home-lender-note{margin:1.5rem auto 0;max-width:60ch}
.home-review-track{grid-auto-columns:minmax(min(85%,20em),1fr)}
.home-review figure{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:1rem;margin:0;padding:clamp(1.5rem,1rem + 1.5vw,2.25rem);border:1px solid var(--line);border-radius:var(--panel-radius);background:var(--surface)}
.home-review figcaption{display:grid;gap:.125rem;width:100%}
.home-review-name{font:400 1.25rem/1.3 var(--font-display)}
.home-review-via{font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.home-review blockquote{margin:0}
.home-review blockquote p{margin:0;font-size:1rem;line-height:1.65}
.home-review blockquote.is-clamped p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;line-clamp:8;overflow:hidden}
.home-review-more{font:inherit;font-size:.8125rem;min-height:2.75rem;padding:.5rem 0;border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:1px;cursor:pointer}
.home-review-more[hidden]{display:none}
.home-review-date{margin-top:auto;padding-top:.5rem;font-size:var(--text-small);color:var(--muted)}
.home-review-summary{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem 1.25rem;margin:2rem auto 0;padding:.75rem 1.5rem;border:1px solid var(--line);border-radius:var(--panel-radius);background:var(--surface)}
.home-review-source{font:400 1.25rem/1 var(--font-display)}
.home-review-score{font-size:var(--text-small)}
.home-review-count{font-size:var(--text-small);text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:1px;min-height:2.75rem;align-content:center}
.home-stars{position:relative;display:inline-block;line-height:0;flex:none}
.home-stars-row{display:inline-flex;gap:.125rem}
.home-stars-row svg{flex:none;width:1.125rem;height:1.125rem}
.home-stars-empty{fill:var(--line)}
.home-stars-full{position:absolute;inset:0;width:var(--fill);overflow:hidden;fill:var(--charcoal)}
.home-reviews .ed-inline{margin-top:1rem}
.home-map{grid-column:1/-1;display:grid;border:1px solid var(--line);border-radius:var(--panel-radius);overflow:hidden;background:color-mix(in srgb,var(--line) 25%,var(--linen))}
.home-map.is-loaded{aspect-ratio:16/7}
.home-map-panel{display:grid;justify-items:center;align-content:center;gap:1rem;padding:clamp(2rem,1rem + 4vw,4.5rem) 1.5rem;text-align:center}
.home-map-panel p{margin:0}
.home-map-address{font:400 clamp(1.25rem,1rem + 1vw,1.75rem)/1.3 var(--font-display);max-width:24ch}
.home-map-note{max-width:40ch}
.home-map-frame{display:block;width:100%;height:100%;border:0}
@media(max-width:45rem){.home-map.is-loaded{aspect-ratio:4/5}}
/* Lending chapters: the two-column layout depends on the space in text-relative units, so enlarged text drops to one column before the larger headlines can collide. */
.sequence-body{container-type:inline-size}
@container (max-width:50em){.sequence-chapter{grid-template-columns:minmax(0,1fr);gap:2rem;padding-block:3rem}.sequence-static{aspect-ratio:4/3}}
/* Broker row columns follow the space in text-relative units, so enlarged text drops columns instead of breaking names. */
.home-people{container-type:inline-size}
.home-people .home-brokers{grid-template-columns:repeat(2,minmax(0,1fr))}
@container (min-width:40em){.home-people .home-brokers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (min-width:56em){.home-people .home-brokers{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Same rule as the team page's support cards: one column once two cards would be narrower than about 8rem each. */
@container (max-width:17rem){.home-people .home-brokers,.home-people .home-support-grid{grid-template-columns:1fr}}
/* Broker cards (Eden, 21 October): two explicit links, and the portrait turns Charcoal on hover. */
.home-brokers .home-broker-page{margin-top:.25rem}
@media(hover:hover){
.home-brokers .home-portrait img{transition:filter .35s ease,transform 450ms var(--ease-out)}
.home-brokers>article:hover .home-portrait img,.home-brokers>article:focus-within .home-portrait img{filter:grayscale(1) brightness(.6) contrast(1.12)}
.home-brokers .team-portrait-pending{transition:background-color .35s ease,color .35s ease}
.home-brokers>article:hover .team-portrait-pending,.home-brokers>article:focus-within .team-portrait-pending{background:var(--charcoal);color:var(--linen)}}
/* The team behind the brokers: a quieter grid beneath them, same portrait ratio at a smaller size. */
.home-support .home-team-note{margin-top:clamp(3rem,2rem + 3vw,5rem)}
.home-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 1rem;max-width:48rem;margin:2.5rem auto 0;text-align:left}
@container (min-width:40em){.home-people .home-support-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (min-width:56em){.home-people .home-support-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem 1.5rem}}
.home-support-grid>article{display:grid;grid-template-rows:subgrid;grid-row:span var(--support-rows,3);row-gap:.25rem;align-content:start;min-width:0}
.home-support-grid>article>*{margin:0}
.home-support-grid h3{font:400 1.125rem/1.3 var(--font-display);margin-top:.5rem}
.home-support-grid p{font-size:.8125rem;color:var(--muted)}
/* Extreme text enlargement on narrow screens (200% text at 320px): long single words may hyphenate or wrap
   inside their tile instead of widening it. Type size is unchanged. */
.home-services a{min-width:0}
.home-service-name{overflow-wrap:anywhere}
.home-lender-track>.home-lender>span{min-width:0;max-width:100%;overflow-wrap:anywhere;hyphens:auto}
.sequence-chapter>div{min-width:0}
/* Lender marquee (JS only, never with reduced motion): snap would fight the slow continuous scroll. */
.is-marquee .home-scroller-track{scroll-snap-type:none;scrollbar-width:none}
.is-marquee .home-scroller-track::-webkit-scrollbar{display:none}
.home-lenders .ed-deck{text-wrap:balance}
/* The team photograph is opaque (23 October 2026): frame it like the homepage panel. */
.ed-people img{border-radius:var(--radius-card)}
/* The old cut-outs needed per-person zoom; the cropped photographs do not. */
.home-people .home-portrait{--portrait-scale:1;border-radius:var(--panel-radius)}
/* Cavara refinement: brand colours/type retained; layout and motion are web UI choices. */
.editorial-site .ed-wrap{max-width:86rem}.editorial-nav{padding-block:16px;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}
.editorial-site .ed-hero{padding-top:clamp(2.5rem,5vw,5rem)}
.editorial-site .ed-hero h1{font-size:clamp(2.6rem,1.4rem + 4vw,5.5rem);line-height:1.04;letter-spacing:-.045em;max-width:18ch;margin-bottom:1.5rem}
.editorial-site h2{font-size:clamp(2rem,1.2rem + 2.5vw,3.5rem);letter-spacing:-.035em}
.editorial-site .ed-deck{font-size:clamp(1.0625rem,.95rem + .35vw,1.25rem);line-height:1.65;max-width:48ch;margin-bottom:2rem}
.editorial-site .button{font-size:.875rem;letter-spacing:0;text-transform:none;padding:.9rem 1.5rem;justify-content:center;transition:background-color 180ms ease,color 180ms ease,transform 180ms ease,box-shadow 180ms ease}
.editorial-site .button-secondary{background:transparent}.editorial-site .ed-dark .button-secondary{background:transparent}
.editorial-site .ed-actions{gap:.75rem}.editorial-site .ed-section{padding-block:clamp(3.5rem,6vw,6rem)}
.editorial-site .home-hero{padding-top:clamp(2.5rem,5vw,5rem);text-align:center}
.home-hero .ed-label{margin-bottom:1.25rem}.editorial-site .home-hero h1{max-width:19ch;font-size:clamp(2.75rem,1.6rem + 4.3vw,5.75rem)}
.home-hero-media{margin:1.5rem auto 0;max-width:72rem;border-radius:2rem 2rem 0 0;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--line) 32%,var(--linen)));overflow:hidden}
.editorial-site .home-hero-media .ed-hero-team{margin:-4% auto 0;width:100%;height:auto}
.ed-service-ribbon{font-size:.7rem;letter-spacing:.08em;padding-block:1.1rem;border-top:0}
.editorial-site .home-why{text-align:left}.home-why h2{margin-left:0;max-width:19ch}.home-introduction{max-width:none;margin-top:2rem;gap:3rem}.home-why .ed-process{max-width:none}
.home-tool-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.home-tool-links>a{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;border:1px solid var(--line);border-radius:var(--panel-radius);background:var(--surface);padding:1.75rem;min-width:0;transition:transform 220ms var(--ease-out),box-shadow 220ms ease}
.home-tool-links h3{font-size:1.75rem}.home-tool-links .home-action{margin-top:auto}.home-tools{background:color-mix(in srgb,var(--line) 25%,var(--linen))}
/* Eden, 29 Oct 2026: "the calculators need to pop more". Charcoal cards with Linen type and a pill action,
   so the three tools stand out from the Linen sections around them. Brand colours only. */
.home-tool-links>a{background:var(--charcoal);border-color:var(--charcoal);color:var(--linen);padding:clamp(1.75rem,1.25rem + 1.5vw,2.5rem);gap:1.25rem}
.home-tool-links>a h3{color:var(--linen);font-size:clamp(1.75rem,1.4rem + 1vw,2.25rem)}
.home-tool-links>a p{color:color-mix(in srgb,var(--linen) 82%,var(--charcoal));font-size:1rem}
.home-tool-links .home-action{display:inline-flex;align-items:center;min-height:2.75rem;padding:.5em 1.25em;border:1px solid var(--linen);border-radius:var(--radius-pill);font-size:.8125rem;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;transition:background-color 180ms ease,color 180ms ease}
.home-tool-links>a:hover .home-action,.home-tool-links>a:focus-visible .home-action{background:var(--linen);color:var(--charcoal)}
.home-tool-links>a:focus-visible{outline:var(--focus-width) solid var(--charcoal);outline-offset:4px}
.home-portrait{border-radius:1rem;overflow:hidden}.home-portrait{--portrait-scale:1;--portrait-origin:50% 42%}.home-portrait img{transform:scale(var(--portrait-scale));transform-origin:var(--portrait-origin);transition:transform 450ms var(--ease-out)}
.home-insights article{border:1px solid var(--line);border-radius:var(--panel-radius);padding:1.5rem;background:var(--surface)}
.ed-faqs details{padding-inline:1.25rem}.ed-faqs details[open]{background:var(--surface);border-radius:.75rem}.ed-faqs summary span{transition:transform 180ms ease}
.editorial-site .ed-contact{margin-block:2rem 3rem;padding-block:clamp(3rem,5vw,5rem);background:var(--surface);border:1px solid var(--line);border-radius:2rem;width:calc(100% - 2 * var(--page-gutter));max-width:78rem}
/* Editorial split heroes keep text and photography in a shared composition. */
.editorial-site .split-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:center;text-align:left;padding-bottom:3rem}
.split-hero>*{min-width:0}.editorial-site .split-hero h1{margin-left:0;font-size:clamp(2.5rem,1.6rem + 3vw,4.75rem);max-width:16ch}
.split-hero .ed-deck{margin-left:0}.split-hero .ed-actions{justify-content:flex-start}.split-hero .ed-wide-image{margin:0}.split-hero .ed-wide-image img{aspect-ratio:4/5;border-radius:var(--panel-radius);object-position:35% center}
.editorial-site .split-hero .ed-profile-photo{margin:0 auto;width:min(100%,25rem);border-radius:var(--panel-radius)}
.editorial-site .broker-facts{border-top:1px solid var(--line)}
.ed-process article{padding-top:1.25rem}.ed-process{gap:2rem}.family-card{transition:background-color 180ms ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.editorial-site .button:hover{transform:translateY(-2px);box-shadow:0 .4rem 1.2rem #0000000a}.home-tool-links>a:hover{transform:translateY(-4px);box-shadow:0 .75rem 2rem #0000000a}.home-brokers a:hover .home-portrait img{transform:scale(calc(var(--portrait-scale) * 1.025))}}
@media(max-width:60rem){.home-tool-links{grid-template-columns:1fr}.home-tool-links>a{padding:1.5rem}.editorial-site .split-hero{gap:2rem}}
@media(max-width:45rem){.editorial-site .split-hero{grid-template-columns:1fr}.split-hero .ed-wide-image img{aspect-ratio:4/3}.editorial-site .split-hero .ed-profile-photo{width:min(100%,20rem)}.home-hero-media{border-radius:1rem 1rem 0 0}.home-introduction{gap:1.5rem}.editorial-site .ed-contact{border-radius:1rem}.home-brokers{gap:2rem 1rem}}
@media(prefers-reduced-motion:reduce){.editorial-site *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Numerals only mark genuine sequences, set as serif numerals per the brand deck. */
.ed-numeral{display:block;font:400 1.375rem/1 var(--font-display);font-variant-numeric:tabular-nums}
/* Card groups share one row track so headings, body and actions align across cards regardless of text length. */
@supports(grid-template-rows:subgrid){
.ed-process article,.home-insights article{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:1rem;align-content:start}
.ed-process article>*,.home-insights article>*{margin-block:0}
.ed-process .ed-numeral{margin-bottom:.5rem}.home-insights details{align-self:start}
}
/* Site chrome: shared #contact lead form and footer credit licence line. Proposed web UI on brand tokens (Linen/Charcoal). */

/* Contact section layout: copy beside the form on wide containers, stacked otherwise. */
.ed-contact.has-lead-form { text-align: left; container-type: inline-size; container-name: contact }
.lead-layout { display: grid; gap: var(--space-8); max-width: 72rem; margin-inline: auto; padding-inline: clamp(0rem, 3cqi, 3rem) }
.lead-layout > * { min-width: 0 }
.lead-copy h2 { margin: 0 0 var(--space-6); max-width: 16ch }
.lead-copy > p:not(.ed-label) { color: var(--muted); max-width: 42ch; margin: 0 }
.lead-copy-phone { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--charcoal); white-space: nowrap; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px }
@container contact (min-width: 56rem) {
 .lead-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start }
}

/* Form */
.lead-form { display: grid; gap: var(--space-6); container-type: inline-size; container-name: lead }
.lead-intro { margin: 0; font-size: var(--text-small); color: var(--muted) }
.lead-grid { display: grid; gap: var(--space-6) var(--space-4) }
@container lead (min-width: 32rem) {
 .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
 .lead-wide { grid-column: 1 / -1 }
}
/* Keep label and input together when a neighbouring field in the row grows with an error message. */
.lead-form .ui-field { align-content: start }
.lead-form .ui-field input, .lead-form .ui-field select, .lead-form .ui-field textarea { background: #fff; line-height: 1.4 }
.lead-form .ui-field select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.5em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233b3b3b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .875em center / .75em auto }
.lead-form .ui-field textarea { min-height: 7.5em }
.lead-form .ui-field :is(input, select, textarea):focus-visible, .lead-consent input:focus-visible { outline: var(--focus-width) solid var(--charcoal); outline-offset: 2px }
.lead-optional { font-weight: 400; color: var(--muted) }
.lead-error { color: var(--charcoal) }
.lead-error::before { content: "! "; font-weight: 700 }

/* Consent: 44px target from the label row; checkbox stays a native control. */
.lead-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; min-height: 2.75rem }
.lead-consent input { appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 1.375rem; height: 1.375rem; margin: .125rem 0 0; border: 1px solid var(--control-border); border-radius: .25rem; background: #fff; cursor: pointer }
.lead-consent input:checked { background: var(--charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f5f2eb' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / 80% auto; border-color: var(--charcoal) }
@media (forced-colors: active) { .lead-consent input { appearance: auto; -webkit-appearance: auto } .lead-form .ui-field select { appearance: auto; -webkit-appearance: auto; background-image: none } }
.lead-consent input[aria-invalid=true] { outline: 2px solid var(--charcoal); outline-offset: 2px }
.lead-consent label { font-size: .9375rem; line-height: 1.55; padding-block: .125rem; cursor: pointer }
.lead-consent a { text-decoration: underline; text-underline-offset: .2em }

/* Honeypot: off-screen, not display:none, so simple bots still fill it. */
.lead-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden }

.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6) }
.lead-actions .button { min-height: 2.75rem }
.lead-actions .button[aria-disabled=true] { cursor: progress; opacity: .8 }
/* Allowed to wrap: at 320px with enlarged text a nowrap call link widens the whole form. */
.lead-call { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; white-space: normal }
.lead-status:empty { display: none }
.lead-status { font-size: var(--text-small); color: var(--muted) }
.lead-failure { margin: 0; padding: var(--space-4); border: 1px solid var(--charcoal); border-inline-start-width: .25rem; border-radius: var(--radius-control); background: #fff }

.lead-success { display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-8) var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-control); background: #fff }
.lead-success h3 { margin: 0; font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.2 var(--font-display) }
.lead-success h3:focus { outline: none }
.lead-success h3:focus-visible { outline: var(--focus-width) solid currentColor; outline-offset: 4px }
.lead-success p { margin: 0; max-width: 48ch }
.lead-success a { text-decoration: underline; text-underline-offset: .2em; white-space: nowrap }
.lead-mock-note { font-size: var(--text-small); color: var(--muted) }
.lead-booking-hint { margin: 0; color: var(--charcoal) }
.lead-received, .lead-unavailable-wrap { display: grid; gap: var(--space-4); justify-items: stretch; min-width: 0 }
.lead-unavailable-wrap { justify-items: start }
.lead-unavailable-wrap .lead-unavailable { justify-self: stretch; margin: 0 }
a.lead-booking-link { display: inline-block; padding-block: .85rem; min-height: 2.75rem; font-size: var(--text-small); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; white-space: normal }
.lead-booking-note { margin: 0; font-size: var(--text-small); color: var(--muted) }
.lead-booking-frame { min-width: 0; border: 1px solid var(--line); background: #fff }
.lead-booking-frame iframe { display: block; width: 100%; height: clamp(24rem, 100svh - 8rem, 48rem); border: 0 }
/* Stacked layout: the frame runs to the card's edges, because Google's page needs about 246 px of width. */
@container contact (max-width: 55.99rem) {
 .lead-booking-frame { margin-inline: calc(-1 * (var(--page-gutter) + clamp(0rem, 3cqi, 3rem))); border-inline: 0 }
}
/* Wide layout: an open frame takes the full width, so Google shows its week of times. */
@container contact (min-width: 56rem) {
 .lead-layout:has(.lead-booking-frame) { grid-template-columns: minmax(0, 1fr) }
}
/* Very little room for the text (tiny screens, or large text): give the words the width, and let the phone number wrap. */
@container contact (max-width: 14rem) {
 .lead-success, .lead-success .button { padding-inline: var(--space-3) }
 .lead-success a { white-space: normal }
}

/* Footer credit licence line */
.ed-footer-licence { flex: 1 0 100%; margin: 0; opacity: .85 }

/* Wide screens: the licence line and disclaimer sit on the same three columns as the row above them (place, links,
   copyright). Licence under the first column; the disclaimer from the second column to the right edge, set in two
   text columns that line up with the grid's second and third, so every line stays about 60 to 90 characters.
   Narrower screens stack them, licence first. Same rules for the coming-soon/404 footer (global.css). */
.ed-footer-licence { max-width: 80ch }
@media (min-width: 64rem) {
 .ed-footer-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 2.5vw, 5rem); row-gap: 1.25rem; align-items: start }
 .ed-footer-bottom > nav { grid-column: 2 }
 .ed-footer-bottom > .ed-footer-copy { grid-column: 3; justify-self: end; text-align: right }
 .ed-footer-bottom > .ed-footer-licence { grid-column: 1; max-width: none }
 .ed-footer-bottom > .ed-footer-disclaimer { grid-column: 2 / -1; columns: 2; column-gap: clamp(2rem, 1rem + 2.5vw, 5rem) }
 .ed-footer-bottom > .ed-footer-credit { grid-column: 1 / -1 }
}

/* Footer credit link, below the required licence and disclaimer wording */
.ed-footer-credit { flex: 1 0 100%; margin: 0; opacity: .85 }
.ed-footer-bottom .ed-footer-credit a { display: inline-flex; align-items: center }
.ed-footer-bottom .ed-footer-credit a:hover, .ed-footer-bottom .ed-footer-credit a:focus-visible { text-decoration: underline }

/* Side-by-side inline links that must never run together, however narrow the column. */
.ed-links{display:flex;flex-wrap:wrap;gap:.5rem 2rem;margin:1.5rem 0 0}
/* Page narrower than 20rem in the reader's text size (206 px with 200% text, 17 November): the phone number may wrap
   between its digit groups instead of pushing the page sideways. */
@container page (max-width: 19.99rem) {
 .lead-copy-phone { white-space: normal }
}

/* "Cookie settings" in the footer links: shown by the cookie consent script (src/data/consent.mjs), so pages without
   the banner (staging, or JavaScript off) never show a control that does nothing. Looks like its sibling links. */
.ed-footer-bottom .ed-footer-consent { display: inline-flex; align-items: flex-start; min-height: 2.75rem; padding: 0; background: none; border: 0; color: inherit; font: inherit; line-height: inherit; text-align: start; cursor: pointer }
.ed-footer-bottom .ed-footer-consent:hover { text-decoration: underline }
.ed-footer-bottom .ed-footer-consent[hidden] { display: none }
