:root {
  --green-900: #173b2b;
  --green-800: #24523a;
  --green-700: #356a49;
  --green-600: #5c9e69;
  --green-100: #eef3ee;
  --green-50: #f6f7f3;
  --charcoal: #202a23;
  --slate-700: #444e47;
  --slate-600: #566259;
  --slate-400: #78827b;
  --slate-200: #d9dfd8;
  --slate-100: #edf0eb;
  --slate-50: #f7f8f5;
  --white: #fff;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, monospace;
  --max-width: 1240px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--charcoal); background: #fff; -webkit-font-smoothing: antialiased; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; line-height: 1.16; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { color: var(--slate-700); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #986325; outline-offset: 5px; }
.container, .nav, .footer-inner, .cta-inner { max-width: var(--max-width); padding-left: 28px; padding-right: 28px; margin: 0 auto; }
.section { padding: 76px 0; }
.section-alt { background: var(--slate-50); }
.eyebrow { color: var(--green-700); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; margin-bottom: 16px; }
.section-head { max-width: 730px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { max-width: 600px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 3px; font-weight: 650; font-size: .9rem; line-height: 1.5; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn-primary { color: #fff; background: var(--green-800); }
.btn-primary:hover { background: var(--green-900); }
.btn-secondary, .btn-ghost { color: var(--green-900); background: transparent; border-color: #acb9ae; }
.btn-secondary:hover, .btn-ghost:hover { background: #e9eee7; border-color: var(--green-700); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 18px; background: #fff; color: var(--green-900); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--slate-200); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; flex-shrink: 0; }
.brand-logo { width: 202px; height: auto; aspect-ratio: 610/235; }
.nav-links { display: flex; list-style: none; padding: 0; margin: 0; gap: 25px; }
.nav-links a { display: inline-block; padding: 10px 0; color: var(--slate-700); font-size: .9rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--green-800); text-decoration: underline; text-underline-offset: 7px; }
.nav-cta { display: flex; gap: 20px; align-items: center; }
.nav-phones { display: flex; flex-direction: column; gap: 4px; }
.nav-phone-alternate { color: var(--slate-600); }
.nav-phone { font-weight: 600; white-space: nowrap; font-size: .85rem; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: none; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; padding: 12px 24px 24px; border-top: 1px solid var(--slate-200); max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 18px; }
.mobile-menu li a { display: block; padding: 10px 0; }
.mobile-menu > .btn { width: 100%; margin-top: 8px; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; background: #090d0b; color: #fff; }
.hero-visual { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero-visual img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,13,11,.98) 0%, rgba(9,13,11,.94) 30%, rgba(9,13,11,.78) 47%, rgba(9,13,11,.3) 70%, rgba(9,13,11,.08) 100%), linear-gradient(0deg, rgba(9,13,11,.65), transparent 40%); pointer-events: none; }
.home-hero > .hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 660px; padding-top: 78px; padding-bottom: 78px; }
.home-hero .hero-title { min-width: 0; max-width: 620px; }
.home-hero .hero-title h1 { max-width: 620px; color: #fff; font-size: clamp(3.2rem, 5.1vw, 4.75rem); font-weight: 750; line-height: 1.07; letter-spacing: -.04em; }
.home-hero .hero-title h1 span { color: #b9dda8; }
.home-hero .hero-title .eyebrow { margin-bottom: 22px; color: #dcebd7; font-size: .73rem; letter-spacing: .11em; }
.home-hero .hero-intro { min-width: 0; max-width: 495px; margin-top: 26px; }
.home-hero .hero-intro > p { margin-bottom: 26px; color: #e1e7e2; font-size: 1.03rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero .btn-primary { gap: 18px; background: #b9dda8; border-color: #b9dda8; color: #132318; }
.home-hero .btn-primary:hover { background: #d1e9c7; border-color: #d1e9c7; }
.home-hero .btn-secondary { border-color: #c4d1c6; color: #fff; background: rgba(9,13,11,.35); }
.home-hero .btn-secondary:hover { background: #1d3325; border-color: #fff; }
.alternate-contact { margin: 14px 0 0; font-size: .88rem; color: var(--slate-600); }
.alternate-contact a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }
.home-hero .hero-intro .alternate-contact { margin: 20px 0 0; color: #d3ddd2; font-size: .88rem; }
.home-hero .alternate-contact a { color: #fff; }
.trust-band { border-bottom: 1px solid var(--slate-200); }
.trust-band-inner { max-width: var(--max-width); padding: 19px 28px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; }
.trust-item { color: var(--slate-600); font-size: .76rem; }
.service-overview { display: grid; grid-template-columns: .85fr 1.4fr; gap: 90px; align-items: start; }
.service-overview .section-head p { margin-top: 16px; }
.service-list { border-top: 1px solid var(--slate-200); }
.service-row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--slate-200); }
.service-row h3 { font-size: 1.1rem; }
.service-row p { font-size: .9rem; }
.service-row > span { color: var(--green-800); font-size: 1.25rem; }
.service-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 30px; }
.work-heading p { max-width: 370px; font-size: .9rem; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; }
.work-photo a { display: block; }
.work-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: #e5e8e3; }
.work-photo figcaption { padding-top: 12px; font-size: .87rem; color: var(--charcoal); }
.work-photo figcaption span { display: block; margin-top: 2px; font-size: .76rem; color: var(--slate-600); }
.work-grid .work-photo:first-child { grid-column: 1/-1; }
.work-grid .work-photo:first-child img { aspect-ratio: 2/1; object-fit: cover; object-position: center 56%; }
.work-grid .work-photo:last-child:nth-child(even) { grid-column: 1/-1; }
.work-grid .work-photo:last-child:nth-child(even) img { aspect-ratio: 2/1; object-fit: cover; object-position: center 56%; }
.process-line { display: grid; grid-template-columns: .9fr 1.4fr; gap: 90px; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { counter-increment: process; padding: 0 0 24px 44px; position: relative; }
.process-list li:last-child { padding-bottom: 0; }
.process-list li::before { content: counter(process, decimal-leading-zero); position: absolute; left: 0; top: 2px; color: var(--green-700); font-size: .8rem; font-weight: 600; }
.process-list h3 { font-size: 1.1rem; margin-bottom: 7px; }
.process-list p { font-size: .92rem; }
/* Explicit contrast for every heading, paragraph and action on green. */
.hero-compact { background: #173b2b; padding: 53px 0 56px; color: #fff; }
.hero-compact h1 { color: #fff; font-size: clamp(2.25rem, 4.5vw, 3.5rem); max-width: 850px; margin-bottom: 20px; }
.hero-compact .eyebrow, .hero-compact .eyebrow-light { color: #d7e9d8; }
.hero-compact .hero-sub { color: #eef4ec; max-width: 680px; font-size: 1.05rem; }
.cta-band { background: #173b2b; padding: 54px 0; color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 45px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.cta-band p { color: #eef4ec; max-width: 550px; font-size: 1rem; }
.cta-actions { justify-self: end; text-align: right; }
.cta-band .btn { color: #173b2b; background: #fff; border-color: #fff; min-width: 185px; }
.cta-band .btn:hover { color: #173b2b; background: #eaf1e7; border-color: #eaf1e7; }
.cta-band .small { color: #e0ebdd; font-size: .85rem; margin-top: 14px; }
.cta-band .small a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.split > *, .image-split > * { min-width: 0; }
.image-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-narrative { font-size: 1.03rem; margin-top: 18px; }
.image-split-photo img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--slate-100); }
.image-split-photo figcaption { padding-top: 10px; color: var(--slate-600); font-size: .8rem; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.about-details h2 { margin-bottom: 20px; }
.about-details p + p { margin-top: 16px; }
.about-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.about-photo-pair img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #e5e8e3; }
.about-photo-pair figcaption { padding-top: 10px; font-size: .83rem; color: var(--slate-600); }
.service-banner { margin-bottom: 40px; }
.service-banner img { width: 100%; height: auto; }
.service-banner figcaption { margin-top: 10px; color: var(--slate-600); font-size: .8rem; }
.detailed-service { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 40px 0; border-top: 1px solid var(--slate-200); align-items: center; }
.detailed-service h2 { font-size: 1.9rem; margin-bottom: 18px; }
.detailed-service p { margin-bottom: 16px; }
.detailed-service .common { font-size: .88rem; color: var(--slate-600); }
.detailed-service img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #e5e8e3; }
.detailed-service figcaption { margin-top: 10px; font-size: .8rem; color: var(--slate-600); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; border-bottom: 1px solid var(--slate-200); }
.contact-block { padding: 0 26px 28px; min-width: 0; }
.contact-block:first-child { padding-left: 0; }
.contact-block .label { text-transform: uppercase; letter-spacing: .1em; color: var(--slate-600); font-size: .72rem; margin-bottom: 10px; }
.contact-block .value { color: var(--green-900); font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-block .sub { color: var(--slate-600); font-size: .82rem; margin-top: 5px; }
.contact-block .alternate-phone { margin-top: 18px; }
.contact-block a:hover { text-decoration: underline; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
.info-card { border-top: 1px solid var(--slate-200); padding-top: 22px; }
.info-card h4 { margin-bottom: 13px; }
.info-card p { font-size: .93rem; }
.info-card .small { color: var(--slate-600); font-size: .8rem; margin-top: 12px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; gap: 20px; }
.form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { min-width: 0; }
.form-row > .field { display: flex; flex-direction: column; }
.form-row > .field > label { flex: 1; }
.field label { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; margin-bottom: 7px; font-size: .87rem; line-height: 1.45; font-weight: 600; color: var(--charcoal); }
.field .field-label-text { display: block; }
.field .opt { display: block; flex: none; font-size: .78rem; line-height: 1.4; font-weight: 400; color: var(--slate-600); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 48px; border: 1px solid #b6c2b6; border-radius: 3px; padding: 12px; color: var(--charcoal); background: #fff; font-size: 16px; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green-700); outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder { color: #67736b; }
.form-submit-row .btn { background: var(--green-800); color: #fff; }
.form-microcopy { color: var(--slate-600); font-size: .8rem; margin-top: 14px; }
.form-microcopy a, .form-result a { text-decoration: underline; }
.form-result { padding: 16px; margin-top: 18px; background: var(--green-100); border-left: 3px solid var(--green-700); }
.reassurance { padding: 30px 24px; text-align: center; color: var(--green-800); font-size: .92rem; background: var(--slate-50); }
.site-footer { color: var(--charcoal); background: #f4f5f0; padding: 46px 0 24px; border-top: 1px solid var(--slate-200); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .65fr 1.25fr .8fr; gap: 40px; padding-bottom: 34px; }
.footer-brand .logo { display: inline-flex; background: transparent; padding: 0; border: 0; border-radius: 0; margin-bottom: 18px; }
.footer-brand .brand-logo { width: 232px; height: auto; }
.footer-brand .description { font-size: .85rem; max-width: 265px; }
.footer-col h4 { font-family: var(--font-body); color: var(--green-900); font-size: .85rem; margin: 5px 0 16px; letter-spacing: 0; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col p, .footer-col a, .footer-col li { font-size: .82rem; color: var(--slate-700); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--green-900); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--slate-200); padding-top: 22px; color: var(--slate-600); font-size: .73rem; }
.hero-heading > *, .service-overview > *, .process-line > *, .cta-inner > *, .about-details > *, .detailed-service > *, .work-grid > *, .about-photo-pair > *, .footer-grid > *, .service-row > * { min-width: 0; }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 1059px) {
  .hero-visual::after { background: linear-gradient(90deg, rgba(9,13,11,.97) 0%, rgba(9,13,11,.94) 40%, rgba(9,13,11,.78) 66%, rgba(9,13,11,.2) 100%); }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu.open:not([hidden]) { display: block; }
  .service-overview, .process-line { gap: 45px; }
  .service-row { grid-template-columns: 1fr auto; }
  .service-row p { grid-column: 1; }
  .service-row > span { grid-column: 2; grid-row: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .home-hero { display: flex; flex-direction: column; }
  .home-hero > .hero-content { display: contents; }
  .home-hero .hero-title { order: 1; width: 100%; max-width: none; padding: 36px 20px 0; position: relative; z-index: 1; }
  .home-hero .hero-title .eyebrow { margin-bottom: 16px; font-size: .66rem; letter-spacing: .075em; }
  .home-hero .hero-title h1 { font-size: clamp(2.35rem, 7.4vw, 3.5rem); max-width: 640px; }
  .hero-visual { order: 2; position: relative; inset: auto; margin-top: 20px; width: 100%; }
  .hero-visual img { width: 100%; height: auto; object-fit: contain; }
  .hero-visual::after { background: linear-gradient(180deg, #090d0b 0%, rgba(9,13,11,0) 21%, rgba(9,13,11,0) 66%, #090d0b 100%); }
  .home-hero .hero-intro { order: 3; width: 100%; max-width: none; margin-top: 0; padding: 12px 20px 36px; position: relative; z-index: 1; }
  .home-hero .hero-intro > p { max-width: 580px; margin-bottom: 22px; font-size: .98rem; }
  .home-hero .hero-actions .btn { flex: 1 1 160px; }
  .home-hero .hero-intro .alternate-contact { margin-top: 18px; }
  .container, .nav, .footer-inner, .cta-inner { padding-left: 20px; padding-right: 20px; }
  .brand-logo { width: 185px; }
  .nav { padding-top: 10px; padding-bottom: 10px; }
  .section { padding: 48px 0; }
  .service-overview, .process-line, .split, .image-split, .about-details, .detailed-service { grid-template-columns: 1fr; gap: 30px; }
  .service-overview .section-head { margin-bottom: 0; }
  .work-heading { display: block; }
  .work-heading p { margin-top: 16px; }
  .work-grid { gap: 26px 16px; }
  .work-grid .work-photo:first-child img, .work-grid .work-photo:last-child:nth-child(even) img { aspect-ratio: 4/3; object-fit: contain; }
  .cta-inner { grid-template-columns: 1fr; gap: 26px; }
  .cta-actions { justify-self: start; text-align: left; }
  .hero-compact { padding: 38px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-block, .contact-block:first-child { padding: 20px 0; border-top: 1px solid var(--slate-200); }
  .info-cards { grid-template-columns: 1fr; gap: 26px; }
  .form-row-2 { grid-template-columns: minmax(0, 1fr); }
  .footer-col li { margin-bottom: 0; }
  .footer-col li a { display: inline-block; min-height: 44px; padding: 10px 0; }
  .detailed-service { padding: 28px 0; }
  .detailed-service h2 { font-size: 1.55rem; }
}
@media (max-width: 520px) {
  .work-grid, .about-photo-pair, .form-row-2, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid .work-photo { grid-column: auto !important; }
  .footer-grid { gap: 26px; }
  .trust-band-inner { padding: 16px 20px; gap: 8px; }
  .trust-item { flex: 1 1 140px; font-size: .7rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

.work-grid .work-photo-wide { grid-column: 1/-1; }
.work-grid .work-photo-wide img { aspect-ratio: 1280/492; object-fit: contain; }

/* Load categories stay typographic until the company gallery photos arrive. */
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #b9c8ba; border-bottom: 1px solid #b9c8ba; }
.category-card { min-width: 0; padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; transition: background-color .2s; }
.category-card + .category-card { border-left: 1px solid #b9c8ba; }
.category-number { font-family: var(--font-mono); font-size: .78rem; color: var(--green-700); margin-bottom: 32px; }
.category-card h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.2; max-width: 340px; overflow-wrap: break-word; }
.category-link { margin-top: auto; padding-top: 30px; font-size: .86rem; font-weight: 600; color: var(--green-800); }
.category-link > span { display: inline-block; margin-left: 12px; }
.category-card:hover { background: #eaf0e7; }
.category-card:hover .category-link { text-decoration: underline; text-underline-offset: 4px; }
.back-link { display: inline-block; padding: 4px 0; margin-bottom: 28px; color: #e1ebdd; font-size: .87rem; text-decoration: underline; text-underline-offset: 4px; }
.category-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery-empty { grid-column: 1/-1; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); padding: 38px 0; }
.gallery-empty-label { display: block; font-size: 1.2rem; font-weight: 600; color: var(--green-900); margin-bottom: 10px; }
.category-next { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.category-next p { margin-top: 18px; }
.category-next .btn { gap: 20px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: 30px; padding-bottom: 30px; }
.category-nav a { min-height: 44px; padding: 10px 0; font-size: .87rem; color: var(--green-800); text-decoration: underline; text-underline-offset: 4px; }
.category-nav a[aria-current='page'] { color: var(--charcoal); font-weight: 700; }

/* Only opacity and transforms animate; no scroll handlers or layout animation. */
.motion-item { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2,.65,.3,1); }
.motion-item.motion-pending { opacity: 0; transform: translateY(18px); }
.motion-item:focus-within { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .work-photo a, .image-split-photo, .about-photo-pair figure, .detailed-service figure, .service-banner { overflow: hidden; }
  .work-photo img, .image-split-photo img, .about-photo-pair img, .detailed-service img, .service-banner img { transition: transform .5s ease; }
  .work-photo a:hover img, .work-photo a:focus-visible img,
  .image-split-photo:hover img, .about-photo-pair figure:hover img,
  .detailed-service figure:hover img, .service-banner:hover img { transform: scale(1.035); }
}
@media (max-width: 760px) {
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-card { min-height: 0; padding: 24px 0; }
  .category-card + .category-card { border-left: none; border-top: 1px solid #b9c8ba; }
  .category-number { margin-bottom: 16px; }
  .category-card h3 { max-width: 100%; font-size: 1.65rem; }
  .category-link { padding-top: 22px; }
  .category-next { flex-direction: column; align-items: flex-start; }
  .category-gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .motion-item.motion-pending { opacity: 1; transform: none; }
}

.gallery-note { margin: -10px 0 26px; font-size: .9rem; color: var(--slate-600); }
.category-gallery { align-items: start; }

.category-gallery .gallery-photo-wide { grid-column: 1 / -1; }
.category-gallery .gallery-photo-wide img { aspect-ratio: auto; }

/* Full background hero with a modest rightward photo offset. */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; }
.category-card { padding-top: 38px; }
.category-card h3 { margin-bottom: 26px; }
.process-list li { padding-left: 0; }
.process-list li::before { content: none; }
@media (min-width: 761px) {
  .home-hero .hero-visual { inset: 0; width: 100%; }
  .home-hero .hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: translateX(12px); }
  .home-hero .hero-visual::after { background: linear-gradient(90deg, #090d0b 0%, rgba(9,13,11,.96) 24%, rgba(9,13,11,.86) 35%, rgba(9,13,11,.42) 49%, rgba(9,13,11,.06) 69%), linear-gradient(0deg, rgba(9,13,11,.55), transparent 40%); }
  .home-hero .hero-title { max-width: 510px; }
  .home-hero .hero-title h1 { max-width: 510px; font-size: clamp(2.8rem, 4.4vw, 4.1rem); letter-spacing: -.035em; }
  .home-hero .hero-intro { max-width: 390px; }
  .home-hero .hero-title .eyebrow { max-width: 340px; }
}
@media (min-width: 761px) and (max-width: 1059px) {
  .home-hero .hero-title, .home-hero .hero-title h1 { max-width: 330px; }
  .home-hero .hero-title h1 { font-size: 2.7rem; }
  .home-hero .hero-intro { max-width: 310px; }
  .home-hero .hero-actions { flex-direction: column; align-items: flex-start; }
}

.mobile-menu li a[aria-current] { color: var(--green-800); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }



@media (min-width: 1060px) { .home-hero > .hero-content { min-height: 560px; padding-top: 48px; padding-bottom: 48px; } }

.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.btn .icon { margin-left: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) {
  .home-hero { display: block; }
  .home-hero .hero-visual { position: absolute; inset: 0 0 auto; width: 100%; height: 570px; margin: 0; }
  .home-hero .hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transform: none; }
  .home-hero .hero-visual::after { background: linear-gradient(180deg, rgba(9,13,11,.02) 0%, rgba(9,13,11,.08) 35%, rgba(9,13,11,.48) 57%, rgba(9,13,11,.93) 83%, #090d0b 100%); }
  .home-hero > .hero-content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 740px; padding: 350px 20px 30px; }
  .home-hero .hero-title { display: flex; flex-direction: column; order: initial; padding: 0; width: 100%; max-width: none; }
  .home-hero .hero-title h1 { order: 1; font-size: clamp(2.15rem, 9.5vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
  .home-hero .hero-title .eyebrow { order: 2; margin: 22px 0 0; color: #dcebd7; font-size: .68rem; line-height: 1.6; letter-spacing: .06em; max-width: 340px; }
  .home-hero .hero-intro { order: initial; padding: 0; margin-top: 16px; width: 100%; max-width: none; }
  .home-hero .hero-intro > p { font-size: .94rem; line-height: 1.6; margin: 0 0 22px; }
  .home-hero .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .home-hero .hero-actions .btn { padding: 12px 8px; font-size: .8rem; min-height: 50px; gap: 6px; white-space: normal; text-align: center; }
}

.hero-credentials { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(220,235,215,.28); color: #e1e7e2; font-size: .75rem; line-height: 1.6; }
.hero-credentials .company-domain { flex-basis: 100%; overflow-wrap: anywhere; }
.footer-company-name { font-weight: 700; color: var(--green-900); margin-bottom: 4px; }
.footer-authority { margin-bottom: 14px; }
.capabilities-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.capability-group { min-width: 0; border-top: 1px solid var(--slate-200); padding-top: 26px; }
.capability-group h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }
.capability-list { margin: 0; padding-left: 22px; color: var(--slate-700); }
.capability-list li { padding-left: 5px; margin-bottom: 16px; }
.capability-list li::marker { color: var(--green-700); }
.contact-block .contact-email { font-size: 1.05rem; }
.quote-emails { margin-top: 20px; font-size: .88rem; overflow-wrap: anywhere; }
.quote-emails p + p { margin-top: 10px; }
.quote-emails a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .capabilities-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; } .hero-credentials { gap: 8px 16px; } }

/* Homepage category covers use only the supplied gallery photographs. */
.category-grid { gap: 24px; border: 0; }
.category-card { padding: 0; min-height: 0; width: 100%; border: 1px solid var(--slate-200); background: #fff; }
.category-card + .category-card { border: 1px solid var(--slate-200); }
.category-image { display: block; width: 100%; overflow: hidden; background: #e5e8e3; }
.category-image img { width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; }
.category-card h3 { max-width: none; padding: 24px 24px 0; margin: 0; font-size: clamp(1.4rem, 2vw, 1.65rem); }
.category-card .category-link { padding: 24px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .category-image img { transition: transform .5s ease; }
  .category-card:hover .category-image img, .category-card:focus-visible .category-image img { transform: scale(1.035); }
}

/* Frameless gallery photos with softly rounded corners. */
.category-gallery { gap: 28px; }
.category-gallery .work-photo { margin: 0; padding: 0; border: 0; border-radius: 12px; background: transparent; box-shadow: none; min-width: 0; }
.category-gallery .work-photo a { display: block; overflow: hidden; border-radius: 12px; }
.category-gallery .work-photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: transparent; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .category-gallery .work-photo img { transition: transform .5s ease; }
  .category-gallery .work-photo a:hover img, .category-gallery .work-photo a:focus-visible img { transform: scale(1.035); }
}
/* Native dialog keeps focus inside the photo viewer and the page behind it. */
.photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 72px 24px 48px; border: 0; background: transparent; color: #fff; overflow: hidden; }
.photo-viewer::backdrop { background: rgba(5,12,8,.83); }
.photo-viewer[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.photo-viewer-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.photo-viewer-image { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.photo-viewer-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: #132019; color: #fff; }
.photo-viewer-close:hover { background: #294934; }
.photo-viewer-close svg { width: 24px; height: 24px; }
.photo-viewer-status { position: absolute; bottom: 14px; left: 20px; right: 20px; text-align: center; color: #fff; font-size: .9rem; }
.photo-viewer-open { overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .photo-viewer { padding: 76px 12px 48px; } .category-gallery { gap: 24px; } }

/* More readable company identifiers and footer, without changing the hierarchy. */
.hero-credentials { font-size: .875rem; font-weight: 700; letter-spacing: .025em; gap: 8px 18px; }
.footer-col p, .footer-col a, .footer-col li { font-size: .95rem; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; }
.footer-brand .description { font-size: .95rem; }
.footer-col .footer-company-name { font-size: 1.05rem; font-weight: 700; color: var(--green-900); }
.footer-col .footer-authority { font-size: .95rem; }
.footer-bottom { font-size: .85rem; }

.capability-with-photo { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center; }
.capability-photo { margin: 0; min-width: 0; }
.capability-photo a { display: block; border-radius: 12px; overflow: hidden; }
.capability-photo img { display: block; width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .capability-photo img { transition: transform .5s ease; }
  .capability-photo a:hover img, .capability-photo a:focus-visible img { transform: scale(1.035); }
}
@media (max-width: 760px) { .capability-with-photo { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

.service-photo-rounded a { display: block; border-radius: 12px; overflow: hidden; }
.detailed-service .service-photo-rounded img { aspect-ratio: auto; height: auto; object-fit: contain; }

.capabilities-grid { margin-bottom: 56px; }
@media (max-width: 760px) { .capabilities-grid { margin-bottom: 36px; } }

/* Consistent photo edges across content pages; Home and brand logos are excluded. */
.rounded-content-photos main figure:has(img) { border-radius: 12px; }
.rounded-content-photos main a[data-photo-viewer] { display: block; border-radius: 12px; overflow: hidden; }
.rounded-content-photos main figure img { border-radius: 12px; }

/* Match neighboring service photos while retaining the full image in the viewer. */
.detailed-service#offload .service-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 44%; }

.service-row-more { margin-top: 18px; padding: 24px 0; background: transparent; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); border-left: 0; border-right: 0; border-radius: 0; }
.service-row-more:hover { background: transparent; }
.service-row-more h3 { color: var(--charcoal); }

.service-overview .service-list { min-width: 0; width: 100%; }
.service-list .service-row-more { width: 100%; min-height: 0; padding: 24px 0; }
.service-row-more h3 { font-size: 1.1rem; }


.service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; }
@media (max-width: 1059px) { .service-row { grid-template-columns: minmax(0, 1fr) auto; } }

.capability-group .capability-quote { display: inline-flex; margin-top: 10px; min-height: 48px; visibility: visible; opacity: 1; }

.form-result h3 { margin-bottom: 12px; font-size: 1.2rem; }
.form-result p { margin-bottom: 14px; overflow-wrap: anywhere; }
.form-result textarea { display: block; width: 100%; min-width: 0; max-width: 100%; margin: 16px 0; padding: 12px; border: 1px solid #a9b9a9; border-radius: 4px; font: inherit; font-size: 16px; line-height: 1.5; background: #fff; color: var(--charcoal); resize: vertical; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.form-result .draft-actions a { text-decoration: none; }
@media(max-width:520px) { .draft-actions .btn { width: 100%; white-space: normal; } }
