@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --navy: #103657;
  --navy-deep: #0b2943;
  --blue: #1c5b88;
  --blue-soft: #dce8ef;
  --warm: #c98548;
  --warm-pale: #f4e9dc;
  --paper: #f7f5f1;
  --white: #fff;
  --ink: #202b34;
  --muted: #63717b;
  --line: #dfe2e1;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: 'DM Sans', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
img, svg { display: block; }
.container { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.topline { background: var(--navy-deep); color: rgba(255,255,255,.82); font-size: 11px; letter-spacing: .04em; }
.topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.topline a { color: #fff; text-decoration: none; font-weight: 600; }
.topline a span { color: #e7b482; margin-left: 5px; }

.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid rgba(16,54,87,.08); }
.header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: 0 0 auto; }
.brand__mark { width: 47px; height: 47px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; letter-spacing: .075em; }
.brand__text strong { font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 16px; }
.brand__text small { margin-top: 5px; font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3.5vw, 46px); margin-left: auto; }
.desktop-nav a, .mobile-menu__panel a { text-decoration: none; font-size: 13px; font-weight: 600; color: #475763; transition: color .18s ease; }
.desktop-nav a:hover, .mobile-menu__panel a:hover { color: var(--warm); }
.header-call { display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--navy); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .02em; transition: background .18s ease, transform .18s ease; }
.header-call:hover { background: var(--blue); transform: translateY(-1px); }
.header-call span { color: #edbd91; font-size: 17px; }
.mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { position: absolute; content: ''; width: 520px; height: 520px; top: -320px; right: 21%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.018), 0 0 0 92px rgba(255,255,255,.018); pointer-events: none; }
.hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(44px, 7vw, 92px); align-items: center; padding-top: clamp(68px, 8vw, 112px); padding-bottom: 74px; }
.hero__copy { max-width: 570px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; }
.eyebrow > span { display: inline-block; width: 22px; height: 2px; background: var(--warm); flex: 0 0 auto; }
.eyebrow--light { color: #c8d7e0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Manrope', Arial, sans-serif; }
.hero h1 { margin: 0; font-size: clamp(48px, 6.4vw, 82px); line-height: .99; letter-spacing: -.065em; font-weight: 700; }
.hero h1 em, .approach h2 em { color: #e5b181; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero__lead { max-width: 470px; margin: 27px 0 0; color: #d4e0e7; font-size: 16px; line-height: 1.8; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 19px; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .015em; border: 1px solid transparent; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--warm { background: var(--warm); color: #fff; }
.button--warm:hover { background: #b7743d; }
.button--outline { border-color: rgba(255,255,255,.38); color: #fff; }
.button--outline:hover { background: #fff; color: var(--navy); }
.button span { font-size: 15px; }
.hero__note { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #bacbd5; font-size: 11px; line-height: 1.65; }
.hero__note strong { color: #fff; font-size: 12px; }
.hero__note-mark { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #e6b387; font-size: 13px; }

.hero-visual { position: relative; width: 100%; max-width: 490px; margin: 0 0 0 auto; padding: 12px 13px 43px 0; }
.hero-visual__frame { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1 / 1.08; background: #d5c3af; clip-path: polygon(9% 0,100% 0,100% 88%,91% 100%,0 100%,0 10%); }
.hero-visual__frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 48%, rgba(7,31,51,.28)); pointer-events: none; }
.hero-visual__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual__corner { position: absolute; z-index: 2; top: 0; left: 0; width: 68px; height: 5px; background: var(--warm); }
.hero-visual__caption { position: absolute; z-index: 3; left: -38px; bottom: 69px; display: flex; align-items: flex-start; gap: 12px; padding: 17px 19px; background: #fff; color: #57656d; font-family: var(--serif); font-size: 14px; line-height: 1.45; box-shadow: 0 12px 38px rgba(0,0,0,.16); }
.hero-visual__caption strong { color: var(--navy); font-size: 16px; font-weight: 600; }
.caption-rule { width: 2px; height: 39px; background: var(--warm); }
.hero-stamp { position: absolute; z-index: 3; top: 34px; right: -23px; width: 99px; height: 99px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.72); background: var(--warm); color: #fff; text-align: center; transform: rotate(4deg); box-shadow: 0 8px 22px rgba(4,22,36,.14); }
.hero-stamp strong { font-family: 'Manrope', Arial, sans-serif; font-size: 19px; letter-spacing: .04em; }
.hero-stamp small { margin-top: 5px; font-size: 8px; line-height: 1.35; letter-spacing: .13em; }
.image-credit { position: absolute; right: 18px; bottom: 14px; color: rgba(255,255,255,.66); font-size: 9px; letter-spacing: .035em; }
.hero__bottom { position: relative; z-index: 1; min-height: 50px; display: flex; align-items: center; gap: 20px; color: #a9bfcd; border-top: 1px solid rgba(255,255,255,.16); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.hero__bottom-line { flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.hero__bottom a { color: #fff; text-decoration: none; font-size: 10px; letter-spacing: .05em; }
.hero__bottom a span { color: #e6b387; margin-left: 8px; }

.section-pad { padding-block: clamp(76px, 9vw, 116px); }
.services { background: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading h2, .contact-details__heading h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.4vw, 53px); letter-spacing: -.06em; line-height: 1.08; }
.section-heading__aside { width: min(340px, 38%); margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 249px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 25px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.42); transition: background .2s ease, transform .2s ease; }
.service-card:hover { position: relative; z-index: 1; background: #fff; transform: translateY(-3px); }
.service-card__top { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; color: var(--blue); }
.service-number { color: #82919a; font-family: var(--serif); font-style: italic; font-size: 12px; }
.service-card__top svg { width: 43px; height: 43px; }
.service-card h3 { margin: 18px 0 8px; color: var(--navy); font-family: 'Manrope', Arial, sans-serif; font-size: 16px; line-height: 1.35; letter-spacing: -.025em; }
.service-card p { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.service-card > a { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: var(--blue); text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.service-card > a:hover { color: var(--warm); }
.service-card > a span { font-size: 13px; }

.approach { background: var(--navy-deep); color: #fff; }
.approach__layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(56px, 9vw, 140px); align-items: start; }
.approach__intro { max-width: 420px; }
.approach h2 { margin: 0 0 23px; font-size: clamp(37px, 4.7vw, 56px); line-height: 1.05; letter-spacing: -.06em; }
.approach__intro > p:not(.eyebrow) { margin-bottom: 25px; color: #c1d0d8; font-size: 13px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.text-link--light { color: #fff; }
.text-link span { color: #e5b181; font-size: 15px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 21px 0 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.steps li > span { color: #e0a877; font-family: var(--serif); font-size: 14px; font-style: italic; }
.steps h3 { margin: 0 0 5px; font-family: 'Manrope', Arial, sans-serif; font-size: 15px; font-weight: 600; }
.steps p { margin: 0; color: #b9cbd5; font-size: 11px; line-height: 1.7; }

.contact { background: var(--paper); }
.contact-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 320px; padding: clamp(34px, 6vw, 72px); background: var(--warm-pale); }
.contact-banner__copy { position: relative; z-index: 2; max-width: 600px; }
.contact-banner .eyebrow { margin-bottom: 16px; }
.contact-banner h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(34px, 4.4vw, 51px); line-height: 1.06; letter-spacing: -.06em; }
.contact-banner__copy > p:not(.eyebrow) { margin: 0; color: #69757d; font-size: 13px; line-height: 1.7; }
.contact-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button--navy { background: var(--navy); color: #fff; }
.button--navy:hover { background: var(--blue); }
.button--light-outline { border-color: rgba(16,54,87,.32); color: var(--navy); }
.button--light-outline:hover { background: #fff; }
.contact-banner__ornament { position: absolute; right: 7%; top: 50%; width: clamp(150px, 21vw, 252px); color: rgba(16,54,87,.12); transform: translateY(-50%) rotate(-7deg); }
.contact-banner__ornament svg { width: 100%; }
.contact-details { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); gap: 25px; align-items: start; padding-top: 54px; }
.contact-details__heading .eyebrow { margin-bottom: 12px; }
.contact-details__heading h2 { font-size: 23px; letter-spacing: -.04em; }
.contact-item { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.contact-item__icon { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 15px; font-weight: 700; }
.contact-item > div { min-width: 0; }
.contact-label { display: block; margin: 2px 0 8px; color: #71808a; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.contact-item a { color: var(--navy); font-size: 11px; line-height: 1.7; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--warm); }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer__inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand--footer .brand__mark { width: 39px; height: 39px; }
.brand--footer .brand__text strong { font-size: 13px; }
.brand--footer .brand__text small { font-size: 8px; }
.footer__inner > p { margin: 0; color: #6f7b83; font-family: var(--serif); font-size: 14px; font-style: italic; }
.footer__copy { color: #7f8b93; font-size: 9px; letter-spacing: .05em; }

@media (max-width: 940px) {
  .container { width: min(100% - 42px, 760px); }
  .header__inner { min-height: 74px; gap: 15px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 11px; }
  .header-call { padding: 11px 12px; font-size: 11px; }
  .hero__layout { grid-template-columns: 1.05fr .95fr; gap: 30px; padding-top: 68px; }
  .hero h1 { font-size: clamp(46px, 6vw, 66px); }
  .hero__lead { font-size: 14px; }
  .hero-visual__caption { left: -18px; }
  .service-card { padding-inline: 19px; }
  .contact-details { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .contact-details__heading { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { scroll-padding-top: 72px; }
  .container { width: calc(100% - 38px); }
  .topline { font-size: 9px; }
  .topline__inner { min-height: 30px; }
  .header__inner { min-height: 68px; }
  .brand { gap: 7px; }
  .brand__mark { width: 39px; height: 39px; }
  .brand__text strong { font-size: 13px; }
  .brand__text small { margin-top: 4px; font-size: 8px; }
  .desktop-nav { display: none; }
  .header-call { margin-left: auto; padding: 10px 11px; font-size: 10px; }
  .header-call span { font-size: 14px; }
  .mobile-menu { position: relative; display: block; flex: 0 0 auto; }
  .mobile-menu summary { width: 39px; height: 39px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dce3e7; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 16px; height: 1.5px; background: var(--navy); }
  .mobile-menu__panel { position: absolute; top: calc(100% + 12px); right: 0; width: 224px; display: flex; flex-direction: column; gap: 0; padding: 9px 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px rgba(11,41,67,.14); }
  .mobile-menu__panel a { padding: 13px 0; border-bottom: 1px solid #edf0ef; font-size: 12px; }
  .mobile-menu__panel a:last-child { border-bottom: 0; }
  .hero__layout { grid-template-columns: 1fr; gap: 43px; padding-top: 58px; padding-bottom: 45px; }
  .hero h1 { font-size: clamp(54px, 14vw, 74px); }
  .hero__lead { max-width: 420px; margin-top: 19px; font-size: 14px; line-height: 1.75; }
  .hero__actions { margin-top: 23px; }
  .button { min-height: 46px; padding-inline: 14px; font-size: 11px; }
  .hero__note { margin-top: 24px; }
  .hero-visual { width: calc(100% - 18px); max-width: 440px; margin: 0 auto; padding: 7px 8px 38px 0; }
  .hero-visual__frame { aspect-ratio: 1.12 / 1; }
  .hero-visual__caption { left: -9px; bottom: 56px; padding: 12px 13px; font-size: 12px; }
  .hero-visual__caption strong { font-size: 14px; }
  .hero-stamp { top: 17px; right: -12px; width: 77px; height: 77px; }
  .hero-stamp strong { font-size: 15px; }
  .hero-stamp small { font-size: 7px; }
  .image-credit { right: 12px; bottom: 7px; }
  .hero__bottom { min-height: 43px; gap: 10px; font-size: 7px; letter-spacing: .1em; }
  .hero__bottom a { font-size: 9px; }
  .section-pad { padding-block: 70px; }
  .section-heading { display: block; margin-bottom: 29px; }
  .section-heading h2 { font-size: 38px; }
  .desktop-break { display: none; }
  .section-heading__aside { width: min(100%, 440px); margin-top: 15px; font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 20px 21px 19px; }
  .service-card__top svg { width: 39px; height: 39px; }
  .service-card h3 { margin-top: 12px; }
  .approach__layout { grid-template-columns: 1fr; gap: 36px; }
  .approach h2 { font-size: 43px; }
  .steps li { grid-template-columns: 39px 1fr; gap: 9px; padding-block: 17px; }
  .contact-banner { min-height: 0; padding: 31px 22px; }
  .contact-banner__ornament { top: auto; right: -25px; bottom: -24px; width: 145px; transform: rotate(-7deg); }
  .contact-banner h2 { max-width: 360px; font-size: 36px; }
  .contact-banner__copy > p:not(.eyebrow) { max-width: 300px; font-size: 12px; }
  .contact-banner__actions { position: relative; z-index: 1; max-width: 265px; }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 23px 13px; padding-top: 37px; }
  .contact-details__heading h2 { font-size: 21px; }
  .contact-item { gap: 8px; }
  .contact-item__icon { flex-basis: 26px; width: 26px; height: 26px; font-size: 13px; }
  .contact-label { font-size: 8px; }
  .contact-item a { font-size: 10px; }
  .footer__inner { min-height: 118px; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 17px; }
  .footer__inner > p { order: 3; flex: 0 0 100%; font-size: 12px; }
  .footer__copy { font-size: 8px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 30px); }
  .header-call { padding-inline: 8px; font-size: 9px; }
  .hero h1 { font-size: 50px; }
  .hero__bottom > span:first-child { max-width: 130px; line-height: 1.4; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details__heading { grid-column: auto; }
  .footer__copy { max-width: 122px; text-align: right; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* Real-work gallery */
.work { background: #fff; }
.work .section-heading { margin-bottom: 35px; }
.work-feature { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(28px, 6vw, 76px); align-items: center; padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.work-feature__image { position: relative; overflow: hidden; aspect-ratio: .88 / 1; background: #d9d9d5; }
.work-feature__image::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(180deg, transparent, rgba(8, 31, 50, .5)); pointer-events: none; }
.work-feature__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.work-feature__image > span { position: absolute; z-index: 1; left: 18px; bottom: 17px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.work-feature__copy { padding: 10px clamp(4px, 2.6vw, 28px); }
.work-feature__copy .eyebrow { margin-bottom: 16px; }
.work-feature__copy h3 { max-width: 390px; margin: 0 0 15px; color: var(--navy); font-family: 'Manrope', Arial, sans-serif; font-size: clamp(29px, 3.5vw, 43px); line-height: 1.08; letter-spacing: -.055em; }
.work-feature__copy > p:not(.eyebrow) { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.work-feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.work-feature__tags span { padding: 8px 11px; border: 1px solid #d8e1e6; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.work-feature__link { margin-top: 25px; color: var(--navy); }
.work-feature__link span { color: var(--warm); }

@media (max-width: 940px) {
  .work-feature { gap: 26px; }
  .work-feature__copy { padding-inline: 4px; }
}

@media (max-width: 700px) {
  .work .section-heading { margin-bottom: 25px; }
  .work .section-heading h2 { font-size: 37px; }
  .work-feature { grid-template-columns: 1fr; gap: 22px; padding: 13px; }
  .work-feature__image { aspect-ratio: .92 / 1; }
  .work-feature__copy { padding: 4px 7px 12px; }
  .work-feature__copy h3 { font-size: 32px; }
  .work-feature__copy > p:not(.eyebrow) { font-size: 12px; }
  .work-feature__tags { margin-top: 18px; }
  .work-feature__link { margin-top: 20px; }
}


/* Two-image project gallery with undistorted, responsive portrait frames */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.work-card { min-width: 0; padding: 13px; border: 1px solid var(--line); background: var(--paper); }
.work-card__image { position: relative; overflow: hidden; aspect-ratio: .88 / 1; background: #d9d9d5; }
.work-card__image::after { position: absolute; inset: 55% 0 0; content: ''; background: linear-gradient(180deg, transparent, rgba(8, 31, 50, .55)); pointer-events: none; }
.work-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.work-card__image--ceiling img { object-position: center 34%; }
.work-card__image > span { position: absolute; z-index: 1; left: 16px; bottom: 15px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.work-card__image--before-after { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--before-after img { object-fit: contain; }
.work-card__image--resin-progress { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--resin-progress img { object-fit: contain; }
.work-card__image--painting-before-after { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--painting-before-after img { object-fit: contain; }
.work-card__image--cappotto-overview { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--cappotto-overview img { object-fit: contain; }
.work-card__image--interior-painting { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--interior-painting img { object-fit: contain; }
.work-card__image--wood-roof { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--wood-roof img { object-fit: contain; }
.work-card__image--construction { aspect-ratio: 3 / 4; background: #e5e3dd; }
.work-card__image--construction img { object-fit: cover; }
.work-card__image--roof-tiles { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--roof-tiles img { object-fit: contain; }
.work-card__image--work-collage { aspect-ratio: 16 / 9; background: #e5e3dd; }
.work-card__image--work-collage img { object-fit: contain; }
.work-card__image--work-collage-4x3 { aspect-ratio: 4 / 3; }
.work-card__image .work-phase { top: 13px; bottom: auto; padding: 7px 10px; background: rgba(16,54,87,.94); color: #fff; font-size: 9px; letter-spacing: .12em; }
.work-card__image .work-phase--before { left: 2%; }
.work-card__image .work-phase--after { left: 29%; }
.work-card__image--resin-progress .work-phase--before { left: 2%; top: 2%; }
.work-card__image--resin-progress .work-phase--during { left: 44%; top: 43%; }
.work-card__image--resin-progress .work-phase--after { left: 2%; top: 52%; }
.work-card__image--painting-before-after .work-phase--before { left: 2%; top: 2%; }
.work-card__image--painting-before-after .work-phase--after { left: 36%; top: 2%; }
.work-card__image--cappotto-overview .work-phase--before { left: 2%; top: 2%; }
.work-card__image--cappotto-overview .work-phase--after { left: 52%; top: 2%; }
.work-card__image--paint-stage .work-phase { left: 2%; }
.work-card__copy { padding: 22px 13px 14px; }
.work-card__copy .eyebrow { margin-bottom: 12px; font-size: 9px; }
.work-card__copy h3 { margin: 0 0 10px; color: var(--navy); font-family: 'Manrope', Arial, sans-serif; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.18; letter-spacing: -.045em; }
.work-card__copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.work-card__tags span { padding: 7px 9px; border: 1px solid #d8e1e6; color: var(--blue); font-size: 8px; font-weight: 700; letter-spacing: .035em; }
.work-card__link { margin-top: 19px; color: var(--navy); }
.work-card__link span { color: var(--warm); }

@media (max-width: 940px) {
  .work-grid { gap: 16px; }
  .work-card { padding: 10px; }
  .work-card__copy { padding: 18px 8px 12px; }
}

@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; gap: 18px; }
  .work-card { padding: 11px; }
  .work-card__image { aspect-ratio: .92 / 1; }
  .work-card__image--before-after { aspect-ratio: 16 / 9; }
  .work-card__image--resin-progress { aspect-ratio: 16 / 9; }
  .work-card__image--painting-before-after { aspect-ratio: 16 / 9; }
  .work-card__image--cappotto-overview { aspect-ratio: 16 / 9; }
  .work-card__image--interior-painting { aspect-ratio: 16 / 9; }
  .work-card__image--wood-roof { aspect-ratio: 16 / 9; }
  .work-card__image--construction { aspect-ratio: 3 / 4; }
  .work-card__image--roof-tiles { aspect-ratio: 16 / 9; }
  .work-card__image--work-collage { aspect-ratio: 16 / 9; }
  .work-card__image--work-collage-4x3 { aspect-ratio: 4 / 3; }
  .work-card__copy { padding: 17px 8px 11px; }
  .work-card__copy h3 { font-size: 25px; }
}


/* Keep the supplied exterior-work photograph at its native landscape ratio. */
.work-card__image--landscape { aspect-ratio: 4 / 3; }
.work-card__image--landscape img { object-position: center; }
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* Keep the final resin-floor service in the middle column. */
.service-card--last { grid-column: 2; }
@media (max-width: 700px) {
  .service-card--last { grid-column: auto; }
}
