/* Precision brand refinement: measured vertical rules, compact editorial panels. */

/* The portrait is out of flow so its intrinsic height cannot stretch this row. */
.values-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1600px;
  margin-inline: auto;
  align-items: stretch;
}
.values-image { position: relative; min-width: 0; min-height: 0; height: auto; overflow: hidden; }
.values-image img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 64%; }
.values-content { position: relative; padding: 64px clamp(36px, 4vw, 64px); min-width: 0; }
.values-content::after { content: ''; position: absolute; right: 24px; top: 0; bottom: 0; width: 6px; background: var(--orange); opacity: .8; }
.values-content h2 { font-size: clamp(32px, 3vw, 46px); }
.values-content .quality-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; margin-top: 32px; padding-top: 28px; }
.values-content .quality-grid p { font-size: 13px; line-height: 1.75; }
.values-content .quality-grid h3 { font-size: 15px; }

/* Original brand artwork, used as a deliberate signature at key transitions. */
.precision-rails { position: absolute; z-index: -1; right: var(--gutter); bottom: 0; width: 230px; height: 100%; background: url('assets/precision-rules.svg') center / auto 100% no-repeat; opacity: .58; pointer-events: none; }
.project-cta::after { background: var(--navy) url('assets/precision-pattern.svg') right center / auto 100% no-repeat; opacity: .94; }
.project-cta > .wrap { position: relative; z-index: 1; }
.home-services .section-top { border-left: 5px solid var(--orange); padding-left: 24px; }
.site-footer { border-top: 2px solid #de6b2770; }

/* Three complete service compositions: image, scope, detail and next action. */
.service-stories { gap: 40px; padding-block: 72px; }
.service-story, .service-story.reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: var(--pale);
  border: 1px solid var(--line);
}
.story-image, .story-image:has(.story-inset) { position: relative; margin: 0; min-height: 520px; overflow: hidden; }
.story-image > img, .service-story:last-child .story-image > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.story-image::after { content: ''; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, #04273fbb); pointer-events: none; }
.story-inset { width: 31%; bottom: 70px; right: 24px; border: 6px solid white; z-index: 1; box-shadow: 0 8px 32px #04273f33; }
.story-inset img { aspect-ratio: 1.2; }
.story-photo-note { position: absolute; left: 28px; bottom: 24px; right: 24px; z-index: 1; color: white; font-size: 12px; font-weight: 600; }
.story-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; }
.story-copy::before { content: ''; position: absolute; top: 36px; bottom: 36px; left: 0; width: 4px; background: var(--orange); }
.story-copy h2 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1.12; }
.story-copy .eyebrow { margin-bottom: 20px; font-size: 11px; }
.story-copy p:not(.eyebrow) { margin-top: 24px; font-size: 15px; line-height: 1.8; }
.service-focus { list-style: none; margin: 24px 0 28px; padding: 20px 0 0; border-top: 1px solid var(--line); width: 100%; display: grid; gap: 12px; }
.service-focus li { display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: var(--slate); }
.service-focus li::before { content: ''; width: 12px; height: 2px; background: var(--orange); flex: 0 0 12px; align-self: center; }
.story-copy .button { font-size: 12px; min-height: 50px; padding: 14px 20px; gap: 32px; }
.service-story.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: var(--navy); color: white; border-color: var(--navy); }
.service-story.reverse .story-copy { isolation: isolate; }
.service-story.reverse .story-copy::after { content: ''; position: absolute; inset: 0; background: url('assets/precision-rules.svg') right center / auto 100% no-repeat; opacity: .12; z-index: -1; }
.service-story.reverse .story-copy::before { left: auto; right: 0; }
.service-story.reverse .story-copy p:not(.eyebrow), .service-story.reverse .service-focus li { color: #c7d7e1; }
.service-story.reverse .service-focus { border-color: #ffffff30; }
.specialist-grid { gap: 40px 32px; }
.specialist-card { background: white; }
.specialist-copy { padding: 28px 28px 32px; border-left: 3px solid var(--orange); }
.specialist-card:last-child .specialist-copy { border-left: 0; }

/* Aligned image rows and consistent captions, including every filter state. */
.portfolio { padding-block: 80px; }
.portfolio .section-top { margin-bottom: 36px; }
.portfolio-filters { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; margin-bottom: 32px; }
.portfolio-grid, .portfolio-grid.is-filtered { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; align-items: start; }
.project-tile, .project-tile:nth-child(n), .portfolio-grid.is-filtered .project-tile { grid-column: auto; padding: 0; min-width: 0; }
.project-tile img, .project-tile:nth-child(n) img, .portfolio-grid.is-filtered .project-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.project-tile:nth-child(4) img { object-position: center 60%; }
.project-tile:nth-child(5) img { object-position: center 65%; }
.project-tile figcaption { display: block; margin-top: 0; padding: 18px 0 0; border-top: 3px solid var(--orange); }
.project-tile figcaption h3 { font-size: 18px; line-height: 1.4; }
.project-tile figcaption span { display: block; margin-top: 5px; font-size: 11px; }
.project-expand { right: 12px; bottom: 12px; width: 36px; height: 36px; font-size: 22px; }

@media (min-width: 1800px) {
  .values-content { padding: 72px; }
}
@media (max-width: 1199px) {
  .story-copy { padding: 36px; }
  .story-image, .story-image:has(.story-inset) { min-height: 480px; }
  .story-copy p:not(.eyebrow) { font-size: 14px; }
  .portfolio-grid, .portfolio-grid.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .values-content { padding: 48px 32px; }
  .values-content::after { right: 12px; width: 3px; }
  .values-content .quality-grid { gap: 24px 20px; }
  .values-content .quality-grid p { font-size: 12px; }
  .values-content .quality-grid h3 { font-size: 14px; }
  .story-copy { padding: 32px; }
  .story-copy h2 { font-size: 34px; }
  .service-focus li { font-size: 11px; }
  .story-copy .button { gap: 20px; }
  .story-photo-note { left: 20px; bottom: 20px; font-size: 11px; }
  .precision-rails { width: 160px; opacity: .35; }
}
@media (max-width: 767px) {
  .values-section { grid-template-columns: 1fr; }
  .values-image { height: 340px; }
  .values-image img { object-position: center 67%; }
  .values-content { padding: 44px 28px 48px; }
  .values-content h2 { font-size: 34px; }
  .values-content .quality-grid { grid-template-columns: 1fr 1fr; }
  .values-content::after { right: 0; }
  .service-stories { gap: 32px; padding-block: 48px; }
  .service-story, .service-story.reverse { grid-template-columns: 1fr; gap: 0; }
  .service-story.reverse .story-image, .service-story.reverse .story-copy { order: initial; }
  .story-image, .story-image:has(.story-inset) { min-height: 0; height: 340px; margin: 0; }
  .story-inset { bottom: 60px; right: 20px; width: 30%; border-width: 5px; }
  .story-copy { padding: 32px 28px; }
  .story-copy::before { top: 0; bottom: auto; left: 0; width: 64px; height: 4px; }
  .service-story.reverse .story-copy::before { left: 0; right: auto; }
  .story-copy h2 { font-size: 36px; }
  .story-copy p:not(.eyebrow) { font-size: 14px; margin-top: 20px; }
  .service-focus { margin: 20px 0 24px; padding-top: 20px; }
  .service-focus li { font-size: 12px; }
  .specialist-copy { padding: 24px; }
  .portfolio { padding-block: 56px; }
  .portfolio-grid, .portfolio-grid.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .project-tile figcaption h3 { font-size: 16px; }
  .project-tile figcaption span { font-size: 10px; }
  .project-expand { width: 30px; height: 30px; font-size: 18px; right: 8px; bottom: 8px; }
  .precision-rails { right: 0; width: 100px; opacity: .2; }
  .project-cta::after { background-size: auto 100%; background-position: 35% center; }
  .project-cta h2 { max-width: 460px; }
  .home-services .section-top { padding-left: 20px; }
}
@media (max-width: 479px) {
  .portfolio-grid, .portfolio-grid.is-filtered { grid-template-columns: 1fr; gap: 32px; }
  .project-tile figcaption h3 { font-size: 20px; }
  .project-tile figcaption span { font-size: 11px; }
  .story-image, .story-image:has(.story-inset) { height: 290px; }
  .story-copy { padding: 28px 24px; }
  .story-copy h2 { font-size: 33px; }
  .story-copy .button { width: 100%; }
  .values-image { height: 300px; }
  .values-content { padding: 40px 24px; }
  .values-content .quality-grid { grid-template-columns: 1fr; gap: 24px; }
  .values-content .quality-grid p { font-size: 13px; }
  .values-content .quality-grid h3 { font-size: 15px; }
}

/* Readable type hierarchy: body 17px, supporting content 14–15px. */
body { font-size: 17px; }
.section-top p, .intro-copy > p, .about-copy p:not(.eyebrow),
.story-copy p:not(.eyebrow), .specialist-copy p, .contact-copy > p:not(.eyebrow),
.privacy p { font-size: 17px; line-height: 1.75; }
.values-content .quality-grid p { font-size: 16px; line-height: 1.75; }
.values-content .quality-grid h3 { font-size: 18px; line-height: 1.4; }
.values-content h2 { font-size: clamp(34px, 3vw, 46px); }
.nav, .footer-nav { font-size: 15px; }
.button, .nav .button, .story-copy .button { font-size: 15px; }
.text-link, .specialist-copy .text-link, .about-copy .text-link { font-size: 15px; }
.eyebrow, .story-copy .eyebrow, .project-cta .eyebrow, .subhero .eyebrow, .hero .eyebrow { font-size: 13px; }
.subhero-description { font-size: 17px; max-width: 620px; line-height: 1.7; }
.subhero-foot { font-size: 13px; }
.trust-inner { font-size: 15px; }
.trust-item small { font-size: 13px; }
.stat span { font-size: 15px; }
.service-preview > div > span:first-child { font-size: 14px; }
.service-preview p { font-size: 16px; line-height: 1.65; max-width: 280px; }
.service-focus li { font-size: 15px; }
.story-photo-note { font-size: 14px; }
.page-jumps { font-size: 15px; }
.page-jumps > span { font-size: 14px; }
.portfolio-filters button { font-size: 14px; }
.portfolio-filters > span, .project-tile figcaption span { font-size: 14px; }
.project-tile figcaption h3 { font-size: 21px; }
.compare-toolbar, .angle-tabs button, .compare-footer, .compare-label { font-size: 14px; }
.breather p { font-size: 16px; line-height: 1.75; }
.founder-caption span { font-size: 14px; }
.quote cite, .quote-controls span { font-size: 15px; }
.contact-panel .field, .field { font-size: 14px; }
.field input, .field select, .field textarea { font-size: 16px; }
.contact-details .detail { font-size: 16px; line-height: 1.75; }
.captcha-preview, .form-status { font-size: 14px; }
.form-bottom p { font-size: 13px; line-height: 1.7; }
.footer-main > div > p { font-size: 16px; }
.footer-contact { font-size: 18px; }
.footer-contact span { font-size: 14px; }
.footer-bottom { font-size: 13px; }
.composition-main figcaption, .composition-detail figcaption { font-size: 13px; }
.image-note { font-size: 11px; }

/* People: leadership portraits and a consistent, readable team collection. */
#team { padding-top: 96px; padding-bottom: 96px; }
#team .section-top { align-items: end; margin-bottom: 48px; }
#team .section-top > p { font-size: 17px; max-width: 440px; }
.team-leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
#team .person { padding: 0; border: 1px solid var(--line); background: var(--pale); min-width: 0; }
#team .person--leader { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--navy); color: white; border-color: var(--navy); }
.person-portrait { position: relative; overflow: hidden; height: 320px; background: #d5d9db; }
#team .person-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: center 24%; }
#team .person--leader .person-portrait { height: 360px; }
.person-portrait::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #04273fd9); pointer-events: none; }
.portrait-label { position: absolute; z-index: 1; left: 24px; right: 20px; bottom: 20px; font-size: 13px; color: white; font-weight: 600; border-left: 3px solid var(--orange); padding-left: 12px; }
.person-body { padding: 28px; min-height: 146px; }
#team .person-body h3 { margin: 0; font-size: 29px; line-height: 1.16; letter-spacing: -.04em; }
#team .person .role { font-size: 15px; line-height: 1.6; margin: 14px 0 0; color: var(--slate); }
#team .person--leader .person-body { align-self: center; padding: 28px; }
#team .person--leader .role { color: #c8d7e1; }
#team .person-contact { display: grid; gap: 12px; margin: 28px 0 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.person-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
#team .person-story { grid-column: 1/-1; font-size: 16px; line-height: 1.8; border-top: 1px solid var(--line); }
#team .person-story summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; font-size: 15px; font-weight: 700; color: var(--navy); }
#team .person-story summary::-webkit-details-marker { display: none; }
#team .person-story summary::after { content: '+'; font-size: 24px; font-weight: 500; color: #a14612; }
#team .person-story[open] summary::after { content: '−'; }
#team .person-story .bio { padding: 0 28px 28px; color: var(--slate); }
#team .person--leader .person-story { border-color: #ffffff30; }
#team .person--leader .person-story summary { color: white; }
#team .person--leader .person-story summary::after { color: #f6a472; }
#team .person--leader .bio { color: #d1dee7; }
.crew-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 64px 0 32px; }
.crew-intro h3 { font-size: 30px; }
.crew-intro p { font-size: 16px; color: var(--slate); max-width: 420px; }
#team .team-grid { gap: 32px; align-items: start; }

/* A direct conversation: generous portraits and clear contact actions. */
.contact-people { position: relative; isolation: isolate; background: var(--navy); color: white; padding-block: 88px; }
.contact-people::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('assets/precision-rules.svg') right center / auto 100% no-repeat; opacity: .1; pointer-events: none; }
.contact-people .section-top { margin-bottom: 48px; }
.contact-people .section-top > p { color: #c9d8e2; font-size: 17px; max-width: 380px; }
.contact-person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.contact-person-grid .direct-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch; background: white; color: var(--navy); min-width: 0; }
.direct-portrait { position: relative; min-height: 420px; overflow: hidden; }
.contact-person-grid .direct-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.direct-content { padding: 32px; min-width: 0; border-top: 4px solid var(--orange); }
.contact-person-grid .direct-label { font-size: 13px; line-height: 1.6; color: var(--slate); margin: 0 0 14px; }
.contact-person-grid .direct-content h3 { font-size: 32px; line-height: 1.15; }
.contact-person-grid .direct-role { font-size: 14px; line-height: 1.6; color: var(--slate); margin: 14px 0 20px; }
.contact-person-grid .direct-description { font-size: 16px; line-height: 1.65; color: var(--slate); margin: 0 0 24px; }
.direct-links { display: grid; }
.contact-person-grid .direct-links a { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 4px; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.direct-links a > span { font-size: 13px; font-weight: 500; color: var(--slate); }
.direct-links a strong { font-size: 18px; font-weight: 700; letter-spacing: -.02em; grid-column: 1; overflow-wrap: anywhere; }
.direct-links a i { grid-column: 2; grid-row: 1/3; align-self: center; font-size: 23px; font-style: normal; color: #a14612; }
.direct-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-people-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; }
.contact-people-foot > span { font-size: 15px; color: #c9d8e2; }
.contact-people-foot .text-link { font-size: 15px; }

@media (max-width: 1199px) {
  .team-leaders { gap: 24px; }
  #team .person--leader { grid-template-columns: .85fr 1.15fr; }
  #team .person--leader .person-body { padding: 24px; }
  #team .person-body h3 { font-size: 27px; }
  .contact-person-grid { gap: 24px; }
  .contact-person-grid .direct-contact { grid-template-columns: .8fr 1.2fr; }
  .direct-content { padding: 28px 24px; }
  .direct-links a strong { font-size: 17px; }
}
@media (max-width: 1023px) {
  .team-leaders { grid-template-columns: 1fr; }
  #team .person--leader { grid-template-columns: .8fr 1.2fr; }
  #team .person--leader .person-body { padding: 40px; }
  #team .person--leader .person-body h3 { font-size: 36px; }
  #team .person--leader .person-contact { font-size: 17px; }
  #team .person--leader .person-portrait { height: 350px; }
  #team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  #team .person-body { min-height: 152px; }
  .values-content .quality-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-person-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-person-grid .direct-contact { grid-template-columns: .85fr 1.15fr; }
  .direct-content { padding: 36px; }
  .direct-portrait { min-height: 400px; }
  .direct-links a strong { font-size: 21px; }
  .page-jumps { font-size: 14px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .section-top p, .intro-copy > p, .about-copy p:not(.eyebrow),
  .story-copy p:not(.eyebrow), .specialist-copy p, .contact-copy > p:not(.eyebrow), .privacy p { font-size: 16px; }
  .hero-description, .subhero-description { font-size: 16px; }
  .hero .eyebrow, .subhero .eyebrow { font-size: 12px; }
  .hero .button { font-size: 15px; }
  .subhero-content { padding-bottom: 44px; }
  .subhero-description { max-width: 380px; }
  .trust-inner { font-size: 13px; gap: 24px 16px; }
  .trust-item small { font-size: 12px; max-width: none; }
  .trust-item img { width: 40px; }
  .service-focus li { font-size: 14px; }
  .page-jumps { font-size: 14px; }
  .service-preview p { font-size: 16px; max-width: 280px; }
  .compare-toolbar { font-size: 13px; }
  .angle-tabs button { font-size: 13px; }
  .compare-footer, .compare-label { font-size: 13px; }
  .portfolio-filters button { font-size: 13px; padding-inline: 14px; }
  .portfolio-filters > span { font-size: 13px; }
  .project-tile figcaption h3 { font-size: 20px; }
  .project-tile figcaption span { font-size: 14px; }
  .footer-bottom { font-size: 12px; }
  .footer-nav { font-size: 15px; }
  .footer-contact span { font-size: 14px; }
  .image-note { font-size: 10px; }
  .values-content .quality-grid { grid-template-columns: 1fr 1fr; }
  .values-content .quality-grid p { font-size: 16px; }
  .values-content .quality-grid h3 { font-size: 17px; }
  #team { padding-block: 64px; }
  #team .section-top { margin-bottom: 32px; }
  #team .section-top > p { font-size: 16px; }
  #team .person--leader .person-body { padding: 28px; }
  #team .person--leader .person-body h3 { font-size: 31px; }
  #team .person--leader .person-contact { font-size: 16px; }
  .person-portrait { height: 270px; }
  .portrait-label { left: 20px; font-size: 12px; }
  .person-body { padding: 24px; }
  #team .person-body h3 { font-size: 27px; }
  #team .person .role { font-size: 15px; }
  #team .person-story summary { padding: 18px 24px; font-size: 15px; }
  #team .person-story .bio { padding-inline: 24px; font-size: 16px; }
  .crew-intro { display: block; margin-top: 48px; margin-bottom: 28px; }
  .crew-intro h3 { font-size: 28px; }
  .crew-intro p { margin-top: 16px; font-size: 16px; }
  .contact-people { padding-block: 64px; }
  .contact-people .section-top { margin-bottom: 32px; }
  .contact-people .section-top > p { font-size: 16px; }
  .direct-content { padding: 28px; }
  .direct-portrait { min-height: 390px; }
  .contact-person-grid .direct-content h3 { font-size: 30px; }
  .direct-links a strong { font-size: 18px; }
  .contact-people-foot { display: block; margin-top: 28px; }
  .contact-people-foot > span { display: block; font-size: 14px; }
  .contact-people-foot .text-link { margin-top: 16px; }
}
@media (max-width: 599px) {
  #team .person--leader { grid-template-columns: 1fr; }
  #team .person--leader .person-portrait { height: 350px; }
  #team .person--leader .person-body { padding: 28px; }
  #team .person-body { min-height: 0; }
  #team .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .person-portrait { height: 340px; }
  #team .person-body h3 { font-size: 30px; }
  .contact-person-grid .direct-contact { grid-template-columns: 1fr; }
  .direct-portrait { min-height: 0; height: 320px; }
  .contact-person-grid .direct-portrait img { object-position: center 28%; }
  .direct-content { padding: 28px; }
  .direct-links a strong { font-size: 21px; }
}
@media (max-width: 479px) {
  .values-content .quality-grid { grid-template-columns: 1fr; }
  .subhero-description { font-size: 15px; max-width: 300px; }
  .hero-description { max-width: 310px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .trust-item { align-items: flex-start; }
  .trust-item .trust-symbol { width: 22px; }
  .trust-item img { width: 34px; height: 40px; }
  .story-photo-note { font-size: 13px; }
  .compare-toolbar { display: block; }
  .compare-toolbar > span { display: block; max-width: none; text-align: left; margin-top: 12px; }
  .footer-links { flex-wrap: wrap; }
}
/* Balance the seven trade profiles into complete rows on larger screens. */
@media (min-width: 1024px) {
  #team .team-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
  #team .person--tradesperson { flex: 1 1 calc(25% - 21px); min-width: 0; }
  #team .person--tradesperson .person-body { min-height: 160px; }
  #team .person--tradesperson .person-body h3 { font-size: 27px; }
}
.contact-people .eyebrow { color: #c9d8e2; }
/* A dedicated trust moment: high-contrast credentials with generous logo space. */
.trust-feature { position: relative; overflow: hidden; background: var(--navy); color: white; padding-block: clamp(48px, 5vw, 76px); border-block: 1px solid #ffffff20; }
.trust-feature::before { content: ''; position: absolute; inset: 0; background: url('assets/precision-rules.svg') right center / auto 100% no-repeat; opacity: .15; pointer-events: none; }
.trust-feature > .wrap { position: relative; }
.trust-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.trust-heading .eyebrow { color: #ccdce5; margin-bottom: 16px; }
.trust-heading h2 { font-size: clamp(30px, 3.2vw, 46px); }
.trust-heading > p { font-size: 16px; line-height: 1.7; color: #ccdce5; }
.trust-credentials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.credential-card { min-width: 0; background: white; color: var(--navy); border-bottom: 3px solid var(--orange); }
.credential-mark { height: 130px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.credential-mark img { width: 166px; height: 86px; object-fit: contain; }
.credential-check { display: grid; place-items: center; width: 74px; height: 74px; border: 2px solid #de6b2750; border-radius: 50%; color: #b34d10; font-size: 45px; line-height: 1; }
.credential-copy { padding: 20px 22px 24px; text-align: center; border-top: 1px solid var(--line); }
.credential-copy h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.credential-copy p { margin-top: 8px; color: var(--slate); font-size: 14px; line-height: 1.55; }
@media (max-width: 1023px) {
  .trust-heading { align-items: start; }
  .trust-heading > p { max-width: 280px; }
  .trust-credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .trust-heading { display: block; margin-bottom: 28px; }
  .trust-heading > p { margin-top: 20px; max-width: 36ch; font-size: 15px; }
  .trust-heading h2 { max-width: 14ch; }
  .trust-credentials { gap: 14px; }
  .credential-mark { height: 108px; padding: 14px; }
  .credential-mark img { width: 150px; height: 72px; }
  .credential-check { width: 64px; height: 64px; font-size: 38px; }
  .credential-copy { padding: 16px 10px 20px; }
  .credential-copy h3 { font-size: 16px; min-height: 44px; }
  .credential-copy p { font-size: 13px; min-height: 41px; }
}
/* Smaller independent comparisons follow the main residential transformation. */
.work-jumps { display: flex; align-items: center; gap: 40px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.work-jumps > span { margin-right: auto; font-size: 14px; color: var(--slate); }
.work-jumps .text-link { gap: 24px; }
.commercial-sliders { margin-top: 64px; padding-top: 48px; border-top: 1px solid #ffffff30; }
.commercial-sliders-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.commercial-sliders-heading .eyebrow { margin-bottom: 14px; color: #c8d8e2; }
.commercial-sliders-heading h3 { font-size: clamp(28px, 2.8vw, 38px); }
.commercial-sliders-heading > p { color: #c8d8e2; font-size: 15px; }
.commercial-slider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.commercial-slider-card { min-width: 0; }
.commercial-slider-title { margin-bottom: 20px; }
.commercial-slider-title .eyebrow { color: #c8d8e2; font-size: 13px; margin-bottom: 10px; }
.commercial-slider-title h3 { font-size: 25px; }
.commercial-comparison { aspect-ratio: 4 / 3; }
.commercial-comparison img { object-position: center 49%; }
.commercial-comparison .compare-label { top: 16px; left: 16px; font-size: 13px; }
.commercial-comparison .compare-label.after { left: auto; right: 16px; }
.commercial-comparison .compare-handle { width: 48px; height: 48px; }
.commercial-originals { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; }
.commercial-originals button { padding: 6px 0; background: transparent; border: 0; border-bottom: 1px solid #ffffff50; color: white; font-size: 14px; }
.commercial-originals button span { margin-left: 12px; }
.commercial-originals button:hover { border-color: var(--orange); }
@media (max-width: 767px) {
  .work-jumps { flex-wrap: wrap; gap: 12px 28px; }
  .work-jumps > span { width: 100%; }
  .work-jumps .text-link { font-size: 14px; gap: 16px; }
  .commercial-sliders { margin-top: 40px; padding-top: 36px; }
  .commercial-sliders-heading { display: block; }
  .commercial-sliders-heading > p { margin-top: 16px; }
  .commercial-slider-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* Team stories: a centred portrait-and-biography dialog. */
.story-modal-enabled #team .person-story summary::after { content: '↗'; }
.story-dialog { width: min(940px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid #ffffff30; background: white; color: var(--navy); overflow: hidden; box-shadow: 0 30px 100px #00152366; }
.story-dialog::backdrop { background: #001725c7; backdrop-filter: blur(7px); }
.story-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; min-height: 64px; background: var(--navy); color: white; border-bottom: 2px solid var(--orange); }
.story-dialog-bar > span { font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.story-dialog-close { display: inline-flex; align-items: center; gap: 16px; min-height: 40px; padding: 6px 12px; background: transparent; color: white; border: 1px solid #ffffff50; font-size: 14px; }
.story-dialog-close > span { font-size: 24px; line-height: 1; }
.story-dialog-close:hover { background: #ffffff15; }
.story-dialog-scroll { display: grid; grid-template-columns: 280px minmax(0, 1fr); max-height: calc(100dvh - 114px); overflow: auto; overscroll-behavior: contain; }
.story-dialog-portrait { background: var(--navy); color: white; }
.story-dialog-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.story-dialog-portrait > p { font-size: 27px; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; padding: 32px; border-top: 3px solid var(--orange); }
.story-dialog-copy { padding: 36px 40px 40px; }
.story-dialog-copy .eyebrow { font-size: 12px; margin-bottom: 16px; }
.story-dialog-copy h2 { font-size: clamp(30px, 3vw, 42px); }
#story-dialog-role { color: var(--slate); font-size: 15px; line-height: 1.6; margin-top: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
#story-dialog-bio { margin-top: 24px; color: var(--slate); font-size: 16px; line-height: 1.8; }
#story-dialog-contact:empty { display: none; }
#story-dialog-contact { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
#story-dialog-contact .person-contact { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; font-weight: 700; }
.team-breather { background: white; padding-block: clamp(56px, 6vw, 96px); border-top: 1px solid var(--line); }
.team-breather-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.team-breather-heading h2 { font-size: clamp(34px, 3.8vw, 56px); }
.team-breather-heading > p { max-width: 300px; font-size: 17px; color: var(--slate); }
.team-breather figure { margin-inline: auto; max-width: 1320px; }
.team-breather figure img { width: 100%; height: auto; }
.team-breather figcaption { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; border-top: 2px solid var(--orange); padding-top: 20px; font-size: 14px; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .story-dialog[open] { animation: story-enter .3s cubic-bezier(.22, 1, .36, 1); }
  @keyframes story-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 767px) {
  .story-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .story-dialog-bar { padding: 10px 16px; }
  .story-dialog-scroll { grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 90px); }
  .story-dialog-portrait { display: flex; align-items: center; }
  .story-dialog-portrait img { width: 104px; height: 132px; aspect-ratio: auto; flex-shrink: 0; }
  .story-dialog-portrait > p { border-top: 0; padding: 20px; font-size: 22px; }
  .story-dialog-copy { padding: 28px 24px; }
  .story-dialog-copy h2 { font-size: 32px; }
  .team-breather-heading { display: block; margin-bottom: 32px; }
  .team-breather-heading > p { margin-top: 24px; font-size: 16px; }
  .team-breather figcaption { flex-direction: column; gap: 8px; font-size: 13px; }
}
.recaptcha-wrap { min-width: 0; width: 100%; }
#captcha-mount { min-height: 78px; }
#captcha-mount[data-size="compact"] { min-height: 144px; }
.form-status:not(:empty) { padding: 16px 18px; border-left: 3px solid var(--orange); background: #ffffff0d; }
.form-status[data-state="success"] { border-color: #8bccae; }
.form-status[data-state="error"], .form-status[data-state="captcha"] { border-color: #ffb28a; }
#form-preview-note { margin: 0; }
#form-preview-note[hidden] { display: none; }
/* Small directional cues complement the scroll reveals. */
@media (prefers-reduced-motion: no-preference) {
  .button .icon, .text-link > span[aria-hidden="true"] { display: inline-block; transition: transform .3s ease; }
  .button:hover .icon, .text-link:hover > span[aria-hidden="true"] { transform: translate(3px, -3px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Keep navigation in reach and accreditation marks easy to recognise. */
.site-header { position: sticky; top: 0; box-shadow: 0 6px 24px #04273f12; }
html { scroll-padding-top: 124px; }
.trust-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 28px; }
.trust-item { min-width: 0; gap: 18px; }
.trust-item img { width: 90px; height: 64px; flex: 0 0 90px; object-fit: contain; }
.trust-item .trust-symbol { flex-shrink: 0; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .trust-item { gap: 12px; }
  .trust-item img { width: 76px; flex-basis: 76px; }
}
@media (max-width: 1023px) {
  html { scroll-padding-top: 108px; }
  .trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .site-header .nav { max-height: calc(100dvh - 88px); overflow-y: auto; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 100px; }
  .site-header .nav { max-height: calc(100dvh - 80px); }
  .trust-inner { gap: 28px 20px; padding-block: 32px; align-items: start; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-item img { width: 90px; height: 56px; flex: 0 0 56px; object-position: left center; }
  .trust-item .trust-symbol { height: 56px; width: 40px; font-size: 36px; line-height: 56px; }
  .trust-item small { max-width: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .values-section { grid-template-columns: .75fr 1.25fr; }
  .values-content .quality-grid { grid-template-columns: 1fr 1fr; }
}
