/* Approved homepage refinements from the supplied card references. */
:root{--surface:#eae9e3;--muted:#565650;--line:#d0d0c8}
.button{border-radius:999px}
.site-header{transition:transform .25s cubic-bezier(.22,.61,.36,1),opacity .2s ease}
.site-header.header-hidden{transform:translateY(calc(-100% - var(--frame) - 12px));opacity:0;pointer-events:none}
.site-header:has(:focus-visible){transform:none;opacity:1;pointer-events:auto}
.button-secondary:hover{background:#e8e8e1}
.section-label{position:static;display:flex;align-items:center;gap:12px;width:auto;height:auto;margin:0 0 20px;padding:0;overflow:visible;clip:auto;white-space:normal;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.065em;text-transform:uppercase;color:#565650}
.section-label::before{content:'';flex:0 0 36px;width:36px;height:15px;background:var(--brand);mask:url('./assets/roof.png') center/contain no-repeat;-webkit-mask:url('./assets/roof.png') center/contain no-repeat}
.projects .section-label{color:#d6d6d3}
.intro-copy h2::before,.simple-heading h2::before,.editorial-heading h2::before,.team-copy h2::before,.questions-grid h2::before,.contact-copy h2::before{content:none}
.about-points{background:#eae9e3}
.about-points>div+div,.about-points>div:nth-child(n+3){border-color:#ccccc3}
.service-grid,.project-grid{gap:28px}
.service-card,.project-card{min-height:0;padding:10px;justify-content:flex-start;border-radius:28px;background:#fff;color:#171717;box-shadow:0 12px 28px #1717170d}
.service-media,.project-media,.service-card:nth-child(even) .service-media,.project-feature .project-media,.project-secondary .project-media{position:relative;inset:auto;z-index:auto;width:100%;height:auto;aspect-ratio:1.65;flex-shrink:0;overflow:hidden;border-radius:20px}
.project-feature .project-media,.project-secondary .project-media{aspect-ratio:1.5}
.service-media img,.project-media img{width:100%;height:100%}
.service-content,.project-content{display:flex;flex-direction:column;flex:1;margin:0;padding:22px 18px 16px;background:transparent;box-shadow:none;border-radius:0}
.service-content h3,.project-title{font-size:clamp(25px,2vw,29px);line-height:1.2;margin:0;max-width:none}
.project-title{white-space:normal}
.service-content p,.project-meta{font-size:15px;line-height:1.65;color:#565650;margin:10px 0 22px;max-width:none}
.card-action,.project-action{width:100%;min-height:50px;margin:auto 0 0;padding:12px 20px;border:0;border-radius:999px;background:#101010;color:#fff;font-size:13px;font-weight:600;line-height:1.5;transition:background-color .25s ease}
.card-action>span,.project-action>span{width:20px;height:20px;flex:0 0 20px;border-radius:0;background:none;color:inherit}
.service-card:hover .card-action,.project-card:hover .project-action{background:#c60000}
.service-card:hover .card-action>span,.project-card:hover .project-action>span{background:none;transform:none}
.card-action svg,.project-action svg{width:19px;height:19px}
.team-copy .section-label{grid-column:1/-1;grid-row:1}
.team-copy h2{grid-column:1;grid-row:2/4}
.team-copy>p:not(.section-label){grid-column:2;grid-row:2}
.team-copy>.button{grid-column:2;grid-row:3}
.team-photo figcaption{padding:18px 0 0;color:#171717}
.team-photo figcaption strong{display:block;font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.015em}
.team-photo figcaption span{display:block;font-size:14px;line-height:1.65;color:#565650;margin-top:6px}
.process{padding-top:0}
.process>.container{max-width:calc(1440px - 2 * var(--gutter));width:calc(100% - 2 * var(--gutter));padding:clamp(28px,4.5vw,64px);background:#eae9e3;border-radius:24px}
.process .simple-heading{margin-bottom:44px}
.process-grid{gap:32px;position:relative}
.process-grid li{position:relative;padding:0;border:0;display:block}
.step-number{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #bdbdb3;border-radius:50%;color:#171717;background:#f3efe8;font-size:14px;font-weight:600;line-height:1}
.process-grid h3{font-size:22px;max-width:18ch;line-height:1.3;margin:20px 0 12px}
.process-grid p{font-size:15px;max-width:30ch;line-height:1.75}
.process-support{border-color:#ccccc3;margin-top:36px;padding-top:28px}
.process-support>div>span{font-size:21px;line-height:1.35}
.process-support p{font-size:14px;line-height:1.75}
.questions{background:#eae9e3;--muted:#565650;--line:#ccccc3}
.contact-details{gap:0}
.contact-details>div{gap:8px;padding:22px 0}
.contact-details>div:first-child{padding-top:0}
.contact-details>div:not(:last-child){border-bottom:1px solid #bdbdb3}
.contact-details span{color:var(--brand);font-weight:600}
.enquiry-form legend{color:#f7f4ee;text-transform:uppercase;letter-spacing:.06em;font-size:16px}
.footer-top>p{margin:0;text-align:left}
@media(min-width:1100px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){
 .service-grid,.project-grid{gap:24px}
 .service-media,.project-media,.service-card:nth-child(even) .service-media,.project-feature .project-media,.project-secondary .project-media{aspect-ratio:1.25}
 .service-content,.project-content{padding:20px 14px 14px}
 .service-content h3,.project-title{font-size:23px}
 .service-content p,.project-meta{font-size:14px;min-height:46px}
 .team-copy .section-label{margin-bottom:20px}
 .team-photo figcaption strong{font-size:16px}
 .team-photo figcaption span{font-size:13px}
 .process>.container{width:calc(100% - 2 * var(--frame));padding:32px 28px}
 .process .simple-heading{margin-bottom:32px}
 .process-grid{grid-template-columns:1fr;gap:0}
 .process-grid li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 22px;padding:0 0 30px}
 .process-grid li:last-child{padding-bottom:0}
 .process-grid li:not(:last-child)::before{content:'';position:absolute;left:23px;top:56px;bottom:8px;width:1px;background:#bdbdb3}
 .step-number{grid-row:1/3}
 .process-grid h3{margin:1px 0 0;max-width:none;font-size:21px}
 .process-grid p{grid-column:2;max-width:42ch;margin:0}
}
@media(max-width:599px){
 .section-label{font-size:12px;gap:10px;margin-bottom:16px;letter-spacing:.05em}
 .section-label::before{flex-basis:30px;width:30px;height:13px}
 .service-card,.project-card{padding:8px;border-radius:26px}
 .service-media,.project-media,.service-card:nth-child(even) .service-media,.project-feature .project-media,.project-secondary .project-media{aspect-ratio:1.2;border-radius:19px}
 .service-content,.project-content{padding:20px 14px 14px}
 .service-content h3,.project-title{font-size:25px}
 .service-content p,.project-meta{font-size:14px;min-height:0;line-height:1.7;margin-bottom:20px}
 .projects .service-content,.projects .project-content{padding-inline:12px}
 .team-gallery{gap:28px 18px}
 .team-photo figcaption{padding-top:14px}
 .team-photo figcaption strong{font-size:16px}
 .team-photo figcaption span{font-size:13px;margin-top:5px}
 .process>.container{padding:32px 22px;border-radius:20px}
 .process-grid li{grid-template-columns:42px minmax(0,1fr);gap:8px 16px;padding-bottom:28px}
 .step-number{width:42px;height:42px;font-size:13px}
 .process-grid li:not(:last-child)::before{left:20px;top:50px}
 .process-grid h3{font-size:20px}
 .process-grid p{font-size:14px}
 .process-support>div>span{font-size:21px}
 .footer-top{display:grid;grid-template-columns:1fr auto;align-items:center;gap:28px 16px;padding-bottom:32px}
 .footer-top .brand{width:78px;grid-column:1;grid-row:1}
 .footer-top>p{grid-column:1/-1;grid-row:2;font-size:30px;line-height:1.15;margin:0;justify-self:start;text-align:left}
 .footer-top>.compact-link{grid-column:2;grid-row:1;width:auto;justify-self:end;justify-content:flex-end;font-size:12px;gap:10px}
 .footer-grid a,.footer-grid p{font-size:13px;line-height:1.65}
}
@media(max-width:360px){
 .project-title{font-size:22px}
 .service-content h3{font-size:23px}
 .process>.container{padding-inline:20px}
 .footer-top>p{font-size:28px}
}
@media(prefers-reduced-motion:reduce){.service-card:hover .card-action svg,.project-card:hover .project-action svg{transform:none}}
/* Retain the full building in the landscape New Builds photograph on phones. */
@media(max-width:599px){.service-card.service-card-newbuild .service-media{aspect-ratio:1.65}}

/* Full site review: keep small navigation text readable in every state. */
.fallback-nav .primary-menu a,
.fallback-nav .primary-menu a:hover,
.fallback-nav .primary-menu a:focus-visible {
  color: var(--text);
}
.fallback-nav .primary-menu a:hover,
.fallback-nav .primary-menu a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: .3em;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f7f4ee;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: .3em;
}
