/* Homepage finish. Existing typefaces, palette, section order and links remain. */
.home-refined { --home-cream: #f8f5ef; }
.home-refined header { background: #161b30; }
.home-refined header nav { min-height:125px; transition:min-height .24s ease; }
.home-refined header .brand { margin:0; padding:0; }
.home-refined header .logo-image { width:245px; height:auto; aspect-ratio:auto; transition:width .24s ease; }
.home-refined.header-compact header nav { min-height:72px; }
.home-refined.header-compact header .logo-image { width:175px; }
.home-refined .introduction-grid { grid-template-columns:minmax(0,1fr) minmax(0,500px); gap:clamp(32px,4vw,64px); align-items:start; }
.home-refined .introduction-grid > * { min-width:0; }
.home-refined .introduction-visual { width:100%; max-width:500px; }
.home-refined .introduction-visual > img { width:100%; height:auto; aspect-ratio:1183 / 789; object-fit:cover; }
.home-refined #pour-vous,
.home-refined .quote-section { --ink:#161b30; --paper:#f8f5ef; --muted:rgba(22,27,48,.82); --line:rgba(22,27,48,.25); --panel:rgba(22,27,48,.04); background:#f8f5ef; color:#161b30; }
.home-refined #pour-vous p,
.home-refined #pour-vous a,
.home-refined .quote-section p,
.home-refined .quote-section a,
.home-refined .quote-section blockquote,
.home-refined .quote-section cite { color:#161b30; }
/* Small orange lettering on cream lacks AA contrast; keep orange in rules. */
.home-refined #pour-vous .eyebrow,
.home-refined .quote-section .eyebrow { color:#161b30; border-left:3px solid #e8642c; padding-left:12px; }
.home-refined #pour-vous .text-link { border-color:#e8642c; }
.home-refined a { text-underline-offset:.22em; }
.home-refined a:hover { text-decoration:underline; }
.home-refined a:focus-visible,
.home-refined button:focus-visible { outline:3px solid currentColor; outline-offset:5px; }
.home-refined .pill:hover,
.home-refined .menu:hover { text-decoration:none; border-color:currentColor; background:rgba(248,245,239,.1); }
.home-refined .pill.button-primary { background:#e8642c; color:#161b30; border:2px solid #e8642c; font-weight:600; }
.home-refined .pill.button-primary:hover { background:#f8f5ef; color:#161b30; border-color:#e8642c; }
.home-refined .director-editorial { grid-template-columns:240px minmax(0,1fr); gap:20px 64px; align-items:start; }
.home-refined .director-identity { display:contents; }
.home-refined .director-identity > .eyebrow { grid-column:1 / -1; margin:0 0 8px; }
.home-refined .director-home-portrait { grid-column:1; grid-row:2; width:240px; height:240px; max-width:100%; margin:0; object-fit:cover; }
.home-refined .director-editorial > div:last-child { grid-column:2; grid-row:2; }
.home-refined .director-editorial h2 { margin-top:0; }
.home-refined .director-links { display:flex; flex-wrap:wrap; gap:8px 28px; align-items:center; }
.home-refined .director-links .text-link { font-size:14px; color:#f8f5ef; }
.home-refined .editorial-publications { grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.home-refined .editorial-publications > article { min-width:0; display:flex; flex-direction:column; }
.home-refined .editorial-publications p.publication-source { display:block; margin:0 0 18px; color:var(--muted); font-size:11px; line-height:1.6; font-weight:500; letter-spacing:.08em; text-transform:uppercase; }
.home-refined .editorial-publications h3 { overflow-wrap:break-word; }
.home-refined .editorial-publications .text-link { align-self:flex-start; margin-top:auto; }
.home-refined footer .brand { padding:0; }
.home-refined footer .logo-image { width:190px; height:auto; aspect-ratio:auto; }
.home-refined footer .footer-links { gap:4px; }
.home-refined footer a,
.home-refined footer .footer-coords { font-size:13px; text-decoration:none; }
.home-refined footer a:hover { text-decoration:underline; }
.home-refined footer .footer-links a { min-height:44px; display:flex; align-items:center; }
@media (max-width:1100px) and (min-width:901px) {
  .home-refined header .logo-image { width:210px; }
  .home-refined .introduction-grid { grid-template-columns:minmax(0,1fr) minmax(0,42%); gap:32px; }
}
@media (max-width:900px) {
  .home-refined .introduction-grid { grid-template-columns:minmax(0,1fr); gap:36px; }
  .home-refined .introduction-visual { max-width:500px; }
  .home-refined header .logo-image { width:210px; }
  .home-refined .director-editorial { grid-template-columns:240px minmax(0,1fr); gap:20px 32px; }
}
@media (max-width:767px) {
  .home-refined .editorial-publications { grid-template-columns:minmax(0,1fr); }
  .home-refined .director-editorial { grid-template-columns:minmax(0,1fr); }
  .home-refined .director-home-portrait { grid-column:1; grid-row:2; }
  .home-refined .director-editorial > div:last-child { grid-column:1; grid-row:3; }
  .home-refined header .logo-image { width:190px; }
  .home-refined.header-compact header .logo-image { width:160px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-refined header nav,
  .home-refined header .logo-image { transition:none; }
}
.home-refined .introduction-visual > img { max-width:100%; }
.home-refined footer .footer-coordinates { font-size:13px; }

.home-refined.cabinet-editorial .introduction-visual > img.home-listening-photo { aspect-ratio:1183 / 789; object-fit:contain; }

/* Service details supplied for the three homepage audiences. */
.home-refined #pour-vous .audience-services { margin:0 0 28px; padding-left:1.15em; color:#161b30; font-size:15px; line-height:1.65; }
.home-refined #pour-vous .audience-services li { padding-left:.2em; }
.home-refined #pour-vous .audience-services li + li { margin-top:12px; }
.home-refined #pour-vous .audience-services li::marker { color:#161b30; }
.home-refined #pour-vous .audience-accreditation { margin:36px 0 0; padding-top:24px; border-top:1px solid rgba(22,27,48,.25); font-size:14px; line-height:1.7; }
/* Experience and qualifications: same typography for all five entries. */
.home-refined .credentials-row { grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; }
.home-refined .credentials-row > div { min-width:0; padding-right:0; }
.home-refined .credentials-row > div + div { padding-left:16px; border-left:1px solid var(--line); }
@media (min-width:1025px) {
  .home-refined .credentials-row.credentials-stacked { grid-template-columns:repeat(6,minmax(0,1fr)); gap:32px 24px; }
  .home-refined .credentials-stacked > div:nth-child(-n+2) { grid-column:span 3; }
  .home-refined .credentials-stacked > div:nth-child(n+3) { grid-column:span 2; }
  .home-refined .credentials-stacked > div:nth-child(3) { padding-left:0; border-left:0; }
}
@media (min-width:641px) and (max-width:1024px) {
  .home-refined .credentials-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 24px; }
  .home-refined .credentials-row > div:nth-child(odd) { padding-left:0; border-left:0; }
}
@media (max-width:640px) {
  .home-refined .credentials-row { grid-template-columns:minmax(0,1fr); gap:24px; }
  .home-refined .credentials-row > div,
  .home-refined .credentials-row > div + div { padding:0; border:0; }
  .home-refined .credentials-row > div + div { border-top:1px solid var(--line); padding-top:24px; }
}
/* Grid overlays keep the height of the longest quote at every viewport width. */
.home-refined .testimonial-carousel { max-width:880px; margin:0 auto; touch-action:pan-y; }
.home-refined .testimonial-slides { display:grid; }
.home-refined .testimonial-slide { grid-area:1 / 1; width:100%; max-width:830px; align-self:center; opacity:0; visibility:hidden; pointer-events:none; transition:opacity 500ms ease,visibility 500ms; }
.home-refined .testimonial-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; }
.home-refined .testimonial-slide .quote-mark { color:#e8642c; }
.home-refined .testimonial-controls { display:none; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin-top:28px; }
.home-refined .testimonial-carousel[data-ready] .testimonial-controls { display:flex; }
.home-refined .testimonial-controls button { display:inline-flex; justify-content:center; align-items:center; min-width:44px; min-height:44px; padding:8px; border:1px solid transparent; border-radius:3px; background:transparent; color:#161b30; cursor:pointer; font:inherit; }
.home-refined .testimonial-controls button:hover { border-color:#161b30; }
.home-refined .testimonial-controls button:focus-visible { outline:3px solid #161b30; outline-offset:3px; }
.home-refined .testimonial-dots { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; }
.home-refined .testimonial-controls .testimonial-dot { padding:0; }
.home-refined .testimonial-dot span { width:8px; height:8px; border:1px solid #161b30; border-radius:50%; background:transparent; }
.home-refined .testimonial-dot[aria-current="true"] span { width:10px; height:10px; background:#e8642c; border-color:#161b30; }
.home-refined .testimonial-controls .testimonial-pause { font-size:12px; }
@media (max-width:480px) {
  .home-refined .testimonial-controls { gap:2px; }
  .home-refined .testimonial-dots { order:3; flex-basis:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .home-refined .testimonial-slide { transition:none; }
  .home-refined .testimonial-controls .testimonial-pause { display:none; }
}
