﻿/* Home art direction. Shared foundations and document content are unchanged. */
.home-main { flex: 1; overflow-wrap: anywhere; }
.home-main * { min-width: 0; }
.home-main h2 { margin: 0; font-size: clamp(1.875rem, 3.3vw, 3rem); line-height: 1.12; letter-spacing: var(--letter-spacing-display); }
.home-main h3 { line-height: 1.25; letter-spacing: -.025em; }
.home-main p { margin-block: 0 var(--space-5); }
.home-main .eyebrow { max-width: 40ch; margin-bottom: var(--space-5); font-size: .8125rem; font-weight: var(--font-weight-semibold); line-height: 1.6; }
.home-section { padding-block: clamp(72px, 8vw, 120px); }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-7); }
.home-actions > a:not(.button) { display: inline-flex; align-items: center; min-height: var(--touch-target); font-size: .875rem; font-weight: var(--font-weight-semibold); }
.home-main .button { gap: var(--space-6); }
.home-text-links { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.home-text-links a { display: inline-flex; align-items: center; min-height: var(--touch-target); font-size: .875rem; font-weight: var(--font-weight-semibold); }
.home-icon { width: 52px; height: 52px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--surface-blue); }
.home-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* The photograph reaches the edge; a pale sweep connects it to the copy. */
.home-hero { position: relative; isolation: isolate; overflow: clip; background: var(--surface-white); }
.home-hero::before { content: ''; position: absolute; z-index: -1; width: 90%; height: 66%; right: -8%; bottom: 0; border-radius: 80% 0 0 0 / 100% 0 0 0; background: var(--surface-light); pointer-events: none; }
.home-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: var(--space-7); padding-block: var(--space-7) var(--space-9); }
.home-hero-copy { position: relative; z-index: 1; padding-block: var(--space-7); }
.home-hero h1 { max-width: 18ch; font-size: clamp(2.375rem, 4vw, 3.875rem); line-height: 1.04; font-weight: var(--font-weight-black); letter-spacing: var(--letter-spacing-display); }
.home-hero h1 span { color: var(--color-blue); }
.home-rule { width: 64px; height: 3px; margin-block: var(--space-6); background: var(--color-blue); }
.home-intro { max-width: 55ch; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.65; letter-spacing: var(--letter-spacing-intro); }
.home-hero-photo { position: relative; align-self: stretch; min-height: 630px; margin: -16px min(0px, calc((var(--container-width) - 100vw) / 2 - var(--gutter))) 0 0; overflow: hidden; border-radius: 42% 0 0 62% / 32% 0 0 28%; }
.home-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 64%; }

/* Desktop: size the photograph independently of its intrinsic portrait ratio. */
@media (min-width: 901px) {
  .home-hero::before { display: none; }
  .home-hero-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); padding-block: var(--space-5) var(--space-6); }
  .home-hero-copy { padding-block: var(--space-3); }
  .home-hero-photo { align-self: center; min-height: 0; height: clamp(380px, 38vw, 520px); margin: 0; border-radius: 0; }
  .home-hero-photo img { position: absolute; inset: 0; width: calc(100% - clamp(16px, 1.7vw, 26px)); object-position: 50% 18%; border-radius: 22% 0 10% 0 / 18% 0 7% 0; }
}

/* An organic surface and the official monogram anchor the editorial opening. */
.home-regular { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(48px, 7vw, 100px); padding-block: clamp(100px, 10vw, 150px); }
.home-regular-heading { position: relative; isolation: isolate; padding: var(--space-7) 0 var(--space-8); }
.home-regular-heading::before { content: ''; position: absolute; z-index: -2; inset: -24px -40px -12px -32px; background: var(--surface-blue); border-radius: 18% 66% 48% 12% / 24% 56% 40% 18%; pointer-events: none; }
.home-regular-heading::after { content: ''; position: absolute; z-index: -1; right: -12px; bottom: -12px; width: 240px; height: 168px; background: url('../images/home-brand-mark.svg') center / contain no-repeat; opacity: .07; pointer-events: none; }
.home-regular-heading .home-icon { width: 64px; height: 64px; margin-bottom: var(--space-6); background: var(--surface-white); }
.home-regular-heading h2 { max-width: 14ch; }
.home-regular-copy { padding-block: var(--space-5); }
.home-regular-copy > p:first-child { font-size: 1.0625rem; line-height: 1.75; }
.home-regular-copy > p:nth-child(2) { margin-top: var(--space-6); color: var(--color-text-muted); font-size: .9375rem; }
.home-regular-copy .home-text-links { margin-top: var(--space-6); padding-left: var(--space-5); border-left: 2px solid var(--color-sky); }

/* One featured service and two companion entries, rather than a card grid. */
.home-services-section { position: relative; background: var(--surface-white); padding-top: var(--space-8); }
.home-section-header { margin-bottom: var(--space-8); }
.home-services-section .home-section-header > div { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(48px, 7vw, 100px); }
.home-services-section .home-section-header h2 { max-width: 13ch; }
.home-section-header p:last-child { max-width: 55ch; margin-bottom: 0; color: var(--color-text-muted); line-height: 1.7; }
.home-services { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 var(--space-9); padding: 0; margin: 0; list-style: none; }
.home-services > li:first-child { grid-row: span 2; }
.home-services > li:not(:first-child) { grid-column: 2; }
.home-service { position: relative; display: grid; grid-template-columns: 52px 1fr; align-content: center; gap: var(--space-3) var(--space-5); height: 100%; padding-block: var(--space-7); border-bottom: 1px solid var(--color-border); }
.home-service .home-icon { grid-row: span 2; }
.home-service h3 { margin: 0; font-size: clamp(1.125rem, 1.7vw, 1.5rem); }
.home-service p { grid-column: 2; margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--color-text-muted); }
.home-service h3 a { display: inline-flex; align-items: center; min-height: var(--touch-target); font-weight: var(--font-weight-bold); text-decoration: none; }
.home-service h3 a:hover { text-decoration: underline; }
.home-services > li:first-child .home-service { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; isolation: isolate; overflow: clip; padding: clamp(32px, 3.8vw, 56px); border: 0; border-radius: 0 130px 0 0; background: var(--color-navy); color: var(--color-white); }
.home-services > li:first-child .home-service::after { content: ''; position: absolute; z-index: -1; width: 260px; height: 182px; right: -20px; bottom: -20px; background: var(--color-white); mask: url('../images/home-brand-mark.svg') center / contain no-repeat; opacity: .045; pointer-events: none; }
.home-services > li:first-child .home-icon { margin-bottom: var(--space-5); background: transparent; border: 1px solid #FFFFFF4D; }
.home-services > li:first-child h3 { max-width: 22ch; margin-bottom: var(--space-4); font-size: clamp(1.5rem, 2.25vw, 2rem); }
.home-services > li:first-child p { max-width: 48ch; color: var(--color-white); }
.home-services > li:first-child a:focus-visible { outline-color: var(--color-white); }
.home-occasional { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: var(--space-9); margin-top: var(--space-8); padding: var(--space-8); background: var(--surface-light); border-radius: 0 0 90px 0; }
.home-occasional h3 { margin: 0 0 var(--space-4); font-size: 1.25rem; }
.home-occasional p { max-width: 58ch; margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--color-text-muted); }
.home-occasional .home-text-links { align-items: stretch; }
.home-occasional a { padding-block: var(--space-2); border-bottom: 1px solid var(--color-border); }
.home-services-section > .container > .home-actions { justify-content: flex-end; }

/* Radius rings are an abstract territorial motif, not a geographic map. */
.home-zone { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(48px, 7vw, 100px); padding-top: var(--space-8); }
.home-zone-mark { position: relative; isolation: isolate; display: grid; place-content: center; justify-items: center; min-height: clamp(340px, 33vw, 460px); padding: var(--space-9) var(--space-7); background: var(--surface-blue); border-radius: 54% 46% 62% 38% / 56% 47% 53% 44%; text-align: center; }
.home-zone-mark::before { content: ''; position: absolute; z-index: -1; inset: 28px; border: 1px solid #0864CE29; border-radius: 50%; transform: rotate(-14deg); pointer-events: none; }
.home-zone-mark::after { content: ''; position: absolute; z-index: -1; inset: 56px; border: 1px dashed #0864CE29; border-radius: 50%; pointer-events: none; }
.home-zone-mark strong { font-size: clamp(3.25rem, 7vw, 6.25rem); line-height: 1; font-weight: var(--font-weight-black); letter-spacing: -.065em; }
.home-zone-mark span { max-width: 18ch; margin-top: var(--space-5); color: var(--color-blue); font-size: 1.125rem; font-weight: var(--font-weight-semibold); }
.home-zone h2 { max-width: 16ch; margin-bottom: var(--space-6); }
.home-zone-copy > p { max-width: 52ch; color: var(--color-text-muted); line-height: 1.7; }

/* The numbered steps share a continuous connector and a single surface. */
.home-process { position: relative; background: var(--surface-light); border-start-start-radius: 18% 80px; }
.home-process .home-section-header { margin-bottom: var(--space-9); }
.home-process h2 { max-width: 23ch; }
.home-steps { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); padding: 0; margin: 0; list-style: none; counter-reset: home-step; }
.home-steps::before { content: ''; position: absolute; z-index: -1; top: 40px; left: 0; right: 0; border-top: 1px solid #0864CE38; pointer-events: none; }
.home-steps li { counter-increment: home-step; }
.home-steps li::before { content: '0' counter(home-step); display: block; width: fit-content; padding-right: var(--space-6); background: var(--surface-light); color: var(--color-blue); font-size: 5.5rem; line-height: 1; font-weight: var(--font-weight-black); letter-spacing: -.07em; }
.home-steps h3 { margin-block: var(--space-7) var(--space-4); font-size: 1.125rem; }
.home-steps p { max-width: 34ch; margin-bottom: 0; color: var(--color-text-muted); font-size: .9375rem; line-height: 1.7; }
.home-process .home-actions { margin-top: var(--space-8); }

/* A navy closing sweep joins the enquiry and direct contact actions. */
.home-contact { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(80px, 8vw, 120px); background: var(--color-navy); color: var(--color-white); border-start-start-radius: 18% 100px; }
.home-contact::before { content: ''; position: absolute; z-index: -1; right: -30px; bottom: -80px; width: min(48vw, 680px); height: min(34vw, 480px); background: var(--color-sky); mask: url('../images/home-brand-mark.svg') center / contain no-repeat; opacity: .075; pointer-events: none; }
.home-contact-grid { display: grid; grid-template-columns: 1.4fr .85fr; align-items: end; gap: var(--space-9); }
.home-contact h2 { max-width: 14ch; margin-bottom: var(--space-6); font-size: clamp(2.25rem, 4.5vw, 4rem); }
.home-contact-grid > div > p { max-width: 52ch; line-height: 1.7; }
.home-contact .button { box-shadow: none; }
.home-contact .button:hover { background: var(--color-blue); text-decoration: underline; }
.home-contact a:focus-visible { outline-color: var(--color-white); }
.home-contact-list { display: grid; gap: var(--space-4); padding: 0 0 0 var(--space-8); margin: 0; list-style: none; border-left: 1px solid #FFFFFF40; }
.home-contact-list a { display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); min-height: 88px; padding-block: var(--space-4); border-bottom: 1px solid #FFFFFF40; text-decoration: none; overflow-wrap: anywhere; }
.home-contact-list a:hover strong { text-decoration: underline; }
.home-contact-list a > span { font-size: .8125rem; color: var(--color-white); }
.home-contact-list strong { font-size: 1.125rem; }
.home-contact-list strong span { margin-left: var(--space-3); color: var(--color-sky); }

/* Loaded only by the Home; the other pages keep their original footer. */
.home-main + .site-footer { padding-block: var(--space-9) var(--space-7); background: var(--surface-white); }
.home-main + .site-footer .footer-inner { gap: var(--space-8); }
.home-main + .site-footer .footer-brand img { width: 200px; }
.home-main + .site-footer .footer-links { gap: var(--space-3) var(--space-6); }
.home-main + .site-footer .footer-links a { font-size: .8125rem; }
.home-main + .site-footer .footer-legal { gap: var(--space-4) var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.home-main + .site-footer .footer-legal a, .home-main + .site-footer .copyright { font-size: .6875rem; }

@media (max-width: 1050px) {
  .home-services { column-gap: var(--space-7); }
  .home-occasional { gap: var(--space-7); padding: var(--space-7); }
  .home-contact-grid { gap: var(--space-8); }
  .home-contact-list { padding-left: var(--space-6); }
}
@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: 1fr; padding-top: var(--space-6); padding-bottom: 0; gap: var(--space-8); }
  .home-hero-copy { padding-block: 0; }
  .home-hero h1 { max-width: 23ch; font-size: clamp(2.25rem, 5.5vw, 3.375rem); }
  .home-hero-photo { min-height: 0; height: 310px; margin: 0 calc(-1 * var(--gutter)); border-radius: 54% 0 0 0 / 30% 0 0 0; }
  .home-hero-photo img { object-position: 100% 66%; }
  .home-regular { gap: var(--space-8); }
  .home-regular-heading::before { inset: -24px -16px -12px -16px; }
  .home-regular-heading::after { width: 180px; height: 126px; right: 0; }
  .home-services-section .home-section-header > div { gap: var(--space-8); }
  .home-services { grid-template-columns: 1fr 1fr; gap: 0 var(--space-6); }
  .home-service { grid-template-columns: 1fr; }
  .home-service .home-icon { grid-row: auto; margin-bottom: var(--space-2); }
  .home-service p { grid-column: 1; }
  .home-services > li:first-child .home-service { padding: var(--space-7); border-top-right-radius: 90px; }
  .home-zone { gap: var(--space-7); }
  .home-zone-mark { min-height: 340px; padding-inline: var(--space-6); }
  .home-zone-mark strong { font-size: 4rem; }
  .home-zone-mark::before { inset: 16px; }
  .home-zone-mark::after { inset: 36px; }
  .home-steps { gap: var(--space-6); }
  .home-contact-grid { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 600px) {
  .home-main h2 { font-size: clamp(1.875rem, 7.5vw, 2.25rem); }
  .home-section { padding-block: 64px; }
  .home-hero-grid { padding-top: var(--space-7); gap: var(--space-7); }
  .home-main .eyebrow { max-width: 32ch; margin-bottom: var(--space-4); }
  .home-hero h1 { max-width: 19ch; font-size: clamp(2rem, 8.5vw, 3rem); }
  .home-intro { font-size: 1rem; line-height: 1.6; }
  .home-rule { width: 48px; margin-block: var(--space-5); }
  .home-actions { gap: var(--space-3); margin-top: var(--space-6); }
  .home-actions .button { width: 100%; min-height: 64px; border-radius: var(--radius-control); }
  .home-hero-photo { height: 245px; border-radius: 60% 0 0 0 / 24% 0 0 0; }
  .home-hero::before { width: 110%; height: 50%; }
  .home-regular { grid-template-columns: 1fr; gap: var(--space-7); padding-top: 88px; padding-bottom: var(--space-9); }
  .home-regular-heading { padding: var(--space-6) var(--space-6) var(--space-8); }
  .home-regular-heading::before { inset: -12px 4px 0 0; border-radius: 18% 60% 38% 10% / 18% 50% 30% 15%; }
  .home-regular-heading::after { width: 190px; height: 133px; right: var(--space-5); bottom: var(--space-4); }
  .home-regular-heading .home-icon { width: 52px; height: 52px; margin-bottom: var(--space-5); }
  .home-regular-heading h2 { max-width: 15ch; }
  .home-regular-copy { padding: 0 var(--space-2) 0 var(--space-4); }
  .home-regular-copy > p:first-child { font-size: 1rem; }
  .home-regular-copy .home-text-links { padding-left: var(--space-4); }
  .home-services-section { padding-top: var(--space-5); }
  .home-services-section .home-section-header > div { display: block; }
  .home-services-section .home-section-header h2 { max-width: 16ch; margin-bottom: var(--space-6); }
  .home-section-header { margin-bottom: var(--space-7); }
  .home-services { grid-template-columns: 1fr; gap: 0; }
  .home-services > li:first-child { grid-row: auto; margin-bottom: var(--space-4); }
  .home-services > li:not(:first-child) { grid-column: auto; }
  .home-service { grid-template-columns: 44px 1fr; gap: var(--space-3) var(--space-4); padding-block: var(--space-7); }
  .home-service .home-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .home-service h3 { font-size: 1.125rem; }
  .home-service p { grid-column: 2; font-size: .9375rem; }
  .home-services > li:first-child .home-service { padding: var(--space-7) var(--space-6) var(--space-8); }
  .home-services > li:first-child h3 { font-size: 1.5rem; }
  .home-services > li:first-child .home-icon { margin-bottom: var(--space-5); }
  .home-occasional { grid-template-columns: 1fr; gap: var(--space-5); margin-top: var(--space-7); padding: var(--space-7) var(--space-6) var(--space-8); border-bottom-right-radius: 64px; }
  .home-zone { grid-template-columns: 1fr; gap: var(--space-7); padding-top: var(--space-5); }
  .home-zone-mark { margin-right: var(--space-5); min-height: 300px; padding: var(--space-9) var(--space-6); }
  .home-zone-mark strong { font-size: clamp(3.5rem, 16vw, 5rem); }
  .home-zone-mark span { max-width: 19ch; font-size: 1rem; }
  .home-zone-copy { padding-left: var(--space-4); }
  .home-zone h2 { max-width: 17ch; }
  .home-process { border-start-start-radius: 30% 48px; }
  .home-process .home-section-header { margin-bottom: var(--space-8); }
  .home-steps { grid-template-columns: 1fr; gap: var(--space-7); }
  .home-steps::before { inset: 12px auto 32px 23px; border-top: 0; border-left: 1px solid #0864CE38; }
  .home-steps li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 var(--space-4); align-content: start; }
  .home-steps li::before { grid-row: span 2; align-self: start; padding: 0 8px 16px 0; font-size: 3rem; white-space: nowrap; }
  .home-steps h3 { margin: 0 0 var(--space-3); }
  .home-steps p { grid-column: 2; }
  .home-contact { padding-block: 72px 56px; border-start-start-radius: 30% 56px; }
  .home-contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .home-contact h2 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .home-contact-list { padding: var(--space-3) 0 0; border-left: 0; border-top: 1px solid #FFFFFF40; gap: var(--space-2); }
  .home-contact-list a { min-height: 88px; }
  .home-contact::before { width: 300px; height: 210px; right: -48px; bottom: 48px; }
  .home-main + .site-footer { padding-block: var(--space-8) var(--space-6); }
  .home-main + .site-footer .footer-inner { gap: var(--space-6); }
  .home-main + .site-footer .footer-brand img { width: 190px; }
  .home-main + .site-footer .footer-legal { width: 100%; }
}
