/* Editorial refinement for the existing homepage. CMS markers and source order are untouched. */
body[data-cms-page="index"]{--home-gap:clamp(28px,5vw,76px)}
body[data-cms-page="index"] .section{padding-block:clamp(76px,8vw,120px)}
body[data-cms-page="index"] .section h2{font-size:clamp(2.4rem,4vw,4.25rem);line-height:1.07;max-width:15ch}
body[data-cms-page="index"] .eyebrow{letter-spacing:.18em}
body[data-cms-page="index"] .intro-text{line-height:1.8}

/* The four words are a discreet editorial key, not four false tabs. */
.home-masthead{min-height:max(690px,calc(100svh - 190px));display:flex;align-items:stretch;background-position:center,center 52%;text-shadow:0 1px 9px #102c2099}
.home-masthead>.container{display:flex;flex-direction:column;min-height:inherit;padding-block:clamp(32px,5vh,66px) 24px}
.home-masthead .pillar-keywords{display:flex;flex-wrap:wrap;gap:8px 22px;width:max-content;max-width:100%;margin:0 0 auto;padding:0;border:0;border-radius:0;overflow:visible}
.home-masthead .pillar-keywords li,.home-masthead .pillar-keywords li:nth-child(n){width:auto;padding:0;background:transparent;color:#f5f4e9;border:0;font:600 .68rem/1.5 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;text-align:left}
.home-masthead .pillar-keywords li+li:before{content:"·";margin-right:22px;color:#e6d8ae}
.home-masthead .masthead-copy{max-width:760px;margin-block:auto;padding:34px 0 52px}
.home-masthead .masthead-copy h1{font-size:clamp(3.5rem,6.5vw,6.7rem);line-height:1.01;letter-spacing:-.048em;max-width:12ch;text-wrap:balance}
.home-masthead .masthead-copy .lead{max-width:49ch;font-size:clamp(1.08rem,1.5vw,1.26rem);line-height:1.65}
.home-masthead .masthead-copy .hero-actions{gap:22px;margin-top:36px}
.home-masthead .masthead-copy .hero-secondary span[aria-hidden]{margin-left:.5em}
.home-masthead .masthead-caption{max-width:max-content;padding-top:13px;margin-top:0}
.home-masthead .btn{transition:transform .22s ease,background-color .22s ease,border-color .22s ease,color .22s ease}
.home-masthead .btn:hover{transform:translateY(-2px)}

/* Three related photographs: blue study, mauve detail, then white field observation. */
body[data-cms-page="index"] .home-photo{overflow:visible;border:0;border-radius:var(--radius);box-shadow:0 7px 22px #172e2312;transition:transform .3s ease,box-shadow .3s ease}
body[data-cms-page="index"] .home-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border:1px solid var(--line);border-radius:inherit;filter:saturate(.92) contrast(1.025)}
body[data-cms-page="index"] .home-photo:hover{transform:translateY(-3px);box-shadow:0 12px 26px #172e231c}

@media(min-width:861px){
  .home-why .intro-grid,#association .intro-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--home-gap);row-gap:0;align-items:start}
  .home-why .intro-grid{grid-template-rows:repeat(5,max-content) 1fr;min-height:650px}
  .home-why .intro-grid>div:first-child,.home-why .intro-text{display:contents}
  .home-why .eyebrow{grid-column:1/7;grid-row:1;margin-bottom:18px}
  .home-why h2{grid-column:1/7;grid-row:2;margin-bottom:30px}
  .home-why .intro-text p{grid-column:1/7;max-width:54ch;margin-bottom:18px}
  .home-why .intro-text p:nth-of-type(1){grid-row:3}
  .home-why .intro-text p:nth-of-type(2){grid-row:4}
  .home-why .intro-text p:nth-of-type(3){grid-row:5}
  .home-why .home-source-link{grid-column:1/7;grid-row:6;justify-self:start;align-self:start;margin-top:8px}
  .home-why .home-photo-wide{grid-column:7/13;grid-row:1/7;align-self:start;width:100%;aspect-ratio:4/5;margin:0}
  .home-why .home-photo-wide img{object-position:48% center}
  .home-why .home-photo-detail{grid-column:9/13;grid-row:5/7;align-self:end;justify-self:end;width:min(100%,260px);aspect-ratio:1/1;margin:0 -10px -30px 0;z-index:1;border:8px solid var(--sand);border-radius:calc(var(--radius) + 5px);box-shadow:0 7px 20px #172e2322}
  .home-why .home-photo-detail img{object-position:57% center}

  #association .intro-grid{grid-template-rows:repeat(3,max-content) 1fr;min-height:510px}
  #association .intro-grid>div:first-child,#association .intro-text{display:contents}
  #association .eyebrow{grid-column:1/7;grid-row:1;margin-bottom:18px}
  #association h2{grid-column:1/7;grid-row:2;margin-bottom:30px}
  #association .intro-text p{grid-column:1/7;max-width:54ch;margin-bottom:18px}
  #association .intro-text p:nth-of-type(1){grid-row:3}
  #association .intro-text p:nth-of-type(2){grid-row:4}
  #association .intro-text .text-link{grid-column:1/7;grid-row:5;justify-self:start;margin-top:12px}
  #association .home-photo-association{grid-column:8/13;grid-row:1/6;align-self:start;width:100%;max-width:none;aspect-ratio:4/5;margin:0;border-radius:90px var(--radius) var(--radius) var(--radius)}
  #association .home-photo-association img{object-position:50% center}
}

/* Quiet typographic rhythm beyond the image-led opening. */
body[data-cms-page="index"] .pillars{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 8%}
body[data-cms-page="index"] .pillars article{display:grid;grid-template-columns:55px 1fr;column-gap:15px;border-top-width:1px;padding-top:24px}
body[data-cms-page="index"] .pillars .number{grid-row:1/3;margin:4px 0 0;font:normal 1.15rem/1.2 Georgia,serif}
body[data-cms-page="index"] .pillars h3{font-size:clamp(1.75rem,2.4vw,2.35rem);margin-bottom:10px}
body[data-cms-page="index"] .pillars p{font-size:.95rem;max-width:44ch;line-height:1.7}
section[aria-labelledby="home-audiences-title"] .cards-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
section[aria-labelledby="home-audiences-title"] .card:nth-child(1){grid-column:span 7}
section[aria-labelledby="home-audiences-title"] .card:nth-child(2){grid-column:span 5}
section[aria-labelledby="home-audiences-title"] .card:nth-child(3){grid-column:1/-1;display:grid;grid-template-columns:3fr 5fr 4fr;align-items:center;gap:16px 38px}
section[aria-labelledby="home-audiences-title"] .card:nth-child(3) .card-kicker{grid-column:1/-1;margin-bottom:0}
section[aria-labelledby="home-audiences-title"] .card:nth-child(3) h3,section[aria-labelledby="home-audiences-title"] .card:nth-child(3) p{margin:0}
section[aria-labelledby="home-audiences-title"] .card:nth-child(3) .text-link{justify-self:end;margin:0}
section[aria-labelledby="home-audiences-title"] .card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
section[aria-labelledby="home-audiences-title"] .card:hover{transform:translateY(-3px);border-color:#92ab8e;box-shadow:0 8px 20px #173b290d}
body[data-cms-page="index"] .home-joining .steps li{padding-top:27px}
body[data-cms-page="index"] .home-joining .steps li:before{font:normal 1.4rem/1 Georgia,serif}

@media(max-width:860px){
  body[data-cms-page="index"] .section{padding-block:64px}
  body[data-cms-page="index"] .section h2{font-size:clamp(2.15rem,8vw,3.4rem)}
  .home-masthead{min-height:0}
  .home-masthead>.container{padding-block:24px 20px}
  .home-masthead .pillar-keywords{gap:5px 14px;margin-bottom:34px}
  .home-masthead .pillar-keywords li,.home-masthead .pillar-keywords li:nth-child(n){font-size:.59rem;letter-spacing:.11em}
  .home-masthead .pillar-keywords li+li:before{margin-right:14px}
  .home-masthead .masthead-copy{padding:0 0 30px}
  .home-masthead .masthead-copy h1{font-size:clamp(3rem,10vw,4.5rem)}
  .home-masthead .masthead-copy .lead{font-size:1rem}
  .home-masthead .masthead-caption{margin-top:12px}
  .home-why .home-photo-wide{aspect-ratio:1200/630;max-width:500px}
  .home-why .home-photo-wide img{object-position:49% center}
  .home-why .home-photo-detail{width:100%;max-width:340px;aspect-ratio:640/425;margin:30px 0 0;position:static;border:0;border-radius:var(--radius)}
  #association .home-photo-association{aspect-ratio:1/1;max-width:min(82%,390px);border-radius:65px var(--radius) var(--radius) var(--radius)}
  section[aria-labelledby="home-audiences-title"] .cards-grid{display:grid;grid-template-columns:1fr}
  section[aria-labelledby="home-audiences-title"] .card:nth-child(n){grid-column:1/-1}
  section[aria-labelledby="home-audiences-title"] .card:nth-child(3){display:flex}
  section[aria-labelledby="home-audiences-title"] .card:nth-child(3) .card-kicker{margin-bottom:20px}
  section[aria-labelledby="home-audiences-title"] .card:nth-child(3) h3{margin-bottom:15px}
  section[aria-labelledby="home-audiences-title"] .card:nth-child(3) p{margin-bottom:20px}
  section[aria-labelledby="home-audiences-title"] .card:nth-child(3) .text-link{align-self:flex-start}
}
@media(max-width:520px){
  .home-masthead .pillar-keywords{max-width:280px;gap:3px 9px}
  .home-masthead .pillar-keywords li+li:before{margin-right:9px}
  body[data-cms-page="index"] .pillars{grid-template-columns:1fr;gap:22px}
  .home-why .home-photo-detail{margin-top:30px}
}
@media(prefers-reduced-motion:reduce){.home-masthead .btn,body[data-cms-page="index"] .home-photo,section[aria-labelledby="home-audiences-title"] .card{transition:none!important;transform:none!important}}

/* Keep the editorial rhythm without making each chapter a full screen. */
@media(min-width:861px){
  body[data-cms-page="index"] .section{padding-block:clamp(58px,5vw,82px)}
  body[data-cms-page="index"] .section h2{font-size:clamp(2.35rem,3.45vw,3.5rem)}
  .home-masthead{min-height:max(580px,calc(86svh - 190px))}
  .home-masthead .masthead-copy h1{font-size:clamp(3.5rem,5.7vw,5.8rem)}
  .home-why .intro-grid{min-height:530px}
  .home-why .home-photo-wide{max-width:430px;justify-self:end}
  .home-why .home-photo-detail{grid-column:9/13;max-width:185px;margin:0 -10px -12px 0;border-width:6px}
  #association .intro-grid{min-height:440px}
  #association .home-photo-association{max-width:385px;justify-self:end}
}
@media(max-width:860px){body[data-cms-page="index"] .section{padding-block:50px}}
@media(max-width:520px){body[data-cms-page="index"] .section{padding-block:42px}.home-why .home-photo-detail{width:62%;max-width:220px;margin:18px 0 0 auto;position:relative;border:5px solid var(--sand)}#association .home-photo-association{max-width:260px}}

/* Fill the opening viewport below the unscrolled navigation (including its 1px border).
   A minimum, rather than a fixed height, lets longer CMS copy and text zoom grow freely. */
body[data-cms-page="index"] .home-masthead{
  --home-navigation-height:93px;
  min-height:calc(100vh - var(--home-navigation-height));
  min-height:calc(100dvh - var(--home-navigation-height));
  padding-block:0;
}
body[data-cms-page="index"] .home-masthead>.container{min-height:0}
@media(max-width:1199px){body[data-cms-page="index"] .home-masthead{--home-navigation-height:77px}}
@media(max-width:700px){body[data-cms-page="index"] .home-masthead{--home-navigation-height:71px}}
