:root {
    --plum: #2e103e;
    --purple: #681785;
    --green: #087b00;
    --gold: #ffcb52;
    --ink: #281e2d;
    --muted: #63596a;
    --line: #e9dfed;
    --tint: #f8f1fa;
    --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 1rem/1.65 "DM Sans", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--purple); }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ad6420; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .55em; font-family: Manrope, system-ui, sans-serif; line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }
h1 { font-size: clamp(2.75rem, 6.3vw, 6rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.55rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1190px, calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(3.2rem, 7vw, 6.8rem); }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 5; background: white; padding: .65rem 1rem; }
.skip:focus { top: 1rem; }
.utility { color: white; background: var(--plum); font-size: .875rem; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.utility a { color: white; text-decoration: none; white-space: nowrap; }
.header { background: white; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; }
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { flex: none; }
.logo { width: 150px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 2vw, 1.8rem); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding-block: .45rem; }
.nav a:hover, .nav a[aria-current=page] { color: var(--purple); box-shadow: inset 0 -2px var(--green); }
.menu-button { color: var(--plum); font: inherit; font-weight: 700; border: 1px solid var(--line); border-radius: .55rem; background: white; padding: .55rem .9rem; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .65rem 1.13rem; border: 1px solid transparent; border-radius: .65rem; background: var(--green); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: #066000; color: white; }
.button.outline { color: var(--purple); border-color: #ccb3d2; background: transparent; }
.button.outline:hover { background: #f1e2f5; }
.button.light { background: var(--white); color: var(--purple); }
.button.light:hover { background: var(--gold); color: var(--plum); }
.hero { background: radial-gradient(ellipse at 4% 100%, #e9f6e5, transparent 54%), #faf2fc; }
.hero-grid, .split, .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.6rem, 5vw, 5rem); }
.hero-grid { grid-template-columns: 1fr 1.05fr; padding-block: clamp(2.6rem, 5vw, 5.2rem); }
.hero h1 { color: var(--plum); }
.hero h1 em { display: block; color: var(--purple); font-style: normal; }
.eyebrow { color: var(--purple); font-size: .875rem; font-weight: 800; letter-spacing: .10em; display: flex; align-items: center; gap: .65rem; }
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--gold); border-radius: 2px; flex: none; }
.lead { max-width: 42rem; font-size: clamp(1.06rem, 2vw, 1.24rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-photo { margin: 0; border-radius: 1.3rem; overflow: hidden; box-shadow: 0 14px 34px #2e103e2b; }
.hero-photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.feature-photo { width: 100%; border-radius: 1.1rem; aspect-ratio: 4/3; object-fit: cover; }
.section-heading { max-width: 50rem; margin-bottom: 1.8rem; }
.section-heading p:last-child, .card p, .steps p, .split p, .faq details p { color: var(--muted); }
.cards, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card, .steps li { padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 1rem; background: white; }
.card { border-top: 4px solid var(--purple); }
.card p:last-child, .steps p:last-child { margin-bottom: 0; }
.section-link { margin: 1.4rem 0 0; }
.text-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tint { background: var(--tint); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; margin-bottom: .9rem; background: #f2e4f6; color: var(--purple); font-weight: 800; }
.faq { align-items: start; }
details { border-bottom: 1px solid #d9c6df; padding: .65rem 0; }
summary { font-weight: 800; color: var(--plum); cursor: pointer; padding: .5rem 0; }
.callout, .page-intro { background: linear-gradient(125deg, var(--plum), var(--purple)); color: white; }
.callout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; border-radius: 1.15rem; padding: clamp(1.4rem, 5vw, 3.3rem); }
.callout h2, .callout p:last-child { margin-bottom: 0; }
.callout .eyebrow, .page-intro .eyebrow { color: var(--gold); }
.page-intro { padding-block: clamp(2.8rem, 6vw, 5.4rem); }
.page-intro h1 { max-width: 64rem; font-size: clamp(2.55rem, 6vw, 5.15rem); }
.page-intro .lead { color: #faeefc; margin-bottom: 0; }
.service-list { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.service-list article + article { border-top: 1px solid var(--line); padding-top: clamp(2rem, 5vw, 4rem); }
.service-list article:nth-child(even) img { order: 1; }
.contact-grid { align-items: start; }
.contact-card dl { margin-bottom: 1.35rem; }
.contact-card dt { font-weight: 800; }
.contact-card dd { margin: 0 0 .85rem; }
.quote-list, .service-list ul { padding-left: 1.25rem; }
.quote-list li, .service-list li { margin-bottom: .35rem; }
.footer { border-top: 5px solid var(--green); background: #260e34; color: #f0e2f4; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 2rem; padding-block: 3.1rem; }
.footer h2 { font-size: 1.1rem; color: white; letter-spacing: 0; }
.footer a { color: #f0e2f4; display: block; width: fit-content; text-underline-offset: 4px; text-decoration-color: transparent; }
.footer a:hover { color: var(--gold); text-decoration-color: currentColor; }
.footer address { margin-bottom: .5rem; font-style: normal; }
.footer-brand { background: white; border-radius: .55rem; padding: .25rem .5rem; margin-bottom: .95rem; }
.footer-bottom { border-top: 1px solid #ffffff2c; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: .95rem; font-size: .875rem; }
@media (max-width: 830px) {
    .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: .55rem; }
    .header-cta { display: none; }
    .nav { flex-basis: 100%; padding-bottom: .45rem; }
    .nav[data-collapsed=true] { display: none; }
    .hero-grid, .split, .faq { grid-template-columns: 1fr; }
    .hero-photo img { aspect-ratio: 16/10; }
    .service-list article:nth-child(even) img { order: 0; }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 2rem); }
    .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 1.45rem; }
}

.footer .inline-credit { display: inline; text-decoration-color: currentColor; }

.site-icon { flex: 0 0 auto; vertical-align: middle; }
.icon-label, .footer .icon-label { display: inline-flex; align-items: flex-start; gap: .55rem; }
.footer .icon-label { display: flex; }
.footer .site-icon { color: var(--gold); margin-top: .12em; }
.contact-card dt .site-icon { color: var(--purple); margin-right: .35rem; }
.office-map { display: block; width: 100%; height: clamp(290px, 45vw, 440px); border: 1px solid var(--line); border-radius: 1rem; background: white; }
#solar-types { scroll-margin-top: 6rem; }
.photo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.photo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card > div { padding: clamp(1rem, 2.5vw, 1.6rem); }
.photo-card p { color: var(--muted); margin: 0; }
.image-story figure { margin: 0; }
.image-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.image-story figcaption { color: var(--muted); margin-top: .5rem; font-size: .875rem; }
@media (max-width: 700px) { .photo-cards { grid-template-columns: 1fr; } }

.hero-carousel { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; align-items: center; min-height: clamp(340px, 34vw, 510px); padding-block: clamp(2.6rem, 6vw, 5.5rem) 1.4rem; color: white; background: #18141d; }
.hero-carousel.hero { min-height: clamp(470px, 52vw, 690px); }
.hero-carousel .hero-grid { display: block; padding: 0; }
.hero-carousel .hero-copy { max-width: 49rem; }
.hero-carousel h1, .hero-carousel h1 em { color: white; }
.hero-carousel .lead { color: #f4eef5; }
.hero-carousel .eyebrow, .hero-carousel h1 em { color: var(--gold); }
.hero-carousel .button.outline { color: white; border-color: #ffffffa6; }
.hero-carousel .button.outline:hover { background: #ffffff2c; }
.hero-slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; opacity: .44; }
.hero-slides img[hidden], .hero-controls[hidden] { display: none; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #100d15bd, #100d1535 78%); }
.hero-controls { grid-row: 2; display: flex; align-items: center; gap: .35rem; margin-top: 1.7rem; }
.hero-controls + .wrap { grid-row: 1; }
.hero-controls button { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0; background: transparent; border: 0; color: white; cursor: pointer; }
.hero-controls .hero-step { border: 1px solid #ffffff81; border-radius: 50%; font-size: 1.1rem; }
.hero-dot::after { content: ""; width: .55rem; height: .55rem; border: 1px solid white; border-radius: 50%; }
.hero-dot[aria-pressed=true]::after { background: var(--gold); border-color: var(--gold); }
.footer .footer-about { margin-top: .65rem; color: var(--gold); text-decoration-color: currentColor; }
@media (max-width: 620px) {
    .hero-carousel.hero { min-height: 490px; }
    .hero-controls button { min-width: 40px; height: 40px; }
}

.hero-carousel.hero-static { grid-template-rows: 1fr; padding-block: clamp(2.8rem, 6vw, 5.4rem); }

.hero-controls .hero-playback { padding-inline: .65rem; border: 1px solid #ffffff81; border-radius: .5rem; font: inherit; font-size: .875rem; }

.enquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.enquiry-form[hidden] { display: none; }
.enquiry-form label { display: grid; align-content: start; gap: .35rem; font-weight: 700; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: .7rem .8rem; border: 1px solid #c7b5cc; border-radius: .5rem; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.enquiry-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.enquiry-form button { font-family: inherit; font-size: 1rem; cursor: pointer; }
.enquiry-wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .enquiry-form { grid-template-columns: 1fr; } }
