/* Discover Woodcroft (/discover-woodcroft): an editorial prospectus. Shared components live in ../wcu.css. */

/* 01 the statement: a large opening line with a highlighter, two photos and a stamped count */
.w-ab-intro__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.w-ab-intro__title { margin-bottom: 28px; }
.w-ab-intro__lede { margin-bottom: 34px; }
.w-ab-intro__media { position: relative; padding: 0 0 70px 0; }
.w-ab-intro__a1 { width: 78%; margin-left: auto; }
.w-ab-intro__a1 .w-arch { aspect-ratio: 4 / 4.6; }
.w-ab-intro__a2 { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 1 / 1; border: 8px solid var(--w-paper); z-index: 2; }
.w-ab-intro__count { position: absolute; right: -6px; bottom: 24px; z-index: 3; display: grid; justify-items: center; width: 128px; padding: 18px 10px 16px; background: var(--w-crimson); color: #fff; text-align: center; box-shadow: var(--w-shadow); }
.w-ab-intro__count b { display: flex; align-items: baseline; font: 400 52px/1 var(--w-serif); letter-spacing: -.04em; font-variation-settings: 'opsz' 144; }
.w-ab-intro__count sup { font-size: .45em; color: var(--w-yellow); top: 0; align-self: flex-start; font-style: italic; }
.w-ab-intro__count span { margin-top: 6px; font: 800 11px/1.2 var(--w-sans); letter-spacing: .18em; text-transform: uppercase; }

/* the three features as a ruled ledger, numbered in roman */
.w-ab-feats { list-style: none; margin: clamp(56px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--w-line-2); }
.w-ab-feat { position: relative; padding: 32px clamp(18px, 2.4vw, 36px) 34px; border-left: 1px solid var(--w-line-2); }
.w-ab-feat:first-child { border-left: 0; padding-left: 0; }
.w-ab-feat::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--w-crimson); }
.w-ab-feat:not(:first-child)::before { left: clamp(18px, 2.4vw, 36px); }
.w-ab-feat__n { position: absolute; right: clamp(18px, 2.4vw, 36px); top: 30px; font: italic 400 22px/1 var(--w-serif); color: var(--w-line-2); }
.w-ab-feat__ic { width: 40px; height: 40px; margin-bottom: 22px; }
.w-ab-feat h3 { margin-bottom: 12px; }
.w-ab-feat p { font-size: 15.5px; margin: 0; }

/* accreditation: a full-width note under the ledger */
.w-ab-accr { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); padding: clamp(26px, 3vw, 40px); background: var(--w-white); border: 1px solid var(--w-line); border-left: 4px solid var(--w-navy); border-radius: var(--w-r); }
.w-ab-accr__head img { width: 40px; height: 40px; margin-bottom: 16px; }
.w-ab-accr__head h3 { margin-bottom: 16px; }
.w-ab-accr p { margin: 0; }

/* 02 film band + numbers */
/* width: 100% keeps the frame inside its column: with aspect-ratio and min-height alone, the minimum height
   widened it (801px on a 768px screen) */
.w-ab-film__frame { position: relative; width: 100%; aspect-ratio: 3648 / 1184; min-height: 260px; }
.w-ab-film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 25, 51, .45), rgba(8, 25, 51, .05) 60%); pointer-events: none; }
.w-ab-film__play { position: absolute; left: 50%; top: 50%; margin: -42px 0 0 -42px; z-index: 2; }
.w-ab-film__seal { position: absolute; left: clamp(16px, 3vw, 44px); bottom: clamp(16px, 3vw, 40px); z-index: 2; width: clamp(96px, 10vw, 140px); }
.w-ab-film__seal img.w-seal__mark { width: 46%; height: auto; }
.w-ab-stats { margin-top: clamp(40px, 6vw, 72px); }
.w-ab-stats__ic { width: 36px; height: 36px; margin-bottom: 18px; display: block; }

/* 03 mission and vision: two columns divided by a rule, a large outline letter behind each */
.w-ab-mv__head { margin-bottom: clamp(44px, 6vw, 80px); }
.w-ab-mv__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .16); }
.w-ab-mv__col { position: relative; padding: clamp(36px, 4vw, 56px) clamp(20px, 4vw, 64px) 8px; overflow: hidden; isolation: isolate; }
.w-ab-mv__col + .w-ab-mv__col { border-left: 1px solid rgba(255, 255, 255, .16); }
.w-ab-mv__col:first-child { padding-left: 0; }
.w-ab-mv__letter { position: absolute; right: clamp(8px, 3vw, 48px); top: -.12em; z-index: -1; font: italic 400 clamp(160px, 18vw, 280px)/1 var(--w-serif); color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 64, .13); font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.w-ab-mv__h { display: flex; align-items: center; gap: 14px; font-size: clamp(28px, 3vw, 42px); margin-bottom: 22px; }
.w-ab-mv__h i { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); color: var(--w-yellow); font-size: 18px; border-radius: 2px; }
.w-ab-mv__col p { font: 400 clamp(17px, 1.4vw, 20px)/1.65 var(--w-serif); color: rgba(255, 255, 255, .86); font-variation-settings: 'opsz' 24; margin: 0; }

/* 04 professors: four deans as register entries, arch portrait beside the details */
.w-ab-profs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--w-line-2); }
.w-ab-prof { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: end; padding: 32px clamp(0px, 2vw, 28px) 32px 0; border-bottom: 1px solid var(--w-line-2); }
.w-ab-prof:nth-child(even) { border-left: 1px solid var(--w-line-2); padding-left: clamp(18px, 3vw, 40px); }
.w-ab-prof__img { display: block; aspect-ratio: 4 / 4.8; background: var(--w-paper-2); }
.w-ab-prof__img img { object-position: 50% 0; transition: transform 1s var(--w-ease); }
.w-ab-prof:hover .w-ab-prof__img img { transform: scale(1.05); }
.w-ab-prof__n { display: block; font: 400 15px/1 var(--w-serif); color: var(--w-crimson); margin-bottom: 12px; }
.w-ab-prof h3 { margin-bottom: 6px; }
.w-ab-prof h3 a:hover { color: var(--w-crimson); }
.w-ab-prof__role { font-size: 14.5px; color: var(--w-mute); margin-bottom: 16px; }
.w-ab-prof__contact { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--w-line-2); display: grid; gap: 6px; font-size: 14px; }
.w-ab-prof__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; color: var(--w-ink); font-weight: 600; word-break: break-word; }
.w-ab-prof__contact a:hover { color: var(--w-crimson); }
.w-ab-prof__contact i { color: var(--w-crimson); width: 16px; }

/* 05 testimonials: letters pinned in columns, the first one larger */
.w-ab-letters__count { margin: 0; font: 700 12px/1.3 var(--w-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--w-mute); }
.w-ab-letters__count b { font: 400 30px/1 var(--w-serif); color: var(--w-crimson); letter-spacing: 0; margin-right: 8px; vertical-align: -4px; }
.w-ab-letters__wall { columns: 3 300px; column-gap: clamp(18px, 2vw, 28px); }
.w-ab-letter { break-inside: avoid; margin: 0 0 clamp(18px, 2vw, 28px); padding: 26px 26px 22px; background: var(--w-white); border: 1px solid var(--w-line); border-radius: var(--w-r); position: relative; }
.w-ab-letter[hidden] { display: none; }
.w-ab-letter::before { content: "\201C"; position: absolute; right: 18px; top: 4px; font: 400 76px/1 var(--w-serif); color: var(--w-crimson-tint); }
.w-ab-letter__stars { display: flex; gap: 3px; color: var(--w-crimson); font-size: 12px; margin-bottom: 14px; }
.w-ab-letter blockquote { margin: 0 0 20px; font: 400 18px/1.5 var(--w-serif); color: var(--w-ink); font-variation-settings: 'opsz' 24; position: relative; }
.w-ab-letter--lead { background: var(--w-navy); border-color: transparent; }
.w-ab-letter--lead::before { color: rgba(255, 236, 64, .2); }
.w-ab-letter--lead blockquote { color: #fff; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.4; }
.w-ab-letter--lead .w-ab-letter__stars { color: var(--w-yellow); }
.w-ab-letter figcaption { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--w-line); font-size: 13.5px; color: var(--w-mute); }
.w-ab-letter figcaption strong { display: block; font: 600 15px/1.3 var(--w-sans); color: var(--w-ink); }
.w-ab-letter--lead figcaption { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .16); }
.w-ab-letter--lead figcaption strong { color: #fff; }
.w-ab-letter__img { flex: none; width: 44px; height: 54px; overflow: hidden; border-radius: 999px 999px 2px 2px; background: var(--w-paper-2); }
.w-ab-letter__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.w-ab-letters__more { display: flex; justify-content: center; margin-top: clamp(18px, 2vw, 28px); }
.w-ab-letters__more [aria-expanded="true"] .w-btn__i i { transform: rotate(45deg); }

/* 06 campus life: four arches, the second and fourth set lower */
.w-ab-campus__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.w-ab-campus__item:nth-child(even) { margin-top: clamp(0px, 5vw, 72px); }
.w-ab-campus__link { display: block; }
.w-ab-campus__arch { display: block; aspect-ratio: 3 / 4; }
.w-ab-campus__arch img { transition: transform 1.2s var(--w-ease); }
.w-ab-campus__link:hover .w-ab-campus__arch img { transform: scale(1.07); }
.w-ab-campus__cap { display: flex; align-items: baseline; gap: 12px; padding: 16px 0 12px; border-bottom: 1px solid var(--w-line-2); }
.w-ab-campus__n { font: 400 15px/1 var(--w-serif); color: var(--w-crimson); }
.w-ab-campus__t { font: 500 clamp(20px, 1.8vw, 26px)/1.1 var(--w-serif); color: var(--w-ink); }
.w-ab-campus__cap i { margin-left: auto; color: var(--w-mute); font-size: 14px; transition: color .3s, transform .5s var(--w-ease); }
.w-ab-campus__link:hover .w-ab-campus__cap i { color: var(--w-crimson); transform: scale(1.2); }

/* 07 alumni: a contact sheet of six portraits */
.w-ab-alumni__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.w-ab-alumni__sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.w-ab-alumni__ph { aspect-ratio: 1 / 1.2; overflow: hidden; background: var(--w-paper-2); border-radius: 999px 999px var(--w-r) var(--w-r); }
.w-ab-alumni__ph:nth-child(even) { border-radius: var(--w-r); transform: translateY(24px); }
.w-ab-alumni__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--w-ease); }
.w-ab-alumni__ph:hover img { transform: scale(1.08); }

@media (max-width: 1199px) {
    .w-ab-campus__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .w-ab-campus__item:nth-child(even) { margin-top: 48px; }
    .w-ab-campus__item:nth-child(n+3) { margin-top: 0; }
    .w-ab-campus__item:nth-child(4) { margin-top: 48px; }
}
@media (max-width: 991px) {
    .w-ab-intro__grid, .w-ab-alumni__grid { grid-template-columns: minmax(0, 1fr); }
    .w-ab-intro__media { max-width: 520px; width: 100%; justify-self: center; }
    .w-ab-feats { grid-template-columns: minmax(0, 1fr); }
    .w-ab-feat, .w-ab-feat:first-child { border-left: 0; padding-left: 0; padding-right: 0; }
    .w-ab-feat + .w-ab-feat { border-top: 1px solid var(--w-line-2); }
    .w-ab-feat:not(:first-child)::before { left: 0; }
    .w-ab-feat__n { right: 0; }
    .w-ab-accr { grid-template-columns: minmax(0, 1fr); }
    .w-ab-mv__grid { grid-template-columns: minmax(0, 1fr); }
    .w-ab-mv__col, .w-ab-mv__col:first-child { padding: 36px 0 32px; }
    .w-ab-mv__col + .w-ab-mv__col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
    .w-ab-profs__grid { grid-template-columns: minmax(0, 1fr); }
    .w-ab-prof, .w-ab-prof:nth-child(even) { border-left: 0; padding-left: 0; padding-right: 0; }
    .w-ab-alumni__sheet { max-width: 520px; }
}
@media (max-width: 575px) {
    .w-ab-intro__count { width: 104px; right: 0; }
    .w-ab-intro__count b { font-size: 42px; }
    .w-ab-film__frame { aspect-ratio: auto; height: 260px; }
    .w-ab-film__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
    .w-ab-prof { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
    .w-ab-campus__row { gap: 12px; }
    .w-ab-campus__item:nth-child(even) { margin-top: 32px; }
    .w-ab-campus__t { font-size: 18px; }
}
