/* Elementary follows the early-years editorial rhythm without repeating cards. */
.ac-page #stage-elementary.ac-es-editorial{display:block;background:transparent;padding:0;margin-top:140px}
.ac-es-opening{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(40px,6vw,88px);align-items:start}
.ac-es-opening-copy{padding-top:24px}
.ac-page .ac-es-opening .ac-stage-masthead{display:block;margin:0 0 40px}
.ac-page .ac-es-opening .ac-stage-masthead h2{font-size:clamp(38px,4vw,58px);line-height:1.25;margin:0}
.ac-page .ac-es-opening .ac-stage-subtitle{font-size:26px;line-height:1.6;color:var(--brand-text);margin:0 0 20px;font-weight:400}
.ac-page .ac-es-opening-copy>p:not(.ac-stage-subtitle){font-size:14px;line-height:2.05;color:#77736c;margin:0;max-width:32em}
.ac-es-opening .ac-path-wide-photo{margin:0;aspect-ratio:1;min-width:0}
.ac-es-opening .ac-path-wide-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:66% center}
.ac-es-grade{display:flex;align-items:baseline;gap:28px;margin-top:48px}
.ac-page .ac-es-grade .ac-phase-label{font-size:17px;color:#353330;font-weight:500}
.ac-page .ac-es-grade .ac-phase-title{font-size:14px;color:var(--brand-text);font-weight:400}
.ac-es-learning-pair{display:grid;grid-template-columns:1.2fr .8fr;gap:76px;align-items:start;margin-top:100px}
.ac-es-editorial figure{min-width:0}
.ac-es-learning-pair figure,.ac-es-inquiry-story figure,.ac-es-breadth-body figure{margin:0}
.ac-es-learning-pair img,.ac-es-inquiry-story img,.ac-es-breadth-body img{display:block;width:100%;height:auto;object-fit:cover}
.ac-es-reading-story>figure img{aspect-ratio:1.5}
.ac-es-reading-story>.ac-es-literacy{margin-top:28px}
.ac-page .ac-es-editorial h3{font-size:29px;line-height:1.55;font-weight:500;letter-spacing:0;margin:0;color:#353330}
.ac-page .ac-es-editorial h3>span{display:block;font-size:15px;line-height:1.7;color:var(--brand-text);margin-bottom:12px}
.ac-page .ac-es-editorial p{font-size:14px;line-height:1.95;color:#77736c;margin:16px 0 0}
.ac-es-math-story{padding-top:30px}
.ac-es-math-story .ac-es-math{padding-top:0}
.ac-es-math-story>figure{margin-top:30px}
.ac-es-math-story>figure img{aspect-ratio:1.35;object-position:center}
.ac-page .ac-es-editorial .ac-es-math-scope{font-size:15px;color:var(--brand-text);line-height:1.9;margin:22px 0}
.ac-es-editorial .ac-es-practices{gap:16px;margin-top:22px}
.ac-es-inquiry-story{display:grid;grid-template-columns:1.2fr .8fr;gap:76px;margin-top:92px;align-items:center}
.ac-es-inquiry-story>figure img{aspect-ratio:1.2;object-position:45% center}
.ac-es-inquiry-story .ac-es-inquiry-subjects{display:grid;grid-template-columns:1fr;gap:26px;margin-top:30px;padding:0}
.ac-es-editorial h4{font-size:19px;line-height:1.5;font-weight:500;margin:0;color:#353330}
.ac-page .ac-es-inquiry-subjects p{margin-top:10px}
.ac-es-breadth-story{margin-top:96px}
.ac-es-breadth-story>header{max-width:660px;margin-bottom:38px}
.ac-es-breadth-body{display:grid;grid-template-columns:.85fr 1.15fr;gap:76px;align-items:start}
.ac-es-breadth-body .ac-es-specialists{display:grid;gap:24px}
.ac-es-breadth-body .ac-es-specialists article{display:block}
.ac-page .ac-es-breadth-body .ac-es-specialists p{margin-top:9px}
.ac-es-breadth-body>figure{margin-top:26px}
.ac-es-breadth-body>figure img{aspect-ratio:1.15;object-position:center}
.ac-page .ac-es-editorial>.ac-stage-transition{font-size:13px;margin-top:48px;max-width:760px}
@media(min-width:761px) and (max-width:1100px){
.ac-es-opening{grid-template-columns:1fr 1fr;gap:36px}.ac-es-opening .ac-path-wide-photo{aspect-ratio:4/5}
.ac-es-learning-pair,.ac-es-inquiry-story,.ac-es-breadth-body{gap:40px}
.ac-page .ac-es-editorial h3{font-size:25px}
}
@media(max-width:760px){
.ac-page #stage-elementary.ac-es-editorial{margin-top:88px}
.ac-es-opening{display:flex;flex-direction:column;gap:28px}.ac-es-opening-copy{display:contents}
.ac-page .ac-es-opening .ac-stage-masthead{order:0;margin:0}
.ac-es-opening .ac-path-wide-photo{order:1;width:100%;aspect-ratio:1.3}
.ac-page .ac-es-opening .ac-stage-subtitle{order:2;font-size:25px;margin:0}
.ac-page .ac-es-opening-copy>p:not(.ac-stage-subtitle){order:3;font-size:13px;margin:-10px 0 0}
.ac-es-grade{order:4;margin:12px 0 0}
.ac-es-learning-pair{display:block;margin-top:60px}
.ac-page .ac-es-editorial h3{font-size:25px}
.ac-page .ac-es-editorial p{font-size:13px}
.ac-es-math-story{display:flex;flex-direction:column;margin-top:44px;padding:0}
.ac-es-math-story>figure{order:-1;margin:0 0 24px}
.ac-es-inquiry-story{display:block;margin-top:52px}
.ac-es-inquiry-story>figure img{aspect-ratio:1.4}
.ac-es-inquiry-copy{margin-top:24px}
.ac-es-breadth-story{margin-top:52px}
.ac-es-breadth-story>header{margin-bottom:28px}
.ac-es-breadth-body{display:flex;flex-direction:column;gap:28px}
.ac-es-breadth-body>figure{order:-1;margin:0;width:100%}
.ac-es-breadth-body>figure img{aspect-ratio:1.4}
.ac-page .ac-es-editorial>.ac-stage-transition{margin-top:34px;font-size:12px}
}
/* Shared visual language, a distinct elementary reading rhythm. */
.ac-es-opening{display:block}
.ac-es-opening-copy{padding:0}
.ac-page .ac-es-opening .ac-stage-masthead{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin:0 0 28px}
.ac-es-opening .ac-es-grade{margin:0;gap:20px}
.ac-page .ac-es-opening .ac-stage-subtitle{font-size:29px;margin:0 0 16px}
.ac-es-opening .ac-stage-subtitle br{display:none}
.ac-page .ac-es-opening-copy>p:not(.ac-stage-subtitle){max-width:780px;margin:0}
.ac-es-opening .ac-path-wide-photo{width:100%;aspect-ratio:2.1;margin-top:38px}
.ac-es-opening .ac-path-wide-photo img{object-position:center 57%}
.ac-es-learning-pair{display:grid;grid-template-columns:1.45fr .55fr;gap:36px 56px;margin-top:80px;align-items:start}
.ac-es-core-heading{grid-column:1/-1}
.ac-page .ac-es-core-heading h3{font-size:32px}
.ac-es-core-columns{display:grid;grid-template-columns:1fr 1fr;gap:42px}
.ac-es-core-columns .ac-es-math{padding:0}
.ac-page .ac-es-core-columns h3{font-size:23px;line-height:1.6}
.ac-es-core-columns .ac-es-practices>div{display:block}
.ac-es-core-columns .ac-es-practices dd{margin-top:5px}
.ac-es-learning-pair>figure{margin-top:44px}
.ac-es-learning-pair>figure img{aspect-ratio:.72;object-position:62% center}
.ac-es-inquiry-story{grid-template-columns:1.4fr .6fr;gap:36px 56px;align-items:center;margin-top:96px}
.ac-es-inquiry-story>header{grid-column:1/-1}
.ac-es-inquiry-story>header h3 br{display:none}
.ac-es-inquiry-story>figure img{aspect-ratio:1.55;object-position:center}
.ac-es-inquiry-story .ac-es-inquiry-subjects{margin:0;gap:30px}
.ac-es-breadth-story{margin-top:80px}
.ac-es-breadth-story>header{max-width:760px;margin-bottom:32px}
.ac-es-breadth-story>header h3 br{display:none}
.ac-es-breadth-body{display:block}
.ac-es-breadth-body .ac-es-specialists{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
@media(min-width:761px) and (max-width:1100px){
.ac-es-learning-pair{grid-template-columns:1.3fr .7fr;gap:32px}
.ac-es-core-columns{grid-template-columns:1fr;gap:32px}
.ac-es-learning-pair>figure img{aspect-ratio:.7}
.ac-es-inquiry-story{grid-template-columns:1.2fr .8fr;gap:32px}
.ac-es-breadth-body .ac-es-specialists{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
.ac-es-opening-copy{display:block}
.ac-page .ac-es-opening .ac-stage-masthead{align-items:center;margin-bottom:24px}
.ac-es-opening .ac-es-grade{display:block}
.ac-es-grade .ac-phase-label{display:none}
.ac-page .ac-es-opening .ac-stage-subtitle{font-size:23px;line-height:1.6;margin-bottom:16px}
.ac-es-opening .ac-path-wide-photo{margin-top:26px;aspect-ratio:1.3}
.ac-es-learning-pair{display:block;margin-top:52px}
.ac-page .ac-es-core-heading h3{font-size:26px}
.ac-es-core-columns{grid-template-columns:1fr;gap:32px;margin-top:26px}
.ac-page .ac-es-core-columns h3{font-size:23px}
.ac-es-learning-pair>figure{margin-top:30px}
.ac-es-learning-pair>figure img{aspect-ratio:1.5;object-position:center}
.ac-es-inquiry-story{display:block;margin-top:52px}
.ac-es-inquiry-story>header{margin-bottom:26px}
.ac-es-inquiry-story>figure img{aspect-ratio:1.4}
.ac-es-inquiry-copy{margin-top:26px}
.ac-es-breadth-story{margin-top:52px}
.ac-es-breadth-body .ac-es-specialists{grid-template-columns:1fr;gap:24px}
}
/* The chosen friendship photograph accompanies the wider elementary experience. */
.ac-es-breadth-body{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:center}
.ac-es-breadth-body .ac-es-specialists{grid-template-columns:1fr 1fr;gap:30px}
.ac-es-breadth-body>figure{margin:0}
.ac-es-breadth-body>figure img{aspect-ratio:1.35;object-position:42% center}
@media(max-width:760px){
.ac-es-breadth-body{display:flex;gap:28px}
.ac-es-breadth-body .ac-es-specialists{grid-template-columns:1fr}
.ac-es-breadth-body>figure img{aspect-ratio:1.5}
}
/* Keep the existing narrow column; keep the child, pencil and exercise book together. */
.ac-es-learning-pair>figure{overflow:hidden;aspect-ratio:.72}
.ac-es-learning-pair>figure img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:43% center;transform:none}
@media(max-width:760px){.ac-es-learning-pair>figure{aspect-ratio:1.5}.ac-es-learning-pair>figure img{aspect-ratio:auto;object-position:center 45%;transform:none}}

/* Grade and age close the opening beneath its classroom photograph. */
.ac-es-opening{display:block}
.ac-es-opening-copy{display:block}
.ac-es-age-index{padding:0;margin-top:48px}
.ac-es-opening+.ac-es-learning-pair{margin-top:112px}
.ac-es-age-index dl{margin:0;display:flex;flex-wrap:wrap;column-gap:clamp(30px,5vw,72px);row-gap:18px}
.ac-page .ac-es-age-index dl>div{display:flex;align-items:baseline;gap:14px;border:0;padding:0;background:transparent}
.ac-es-age-index dt{font-size:19px;font-weight:500;color:#353330}
.ac-page .ac-es-age-index dd{margin:0;color:var(--brand-text);font-size:15px;font-style:normal}
.ac-page .ac-es-age-index p{font-size:11px;line-height:1.7;color:#8c887f;margin-top:16px}
.ac-es-opening>.ac-path-wide-photo{margin-top:38px}
@media(max-width:760px){
.ac-es-age-index{margin-top:34px}
.ac-es-opening+.ac-es-learning-pair{margin-top:76px}
.ac-es-age-index dl{column-gap:28px;row-gap:16px}
.ac-page .ac-es-age-index dl>div{gap:10px}
.ac-es-age-index dt{font-size:17px}
.ac-page .ac-es-age-index dd{font-size:14px}
.ac-es-opening>.ac-path-wide-photo{margin-top:36px}
}

/* Matching subject hierarchy with shorter lines and a clearer column gutter. */
.ac-es-core-columns{column-gap:clamp(72px,7vw,112px)}
.ac-es-core-columns>article{min-width:0}
.ac-page .ac-es-core-columns .ac-es-subject-scope{color:var(--brand-text);font-size:14px;line-height:1.9;margin:22px 0 0;min-height:3.8em}
.ac-page .ac-es-core-columns .ac-es-intro{margin-top:12px}
.ac-page .ac-es-core-columns p,.ac-page .ac-es-core-columns dd{max-width:22em}
.ac-es-core-columns .ac-es-practices{margin-top:24px;gap:20px}
.ac-es-core-columns .ac-es-practices>div{border:0;padding:0}
.ac-es-core-columns .ac-es-practices dd{line-height:1.85;margin:5px 0 0}
@media(max-width:1100px){
.ac-page .ac-es-core-columns .ac-es-subject-scope{min-height:0}
.ac-es-core-columns{row-gap:44px}
}

/* Two compact subject summaries replace the repeated heading-and-detail ladders. */
.ac-es-core-columns{display:flex;flex-direction:column;gap:42px}
.ac-es-core-columns>article{max-width:590px}
.ac-page .ac-es-core-columns h3{font-size:25px;line-height:1.5}
.ac-page .ac-es-core-columns h3>span{font-size:14px;margin-bottom:10px}
.ac-page .ac-es-core-columns .ac-es-subject-scope{min-height:0;margin-top:14px;font-size:13px;line-height:1.8;max-width:none}
.ac-es-core-columns .ac-es-subject-scope br{display:none}
.ac-page .ac-es-core-columns .ac-es-summary{max-width:32em;margin-top:12px;line-height:1.9;text-wrap:pretty}
.ac-es-learning-pair>figure{margin-top:0}
@media(max-width:760px){
.ac-es-core-columns{gap:32px;margin-top:24px}
.ac-page .ac-es-core-columns h3{font-size:23px}
.ac-page .ac-es-core-columns .ac-es-summary{max-width:none}
.ac-es-learning-pair>figure{margin-top:32px}
}

/* All elementary subjects use the same name-and-paragraph hierarchy. */
.ac-es-core-columns{gap:30px}
.ac-es-core-columns h4{font-size:19px;line-height:1.5;font-weight:500;margin:0;color:#353330}
.ac-page .ac-es-core-columns article>p{max-width:32em;margin-top:10px;font-size:14px;line-height:1.95;text-wrap:pretty}
@media(max-width:760px){.ac-page .ac-es-core-columns article>p{font-size:13px;max-width:none}}
/* Keep the two subjects and their photograph together beneath the section title. */
@media(min-width:761px){
.ac-es-learning-pair{grid-template-columns:minmax(0,520px) minmax(0,326px);column-gap:48px;row-gap:56px}
.ac-es-core-columns{margin-top:0;gap:32px}
.ac-es-learning-pair>figure{margin-top:0}
}
@media(max-width:760px){
.ac-es-core-columns{margin-top:36px;gap:30px}
}

/* A quiet text section between the two classroom photographs. */
.ac-es-learning-pair{display:block}
.ac-es-core-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(64px,8vw,120px);row-gap:32px;margin-top:48px}
.ac-es-core-columns>article{max-width:none}
.ac-page .ac-es-core-columns article>p{max-width:30em}
@media(max-width:760px){
.ac-es-core-columns{grid-template-columns:1fr;gap:32px;margin-top:32px}
.ac-page .ac-es-core-columns article>p{max-width:none}
}

/* Concise subjects sit side by side, with the original writing portrait at right. */
.ac-es-learning-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,326px);gap:52px 56px;align-items:start}
.ac-es-core-columns{margin-top:0;column-gap:48px;row-gap:32px}
.ac-es-learning-pair>figure{margin-top:0}
@media(min-width:761px) and (max-width:1100px){
.ac-es-learning-pair{grid-template-columns:minmax(0,1fr) minmax(0,240px);column-gap:32px}
.ac-es-core-columns{column-gap:28px}
}
@media(max-width:760px){
.ac-es-learning-pair{display:block}
.ac-es-core-columns{margin-top:32px;grid-template-columns:1fr}
.ac-es-learning-pair>figure{margin-top:32px}
}
/* Stack the subjects within the current text column without resizing the photograph. */
.ac-es-core-columns{grid-template-columns:minmax(0,1fr);row-gap:32px}
/* Shift the portrait inward slightly while preserving the reading measure. */
@media(min-width:1101px){
.ac-es-learning-pair>figure{position:relative;left:-48px}
}

/* One editorial group: title and subjects at left, portrait aligned to its top. */
.ac-es-learning-pair{max-width:1000px;margin-left:auto;margin-right:auto;grid-template-columns:minmax(0,1fr) 326px;gap:72px;align-items:start}
.ac-es-core-copy{min-width:0}
.ac-es-core-copy .ac-es-core-columns{margin-top:36px;row-gap:30px}
.ac-page .ac-es-core-copy .ac-es-core-heading h3{font-size:32px;line-height:1.5;max-width:16em}
.ac-es-learning-pair>figure{position:static;left:auto;margin:0}
@media(min-width:761px) and (max-width:1100px){
.ac-es-learning-pair{grid-template-columns:minmax(0,1fr) 280px;gap:48px}
.ac-page .ac-es-core-copy .ac-es-core-heading h3{font-size:28px}
}
@media(max-width:760px){
.ac-es-learning-pair{display:block}
.ac-page .ac-es-core-copy .ac-es-core-heading h3{font-size:26px}
.ac-es-core-copy .ac-es-core-columns{margin-top:28px}
.ac-es-learning-pair>figure{margin-top:32px}
}

.ac-es-editorial .ac-es-core-columns article,.ac-es-editorial .ac-es-inquiry-subjects article,.ac-es-editorial .ac-es-specialists article{position:relative;padding-left:42px}
.ac-es-editorial article>.ac-topic-number{position:absolute;left:0;top:2px;font-size:20px;line-height:1.4;color:var(--brand-text)}

/* A compact, aligned grade index belongs to the opening photograph. */
.ac-es-age-index{max-width:800px;margin:38px auto 0}
.ac-es-age-index dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.ac-page .ac-es-age-index dl>div{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.ac-es-age-index dt{font-size:19px}
.ac-page .ac-es-age-index dd{font-size:15px;line-height:1.5}
@media(max-width:760px){
.ac-es-age-index{margin-top:28px}
.ac-es-age-index dl{gap:8px}
.ac-es-age-index dt{font-size:14px;white-space:nowrap}
.ac-page .ac-es-age-index dd{font-size:12px}
}

/* Trial: attach grade information to the photograph rather than a separate block. */
.ac-es-opening>.ac-path-wide-photo{position:relative;overflow:hidden}
.ac-es-opening .ac-es-age-index{position:absolute;inset:auto 0 0;max-width:none;margin:0;padding:17px 28px;background:rgba(239,231,216,.91);color:#40392f}
.ac-es-opening .ac-es-age-index dl{max-width:1000px;margin:auto;gap:18px}
.ac-page .ac-es-opening .ac-es-age-index dl>div{flex-direction:row;justify-content:center;align-items:baseline;gap:12px}
.ac-es-opening .ac-es-age-index dt{font-size:16px;color:#40392f;white-space:nowrap}
.ac-page .ac-es-opening .ac-es-age-index dd{font-size:13px;color:var(--brand-text);white-space:nowrap}
@media(max-width:760px){
.ac-es-opening .ac-es-age-index{padding:12px 8px}
.ac-es-opening .ac-es-age-index dl{gap:6px}
.ac-page .ac-es-opening .ac-es-age-index dl>div{flex-direction:column;align-items:center;gap:2px}
.ac-es-opening .ac-es-age-index dt{font-size:12px}
.ac-page .ac-es-opening .ac-es-age-index dd{font-size:11px}
}

.ac-phrase-together{white-space:nowrap}
/* Leave a little more breathing room between the specialist subject columns. */
@media(min-width:761px){
.ac-page .ac-es-specialists article>p{max-width:calc(100% - 1.5em);text-wrap:pretty}
}

/* Mobile opening photograph shares the text column's two edges. */
@media(max-width:760px){
  .ac-page #stage-elementary .ac-es-opening>.ac-path-wide-photo{
    width:100%;max-width:100%;margin-left:0!important;margin-right:0!important;
  }
}
