/* Shared Timeless typography and the consultation cards' ivory, wine and gold. */
.home-page .header { padding-top: 0; min-height: 104px; background-position: center; }
.home-page .header-text { position: static; transform: none; font-size: clamp(32px, 5vw, 58px); padding: 10px 90px 10px 12px; white-space: normal; }
.home-page .menu-container { margin-bottom: 0; }
.home-page #content { max-width: 1160px; margin: auto; padding: 36px 6% 48px; box-sizing: border-box; color: #514640; }
.home-hero { max-width: 740px; margin: 0 auto; padding: 24px 0 30px; text-align: center; }
.home-eyebrow { color: #946d35; font-size: 14px; line-height: 1.5; letter-spacing: .09em; margin: 0 0 12px; }
.home-hero h1 { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.3; color: #804038; text-transform: none; font-weight: 400; padding: 0; margin: 0 auto 16px; max-width: 620px; text-align: center; }
.home-subtitle { font-size: 18px; line-height: 1.65; max-width: 740px; margin: 0 auto; text-wrap: pretty; }
.home-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 24px; }
#content .home-actions a { position: static; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; box-sizing: border-box; border-radius: 8px; font-size: 16px; line-height: 1.4; text-decoration: none; text-align: center; }
#content .home-primary { background: #804038; color: #fff; box-shadow: 0 3px 10px rgba(128,64,56,.10); font-weight: 400; }
#content .home-primary:hover { background: #68342e; }
.home-secondary { border: 1px solid rgba(128,64,56,.35); color: #804038; background: transparent; }
.home-secondary:hover { background: #f8f4f1; }
.home-specialties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 64px; padding: 18px; background: #f8f4f1; border-radius: 12px; }
.home-specialties a { display: flex; align-items: center; justify-content: center; min-height: 98px; padding: 18px 12px; box-sizing: border-box; border: 1px solid #e5d4b8; border-radius: 14px; background: #f3e4c5; box-shadow: 0 4px 10px rgba(128,64,56,.06); font-size: 18px; line-height: 1.4; text-align: center; text-decoration: none; color: #804038; transition: transform .2s ease, box-shadow .2s ease; }
.home-specialties a:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(128,64,56,.12); }
.home-page a:focus-visible { outline: 2px solid #804038; outline-offset: 4px; }
.home-about { text-align: left; }
.home-about h2 { text-transform: none; text-align: center; font-size: 28px; padding: 0 0 28px; }
.home-about .portfolio-header { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); align-items: stretch; gap: 36px; padding: 0; margin: 0; }
.home-about .portfolio-header-item { max-width: none; padding: 0; text-align: left; }
.home-about .golden-framed { text-align: center; }
.home-about .golden-framed h3 { text-transform: none; font-size: 24px; padding: 0 0 8px; }
.home-about .golden-framed p { font-size: 16px; }
.home-about-copy { font-size: 18px; line-height: 1.75; }
.home-about-copy p + p { margin-top: 16px; }
.home-about .about-closing { margin-top: 36px; padding-top: 24px; }
.home-corporate { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 72px; padding: 40px; background: rgba(255,255,255,.58); border: 1px solid rgba(183,132,39,.25); border-radius: 12px; box-shadow: 0 4px 16px rgba(128,64,56,.035); text-align: left; }
.home-corporate h2 { text-transform: none; font-size: 27px; line-height: 1.35; padding: 0; margin-bottom: 20px; }
.home-corporate p { font-size: 17px; line-height: 1.7; }
.home-corporate .home-eyebrow { font-size: 13px; margin-bottom: 12px; }
.home-corporate .home-corporate-experience { font-size: 14px; color: #76665b; margin-top: 22px; }
.home-corporate-services { border-left: 1px solid rgba(183,132,39,.25); padding-left: 32px; }
.home-corporate-service + .home-corporate-service { border-top: 1px solid rgba(183,132,39,.18); padding-top: 20px; margin-top: 20px; }
.home-corporate-service h3 { font-size: 19px; line-height: 1.35; text-transform: none; padding: 0 0 8px; }
.home-corporate-service p { font-size: 16px; }
@media (max-width: 700px) {
 .home-page .header { min-height: 72px; }
 .home-page .header-text { padding: 8px 12px; width: 100%; }
 .home-page #content { padding: 20px 6% 36px; }
 .home-hero { padding: 12px 0 26px; }
 .home-subtitle { font-size: 17px; }
 .home-actions { gap: 10px; margin-top: 20px; }
 #content .home-actions a { padding: 10px 14px; }
 .home-specialties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; margin-bottom: 44px; }
 .home-specialties a { min-height: 88px; font-size: 16px; padding: 14px 8px; }
 .home-about .portfolio-header { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .home-about-copy { font-size: 17px; }
 .home-corporate { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 24px; margin-top: 48px; }
 .home-corporate h2 { font-size: 24px; }
 .home-corporate-services { border-left: 0; padding-left: 0; border-top: 1px solid rgba(183,132,39,.25); padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .home-specialties a { transition: none; } .home-specialties a:hover { transform: none; } }

/* Balanced portrait and biography; the portrait itself retains its proportions. */
.home-about .golden-framed { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 20px; box-sizing: border-box; min-width: 0; min-height: 0; height: 100%; margin: 0; }
.home-about .golden-framed img { width: min(100%, 220px); height: auto; margin-top: 24px; }
.home-about .home-about-copy { display: flex; flex-direction: column; justify-content: space-between; text-align: center; text-justify: auto; hyphens: none; align-self: stretch; box-sizing: border-box; min-width: 0; margin: 0; padding: 12px 0; line-height: 1.7; font-size: 17px; }
.home-about-copy p { text-wrap: pretty; }
.home-credential { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 32px auto 0; }
.home-credential-symbol { display: block; position: relative; width: 50px; height: 57px; overflow: hidden; flex: 0 0 50px; }
.home-credential-symbol img { position: absolute; width: 246px; max-width: none; height: auto; left: -43px; top: -21px; }
.home-credential figcaption { text-align: left; font-size: 16px; line-height: 1.6; color: #804038; }
.home-credential figcaption span { font-size: 13px; color: #76665b; }
.home-final { margin-top: 48px; }
@media (min-width: 960px) { .home-subtitle { white-space: nowrap; } }
@media (max-width: 700px) { .home-about .golden-framed { min-height: 340px; } }

/* Final alignment and a quiet, generously spaced closing. */
.home-about h2, .home-corporate h2, .home-corporate-intro > .home-eyebrow { text-align: center; }
.corporate-logos-heading { justify-content: center; text-align: center; }
.home-final { margin-top: 128px; padding: 48px 24px 16px; gap: 30px; max-width: 560px; }
.home-final .home-credential { margin-top: 0; }
@media(max-width:700px) { .home-final { margin-top: 96px; padding: 36px 12px 12px; } }

/* Centre each section's heading together with its copy. */
.home-corporate { text-align: center; align-items: center; }
.home-corporate-intro p { max-width: 38ch; margin-inline: auto; text-wrap: pretty; }
.home-corporate-service h3, .home-corporate-service p { text-align: center; text-wrap: pretty; }
.home-corporate-service h3 { font-size: 18px; }
.home-corporate-service p { line-height: 1.7; }
.home-about .portfolio-header { margin-inline: auto; }
@media(max-width:700px) {
 .home-about .portfolio-header { gap: 24px; }
 .home-about .golden-framed { height: auto; min-height: 0; padding: 28px 20px; }
 .home-about .home-about-copy { padding: 0; }
 .home-about-copy p + p { margin-top: 18px; }
}

/* Justified narrative copy; headings share its left edge. */
.home-about .home-about-copy { text-align: justify; text-justify: inter-word; hyphens: auto; }
.home-about h2 { text-align: left; }
.home-corporate, .home-corporate h2, .home-corporate-intro > .home-eyebrow, .home-corporate-service h3 { text-align: left; }
.home-corporate p { text-align: justify; text-justify: inter-word; hyphens: auto; }
.home-corporate-intro p { max-width: none; }
.home-title-glow { position: relative; display: inline-block; max-width: 100%; padding: 10px 18px; box-sizing: border-box; }
.home-title-glow h1 { position: relative; z-index: 1; }
.hero-spark { position: absolute; pointer-events: none; color: #b78427; opacity: .22; font: 16px/1 Georgia,serif; }
.hero-spark-one { left: 0; top: 2px; }
.hero-spark-two { right: 0; top: 22px; font-size: 22px; }
.hero-spark-three { right: 20%; bottom: 4px; font-size: 11px; }
@media(prefers-reduced-motion:no-preference) {
 .hero-spark { animation: hero-soft-glow 7s ease-in-out infinite; }
 .hero-spark-two { animation-delay: -2.5s; }
 .hero-spark-three { animation-delay: -5s; }
}
@keyframes hero-soft-glow { 0%,100% { opacity: .12; } 50% { opacity: .55; } }

/* Align the section heading with the portrait column. */
.main-site .home-about > h2 { width: calc((100% - 36px) * .4); text-align: center; margin-inline: 0; }
@media(max-width:700px) { .main-site .home-about > h2 { width:100%; } }
