/* Redesigned content pages (tools/build-pages.mjs). Same design language as the Programs page; every rule is
   scoped under .acs-pg so it wins over the WordPress theme. */
.acs-pg {
  --navy: #071a36; --navy-2: #0b2a55; --blue: #1f8fd6; --green: #8dc63f; --purple: #7b4fd6; --amber: #f2a93b;
  --muted: #5d6b82; --ink: #33415c; --line: #e4ebf4; --soft: #f4f7fb; --ease: cubic-bezier(.22, 1, .36, 1);
  width: 100vw; margin-left: calc(50% - 50vw); position: relative; overflow-x: clip;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; color: var(--navy); -webkit-font-smoothing: antialiased;
}
.acs-pg *, .acs-pg *::before, .acs-pg *::after { box-sizing: border-box; }
.acs-pg img { display: block; max-width: 100%; height: auto; }
.acs-pg h1, .acs-pg h2, .acs-pg h3 { font-family: inherit; text-transform: none; }
.acs-pg ul, .acs-pg ol { list-style: none; margin: 0; padding: 0; }
.acs-pg .acs-pg__wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* type */
.acs-pg .acs-pg__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); }
.acs-pg .acs-pg__eyebrow--light { color: var(--green); }
.acs-pg .acs-pg__h1 { margin: 0; color: #fff; font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.acs-pg .acs-pg__h1 span { display: block; background: linear-gradient(90deg, #6cc4ff, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.acs-pg .acs-pg__h2 { margin: 0; color: var(--navy); font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.acs-pg .acs-pg__h3 { margin: 0; color: var(--navy); font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.acs-pg .acs-pg__p { margin: 16px 0 0; font-size: 17px; line-height: 1.75; color: var(--ink); }
.acs-pg .acs-pg__intro { margin: 14px auto 0; max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.acs-pg .acs-pg__lead { margin: 20px 0 0; max-width: 560px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.acs-pg .acs-pg__head { text-align: center; max-width: 820px; margin: 0 auto 44px; }

/* buttons */
.acs-pg .acs-pg__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.acs-pg .acs-pg__btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--green); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(141, 198, 63, .9); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.acs-pg .acs-pg__btn svg { transition: transform .35s var(--ease); }
.acs-pg .acs-pg__btn:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 20px 36px -16px rgba(141, 198, 63, 1); }
.acs-pg .acs-pg__btn:hover svg { transform: translateX(4px); }
.acs-pg .acs-pg__btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px #c8d4e3; }
.acs-pg .acs-pg__btn--ghost:hover { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.acs-pg .acs-pg__hero .acs-pg__btn--ghost, .acs-pg .acs-pg__cta .acs-pg__btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.acs-pg .acs-pg__hero .acs-pg__btn--ghost:hover, .acs-pg .acs-pg__cta .acs-pg__btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px #fff; }

/* hero */
.acs-pg .acs-pg__hero { position: relative; padding: 70px 0 120px; color: #fff;
  background: radial-gradient(900px 500px at 85% 10%, rgba(31, 143, 214, .45), transparent 60%), radial-gradient(700px 420px at 5% 100%, rgba(141, 198, 63, .25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); }
.acs-pg .acs-pg__hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.acs-pg .acs-pg__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.acs-pg .acs-pg__chips li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.acs-pg .acs-pg__chips b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.acs-pg .acs-pg__chips span { font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .75); max-width: 140px; }
.acs-pg .acs-pg__hero-photo { position: relative; margin: 0; }
.acs-pg .acs-pg__hero-photo img { position: relative; z-index: 1; width: 100%; border-radius: 30px; border: 5px solid rgba(255, 255, 255, .9); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); transform: rotate(2deg); }
.acs-pg .acs-pg__hero-photo--portrait { max-width: 420px; justify-self: center; }
.acs-pg .acs-pg__hero-photo--portrait img { border-radius: 50% 50% 30px 30px; }
.acs-pg .acs-pg__collage { position: relative; height: 470px; }
.acs-pg .acs-pg__shot { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; border: 5px solid rgba(255, 255, 255, .9); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.acs-pg .acs-pg__shot img { width: 100%; height: 100%; object-fit: cover; }
.acs-pg .acs-pg__shot--1 { width: 64%; aspect-ratio: 4 / 3; left: 0; top: 10px; transform: rotate(-4deg); z-index: 2; }
.acs-pg .acs-pg__shot--2 { width: 52%; aspect-ratio: 4 / 3; right: 0; top: 60px; transform: rotate(5deg); z-index: 1; }
.acs-pg .acs-pg__shot--3 { width: 50%; aspect-ratio: 4 / 3; left: 24%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.acs-pg .acs-pg__blob { position: absolute; border-radius: 50%; z-index: 0; }
.acs-pg .acs-pg__blob--a { width: 120px; height: 120px; right: 4%; bottom: 20px; background: var(--green); opacity: .85; }
.acs-pg .acs-pg__blob--b { width: 70px; height: 70px; left: -10px; bottom: 90px; background: var(--blue); opacity: .9; }
.acs-pg .acs-pg__hero-photo .acs-pg__blob--a { right: -20px; bottom: -20px; }
.acs-pg .acs-pg__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; display: block; }

/* photo + text */
.acs-pg .acs-pg__split { max-width: 1240px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; scroll-margin-top: 20px; }
.acs-pg .acs-pg__split--rev .acs-pg__media { order: 2; }
.acs-pg .acs-pg__media { position: relative; margin: 0; }
.acs-pg .acs-pg__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 30px; background: var(--blue); opacity: .14; transition: transform .8s var(--ease); }
.acs-pg .acs-pg__split--rev .acs-pg__media::before { inset: 22px 22px -22px -22px; background: var(--green); opacity: .22; }
.acs-pg .acs-pg__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 60px -32px rgba(7, 26, 54, .55); }
.acs-pg .acs-pg__points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.acs-pg .acs-pg__points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.acs-pg .acs-pg__points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* value / belief cards */
.acs-pg .acs-pg__values { padding: 90px 0; background: linear-gradient(180deg, #f6f9fd, #fff); }
.acs-pg .acs-pg__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.acs-pg .acs-pg__cards--3 { grid-template-columns: repeat(3, 1fr); }
.acs-pg .acs-pg__cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; }
.acs-pg .acs-pg__card { --tone: var(--blue); position: relative; padding: 30px 28px 32px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(7, 26, 54, .45); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.acs-pg .acs-pg__card[data-tone="green"] { --tone: var(--green); }
.acs-pg .acs-pg__card[data-tone="purple"] { --tone: var(--purple); }
.acs-pg .acs-pg__card[data-tone="amber"] { --tone: var(--amber); }
.acs-pg .acs-pg__card::after { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: var(--tone); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.acs-pg .acs-pg__card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(7, 26, 54, .5); }
.acs-pg .acs-pg__card:hover::after { transform: scaleX(1); }
.acs-pg .acs-pg__card .acs-pg__p { font-size: 15.5px; line-height: 1.7; margin-top: 10px; }
.acs-pg .acs-pg__icon { width: 92px; height: auto; margin-bottom: 18px; }
.acs-pg .acs-pg__num { display: block; margin-bottom: 14px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--tone); }

/* admission steps */
.acs-pg .acs-pg__steps { padding: 90px 0; scroll-margin-top: 20px; }
.acs-pg .acs-pg__timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.acs-pg .acs-pg__timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); opacity: .35; }
.acs-pg .acs-pg__timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.acs-pg .acs-pg__step { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 0 0 7px #fff, 0 14px 30px -12px rgba(7, 26, 54, .6); position: relative; z-index: 1; }
.acs-pg .acs-pg__timeline li:nth-child(even) .acs-pg__step { background: var(--blue); }
.acs-pg .acs-pg__timeline li:last-child .acs-pg__step { background: var(--green); color: var(--navy); }
.acs-pg .acs-pg__timeline .acs-pg__h3 { font-size: 17px; }
.acs-pg .acs-pg__timeline .acs-pg__p { font-size: 14.5px; line-height: 1.6; margin-top: 6px; }

/* document checklists */
.acs-pg .acs-pg__docs { padding: 90px 0; background: var(--soft); }
.acs-pg .acs-pg__doc-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: start; }
.acs-pg .acs-pg__doc { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.acs-pg .acs-pg__doc:first-child { border-top: 5px solid var(--blue); }
.acs-pg .acs-pg__doc:nth-child(2) { border-top: 5px solid var(--green); }
.acs-pg .acs-pg__doc:nth-child(3) { border-top: 5px solid var(--purple); }
.acs-pg .acs-pg__note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.acs-pg .acs-pg__doc ul { margin-top: 16px; display: grid; gap: 12px; }
.acs-pg .acs-pg__doc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink); }
.acs-pg .acs-pg__doc li svg { flex: none; margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: #e6f6ec; color: #17803d; }

/* feature (calendar) */
.acs-pg .acs-pg__feature { max-width: 1240px; margin: 0 auto; padding: 90px 24px; }
.acs-pg .acs-pg__feature-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 50px; border-radius: 34px; background: linear-gradient(135deg, #eef6ff, #f3faea); }
.acs-pg .acs-pg__feature-img { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(7, 26, 54, .5); transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.acs-pg .acs-pg__feature-img:hover { transform: rotate(0) scale(1.02); }
.acs-pg .acs-pg__feature-img img { width: 100%; max-height: 520px; object-fit: cover; object-position: top; }

/* principal letter */
.acs-pg .acs-pg__letter { max-width: 1140px; margin: 0 auto; padding: 80px 24px 40px; }
.acs-pg .acs-pg__letter-inner { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.acs-pg .acs-pg__letter-side { position: sticky; top: 30px; text-align: center; }
.acs-pg .acs-pg__letter-side figure { margin: 0 0 18px; }
.acs-pg .acs-pg__letter-side img { border-radius: 28px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(7, 26, 54, .5); }
.acs-pg .acs-pg__sig-name { margin: 0; font-size: 22px; font-weight: 800; }
.acs-pg .acs-pg__sig-role { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.acs-pg .acs-pg__letter-body { position: relative; padding: 48px 52px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -45px rgba(7, 26, 54, .45); }
.acs-pg .acs-pg__letter-body::before { content: "“"; position: absolute; top: -34px; left: 36px; font-size: 140px; line-height: 1; font-family: Georgia, serif; color: var(--green); }
.acs-pg .acs-pg__greet { margin: 0; font-size: 20px; font-weight: 700; }
.acs-pg .acs-pg__p--lead { font-size: 20px; line-height: 1.6; color: var(--navy); font-weight: 600; }
.acs-pg .acs-pg__letter-body strong { color: var(--navy); }
.acs-pg .acs-pg__signoff { margin: 28px 0 0; font-size: 16px; color: var(--muted); }
.acs-pg .acs-pg__signature { margin: 4px 0 0; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 40px; color: var(--navy-2); }

/* team section inside a page */
.acs-pg .acs-pg__team { scroll-margin-top: 20px; }

/* call to action */
.acs-pg .acs-pg__cta { max-width: 1240px; margin: 30px auto 90px; padding: 0 24px; }
.acs-pg .acs-pg__cta-inner { padding: 60px; border-radius: 34px; color: #fff; text-align: center;
  background: radial-gradient(600px 300px at 0% 0%, rgba(141, 198, 63, .45), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(31, 143, 214, .55), transparent 60%), var(--navy); }
.acs-pg .acs-pg__cta .acs-pg__h2 { color: #fff; }
.acs-pg .acs-pg__cta .acs-pg__p { color: rgba(255, 255, 255, .8); max-width: 600px; margin-left: auto; margin-right: auto; }
.acs-pg .acs-pg__cta .acs-pg__btns { justify-content: center; }

/* reveal on scroll (only while the script runs) */
.acs-pg.js-anim [data-reveal] .acs-pg__body > *, .acs-pg.js-anim .acs-pg__hero-text > *, .acs-pg.js-anim [data-reveal] .acs-pg__head > *, .acs-pg.js-anim .acs-pg__cta-inner > *,
.acs-pg.js-anim [data-reveal] .acs-pg__card, .acs-pg.js-anim [data-reveal] .acs-pg__timeline li, .acs-pg.js-anim [data-reveal] .acs-pg__doc, .acs-pg.js-anim .acs-pg__letter-body > * {
  opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.acs-pg.js-anim .is-in .acs-pg__body > *, .acs-pg.js-anim .is-in.acs-pg__hero-text > *, .acs-pg.js-anim .is-in .acs-pg__head > *, .acs-pg.js-anim .is-in .acs-pg__cta-inner > *,
.acs-pg.js-anim .is-in .acs-pg__card, .acs-pg.js-anim .is-in .acs-pg__timeline li, .acs-pg.js-anim .is-in .acs-pg__doc, .acs-pg.js-anim .is-in .acs-pg__letter-body > * { opacity: 1; transform: none; }
.acs-pg.js-anim .is-in .acs-pg__card, .acs-pg.js-anim .is-in .acs-pg__timeline li { transition-delay: calc(var(--i, 0) * 90ms); }
.acs-pg.js-anim .is-in .acs-pg__doc:nth-child(2) { transition-delay: .12s; }
.acs-pg.js-anim .is-in .acs-pg__doc:nth-child(3) { transition-delay: .24s; }
.acs-pg.js-anim .is-in .acs-pg__body > :nth-child(2), .acs-pg.js-anim .is-in.acs-pg__hero-text > :nth-child(2), .acs-pg.js-anim .is-in .acs-pg__letter-body > :nth-child(2) { transition-delay: .08s; }
.acs-pg.js-anim .is-in .acs-pg__body > :nth-child(3), .acs-pg.js-anim .is-in.acs-pg__hero-text > :nth-child(3), .acs-pg.js-anim .is-in .acs-pg__letter-body > :nth-child(3) { transition-delay: .16s; }
.acs-pg.js-anim .is-in .acs-pg__body > :nth-child(n+4), .acs-pg.js-anim .is-in.acs-pg__hero-text > :nth-child(n+4), .acs-pg.js-anim .is-in .acs-pg__letter-body > :nth-child(n+4) { transition-delay: .24s; }
.acs-pg.js-anim .acs-pg__media img { clip-path: inset(0 100% 0 0 round 30px); transition: clip-path 1.1s var(--ease) .1s; }
.acs-pg.js-anim .acs-pg__split--rev .acs-pg__media img { clip-path: inset(0 0 0 100% round 30px); }
.acs-pg.js-anim .is-in .acs-pg__media img, .acs-pg.js-anim .acs-pg__split--rev.is-in .acs-pg__media img { clip-path: inset(0 0 0 0 round 30px); }
.acs-pg.js-anim .acs-pg__media::before { transform: translate(-22px, -22px); }
.acs-pg.js-anim .acs-pg__split--rev .acs-pg__media::before { transform: translate(22px, -22px); }
.acs-pg.js-anim .is-in .acs-pg__media::before, .acs-pg.js-anim .acs-pg__split--rev.is-in .acs-pg__media::before { transform: none; transition-delay: .35s; }
.acs-pg.js-anim .acs-pg__collage .acs-pg__shot, .acs-pg.js-anim .acs-pg__hero-photo img { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.acs-pg.js-anim .acs-pg__collage .acs-pg__shot--1 { transform: translate(-40px, 30px) rotate(-10deg); }
.acs-pg.js-anim .acs-pg__collage .acs-pg__shot--2 { transform: translate(40px, -20px) rotate(12deg); }
.acs-pg.js-anim .acs-pg__collage .acs-pg__shot--3 { transform: translate(0, 50px) rotate(4deg); }
.acs-pg.js-anim .acs-pg__hero-photo img { transform: translateY(40px) rotate(6deg); }
.acs-pg.js-anim .acs-pg__collage.is-in .acs-pg__shot, .acs-pg.js-anim .acs-pg__hero-photo.is-in img { opacity: 1; }
.acs-pg.js-anim .acs-pg__collage.is-in .acs-pg__shot--1 { transform: rotate(-4deg); transition-delay: .15s; }
.acs-pg.js-anim .acs-pg__collage.is-in .acs-pg__shot--2 { transform: rotate(5deg); transition-delay: .3s; }
.acs-pg.js-anim .acs-pg__collage.is-in .acs-pg__shot--3 { transform: rotate(-1deg); transition-delay: .45s; }
.acs-pg.js-anim .acs-pg__hero-photo.is-in img { transform: rotate(2deg); transition-delay: .15s; }
.acs-pg .is-in .acs-pg__blob--a { animation: acs-pg-float 7s ease-in-out infinite; }
.acs-pg .is-in .acs-pg__blob--b { animation: acs-pg-float 9s ease-in-out infinite reverse; }
@keyframes acs-pg-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -16px); } }

@media (max-width: 1024px) {
  .acs-pg .acs-pg__timeline { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin: 0 auto; }
  .acs-pg .acs-pg__timeline::before { left: 27px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; background: linear-gradient(180deg, var(--blue), var(--green)); }
  .acs-pg .acs-pg__timeline li { flex-direction: row; text-align: left; align-items: flex-start; padding-bottom: 26px; }
  .acs-pg .acs-pg__doc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .acs-pg .acs-pg__hero { padding: 44px 0 100px; }
  .acs-pg .acs-pg__hero-inner, .acs-pg .acs-pg__split, .acs-pg .acs-pg__feature-inner, .acs-pg .acs-pg__letter-inner { grid-template-columns: 1fr; gap: 36px; }
  .acs-pg .acs-pg__collage { height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
  .acs-pg .acs-pg__hero-photo { max-width: 520px; width: 100%; margin: 0 auto; }
  .acs-pg .acs-pg__split { padding: 50px 20px; }
  .acs-pg .acs-pg__split--rev .acs-pg__media { order: 0; }
  .acs-pg .acs-pg__media::before, .acs-pg .acs-pg__split--rev .acs-pg__media::before { inset: 14px -10px -14px 10px; }
  .acs-pg .acs-pg__cards--3, .acs-pg .acs-pg__cards--2 { grid-template-columns: repeat(2, 1fr); }
  .acs-pg .acs-pg__values, .acs-pg .acs-pg__steps, .acs-pg .acs-pg__docs { padding: 60px 0; }
  .acs-pg .acs-pg__feature { padding: 60px 20px; }
  .acs-pg .acs-pg__feature-inner { padding: 30px 24px; }
  .acs-pg .acs-pg__letter-side { position: static; max-width: 280px; margin: 0 auto; }
  .acs-pg .acs-pg__letter-body { padding: 40px 26px; }
  .acs-pg .acs-pg__cta-inner { padding: 44px 22px; }
}
@media (max-width: 600px) {
  .acs-pg .acs-pg__wrap, .acs-pg .acs-pg__hero-inner { padding: 0 16px; }
  .acs-pg .acs-pg__collage { height: 260px; }
  .acs-pg .acs-pg__cards--3, .acs-pg .acs-pg__cards--2 { grid-template-columns: 1fr; }
  .acs-pg .acs-pg__lead, .acs-pg .acs-pg__p { font-size: 16px; }
  .acs-pg .acs-pg__p--lead { font-size: 18px; }
  .acs-pg .acs-pg__chips li { flex: 1 1 100%; }
  .acs-pg .acs-pg__split { padding: 40px 16px; }
  .acs-pg .acs-pg__cta { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .acs-pg *, .acs-pg *::before, .acs-pg *::after { transition: none !important; animation: none !important; }
}

/* text-only banner (no photo) */
.acs-pg .acs-pg__hero--text .acs-pg__hero-inner { grid-template-columns: 1fr; text-align: center; }
.acs-pg .acs-pg__hero--text .acs-pg__hero-text { max-width: 820px; margin: 0 auto; }
.acs-pg .acs-pg__hero--text .acs-pg__lead { margin-left: auto; margin-right: auto; }
.acs-pg .acs-pg__hero--text .acs-pg__btns { justify-content: center; }
.acs-pg .acs-pg__hero--text { padding: 80px 0 130px; }

/* statement quoted word for word (vision) */
.acs-pg .acs-pg__statement { padding: 90px 0; background: linear-gradient(180deg, #f6f9fd, #fff); }
.acs-pg .acs-pg__statement .acs-pg__head { max-width: 980px; }
.acs-pg .acs-pg__quote { position: relative; margin: 10px 0 0; padding: 0; border: 0; font-size: clamp(24px, 2.7vw, 36px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; color: var(--navy); }
.acs-pg .acs-pg__quote::before, .acs-pg .acs-pg__quote::after { font-family: Georgia, serif; color: var(--green); font-size: 1.4em; line-height: 0; vertical-align: -.35em; }
.acs-pg .acs-pg__quote::before { content: "“"; margin-right: .08em; }
.acs-pg .acs-pg__quote::after { content: "”"; margin-left: .04em; }
.acs-pg .acs-pg__parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.acs-pg .acs-pg__part { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.acs-pg .acs-pg__part::first-letter { text-transform: uppercase; }
.acs-pg.js-anim [data-reveal] .acs-pg__quote { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.acs-pg.js-anim .is-in .acs-pg__quote { opacity: 1; transform: none; }
@media (max-width: 960px) { .acs-pg .acs-pg__parts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .acs-pg .acs-pg__parts { grid-template-columns: 1fr; } .acs-pg .acs-pg__hero--text { padding: 50px 0 100px; } }

/* contact cards */
.acs-pg .acs-pg__contact { padding: 70px 0 20px; }
.acs-pg .acs-pg__ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.acs-pg .acs-pg__ccard { text-align: left; }
.acs-pg .acs-pg__cicon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; color: #fff; background: var(--tone); box-shadow: 0 14px 28px -14px var(--tone); }
.acs-pg .acs-pg__ccard[data-tone="amber"] .acs-pg__cicon { color: var(--navy); }
.acs-pg .acs-pg__cline { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.acs-pg .acs-pg__ccard .acs-pg__h3 { margin-bottom: 4px; }
.acs-pg .acs-pg__cline a { color: var(--blue); font-weight: 700; text-decoration: none; }
.acs-pg .acs-pg__cline a:hover { text-decoration: underline; }

/* enquiry form + map */
.acs-pg .acs-pg__enquiry { max-width: 1240px; margin: 0 auto; padding: 60px 24px 90px; scroll-margin-top: 20px; }
.acs-pg .acs-pg__enquiry-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.acs-pg .acs-pg__formcard { padding: 44px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -45px rgba(7, 26, 54, .45); }
.acs-pg .acs-pg__formcard .acs-pg__intro { margin: 10px 0 0; }
.acs-pg .acs-pg__form { margin-top: 26px; display: grid; gap: 16px; }
.acs-pg .acs-pg__form p { margin: 0; }
.acs-pg .acs-pg__fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acs-pg .acs-pg__field { display: flex; flex-direction: column; gap: 7px; margin: 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.acs-pg .acs-pg__field i { font-style: normal; color: #d64545; }
.acs-pg .acs-pg__field .wpcf7-form-control-wrap { display: block; }
.acs-pg .acs-pg__field input, .acs-pg .acs-pg__field textarea { width: 100%; margin: 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #f8fafd; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--navy); box-shadow: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.acs-pg .acs-pg__field textarea { min-height: 150px; resize: vertical; }
.acs-pg .acs-pg__field input:focus, .acs-pg .acs-pg__field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 143, 214, .15); }
.acs-pg .acs-pg__field .wpcf7-not-valid { border-color: #d64545; }
.acs-pg .acs-pg__field .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #d64545; }
.acs-pg .acs-pg__fsubmit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.acs-pg .acs-pg__fsubmit .acs-pg__btn { border: 0; cursor: pointer; font-family: inherit; }
.acs-pg .acs-pg__fnote { flex: 1 1 220px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.acs-pg .acs-pg__fnote a { color: var(--blue); }
.acs-pg .wpcf7-spinner { margin: 0 0 0 6px; }
.acs-pg .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 14px 16px; border-radius: 14px; border-width: 1.5px; font-size: 14.5px; font-weight: 600; }
.acs-pg .wpcf7 form.sent .wpcf7-response-output { border-color: #46b450; background: #eef9ef; color: #17803d; }
.acs-pg .wpcf7 form.invalid .wpcf7-response-output, .acs-pg .wpcf7 form.failed .wpcf7-response-output { border-color: #f0b0b0; background: #fff4f4; color: #b42318; }
.acs-pg .wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.acs-pg .acs-pg__mapcard { position: relative; min-height: 460px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -45px rgba(7, 26, 54, .45); background: #e9eef5; }
.acs-pg .acs-pg__mapcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.acs-pg .acs-pg__mapbtn { position: absolute; left: 20px; bottom: 20px; background: #fff; box-shadow: 0 14px 30px -14px rgba(7, 26, 54, .6); }
.acs-pg .acs-pg__mapbtn:hover { background: var(--navy); color: #fff; }

/* the News & Stories grid inside a redesigned page */
.acs-pg .acs-pg__archive { padding-top: 10px; }

@media (max-width: 1024px) { .acs-pg .acs-pg__ccards { grid-template-columns: repeat(2, 1fr); } .acs-pg .acs-pg__enquiry-inner { grid-template-columns: 1fr; } .acs-pg .acs-pg__mapcard { min-height: 340px; } }
@media (max-width: 600px) {
  .acs-pg .acs-pg__ccards, .acs-pg .acs-pg__fgrid { grid-template-columns: 1fr; }
  .acs-pg .acs-pg__formcard { padding: 28px 20px; }
  .acs-pg .acs-pg__enquiry { padding: 40px 16px 60px; }
}
.acs-pg.js-anim [data-reveal] .acs-pg__ccard { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.acs-pg.js-anim .is-in .acs-pg__ccard { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms); }

/* story pages (tools/build-posts.mjs) */
.acs-story .acs-story__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .78); text-decoration: none; }
.acs-story .acs-story__back:hover { color: #fff; }
.acs-story .acs-story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.acs-story .acs-story__meta b { padding: 5px 12px; border-radius: 999px; background: #eaf4fc; color: #12689f; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.acs-story .acs-story__meta--light { color: rgba(255, 255, 255, .75); }
.acs-story .acs-story__meta--light b { background: rgba(141, 198, 63, .2); color: var(--green); }
.acs-story .acs-story__h1 { font-size: clamp(30px, 3.8vw, 50px); }
.acs-story .acs-pg__hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.acs-story .acs-story__article { max-width: 860px; margin: 0 auto; padding: 50px 24px 30px; }
.acs-story .acs-story__content { font-size: 18px; line-height: 1.8; color: var(--ink); }
.acs-story .acs-story__content p { margin: 0 0 20px; }
.acs-story .acs-story__content > p:first-of-type { font-size: 21px; line-height: 1.65; color: var(--navy); font-weight: 600; }
.acs-story .acs-story__content h2, .acs-story .acs-story__content h3 { margin: 34px 0 12px; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.acs-story .acs-story__content figure { margin: 0; }
.acs-story .acs-story__content .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0; }
.acs-story .acs-story__content .wp-block-gallery figure { margin: 0; width: auto !important; }
.acs-story .acs-story__content figure img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; cursor: zoom-in; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.acs-story .acs-story__content figure img:hover { transform: scale(1.02); box-shadow: 0 20px 40px -24px rgba(7, 26, 54, .6); }
.acs-story .acs-story__content > figure.wp-block-image img { aspect-ratio: auto; height: auto; }
.acs-story .acs-story__content figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.acs-story .acs-story__content a { color: var(--blue); }
.acs-story .acs-story__share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--navy); }
.acs-story .acs-story__share span { margin-right: 6px; }
.acs-story .acs-story__sharebtn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.acs-story .acs-story__sharebtn:hover { background: var(--navy); color: #fff; }
.acs-story .acs-story__sharebtn.is-done { background: var(--green); color: var(--navy); }
.acs-story .acs-story__more { padding-top: 70px; }
.acs-story .acs-story__more-card { padding: 0; overflow: hidden; }
.acs-story .acs-story__more-card a { display: block; text-decoration: none; color: inherit; }
.acs-story .acs-story__more-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.acs-story .acs-story__more-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.acs-story .acs-story__more-card:hover .acs-story__more-img img { transform: scale(1.05); }
.acs-story .acs-story__more-card .acs-story__meta { margin: 18px 22px 8px; }
.acs-story .acs-story__more-title { display: block; margin: 0 22px 24px; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.acs-story .acs-story__all { justify-content: center; margin-top: 36px; }
@media (max-width: 600px) {
  .acs-story .acs-story__content .wp-block-gallery { grid-template-columns: repeat(2, 1fr); }
  .acs-story .acs-story__content { font-size: 16.5px; }
  .acs-story .acs-story__content > p:first-of-type { font-size: 18px; }
}
/* photo viewer (story galleries) */
.acs-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 30px; background: rgba(5, 14, 30, .9); opacity: 0; transition: opacity .25s; }
.acs-lightbox.is-on { opacity: 1; }
.acs-lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.acs-lightbox button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: #071a36; font-size: 26px; line-height: 1; cursor: pointer; }
.acs-lightbox .acs-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 24px; }
.acs-lightbox .acs-lightbox__prev { left: 18px; right: auto; }
.acs-lightbox .acs-lightbox__next { right: 18px; }
.acs-pg .acs-pg__fsubmit .acs-pg__btn { text-transform: none; letter-spacing: 0; opacity: 1; }
.acs-pg .acs-pg__form.submitting .acs-pg__btn { opacity: .7; }

/* Facebook posts on story pages: video player, 2-4 photo galleries, link to the original post */
.acs-story .acs-story__video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 30px; border-radius: 22px; overflow: hidden; background: #0b1220; box-shadow: 0 30px 60px -34px rgba(7, 26, 54, .7); }
.acs-story .acs-story__video--reel { max-width: 400px; aspect-ratio: 9 / 16; margin-left: auto; margin-right: auto; }
.acs-story .acs-story__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.acs-story .acs-story__content .acs-story__gallery--2 { grid-template-columns: repeat(2, 1fr); }
.acs-story .acs-story__content .acs-story__gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr); }
.acs-story .acs-story__content .acs-story__gallery--3 figure:first-child { grid-row: span 2; }
.acs-story .acs-story__content .acs-story__gallery--3 figure:first-child img { aspect-ratio: auto; }
.acs-story .acs-story__content .acs-story__gallery--4 { grid-template-columns: repeat(2, 1fr); }
.acs-story .acs-story__content .acs-story__gallery--4 img, .acs-story .acs-story__content .acs-story__gallery--2 img { aspect-ratio: 4 / 3; }
.acs-story .acs-story__onfb { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #1877f2; font-weight: 800; text-decoration: none; }
.acs-story .acs-story__onfb svg { width: 16px; height: 16px; }
.acs-story .acs-story__onfb:hover { text-decoration: underline; }
@media (max-width: 600px) { .acs-story .acs-story__share { flex-wrap: wrap; } .acs-story .acs-story__onfb { margin-left: 0; width: 100%; } }
