/* Photo-led graduation editions; scoped independently of the established three. */
.graduation-modern{--gd-paper:#f6f4ee;--gd-ink:#212a29;--gd-accent:#3a5d54;font-family:'DM Sans',Arial,sans-serif}
.graduation-modern h1,.graduation-modern h2{font-family:'DM Sans',Arial,sans-serif;font-weight:500;letter-spacing:-.065em;line-height:1.03}
.graduation-modern h1{font-size:clamp(48px,6.8vw,96px)}
.graduation-modern h2{font-size:clamp(38px,4.7vw,66px)}
.graduation-modern .gm-nav{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 6%;border-bottom:1px solid #212a2925}
.graduation-modern .gm-brand{font-size:14px;font-weight:600;letter-spacing:-.025em}
.graduation-modern .gm-nav>div{display:flex;gap:28px;font-size:11px}
.graduation-modern .gm-nav a{display:inline-flex;align-items:center;min-height:44px}
.graduation-modern .gm-eyebrow{font-size:10px;font-weight:600;letter-spacing:.16em;line-height:1.6;margin-bottom:24px}
.graduation-modern .gm-class{font-size:11px;font-weight:500;letter-spacing:.16em}
.graduation-modern .gm-academic{font-size:15px;line-height:1.6;margin-top:28px}
.graduation-modern .gm-academic p+p{font-size:12px;margin-top:5px;opacity:.75}
.graduation-modern .gm-host{font-size:12px;margin-top:25px}
.graduation-modern .gm-responsive-picture{display:block;width:100%;height:100%}
.graduation-modern .gm-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.graduation-modern .gm-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:50px;padding:13px 0;font-size:12px;border-bottom:1px solid currentColor}
.graduation-modern .gm-cta span,.graduation-modern .gm-directions span{position:relative;display:inline-block;width:16px;height:16px;flex:none}
.graduation-modern .gm-cta span:before,.graduation-modern .gm-directions span:before{content:'';position:absolute;top:8px;left:0;width:15px;border-top:1px solid;transform:rotate(-45deg)}
.graduation-modern .gm-cta span:after,.graduation-modern .gm-directions span:after{content:'';position:absolute;top:2px;right:1px;width:8px;height:8px;border-top:1px solid;border-right:1px solid}
.graduation-modern .gm-invitation-title{font-size:21px;line-height:1.4;letter-spacing:-.03em;margin-top:34px}
.graduation-modern .gm-subtitle{font-size:14px;line-height:1.7;max-width:440px;margin-top:14px}
.graduation-modern .gm-hero-date{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:11px;margin:35px 0 12px;letter-spacing:.03em}
.graduation-modern .gm-facts{display:grid;gap:25px;margin:0}
.graduation-modern .gm-facts>div{display:grid;grid-template-columns:80px 1fr;gap:20px;border-bottom:1px solid #212a2925;padding-bottom:25px}
.graduation-modern .gm-facts dt{font-size:10px;letter-spacing:.14em;padding-top:6px}
.graduation-modern .gm-facts dd{margin:0;font-size:23px;line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere}
.graduation-modern .gm-facts small{display:block;font-size:13px;letter-spacing:0;margin-top:7px}
.graduation-modern .gm-directions{display:inline-flex;align-items:center;gap:35px;background:transparent;color:inherit;padding:14px 0;min-height:48px;font-size:12px;margin-top:10px}
.graduation-modern .gm-note{border-left:2px solid var(--gd-accent);padding-left:20px;margin-top:25px}
.graduation-modern .gm-note h3{font-size:12px;font-weight:600;margin-bottom:8px}
.graduation-modern .gm-note p{font-size:12px;line-height:1.8;white-space:pre-line}
.graduation-modern .gm-programme{padding:85px 9%;display:grid;grid-template-columns:1fr 1fr;gap:9%;border-top:1px solid #212a2925}
.graduation-modern .gm-programme ol{padding:0;margin:0;list-style:none}
.graduation-modern .gm-programme li{padding:25px 0;display:grid;grid-template-columns:45px 1fr;gap:20px;border-bottom:1px solid #212a2925}
.graduation-modern .gm-programme li span{font-size:13px;color:var(--gd-accent)}
.graduation-modern .gm-programme li p{font-size:15px}
.graduation-modern .gm-gallery{padding:80px 9%;border-top:1px solid #212a2925}
.graduation-modern .gm-gallery header{margin-bottom:35px}
.graduation-modern .gm-gallery video{display:block;width:100%;max-height:650px;margin-top:30px;background:#111}
.graduation-modern .gm-response{padding:90px 9%;display:grid;grid-template-columns:1fr 1fr;gap:9%;background:#e8ece6;border-top:1px solid #212a2925}
.graduation-modern .gm-response>div>p{font-size:13px;line-height:1.8;max-width:350px;margin-top:25px}
.graduation-modern .gm-preview-note{font-size:11px!important;line-height:1.7;max-width:none!important}
.graduation-modern .gm-footer{display:grid;grid-template-columns:1fr 1fr;gap:8%;padding:50px 9%}
.graduation-modern .gm-footer>div>p:not(.gm-host):not(.gm-photo-credit){font-size:26px;letter-spacing:-.04em;margin-top:12px}
.graduation-modern .gm-footer>div+div{text-align:right}
.graduation-modern .gm-footer a{display:inline-block;font-size:11px;min-height:32px;padding:8px 0}
.graduation-modern .gm-photo-credit{font-size:9px;line-height:1.6;opacity:.8;max-width:330px;margin:14px 0 0 auto}
.graduation-modern .gm-photo-credit a{font-size:inherit;text-decoration:underline;min-height:0;padding:0}
/* Portrait: a single gallery-sized photograph sits beside generous editorial type. */
.graduation-modern .gm-portrait-hero{display:grid;grid-template-columns:1.02fr 1fr;gap:8%;padding:50px 6% 65px;align-items:center}
.graduation-modern .gm-portrait-photo{position:relative;height:660px;max-height:72vw;background:#252726}
.graduation-modern .gm-portrait-photo .gm-photo{object-position:50% 36%}
.graduation-modern .gm-portrait-photo figcaption{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:34px 24px 20px;background:linear-gradient(transparent,#000b);color:#fff;font-size:8px;letter-spacing:.12em}
.graduation-modern .gm-portrait-title{padding-right:4%}
.graduation-modern .gm-portrait-letter{display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:85px 9%;background:#e8ece6}
.graduation-modern .gm-portrait-letter>div+div{padding-top:40px}
.graduation-modern .gm-portrait-letter>div+div>p:first-child{font-size:19px;line-height:1.7;white-space:pre-line;letter-spacing:-.025em}
.graduation-modern .gm-portrait-gathering{display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:85px 9%}
/* Focus: environmental photograph, large lower-left name and dark editorial panels. */
.graduation-modern.gm-focus{--gd-paper:#f4f3ed;--gd-ink:#202624;--gd-accent:#456654}
.graduation-modern.gm-focus .gm-nav{background:#202624;color:#f4f3ed;border:0}
.graduation-modern .gm-focus-hero{position:relative;min-height:760px;display:flex;flex-direction:column;justify-content:flex-end;padding:200px 7% 30px;color:#fff;background:#202624;isolation:isolate}
.graduation-modern .gm-focus-photo{position:absolute;inset:0;z-index:-2}
.graduation-modern .gm-focus-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0001 5%,#0002 25%,#0009 67%,#000c 100%)}
.graduation-modern .gm-focus-photo .gm-photo{object-position:center 40%}
.graduation-modern .gm-focus-title{max-width:900px;padding-bottom:45px}
.graduation-modern .gm-focus-title h1{font-size:clamp(60px,9vw,125px);font-weight:500;margin-top:18px;line-height:.98;letter-spacing:-.07em}
.graduation-modern .gm-focus-invitation{font-size:14px;line-height:1.6;margin-top:24px}
.graduation-modern .gm-focus-title .gm-subtitle{margin-top:23px;max-width:550px}
.graduation-modern .gm-focus-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid #ffffff75;padding-top:20px}
.graduation-modern .gm-focus-bottom>span{font-size:12px}
.graduation-modern .gm-focus-bottom .gm-cta{border-bottom:0}
.graduation-modern .gm-focus-intro{display:grid;grid-template-columns:1fr 1fr;gap:10%;padding:90px 9%}
.graduation-modern .gm-focus-intro>div+div{padding-top:40px}
.graduation-modern .gm-focus-intro>div+div>p:first-child{font-size:19px;line-height:1.7;white-space:pre-line;letter-spacing:-.025em}
.graduation-modern.gm-focus .gm-programme{background:#202624;color:#f4f3ed}
.graduation-modern.gm-focus .gm-programme li{border-color:#f4f3ed35}
.graduation-modern.gm-focus .gm-programme li span{color:#b6c8b8}
.graduation-modern .gm-focus-location{display:grid;grid-template-columns:1fr 1fr;gap:10%;padding:90px 9%;background:#e1e6df}
.graduation-modern .gm-section-mark{display:block;font-size:14px;margin-bottom:40px;color:#456654}
/* Collection cards are photographic invitations, not generic reused covers. */
.graduation-modern-cover.exp-cover{aspect-ratio:4/5;min-height:0;height:auto;position:relative;overflow:hidden;isolation:isolate;text-align:left;font-family:'DM Sans',Arial,sans-serif;background:#f6f4ee;color:#212a29}
.graduation-modern-cover *{min-width:0;box-sizing:border-box}
.graduation-modern-cover .gm-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%}
.graduation-modern-cover .gm-class{display:block;font-size:8px;letter-spacing:.12em;font-weight:500}
.graduation-modern-cover h3{font:500 clamp(26px,2.8vw,40px)/1 'DM Sans',Arial,sans-serif;letter-spacing:-.055em;color:inherit;margin:13px 0!important;overflow-wrap:anywhere}
.graduation-modern-cover .gm-cover-copy>p{font-size:9px;line-height:1.5;margin:0 0 15px;overflow-wrap:anywhere}
.graduation-modern-cover time{font-size:8px;display:block}
.graduation-modern-cover .gm-cover-label{position:absolute;font-size:7px;letter-spacing:.13em}
.graduation-modern-cover.gm-cover-portrait .gm-cover-photo{position:absolute;inset:0 45% 0 0}
.graduation-modern-cover.gm-cover-portrait .gm-cover-copy{position:absolute;inset:15% 5% 10% 59%}
.graduation-modern-cover.gm-cover-portrait .gm-cover-label{bottom:5%;left:59%;right:5%}
.graduation-modern-cover.gm-cover-portrait h3{font-size:clamp(24px,2.5vw,36px)}
.graduation-modern-cover.gm-cover-focus{color:#fff}
.graduation-modern-cover.gm-cover-focus .gm-cover-photo{position:absolute;inset:0;z-index:-2}
.graduation-modern-cover.gm-cover-focus .gm-cover-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#0002 20%,#000b 85%)}
.graduation-modern-cover.gm-cover-focus .gm-cover-photo .gm-photo{object-position:52% 35%}
.graduation-modern-cover.gm-cover-focus .gm-cover-photo .gm-stock-photo{object-position:center}
.graduation-modern-cover.gm-cover-focus .gm-cover-copy{position:absolute;bottom:12%;left:8%;right:8%}
.graduation-modern-cover.gm-cover-focus .gm-cover-label{bottom:5%;left:8%}
@media(max-width:760px){
 .graduation-modern .gm-nav{padding:15px 6%;gap:18px;align-items:start}.graduation-modern .gm-brand{max-width:120px;font-size:12px;line-height:1.5}.graduation-modern .gm-nav>div{gap:8px 15px;font-size:10px;justify-content:flex-end;flex-wrap:wrap}
 .graduation-modern .gm-portrait-hero{grid-template-columns:1fr;padding:25px 6% 45px;gap:35px}.graduation-modern .gm-portrait-photo{height:auto;max-height:none;aspect-ratio:4/5}.graduation-modern .gm-portrait-title{padding:0 1%}.graduation-modern h1{font-size:clamp(46px,12vw,72px)}.graduation-modern h2{font-size:clamp(37px,9vw,55px)}.graduation-modern .gm-invitation-title{font-size:20px;margin-top:25px}
 .graduation-modern .gm-portrait-letter,.graduation-modern .gm-portrait-gathering,.graduation-modern .gm-programme,.graduation-modern .gm-focus-intro,.graduation-modern .gm-focus-location,.graduation-modern .gm-response{grid-template-columns:1fr;gap:35px;padding:55px 7%}.graduation-modern .gm-portrait-letter>div+div,.graduation-modern .gm-focus-intro>div+div{padding:0}.graduation-modern .gm-portrait-letter>div+div>p:first-child,.graduation-modern .gm-focus-intro>div+div>p:first-child{font-size:17px}
 .graduation-modern .gm-gallery{padding:55px 7%}.graduation-modern .gm-facts>div{grid-template-columns:65px 1fr;gap:15px}.graduation-modern .gm-facts dd{font-size:21px}.graduation-modern .gm-focus-hero{min-height:680px;padding:230px 7% 20px}.graduation-modern .gm-focus-title{padding-bottom:30px}.graduation-modern .gm-focus-title h1{font-size:clamp(52px,14vw,80px)}.graduation-modern .gm-focus-photo .gm-photo{object-position:55% center}.graduation-modern .gm-focus-photo .gm-stock-photo{object-position:40% center}.graduation-modern .gm-focus-hero:has(.gm-responsive-picture){min-height:760px}.graduation-modern .gm-focus-bottom{align-items:start;flex-direction:column;gap:8px}.graduation-modern .gm-focus-bottom .gm-cta{width:100%}.graduation-modern .gm-footer{padding:40px 7%;grid-template-columns:1fr;gap:20px}.graduation-modern .gm-footer>div+div{text-align:left}.graduation-modern .gm-photo-credit{margin-left:0}.graduation-modern .gm-footer .gm-host{margin-top:0}
 .graduation-modern-cover h3{font-size:37px}.graduation-modern-cover.gm-cover-portrait h3{font-size:29px}
}
@media(max-width:380px){.graduation-modern .gm-nav>div{gap:4px 10px}.graduation-modern .gm-brand{max-width:105px}.graduation-modern .gm-facts>div{grid-template-columns:1fr;gap:6px}.graduation-modern .gm-focus-title h1{font-size:49px}.graduation-modern .gm-portrait-photo figcaption{padding-inline:16px;font-size:7px}.graduation-modern .gm-portrait-photo figcaption .gm-class{font-size:9px}.graduation-modern-cover.gm-cover-portrait h3{font-size:27px}}
@media(prefers-reduced-motion:reduce){.graduation-modern .gm-cta{transition:none}}
/* Visible keyboard focus on dark navigation and photographic cover. */
.graduation-modern.gm-focus .gm-nav a:focus-visible,.graduation-modern.gm-focus .gm-focus-hero a:focus-visible{outline-color:#e6f0df}
/* Keep the stock graduate's face clear on narrow screens; personal covers retain their layout. */
@media(max-width:760px){
 .graduation-modern .gm-focus-hero:has(.gm-responsive-picture){min-height:0;padding:0}
 .graduation-modern .gm-focus-hero:has(.gm-responsive-picture) .gm-focus-photo{position:relative;inset:auto;z-index:0;width:100%;height:min(125vw,600px)}
 .graduation-modern .gm-focus-hero:has(.gm-responsive-picture) .gm-focus-photo:after{background:linear-gradient(transparent 70%,#20262450)}
 .graduation-modern .gm-focus-hero:has(.gm-responsive-picture) .gm-focus-title{padding:32px 7% 28px}
 .graduation-modern .gm-focus-hero:has(.gm-responsive-picture) .gm-focus-bottom{margin:0 7% 20px}
}
