/* Homepage only. Shared navigation behaviour remains in site.js. */
.home-page { --home-ease: cubic-bezier(.22, 1, .36, 1); }
.home-page .home-container { width: calc(100% - 80px); max-width: 1240px; margin: 0 auto; }
.home-page #home-main,
.home-page .home-section { scroll-margin-top: 120px; }
.home-page .home-section { padding: 96px 0; }
.home-page .home-columns { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 80px; }
.home-page h2 { margin: 0; color: var(--site-ink); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 3vw, 42px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.home-page .home-eyebrow { margin: 0 0 24px; color: var(--site-wine); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.home-page .home-section-note { color: #706662; font-size: 14px; margin: 12px 0 0; }
.home-page .home-services h2 { font-size: clamp(32px, 2.6vw, 38px); }

/* A restrained photographic hero, with the city visible on the right. */
.home-page .home-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 680px; padding: 80px 0; background: #252525; color: #fff; }
.home-page .home-hero-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; animation: home-photo-enter 1400ms var(--home-ease) both; }
.home-page .home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(23 18 18 / 88%) 0%, rgb(23 18 18 / 78%) 38%, rgb(23 18 18 / 48%) 60%, rgb(23 18 18 / 10%) 80%, rgb(23 18 18 / 0%) 100%); }
.home-page .home-hero-label { color: #f1e6e5; margin-bottom: 36px; animation: home-enter 700ms var(--home-ease) both; }
.home-page .home-hero-label::after { content: ''; display: block; width: 72px; height: 2px; margin-top: 20px; background: #b8545b; }
.home-page .home-hero h1 { max-width: 720px; margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(44px, 4.1vw, 60px); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; animation: home-enter 700ms 80ms var(--home-ease) both; }
.home-page .home-hero-description { max-width: 570px; margin: 30px 0 0; color: #f1e6e5; font-size: 17px; line-height: 1.8; animation: home-enter 700ms 180ms var(--home-ease) both; }
.home-page .home-hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; animation: home-enter 700ms 280ms var(--home-ease) both; }
.home-page .home-button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 54px; padding: 13px 24px; border: 1px solid var(--site-wine); background: var(--site-wine); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.6; }
.home-page .home-button:hover { background: #590000; }
.home-page .home-button span { display: inline-block; font-size: 20px; line-height: 1; transition: transform 300ms var(--home-ease); }
.home-page .home-button.home-button-outline { min-width: 144px; background: transparent; border-color: rgb(255 255 255 / 80%); }
.home-page .home-button-outline:hover { background: rgb(255 255 255 / 10%); }
.home-page .home-hero :focus-visible,
.home-page .home-contact :focus-visible,
.home-page .site-footer :focus-visible { outline-color: #f1e6e5; }
.home-page .home-hero-actions:focus-within { animation: none; }

.home-page .home-facts { padding: 32px 0; background: #252221; color: #f7f5f2; }
.home-page .home-facts-grid { display: grid; grid-template-columns: .7fr 1.1fr 1.1fr 1.1fr; }
.home-page .home-facts-grid > div { padding: 4px 30px; border-left: 1px solid #4b4240; }
.home-page .home-facts-grid > div:first-child { border: 0; padding-left: 0; }
.home-page .home-facts dt { font-family: 'Playfair Display', Georgia, serif; font-size: 23px; font-weight: 400; line-height: 1.35; }
.home-page .home-facts-grid > div:first-child dt { font-size: 30px; font-weight: 500; line-height: 1.05; }
.home-page .home-facts dd { margin: 10px 0 0; font-size: 10px; color: #c4bbb5; line-height: 1.6; }

.home-page .home-service-list { display: block; margin: 0; padding: 0; list-style: none; color: inherit; border-top: 1px solid var(--site-line); }
.home-page .home-service-list a { position: relative; isolation: isolate; display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; align-items: baseline; gap: 22px; min-height: 88px; padding: 26px 8px; border-bottom: 1px solid var(--site-line); }
.home-page .home-service-list a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--site-tint); opacity: 0; transition: opacity 350ms var(--home-ease); }
.home-page .home-service-number { color: var(--site-wine); font-size: 11px; font-weight: 600; }
.home-page .home-service-name { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.35; transition: transform 350ms var(--home-ease); }
.home-page .home-service-arrow { color: var(--site-wine); font-size: 22px; transition: transform 350ms var(--home-ease); }
.home-page .home-service-list a:focus-visible { background: var(--site-tint); }

.home-page .home-about { position: relative; isolation: isolate; overflow: hidden; background: #eee9e3; }
.home-page .home-outline { position: absolute; z-index: -1; left: -80px; bottom: -95px; width: 550px; height: auto; color: var(--site-wine); opacity: .08; pointer-events: none; }
.home-page .home-since { margin: 40px 0 0; color: #706662; font-size: 15px; line-height: 1.2; }
.home-page .home-since span { display: block; margin: 18px 0 12px; font-family: 'Playfair Display', Georgia, serif; color: var(--site-ink); font-size: clamp(80px, 8vw, 108px); font-weight: 500; letter-spacing: -.04em; }
.home-page .home-about-content { min-width: 0; }
.home-page .home-about-content h2 { margin-bottom: 38px; }
.home-page .home-about-copy { max-width: 70ch; font-size: 16px; line-height: 1.85; }
.home-page .home-about-copy p { margin: 0 0 18px; }
.home-page .home-text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--site-wine); color: var(--site-wine); font-size: 14px; font-weight: 600; }
.home-page .home-text-link:hover { text-decoration: underline !important; text-underline-offset: 5px; }
.home-page .home-text-link span { transition: transform 300ms var(--home-ease); }
.home-page .home-about .home-text-link { margin-top: 64px; }
.home-page .home-team-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.home-page .home-team-heading .home-eyebrow { margin-bottom: 22px; }
.home-page .home-team-heading .home-text-link { border: 0; }
.home-page .home-team-photo { overflow: hidden; }
.home-page .home-team img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 800; }

.home-page .home-contact { position: relative; isolation: isolate; overflow: hidden; background: var(--site-wine); color: #fff; }
.home-page .home-contact .home-outline { left: auto; right: -80px; bottom: -100px; width: 500px; color: #fff; opacity: .07; }
.home-page .home-contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }
.home-page .home-contact h2 { color: #fff; }
.home-page .home-contact .home-eyebrow { color: #f1e6e5; }
.home-page .home-contact-address { margin: 18px 0 0; font-size: 14px; }
.home-page .home-contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 28px; }
.home-page .home-contact-details a { padding: 6px 0; }
.home-page .home-contact-details a:not(.home-button):hover { text-decoration: underline !important; text-underline-offset: 5px; }
.home-page .home-phone { font-family: 'Playfair Display', Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.3; }
.home-page .home-email { font-size: 15px; overflow-wrap: anywhere; }
.home-page .home-contact-details .home-button { padding: 12px 22px; margin-top: 26px; }

/* Motion is isolated to the homepage; all content is visible without JavaScript. */
.home-page .home-reveal-pending { opacity: 0; transform: translateY(18px); }
.home-page .home-reveal-ready { transition: opacity 700ms var(--home-ease), transform 700ms var(--home-ease); }
.home-page .home-service-list li:nth-child(2) { transition-delay: 70ms; }
.home-page .home-service-list li:nth-child(3) { transition-delay: 140ms; }
.home-page .home-service-list li:nth-child(4) { transition-delay: 210ms; }
.home-page .home-service-list li:nth-child(5) { transition-delay: 280ms; }
.home-page .home-team-photo.home-reveal-ready { transform: none; transition-duration: 900ms; }
.home-page .home-team-photo img { transition: transform 900ms var(--home-ease); }
.home-page .home-team-photo.home-reveal-pending img { transform: scale(1.02); }
.home-page [data-home-reveal]:focus-within { opacity: 1; transform: none; transition: none; }
@keyframes home-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-photo-enter { from { transform: scale(1.025); } to { transform: scale(1); } }
@media (hover: hover) {
    .home-page .home-service-list a:hover { border-bottom-color: var(--site-wine); }
    .home-page .home-service-list a:hover::before { opacity: 1; }
    .home-page .home-service-list a:hover .home-service-name { transform: translateX(4px); }
    .home-page .home-service-list a:hover .home-service-arrow,
    .home-page .home-button:hover span,
    .home-page .home-text-link:hover span { transform: translate(4px, -4px); }
}
@media (max-width: 1199.98px) {
    .home-page .home-columns { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
    .home-page .home-facts-grid > div { padding-right: 18px; padding-left: 18px; }
    .home-page .home-facts dt { font-size: 21px; }
}
@media (max-width: 991.98px) {
    .home-page .home-container { width: calc(100% - 64px); }
    .home-page .home-section { padding: 72px 0; }
    .home-page .home-columns { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .home-page .home-hero { min-height: 640px; padding: 64px 0; }
    .home-page .home-hero h1 { max-width: 650px; font-size: 52px; }
    .home-page .home-since { margin: 0; }
    .home-page .home-since span { display: inline-block; margin: 0 10px; font-size: 80px; vertical-align: baseline; }
    .home-page .home-about .home-outline { left: auto; right: -140px; bottom: -80px; }
    .home-page .home-about .home-text-link { margin-top: 24px; }
    .home-page .home-contact-inner { gap: 32px; }
}
@media (max-width: 767.98px) {
    .home-page .home-container { width: calc(100% - 40px); }
    .home-page #home-main,
    .home-page .home-section { scroll-margin-top: 100px; }
    .home-page .home-section { padding: 56px 0; }
    .home-page .home-hero { min-height: 600px; padding: 56px 0; }
    .home-page .home-hero-image { object-position: 72% center; }
    .home-page .home-hero::before { background: linear-gradient(90deg, rgb(23 18 18 / 86%) 0%, rgb(23 18 18 / 75%) 60%, rgb(23 18 18 / 45%) 100%); }
    .home-page .home-hero h1 { max-width: 560px; font-size: clamp(38px, 6.5vw, 46px); line-height: 1.18; }
    .home-page .home-hero-label { margin-bottom: 28px; font-size: 10px; }
    .home-page .home-hero-description { font-size: 15px; margin-top: 24px; }
    .home-page .home-hero-actions { gap: 12px; margin-top: 30px; }
    .home-page .home-button { padding: 13px 18px; gap: 18px; font-size: 13px; }
    .home-page .home-button.home-button-outline { min-width: 126px; }
    .home-page .home-facts { padding: 26px 0; }
    .home-page .home-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
    .home-page .home-facts-grid > div { padding: 0 0 0 16px; }
    .home-page .home-facts-grid > div:nth-child(odd) { padding-left: 0; padding-right: 16px; border: 0; }
    .home-page .home-facts dt { font-size: 18px; }
    .home-page .home-service-list a { grid-template-columns: 24px minmax(0, 1fr) 22px; gap: 12px; padding: 22px 0; min-height: 80px; }
    .home-page .home-service-name { font-size: 23px; }
    .home-page .home-about-content h2 { margin-bottom: 28px; }
    .home-page .home-team-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
    .home-page .home-team-heading .home-eyebrow { margin-bottom: 20px; }
    .home-page .home-contact-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .home-page .home-contact-details { padding-top: 0; }
    .home-page .home-contact .home-outline { width: 450px; right: -210px; bottom: -40px; }
    .home-page .home-phone { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .home-page .home-reveal-pending { opacity: 1; transform: none; }
    .home-page .home-team-photo img { transform: none !important; }
}
@media print {
    .home-page [data-home-reveal] { opacity: 1; transform: none; }
}
