/*
Theme Name: San Diego Plug-In Solar
Theme URI: https://sandiegopluginsolar.com/
Author: Curtis G. Carll
Description: A bright, source-first site connecting San Diego renters and landlords around plug-in solar.
Version: 2.7.34
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sdps
License: GPL-2.0-or-later
*/

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face{font-family:"Poppins";font-weight:700;font-style:normal;font-display:swap;src:url(assets/fonts/Poppins-Bold.woff) format("woff")}
@font-face{font-family:"Poppins";font-weight:500;font-style:normal;font-display:swap;src:url(assets/fonts/Poppins-Medium.woff) format("woff")}
@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url(assets/fonts/Inter-Regular.woff) format("woff")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url(assets/fonts/Inter-SemiBold.woff) format("woff")}
@font-face{font-family:"Inter";font-weight:700;font-style:normal;font-display:swap;src:url(assets/fonts/Inter-Bold.woff) format("woff")}

/* ---------- Tokens ---------- */
:root{
  --ink:#103844; --ocean:#0E6F7B; --teal:#1C756D; --aqua:#8FDCD8; --sky:#DDF5F1;
  --sun:#FFC857; --sun-deep:#FF9F43; --coral:#FF6B57; --blush:#FFE3D8;
  --cream:#FFF6DC; --sand:#FFEDC2; --paper:#FFFDF8; --line:#EADFC6; --muted:#45606A; --coral-text:#B93823;
  --radius:28px; --shadow:0 24px 60px rgba(16,56,68,.14); --shadow-sm:0 8px 24px rgba(16,56,68,.10);
  --display:"Poppins","Avenir Next","Segoe UI",system-ui,sans-serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 18px/1.62 var(--body);-webkit-font-smoothing:antialiased}
::selection{background:var(--sun);color:var(--ink)}
a{color:#0B5F63;text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--coral-text)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px;box-shadow:0 0 0 6px var(--sun)}
.site-footer :focus-visible,.aud.landlord :focus-visible{outline-color:#fff;box-shadow:0 0 0 6px #103844}
img,svg{max-width:100%}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.08;letter-spacing:-.025em;color:var(--ink)}
h1{font-size:clamp(2.6rem,5.6vw,4.9rem);margin-bottom:.4em}
h2{font-size:clamp(1.9rem,3.6vw,3rem)}
h3{font-size:1.32rem;line-height:1.2}
strong{font-weight:700}
main{overflow-x:clip}
.wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.center{text-align:center}
.skip-link{position:absolute;left:-9999px;top:10px;background:#fff;padding:10px 14px;z-index:100;border-radius:8px}
.skip-link:focus{left:10px}

/* ---------- Header ---------- */
.site-header{position:relative;z-index:20;background:var(--cream)}
.header-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand img{width:58px;height:58px;flex:none;object-fit:contain;transition:transform .6s cubic-bezier(.3,1.6,.5,1)}
.brand:hover img{transform:rotate(-24deg) scale(1.06)}
.brand-text{display:flex;flex-direction:column;font:500 1.02rem/1.05 var(--display);text-transform:lowercase;letter-spacing:-.02em}
.brand-text strong{font-size:1.4em;font-weight:700;line-height:1.06;white-space:nowrap}
.main-nav{display:flex;align-items:center;gap:26px;font-size:.93rem;font-weight:600}
.main-nav a{color:var(--ink);text-decoration:none;position:relative;padding:4px 0}
.main-nav a:not(.button)::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;border-radius:3px;background:var(--sun-deep);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.main-nav a:not(.button):hover::after,.main-nav a.current::after{transform:scaleX(1)}
.main-nav a:hover{color:var(--ink)}
.nav-toggle{display:none}

/* ---------- Buttons ---------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 26px;border-radius:999px;background:var(--ink);color:#fff;text-decoration:none;font:700 .95rem/1.1 var(--body);border:2px solid var(--ink);cursor:pointer;transition:transform .18s cubic-bezier(.3,1.6,.5,1),box-shadow .18s,background .18s}
.button:hover{transform:translateY(-3px);box-shadow:0 10px 0 -2px rgba(16,56,68,.18);color:#fff;background:var(--ocean);border-color:var(--ocean)}
.button:active{transform:translateY(0);box-shadow:none}
.button.small{min-height:42px;padding:8px 20px;font-size:.88rem;color:var(--ink);background:var(--sun);border-color:var(--sun)}
.button.small:hover{background:var(--sun-deep);border-color:var(--sun-deep);color:var(--ink)}
.button.sun{background:var(--sun);border-color:var(--sun);color:var(--ink)}
.button.sun:hover{background:#FFD777;border-color:#FFD777;color:var(--ink)}
.button.ink{background:var(--ink);border-color:var(--ink);color:#fff}
.button.outline,.button.outline-ink{background:transparent;color:var(--ink);border-color:var(--ink)}
.button.outline:hover,.button.outline-ink:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.button.ghost-light{background:transparent;border-color:#9FC3C6;color:#fff}
.button.ghost-light:hover{background:#fff;color:var(--ink);border-color:#fff}
.button.is-soon{background:transparent;border:2px dashed currentColor;color:var(--muted);cursor:default;font-weight:600}
.aud.landlord .button.is-soon,.site-footer .button.is-soon{color:#CFE3E4}
.button.is-soon:hover{transform:none;box-shadow:none;background:transparent;color:var(--muted);border-color:currentColor}
.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;align-items:center}
.button-row.tight{margin-top:22px}
.button-row.center{justify-content:center}
.textlink{font-weight:700;color:inherit;text-decoration-color:var(--sun-deep);text-decoration-thickness:.15em}
.textlink:hover{color:inherit;text-decoration-color:var(--coral)}

/* ---------- Small bits ---------- */
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font:700 .74rem/1.2 var(--body);color:#B04A00;margin-bottom:12px}
.pill{display:inline-flex;align-items:center;gap:9px;padding:8px 15px;border-radius:999px;background:#fff;color:var(--ink);font:700 .78rem/1.2 var(--body);letter-spacing:.02em;box-shadow:var(--shadow-sm)}
.pill::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 4px rgba(255,107,87,.22)}
.fine{font-size:.9rem;color:var(--muted);margin-top:28px}

/* ---------- Photo slots ---------- */
.photo{position:relative;overflow:hidden;background:var(--sand);isolation:isolate}
.photo-art,.photo>img,.photo>picture>img{position:absolute;inset:0;width:100%;height:100%}
.photo-art svg{display:block;width:100%;height:100%}
.photo>img,.photo>picture>img{object-fit:cover;z-index:1}
.photo-arch{aspect-ratio:4/5;border-radius:999px 999px var(--radius) var(--radius);box-shadow:var(--shadow);border:7px solid #fff}
.photo-round{aspect-ratio:4/5;border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.photo-blob{border-radius:46% 54% 50% 50%/55% 45% 55% 45%;box-shadow:var(--shadow);width:100%}

/* ---------- Hero ---------- */
.hero{position:relative;background:linear-gradient(180deg,var(--cream) 0%,#FFE7A8 100%);padding:48px 0 130px;overflow:hidden}
.hero::after,.page-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:70px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40Q75 6 150 40T300 40T450 40T600 40T750 40T900 40T1050 40T1200 40V70H0Z' fill='%23FFFDF8'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.hero h1{margin:22px 0 22px;max-width:12.5ch}
.hero-lede{font-size:clamp(1.12rem,1.9vw,1.38rem);line-height:1.5;max-width:46ch;color:#2B4F59}
.hero-note{margin:22px 0 0;font-weight:600;font-size:.95rem}
.hero-art{position:relative;max-width:480px;width:100%;margin-inline:auto}
.hero-art .photo{position:relative;z-index:1}
.hero-caveat{margin:14px 0 0;font-size:.8rem;line-height:1.4;color:var(--muted);text-align:center}
.sticker{position:absolute;z-index:3;background:#fff;border-radius:20px;padding:13px 17px;box-shadow:var(--shadow);font-size:.86rem;line-height:1.25;max-width:178px;display:flex;flex-direction:column}
.sticker strong{font:700 1.05rem/1.15 var(--display)}
.sticker span{color:var(--muted);font-weight:600}
.sticker.s1{left:-9%;bottom:15%;transform:rotate(-5deg);background:var(--sun);max-width:250px}
.sticker.s1 span{color:var(--ink)}
.sticker.s2{right:-4%;top:24%;transform:rotate(4deg)}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -7px}}
.sticker.s2{animation-delay:-2.5s}

/* ---------- Ticker ---------- */
.ticker{background:var(--ink);color:var(--cream);overflow:hidden;white-space:nowrap;padding:15px 0;transform:rotate(-1deg);margin:-26px -10px 0;position:relative;z-index:4}
.ticker-track{display:inline-flex;align-items:center;gap:28px;animation:tick 34s linear infinite;padding-left:28px;font:700 .95rem/1 var(--display);text-transform:uppercase;letter-spacing:.14em}
.ticker i{width:14px;height:14px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 4px rgba(255,200,87,.25);flex:none}
@keyframes tick{to{transform:translateX(-50%)}}

/* ---------- Sections ---------- */
.section{padding:100px 0}
.section.alt{background:var(--cream)}
.section.wavy{position:relative}
.section-head{max-width:740px;margin-bottom:44px}
.section-head.center{margin-inline:auto;text-align:center}
.section-head p:last-child{color:var(--muted);font-size:1.08rem}

.split-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.split{border-radius:var(--radius);padding:38px;box-shadow:var(--shadow-sm)}
.split h3{font-size:1.7rem;margin:16px 0 12px}
.split p{margin-bottom:14px;font-size:1.02rem}
.split small{display:block;color:var(--muted);font-size:.86rem;line-height:1.5}
.split-tag{display:inline-block;padding:6px 13px;border-radius:999px;font:700 .72rem/1.2 var(--body);letter-spacing:.1em;text-transform:uppercase}
.split.yes{background:linear-gradient(160deg,#DDF5F1,#C6EFE6)}
.split.yes .split-tag{background:var(--teal);color:#fff}
.split.maybe{background:linear-gradient(160deg,#FFF1CC,#FFE3A6)}
.split.maybe .split-tag{background:var(--ink);color:var(--sun)}

.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.steps li{background:#fff;border-radius:var(--radius);padding:34px 30px 36px;box-shadow:var(--shadow-sm);position:relative}
.steps li:nth-child(2){margin-top:26px}
.steps h3{margin:20px 0 10px;font-size:1.38rem}
.steps p{margin:0;color:var(--muted);font-size:.98rem}
.step-n{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;font:700 1.7rem/1 var(--display);color:var(--ink);background:var(--sun);transform:rotate(-8deg)}
.steps li:nth-child(2) .step-n{background:var(--aqua);transform:rotate(6deg)}
.steps li:nth-child(3) .step-n{background:#FFB09F;transform:rotate(-4deg)}

.audience{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.aud{border-radius:36px;padding:46px 42px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.aud h3{font-size:clamp(1.55rem,2.5vw,2.1rem);margin:14px 0 14px;color:inherit}
.aud p{font-size:1.05rem}
.aud-tag{font:700 .74rem/1.2 var(--body);text-transform:uppercase;letter-spacing:.14em}
.aud.renter{background:linear-gradient(155deg,#FFD66B,#FFB347);color:var(--ink)}
.aud.landlord{background:linear-gradient(155deg,#103844,#0E6F7B);color:#fff}
.aud.landlord a.textlink{color:#fff}
.ticks{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:12px}
.ticks li{position:relative;padding-left:38px;font-weight:600;line-height:1.4}
.ticks li::before{content:"";position:absolute;left:0;top:-1px;width:26px;height:26px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7 13.5l4 4 8-9' fill='none' stroke='%23103844' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.aud .button-row{margin-top:auto;padding-top:30px}

.mosaic{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:22px;align-items:start}
.mosaic figure{margin:0;position:relative}
.mosaic .m2{margin-top:44px}
.mosaic .m3{margin-top:12px}
.mosaic figcaption{position:absolute;left:16px;bottom:16px;z-index:5;background:#fff;color:var(--ink);padding:7px 14px;border-radius:999px;font:700 .82rem/1.2 var(--body);box-shadow:var(--shadow-sm)}

.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{border-radius:var(--radius);padding:32px;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.card:hover{transform:translateY(-6px) rotate(-.6deg)}
.card.c1{background:var(--sky)}.card.c2{background:var(--sand)}.card.c3{background:var(--blush)}
.card-num{font:700 .74rem/1.2 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);opacity:.7}
.card h3{margin:16px 0 10px;font-size:1.4rem}
.card p{margin:0;color:#2F505A;font-size:.97rem}

.link-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.link-tile{display:block;background:#fff;border-radius:var(--radius);padding:30px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow-sm);transition:transform .25s cubic-bezier(.3,1.6,.5,1),box-shadow .25s}
.link-tile:hover{transform:translateY(-5px);box-shadow:var(--shadow);color:var(--ink)}
.link-tile span{display:block;color:#B04A00;font:700 .72rem/1.2 var(--body);letter-spacing:.12em;text-transform:uppercase}
.link-tile strong{display:block;font:700 1.55rem/1.15 var(--display);letter-spacing:-.02em;margin:10px 0 6px}
.link-tile small{display:block;color:var(--muted);line-height:1.5;font-size:.95rem}

.cta-band{position:relative;background:linear-gradient(120deg,#FFC857,#FF9F43);padding:96px 0;text-align:center;overflow:hidden}
.cta-band::before{content:"";position:absolute;width:520px;height:520px;right:-120px;top:-150px;background:url(assets/sun-icon-512.png) center/contain no-repeat;opacity:.35;animation:spin 120s linear infinite}
.cta-band::after{content:"";position:absolute;width:360px;height:360px;left:-110px;bottom:-140px;background:url(assets/sun-icon-512.png) center/contain no-repeat;opacity:.28;animation:spin 150s linear infinite reverse}
.cta-band .wrap{position:relative;z-index:1}
.cta-band h2{font-size:clamp(2.1rem,4.4vw,3.6rem);max-width:16ch;margin:0 auto 14px}
.cta-band p{font-size:1.2rem;max-width:44ch;margin:0 auto}
.cta-band .button.outline-ink{border-color:var(--ink)}

/* ---------- Elsewhere (Germany, Utah) ---------- */
.elsewhere{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.where{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.where .photo-round{border-radius:0;box-shadow:none;width:100%}
.where-body{padding:30px 32px 34px}
.where-body h3{font-size:1.55rem;margin:14px 0 10px}
.where-body p{color:#2F505A;margin-bottom:12px}
.where-body small{display:block;color:var(--muted);font-size:.85rem;line-height:1.5}
.where .split-tag{background:var(--ink);color:var(--sun)}

/* ---------- Inner pages ---------- */
.page-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--cream),#FFE7A8);padding:60px 0 100px}
.page-hero.alt-hero{background:linear-gradient(180deg,var(--cream) 0,#E8F9F5 130px,#BFEDE3 100%)}
.page-hero:not(.has-art)::before{content:"";position:absolute;width:420px;height:420px;right:-60px;top:-40px;background:url(assets/sun-icon-512.png) center/contain no-repeat;opacity:.5;animation:spin 140s linear infinite}
.page-hero .wrap{position:relative;z-index:1}
.page-hero h1{font-size:clamp(2.3rem,4.8vw,4rem);max-width:15ch;margin:12px 0 18px}
.page-hero p{max-width:60ch;color:#2B4F59;font-size:1.18rem}
.page-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.page-hero:not(.has-art) .wrap{max-width:1000px}
.meta{color:var(--muted);font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-top:18px}

.content{width:min(820px,calc(100% - 40px));margin:0 auto;padding:56px 0 100px}
.content h2{font-size:clamp(1.7rem,3vw,2.3rem);margin-top:56px}
.content h2:first-child{margin-top:0}
.content h3{margin-top:30px}
.content p,.content li{color:#27505A}
.content li{margin-bottom:9px}
.content a{font-weight:600}
.callout{background:var(--sky);border-radius:24px;padding:26px 30px;margin:30px 0;position:relative}
.callout::before{content:"";position:absolute;left:0;top:26px;bottom:26px;width:6px;border-radius:0 6px 6px 0;background:var(--teal)}
.callout strong{font-family:var(--display);font-size:1.12rem;display:block;margin-bottom:6px;color:var(--ink)}
.callout p:last-child{margin-bottom:0}
.callout.sunny{background:var(--sand)}
.callout.sunny::before{background:var(--sun-deep)}

.checks{list-style:none;padding:0;margin:26px 0;counter-reset:chk;display:grid;gap:14px}
.checks li{counter-increment:chk;background:#fff;border-radius:22px;padding:22px 24px 22px 82px;position:relative;box-shadow:var(--shadow-sm);margin:0;line-height:1.5}
.checks li::before{content:counter(chk);position:absolute;left:22px;top:20px;width:42px;height:42px;border-radius:50%;background:var(--sun);display:grid;place-items:center;font:700 1.15rem/1 var(--display);color:var(--ink)}
.checks li:nth-child(even)::before{background:var(--aqua)}
.checks li strong{display:block;font-family:var(--display);font-size:1.08rem;margin-bottom:2px;color:var(--ink)}

.faq{display:grid;gap:12px;margin:22px 0 10px}
.faq details{background:#fff;border-radius:20px;box-shadow:var(--shadow-sm);padding:0 24px}
.faq summary{cursor:pointer;list-style:none;font:700 1.05rem/1.35 var(--display);padding:20px 40px 20px 0;position:relative;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:50%;translate:0 -50%;width:30px;height:30px;border-radius:50%;background:var(--sun);display:grid;place-items:center;font-size:1.2rem;transition:rotate .2s}
.faq details[open] summary::after{rotate:45deg}
.faq details p{margin:0 0 20px}

.source-list{padding-left:22px}
.source-list li{margin-bottom:16px}
.source-list small{display:block;color:var(--muted)}
.news-item{background:#fff;border-radius:24px;padding:28px 30px;margin-bottom:16px;box-shadow:var(--shadow-sm)}
.news-item h2{font-size:1.32rem;margin:12px 0 8px;line-height:1.25}
.news-item h2 a{text-decoration:none;color:var(--ink)}
.news-item h2 a:hover{color:#0B5F63;text-decoration:underline}
.news-item p{margin:0}
.news-type{display:inline-block;font:700 .7rem/1.2 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);background:var(--sun);padding:6px 12px;border-radius:999px}
.news-item:nth-of-type(3n+2) .news-type{background:var(--aqua)}
.news-item:nth-of-type(3n) .news-type{background:#FFB09F}
.editor-addition{margin-top:50px}

/* ---------- Footer ---------- */
.site-footer{position:relative;background:var(--ink);color:#DCEBE9;padding:70px 0 38px;margin-top:0}
.footer-wave{position:absolute;left:0;right:0;top:-59px;width:100%;height:60px;display:block}
.footer-logo{width:64px;height:64px;margin-bottom:10px}
.footer-grid{display:flex;justify-content:space-between;gap:40px}
.site-footer a{color:#FFE28E}
.site-footer a:hover{color:#fff}
.site-footer p{max-width:54ch}
.footer-title{font:700 1.4rem/1.1 var(--display);color:#fff;margin-bottom:12px}
.updates{margin-top:34px;padding:28px;border-radius:24px;background:rgba(255,255,255,.07);max-width:640px}
.updates strong{font:700 1.2rem/1.2 var(--display);color:#fff}
.updates p{margin:8px 0 0}
.updates .button{min-height:46px}
.credits{margin-top:28px;font-size:.82rem;color:#B8CCCE}
.credits summary{cursor:pointer;font-weight:700}
.credits ul{margin:10px 0 0;padding-left:20px}
.footer-bottom{border-top:1px solid #42636B;margin-top:38px;padding-top:20px;font-size:.78rem;color:#B8CCCE;line-height:1.55}
.wp-block-image img{height:auto}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .main-nav{display:none}
  .nav-toggle{display:block;position:static}
  .nav-toggle summary{cursor:pointer;list-style:none;font:700 .95rem/1 var(--body);padding:12px 18px;border-radius:999px;background:var(--sun)}
  .nav-toggle summary::-webkit-details-marker{display:none}
  .nav-toggle[open] nav{position:absolute;z-index:30;left:0;right:0;top:100%;display:flex;flex-direction:column;background:var(--cream);box-shadow:0 20px 30px rgba(16,56,68,.12)}
  .nav-toggle nav a{padding:17px 24px;text-decoration:none;color:var(--ink);font-weight:700;border-top:1px solid var(--line)}
  .hero-grid,.page-hero-grid{grid-template-columns:1fr;gap:44px}
  .hero{padding:36px 0 110px}
  .hero h1{max-width:14ch}
  .hero-art{max-width:400px}
  .page-hero-grid .photo-blob{max-width:520px}
}
@media(max-width:820px){
  .split-cards,.audience,.link-list,.elsewhere{grid-template-columns:1fr}
  .steps,.card-grid{grid-template-columns:1fr}
  .steps li:nth-child(2){margin-top:0}
  .mosaic{grid-template-columns:1fr 1fr}
  .mosaic .m1{grid-column:1/-1}
  .mosaic .m1 .photo-round{aspect-ratio:16/10}
  .mosaic .m2,.mosaic .m3{margin-top:0}
  .section{padding:72px 0}
  .aud{padding:36px 28px}
  .footer-grid{display:block}
  .footer-grid>div+div{margin-top:26px}
}
@media(max-width:560px){
  body{font-size:17px}
  .header-inner{min-height:80px;gap:10px}
  .brand img{width:46px;height:46px}
  .brand-text{font-size:.86rem}
  .sticker{font-size:.76rem;padding:10px 13px;max-width:150px}
  .sticker.s1{left:-3%;max-width:190px}
  .sticker.s2{right:-2%}
  .mosaic{grid-template-columns:1fr}
  .mosaic .m1 .photo-round{aspect-ratio:4/3}
  .page-hero{padding:44px 0 90px}
  .checks li{padding:20px 20px 20px 74px}
  .button-row .button{width:100%}
  .button-row.center .button{width:auto;flex:1 1 220px}
}

/* ---------- Motion off for people who ask ---------- */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* v2.1: location tags, gallery, stats, quotes, benefits */
.photo{position:relative}
.photo-tag{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;background:rgba(16,56,68,.88);color:#fff;font:600 .78rem/1 Inter,system-ui,sans-serif;padding:7px 12px 7px 9px;border-radius:999px;backdrop-filter:blur(4px);z-index:3}
.photo-tag svg{width:14px;height:14px;fill:var(--sun);flex:none}
.gallery{display:grid;grid-template-columns:1.25fr 1.25fr .8fr;gap:18px;align-items:stretch;margin:8px 0 34px}
.gallery figure{margin:0}
.gallery .photo{height:100%;min-height:280px}
.gallery .g3 .photo{aspect-ratio:3/4}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat{background:var(--cream);border-radius:var(--radius);padding:24px 22px}
.stat strong{display:block;font-family:Poppins,sans-serif;font-weight:700;font-size:2.2rem;line-height:1.05;color:var(--coral-text)}
.stat span{display:block;margin:8px 0 10px;color:var(--ink);font-weight:600}
.stat small{color:var(--muted);font-size:.82rem}
.fineprint{color:var(--muted);font-size:.88rem;line-height:1.6;margin-top:22px}
.fineprint.center{text-align:center;max-width:820px;margin-left:auto;margin-right:auto}
.quotes{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:10px;max-width:900px;margin-left:auto;margin-right:auto}
.quotes blockquote{margin:0;background:#fff;border-radius:var(--radius);padding:30px 28px;box-shadow:var(--shadow-sm);border-top:6px solid var(--sun-deep)}
.quotes .q2{border-top-color:var(--coral)}
.quotes .q3{border-top-color:var(--ink)}
.quotes p{font-family:Poppins,sans-serif;font-weight:700;font-size:1.3rem;line-height:1.3;color:var(--ink);margin:0 0 16px}
.quotes cite{font-style:normal;color:var(--muted);font-size:.88rem;line-height:1.5}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.benefit{background:var(--paper);border:2px solid var(--cream);border-radius:var(--radius);padding:26px 22px}
.benefit .b-num{font-family:Poppins,sans-serif;font-weight:700;font-size:1.65rem;color:var(--coral-text);line-height:1.1}
.benefit h3{font-size:1.1rem;margin:10px 0 8px}
.benefit p{color:#2F505A;font-size:.95rem;margin-bottom:10px}
.benefit small{color:var(--muted);font-size:.82rem}
@media (max-width:980px){.stats,.benefits{grid-template-columns:1fr 1fr}.quotes{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery .g3{grid-column:1/-1}.gallery .g3 .photo{aspect-ratio:4/3}}
@media (max-width:560px){.stats,.benefits,.gallery{grid-template-columns:1fr}}

.renters-first{background:var(--paper);text-align:center;padding:64px 0 56px;border-bottom:1px solid #F0E3BF}
.renters-first .rf-mark{width:56px;height:3px;border-radius:3px;background:var(--sun-deep);margin:0 auto 22px}
.renters-first .rf-tag{font:600 .74rem/1 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.renters-first h2{color:var(--ink);font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:700;margin:0 auto 16px;max-width:760px;line-height:1.15}
.renters-first p{max-width:640px;margin:0 auto;font-size:1.08rem;line-height:1.7;color:#2F505A}
.complex .cx-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}
.cx-art{display:block;width:100%;height:auto}
.cx-art .pv{opacity:0;transform:translateY(8px);transform-box:fill-box;transition:opacity .35s ease,transform .35s ease}
.cx-art .pv.on{opacity:1;transform:none}
.cx-controls{display:flex;gap:18px;align-items:center;padding:20px 28px 6px;flex-wrap:wrap}
.cx-slider{flex:1;min-width:240px;font-weight:600;color:var(--ink);display:flex;flex-direction:column;gap:10px}
.cx-slider input[type=range]{width:100%;accent-color:var(--sun-deep)}
.cx-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:12px 28px 24px}
.cx-stat{background:var(--cream);border-radius:16px;padding:20px}
.cx-stat strong{display:block;font:700 2rem/1.1 var(--display);color:var(--ink)}
.cx-stat span{color:#2F505A;font-size:.92rem}
.cx-assume{padding:0 28px 26px}
.cx-assume summary{cursor:pointer;font-weight:600;color:var(--ink)}
.cx-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:16px 0}
.cx-grid label{display:flex;flex-direction:column;gap:6px;font-size:.82rem;font-weight:600;color:var(--ink)}
.cx-grid input,.cx-grid select{padding:9px 10px;border:1px solid #E5D6A8;border-radius:10px;font:inherit;background:#fff}
@media (max-width:820px){.cx-stats{grid-template-columns:1fr}.cx-grid{grid-template-columns:1fr 1fr}}
.cx-video{margin:0 0 20px}.cx-video video{width:100%;border-radius:var(--radius);display:block;background:#103844}.cx-video figcaption{color:var(--muted);font-size:.85rem;margin-top:8px;text-align:center}

/* ---- Accessibility ---- */
.cx-slider input[type=range]{height:28px;min-height:24px}
summary{min-height:24px;padding:2px 0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.a11y-fab{position:fixed;left:14px;bottom:14px;z-index:60;background:var(--ink);color:#fff;border:2px solid #fff;border-radius:999px;padding:10px 16px;font:700 .9rem/1 var(--body);cursor:pointer;box-shadow:var(--shadow)}
.a11y-fab:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px var(--ink)}
.a11y-panel{position:fixed;left:14px;bottom:64px;max-height:calc(100vh - 84px);max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;z-index:60;width:min(340px,calc(100vw - 28px));background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:18px;padding:18px 18px 16px;box-shadow:var(--shadow)}
.a11y-panel[hidden]{display:none}
.a11y-panel h2{font-size:1.1rem;margin:0 0 12px}
.a11y-panel fieldset{border:0;margin:0 0 12px;padding:0}
.a11y-panel legend{font-weight:700;font-size:.9rem;margin-bottom:6px;padding:0}
.a11y-row{display:flex;gap:6px;flex-wrap:wrap}
.a11y-row label{display:inline-flex;align-items:center;gap:6px;border:2px solid var(--ink);border-radius:999px;padding:6px 12px;font-weight:600;font-size:.9rem;cursor:pointer;min-height:32px}
.a11y-row input{accent-color:var(--ink);width:16px;height:16px}
.a11y-check{display:flex;align-items:center;gap:10px;font-weight:600;margin:8px 0;min-height:32px}
.a11y-check input{width:20px;height:20px;accent-color:var(--ink)}
.a11y-actions{display:flex;gap:8px;margin-top:10px}
.a11y-actions button{font:700 .88rem/1 var(--body);padding:10px 14px;border-radius:999px;border:2px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer;min-height:36px}
html.a11y-text-1{font-size:112.5%}html.a11y-text-1 body{font-size:20px}
html.a11y-text-2{font-size:125%}html.a11y-text-2 body{font-size:23px}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-plain body,html.a11y-plain h1,html.a11y-plain h2,html.a11y-plain h3,html.a11y-plain .button,html.a11y-plain .brand-text,html.a11y-plain .brand-text strong{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.01em!important;word-spacing:.1em}
html.a11y-plain p,html.a11y-plain li{line-height:1.8!important}
html.a11y-contrast{--ink:#000;--muted:#000;--paper:#fff;--cream:#fff;--sand:#fff;--line:#000;--coral-text:#8A1C0B;--coral:#8A1C0B;--sun-deep:#7A3E00}
html.a11y-contrast body{background:#fff;color:#000}
html.a11y-contrast a{color:#00308F;text-decoration:underline}
html.a11y-contrast .hero,html.a11y-contrast .page-hero,html.a11y-contrast .section.alt,html.a11y-contrast .renters-first,html.a11y-contrast .watchouts,html.a11y-contrast .cta-band{background:#fff!important;color:#000}
html.a11y-contrast .cta-band h2,html.a11y-contrast .cta-band p{color:#000}
html.a11y-contrast .aud.renter{background:#FFE14D;color:#000}
html.a11y-contrast .aud.landlord{background:#000;color:#fff}
html.a11y-contrast .aud.landlord a,html.a11y-contrast .site-footer a{color:#FFE14D}
html.a11y-contrast .button{background:#000;color:#fff;border:2px solid #000}
html.a11y-contrast .button.sun{background:#FFE14D;color:#000;border-color:#000}
html.a11y-contrast .site-footer{background:#000;color:#fff}
html.a11y-contrast .card,html.a11y-contrast .benefit,html.a11y-contrast .stat,html.a11y-contrast .read,html.a11y-contrast .split,html.a11y-contrast .cx-stat,html.a11y-contrast .quotes blockquote{border:2px solid #000;box-shadow:none;background:#fff}
html.a11y-contrast .photo-tag{background:#000;color:#fff}

/* Accessibility: keep layouts inside the viewport at the largest text size */
html.a11y-text-2 body,html.a11y-plain body{overflow-wrap:anywhere}
html.a11y-text-2 .sticker,html.a11y-plain .sticker{position:static;transform:none;animation:none;max-width:none;margin-top:10px}
html.a11y-text-2 .hero *,html.a11y-text-2 .grid>*,html.a11y-text-2 .cx-wrap *{min-width:0}
html.a11y-text-2 img,html.a11y-text-2 svg{max-width:100%}

/* Costs page and home costs section */
.tbl-wrap{margin:22px 0 8px}
.cost-table{width:100%;border-collapse:collapse;font-size:.95rem;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px var(--line)}
.cost-table caption{text-align:left;font-weight:700;padding:0 0 10px;color:var(--ink)}
.cost-table th,.cost-table td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);color:#27505A}
.cost-table thead th{background:var(--ink);color:#fff;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase}
.cost-table tbody th{font-weight:700;color:var(--ink);width:30%}
.cost-table tbody th span{display:block;font-weight:500;color:#27505A;font-size:.88rem;margin-top:2px}
.cost-table tbody tr:last-child th,.cost-table tbody tr:last-child td{border-bottom:0}
.places{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}
.place-card{background:var(--cream);border-radius:20px;padding:22px 24px}
.place-card h3{margin:0 0 8px;font-size:1.1rem}
.place-card p{margin:0;font-size:.97rem}
.callout-box{background:var(--cream);border-left:6px solid var(--sun);border-radius:20px;padding:26px 28px;margin:44px 0 28px}
.callout-box h2{margin-top:0!important}
.callout-box li{margin:8px 0}
.sources{padding-left:1.4em;font-size:.92rem}
.sources li{margin:6px 0;color:#27505A;overflow-wrap:anywhere}
.cost-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}
.cost-tile{background:var(--cream);border-radius:22px;padding:26px}
.cost-tile h3{margin:0 0 10px}
.cost-tile p{margin:0;color:#27505A}
.content p a[href^="#src-"]{font-size:.85em;white-space:nowrap}
@media(max-width:820px){
  .cost-tiles,.places{grid-template-columns:1fr}
  .cost-table,.cost-table tbody,.cost-table tr,.cost-table td,.cost-table th{display:block;width:auto}
  .cost-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cost-table tbody tr{border-bottom:2px solid var(--line);padding:6px 0}
  .cost-table tbody th{width:auto;border-bottom:0;padding-bottom:4px}
  .cost-table td{border-bottom:0;padding:4px 16px}
  .cost-table td::before{content:attr(data-label) ": ";font-weight:700;color:var(--ink)}
}
html.a11y-contrast .callout-box,html.a11y-contrast .place-card,html.a11y-contrast .cost-tile{background:#fff;border:2px solid #000}
html.a11y-contrast .cost-table thead th{background:#000;color:#fff}

/* Surveys */
.survey-wrap{width:min(760px,calc(100% - 40px))}
.survey-lead{font-size:1.15rem;color:#27505A}
.survey .q{display:block;border:0;margin:0 0 18px;padding:24px 26px;background:#fff;border-radius:22px;box-shadow:0 0 0 1px var(--line);min-width:0}
.survey .q.optional{background:var(--cream)}
.survey legend,.survey .q-h{display:flex;gap:14px;align-items:flex-start;padding:0;margin:0 0 14px;font:700 1.12rem/1.35 var(--display);color:var(--ink);float:none;width:100%}
.survey .q-h{font-size:1.12rem}
.survey .q-n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--sun);color:var(--ink);font:700 .9rem/1 var(--body)}
.survey .q-help{margin:-6px 0 12px 46px;color:#27505A;font-size:.95rem}
.survey fieldset.sub{border:0;padding:0;margin:14px 0 0;min-width:0}
.survey fieldset.sub legend{font:700 .98rem/1.35 var(--body);margin:0 0 8px}
.survey .opts{display:flex;flex-wrap:wrap;gap:10px}
.survey .opt{position:relative}
.survey .opt input{position:absolute;opacity:0;width:100%;height:100%;margin:0;left:0;top:0;cursor:pointer}
.survey .opt label{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px 9px 40px;border:2px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:600;font-size:.97rem;line-height:1.3;cursor:pointer;position:relative}
.survey .opt label::before{content:"";position:absolute;left:14px;top:50%;width:16px;height:16px;margin-top:-8px;border:2px solid var(--ink);background:#fff;border-radius:50%}
.survey .opt input[type=checkbox]+label::before{border-radius:5px}
.survey .opt input:checked+label{background:#FFF0C2;border-color:var(--ink)}
.survey .opt input:checked+label::before{background:var(--ink);box-shadow:inset 0 0 0 3px #fff}
.survey .opt input:focus-visible+label{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px var(--sun)}
.survey .opt input:hover+label{border-color:var(--ink)}
.survey .opt.single label{border-radius:14px}
.survey .fld{margin:12px 0 0}
.survey .fld label{display:block;font-weight:700;font-size:.95rem;margin-bottom:6px;color:var(--ink)}
.survey .req{font-weight:600;color:#27505A}
.survey input[type=text],.survey input[type=email],.survey textarea{width:100%;max-width:100%;box-sizing:border-box;font:500 1rem/1.4 var(--body);padding:12px 14px;border:2px solid #6B8790;border-radius:14px;background:#fff;color:var(--ink);min-height:44px}
.survey input[type=text]:focus-visible,.survey input[type=email]:focus-visible,.survey textarea:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 6px var(--sun)}
.survey .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.survey-closing{margin:26px 0 14px;color:#27505A}
.survey-error{background:#FFF1EE;border:2px solid var(--coral-text);border-radius:16px;padding:16px 20px;margin:0 0 22px;color:#5A1A0F}
.survey-thanks{background:var(--cream);border-left:6px solid var(--sun);border-radius:20px;padding:28px 30px}
.survey-thanks h2{margin-top:0!important}
.survey-thanks:focus{outline:3px solid var(--ink)}
@media(max-width:560px){.survey .q{padding:20px 18px}.survey .q-help{margin-left:0}.survey .opt label{width:100%;box-sizing:border-box}.survey .opts{display:grid;gap:8px}}
html.a11y-contrast .survey .q,html.a11y-contrast .survey-thanks{border:2px solid #000;box-shadow:none;background:#fff}
html.a11y-contrast .survey .opt label{border-color:#000}
html.a11y-contrast .survey .opt input:checked+label{background:#FFE14D}
html.a11y-contrast .survey input[type=text],html.a11y-contrast .survey input[type=email],html.a11y-contrast .survey textarea{border-color:#000}
.survey fieldset.q legend{float:left;width:100%}
.survey fieldset.q legend~*{clear:both}
.survey fieldset.sub legend{float:none}

.footer-tagline{margin:4px 0 12px;font-size:1.05rem;color:var(--sun)}

/* v2.7.9 hero: tagline as headline, question underneath */
.hero h1 .hero-q{display:block;margin-top:.45em;font-size:.5em;line-height:1.15;font-weight:600;letter-spacing:0;color:var(--muted,#3d5a63)}
.hero h1{max-width:16ch}
@media (max-width:640px){.hero h1{max-width:100%}}

/* v2.7.9 goal line under the hero paragraph */
.hero .goal{margin:2px 0 26px;font:700 clamp(1.25rem,2.5vw,1.75rem)/1.2 var(--display);font-style:italic;letter-spacing:-.01em}
.hero .goal span{display:inline-block;background:var(--sun);padding:.12em .55em .16em .45em;transform:rotate(-2deg) translateX(-.3em);box-shadow:4px 4px 0 var(--sun-deep);color:var(--ink);border-radius:6px}

/* v2.7.10 resources pages: table of contents, lists inside cards */
.toc{background:#fff;border:2px solid var(--sun);border-radius:20px;padding:22px 26px;margin:30px 0 36px}
.toc .toc-title{margin:0 0 10px;font-family:var(--display);color:var(--ink)}
.toc ol{margin:0;padding-left:1.4em;columns:2;column-gap:36px}
.toc li{margin:0 0 4px;break-inside:avoid;line-height:1.35}
.toc a{display:block;padding:3px 0;font-weight:600}
.place-card ul{margin:0;padding-left:1.2em;font-size:.97rem}
.place-card li{margin:6px 0}
.content .cost-table td:first-child{font-weight:700;color:var(--ink)}
.content h2[id]{scroll-margin-top:90px}
@media (max-width:700px){.toc ol{columns:1}}
html.a11y-contrast .toc{background:#fff;border:2px solid #000}

/* v2.7.13 about-page logo */
.about-logo{text-align:center;margin:48px 0 8px}
.about-logo img{width:min(240px,60%);height:auto}

/* v2.7.16 survey chooser */
.survey-choices{list-style:none;padding:0;margin:8px 0 28px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.survey-choices li{margin:0}
.choice{display:flex;flex-direction:column;gap:6px;height:100%;background:#fff;border:2px solid var(--line);border-radius:22px;padding:24px 26px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow-sm);transition:transform .2s ease,border-color .2s ease}
.choice:hover,.choice:focus-visible{border-color:var(--sun-deep);transform:translateY(-3px)}
.content a.choice{font-weight:400}
.choice-t{font:700 1.2rem/1.2 var(--display)}
.choice-d{color:#27505A;font-size:1rem;line-height:1.45}
.choice-go{margin-top:auto;padding-top:8px;font:700 1rem/1 var(--display);color:#9A4A00}
@media (max-width:700px){.survey-choices{grid-template-columns:1fr}}
html.a11y-contrast .choice{background:#fff;border:2px solid #000}

.mosaic .photo-tag{bottom:auto;top:12px}

/* Reading list cards (In the news page and the short list on For renters) */
.reading{margin-top:44px}
.section .reading{margin-top:0}
.reading-h{margin:0 0 10px}
.reading-p{margin:0 0 22px}
.read-grid{display:grid;grid-template-columns:1fr;gap:14px}
.read{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px 22px}
.read-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.read-group,.read-type{font:700 .68rem/1 var(--body);letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:999px;color:var(--ink)}
.read-group{background:var(--sun)}
.read-type{background:#CFEEE7}
.read h3{font-size:1.08rem;line-height:1.3;margin:0 0 4px}
.read-by{color:var(--muted);font-size:.88rem;margin:0 0 6px}
.read p{margin:0;font-size:.97rem}
@media (min-width:820px){.section .read-grid{grid-template-columns:1fr 1fr}}

/* Place tags in the oval hero photos sit inside the curve */
.page-hero .photo-tag{left:50%;transform:translateX(-50%);bottom:22px;white-space:nowrap}

/* At a glance */
.glance{padding:20px 0 56px}
.glance-card{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:40px 44px;text-align:left}
.glance-card h2{font-size:clamp(1.6rem,3.2vw,2.3rem);line-height:1.15;margin:6px 0 24px}
.glance-rows{margin:0}
.glance-rows>div{display:grid;grid-template-columns:200px 1fr;gap:6px 24px;padding:15px 0;border-top:1px solid var(--line)}
.glance-rows dt{font:700 .95rem/1.35 var(--display);color:var(--coral-text)}
.glance-rows dd{margin:0;font-size:1.05rem;line-height:1.5}
.glance-bottom{font:700 1.3rem/1.3 var(--display);margin:22px 0 10px;color:var(--ink)}
.glance-card .fineprint{margin:0 0 12px;text-align:left}
.glance-share{margin:0;font-size:.95rem;font-weight:600}
@media (max-width:640px){.glance-card{padding:28px 22px}.glance-rows>div{grid-template-columns:1fr;gap:2px}}

/* ---------- 2.7.32: "Picture it" calculator on narrow screens, and its error message ---------- */
/* Every grid child may shrink, every control fills its own column, and nothing relies on the card clipping overflow. */
.cx-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.cx-grid label{min-width:0;justify-content:space-between}
.cx-grid input,.cx-grid select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;min-height:44px;color:var(--ink)}
.cx-grid input:focus-visible,.cx-grid select:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.cx-grid input[aria-invalid=true]{border:2px solid var(--coral-text);background:#FFF1EE}
.cx-error{margin:0 0 14px;padding:12px 16px;border:2px solid var(--coral-text);border-radius:14px;background:#FFF1EE;color:#5A1A0F;font-weight:600;font-size:.95rem}
.cx-error[hidden]{display:none}
.cx-invalid .cx-stat strong{color:#5B6F75}
.cx-slider{min-width:0;flex:1 1 220px}
.cx-assume .fineprint{overflow-wrap:anywhere}
@media (max-width:820px){.cx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){
  .cx-grid{grid-template-columns:minmax(0,1fr)}
  .cx-grid label{font-size:.9rem}
  .cx-controls{padding:16px 16px 6px;gap:12px}
  .cx-stats{padding:12px 16px 18px}
  .cx-assume{padding:0 16px 20px}
  .cx-stat{padding:16px}
}
/* Largest "Display options" text: one column sooner, so long labels never squeeze the boxes. */
html.a11y-text-1 .cx-grid,html.a11y-text-2 .cx-grid,html.a11y-plain .cx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:820px){html.a11y-text-1 .cx-grid,html.a11y-text-2 .cx-grid,html.a11y-plain .cx-grid{grid-template-columns:minmax(0,1fr)}}
html.a11y-text-2 .cx-stat strong{font-size:1.6rem;overflow-wrap:anywhere}
html.a11y-contrast .cx-grid input,html.a11y-contrast .cx-grid select{border:2px solid #000}
html.a11y-contrast .cx-error{border-color:#000;background:#fff;color:#000}

/* ---------- 2.7.32: survey error recovery ---------- */
.survey-error p{margin:0 0 6px}
.survey-error ul{margin:0;padding-left:1.2em}
.survey-error li{margin:4px 0}
.survey-error a{color:inherit;font-weight:600}
.survey-error:focus{outline:3px solid var(--ink);outline-offset:3px}
.survey .fld-error{margin:6px 0 0;color:#8A1F14;font-weight:700;font-size:.95rem}
.survey .fld.has-error input{border-color:var(--coral-text);background:#FFF8F6}
.survey input[type=text]:disabled{background:#EEF1F2;color:#4A5F66;border-style:dashed}
html.a11y-contrast .survey-error{border-color:#000;background:#fff;color:#000}
html.a11y-contrast .survey .fld-error{color:#000}

/* ---------- 2.7.32: lighter decorative sun (WebP where the browser supports it; the PNG above stays as the fallback) ---------- */
.cta-band::before,.cta-band::after,.page-hero:not(.has-art)::before{background-image:image-set(url(assets/sun-icon-512.webp) type("image/webp"),url(assets/sun-icon-512.png) type("image/png"))}
.survey-error,.survey-thanks,.survey .fld input,.survey .opt input{scroll-margin-top:24px}

/* ---------- 2.7.33: ways to reach us, in the footer ---------- */
.footer-reach{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.footer-reach li{margin:0}
.footer-reach a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px 8px 13px;border:1.5px solid #5E8088;border-radius:999px;color:#FFE28E;font-weight:600;font-size:.92rem;line-height:1.2;text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease}
.footer-reach a:hover{background:rgba(255,255,255,.1);border-color:#FFE28E;color:#fff}
.footer-reach a:focus-visible{outline:3px solid #FFE28E;outline-offset:3px}
.footer-reach svg{width:18px;height:18px;flex:none}
html.a11y-contrast .footer-reach a{border-color:#FFE14D;color:#FFE14D}
@media (prefers-reduced-motion:reduce){.footer-reach a{transition:none}}
