/* ARK College of Pharmacy — new look (October 2026), on top of site.css.
   The idea comes from a pharmacy's own printed things: the ℞ dispensing label, medicine cartons on a shelf,
   official approval stamps and the line drawing of a molecule. Colours and fonts still come from
   Website admin → Settings → Look and layout (theme-* / font-* classes in site.css). */

:root { --ease: cubic-bezier(.2, .75, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1); --label: #fdfdfb; }
body { background: var(--paper); }
h1, h2 { text-wrap: balance; }
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.gold { box-shadow: 0 6px 18px -8px rgba(var(--shade), .55); }

/* ---------------------------------------------------------------- strip above the header */
.strip { background: var(--foot-2); color: var(--on-dark); font-size: 14px; position: relative; z-index: 41; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 36px; }
.strip a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.strip a:hover { color: #fff; }
.strip-adm { font-weight: 600; color: var(--gold-soft) !important; }
.strip-adm b { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); margin-left: 4px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 150, 43, .7); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(201, 150, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 150, 43, 0); } }
.strip-reach { display: inline-flex; gap: 18px; }
@media (max-width: 760px) { .strip-mail { display: none !important; } .strip .wrap { font-size: 13px; } }
@media (max-width: 480px) { .strip-reach { display: none; } .strip .wrap { justify-content: center; } }

/* ---------------------------------------------------------------- header: smaller once scrolled */
.site-head { transition: box-shadow .3s, background .3s; }
.site-head .wrap { transition: min-height .3s var(--ease); }
.brand img { transition: width .3s var(--ease), height .3s var(--ease); }
body.scrolled .site-head { box-shadow: 0 10px 30px -18px rgba(var(--shade), .55); }
@media (min-width: 1081px) {
  body.scrolled .site-head .wrap { min-height: 62px; }
  body.scrolled .brand img { width: 46px; height: 46px; }
}
.nav > ul > li > a, .nav > ul > li > button { position: relative; }
.nav li ul { transform-origin: top; }
.nav li.open > ul { animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scaleY(.96); } }

/* ---------------------------------------------------------------- hero */
.hero { min-height: clamp(560px, 84vh, 760px); isolation: isolate; }
.slide-img { transform-origin: 60% 40%; }
.slide.on .slide-img { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.slide::after { content: "" !important; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--shade), .88) 0%, rgba(var(--shade), .6) 34%, rgba(var(--shade), .08) 66%, transparent 80%),
              linear-gradient(0deg, rgba(var(--shade), .7) 0%, transparent 34%); }
body.hero-center .slide::after { background: radial-gradient(ellipse at center, rgba(var(--shade), .72), rgba(var(--shade), .35) 70%); }
.slide-copy { padding-top: 90px; padding-bottom: 150px; }
.slide-card { max-width: 640px; }
.slide-card h1, .slide-card .h1 { text-shadow: none; font-size: clamp(38px, 5.2vw, 70px) !important; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 18px; }
.slide-card .lead { text-shadow: none; font-weight: 500; font-size: 19px; color: rgba(255, 255, 255, .92); max-width: 46ch; }
.slide-card .btn.line { background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); text-shadow: none; }
/* words rise one after another each time a slide comes in */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.js-anim .slide .w > span { transform: translateY(108%); }
.js-anim .slide.on .w > span { animation: word .9s var(--ease) both; animation-delay: calc(.2s + var(--wi) * .075s); }
@keyframes word { from { transform: translateY(108%); } to { transform: none; } }
.slide.on .slide-card > h1, .slide.on .slide-card > .h1 { animation: none !important; }
.slide.on .slide-card > .lead { animation-delay: .75s !important; }
.slide.on .slide-card > .acts { animation-delay: .95s !important; }

/* the molecule draws itself behind the words */
.mol { position: absolute; pointer-events: none; color: #fff; }
.mol path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mol-t { opacity: 1; }
.js-anim .mol path { stroke-dashoffset: 1; }
.js-anim .mol .mol-t { opacity: 0; transition: opacity .8s 1.6s; }
.js-anim.ready .hero-mol path, .js-anim.ready .banner-mol path, .js-anim .in .mol path { animation: draw 2.4s var(--ease) forwards; }
.js-anim.ready .hero-mol .mol-t, .js-anim.ready .banner-mol .mol-t, .js-anim .in .mol .mol-t { opacity: 1; }
.mol path:nth-child(2) { animation-delay: .5s !important; } .mol path:nth-child(3) { animation-delay: .9s !important; }
.mol path:nth-child(4) { animation-delay: 1.05s !important; } .mol path:nth-child(5) { animation-delay: 1.25s !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-mol { z-index: 1; width: clamp(200px, 22vw, 330px); right: calc(max(20px, (100vw - var(--wrap)) / 2) + 360px); top: 12%; opacity: .2; }

/* ℞ dispensing label stuck on the photo */
.rx-label { position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 92px; width: 340px;
  background: var(--label); color: var(--ink); border-radius: 6px 6px 16px 16px; padding: 22px 22px 20px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .04); transform: rotate(-1.6deg); transform-origin: 50% 0; }
.js-anim .rx-label { opacity: 0; transform: translateY(-36px) rotate(-9deg); }
.js-anim.ready .rx-label { animation: stick 1s var(--spring) .9s forwards; }
@keyframes stick { 0% { opacity: 0; transform: translateY(-36px) rotate(-9deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-1.6deg); } }
.rx-perf { position: absolute; left: 10px; right: 10px; top: 7px; height: 4px; background: radial-gradient(circle, var(--line-2) 1.6px, transparent 2px) 0 0/10px 4px repeat-x; }
.rx-head { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--leaf); }
.rx-sym { font: 700 44px/1 'Source Serif 4', Georgia, serif; color: var(--gold-ink); margin-top: -4px; }
.rx-head b { display: block; font: 700 19px/1.15 var(--display); color: var(--leaf); }
.rx-head small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.rx-lines { list-style: none; margin: 6px 0 14px; padding: 0; }
.rx-lines a { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; text-decoration: none; color: var(--ink); border-bottom: 1px dashed var(--line-2); }
.rx-lines a::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--line-2); transform: translateY(-4px); }
.rx-lines b { order: 1; font-weight: 700; font-size: 17px; color: var(--herb); }
.rx-lines span { order: 3; font-size: 15px; color: var(--muted); }
.rx-lines a:hover b { text-decoration: underline; }
.rx-acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rx-acts .btn { flex: 1; }
.rx-call { color: var(--herb); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 15px; }

/* slider: the open slide's bar fills while it is shown */
.slider-ui { bottom: 34px; }
.sl-dots button { overflow: hidden; }
.sl-dots button[aria-current="true"] { background: rgba(255, 255, 255, .35); }
.sl-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.hero.run .sl-dots button[aria-current="true"]::after { animation: fill 6s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: none; } }

@media (max-width: 1080px) { .hero-mol { right: 6%; } }
@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-rows: auto auto; }
  .slide { grid-row: 1; min-height: 520px; }
  .slide-copy { padding-top: 56px; padding-bottom: 96px; }
  .slide::after { background: linear-gradient(0deg, rgba(var(--shade), .92) 0%, rgba(var(--shade), .55) 45%, rgba(var(--shade), .25) 100%) !important; }
  .slide-copy { align-self: flex-end; }
  .hero-mol { width: 150px; right: 14px; top: 22px; opacity: .22; }
  .rx-label { position: relative; grid-row: 2; right: auto; bottom: auto; width: auto; margin: -34px 16px 6px; }
  .slider-ui { bottom: auto; top: 470px; }
  .hero { background: var(--paper); }
}
/* phones: the whole photo shows (3:2 frame), the words sit under it on the theme colour, then the ℞ label */
@media (max-width: 600px) {
  .hero { aspect-ratio: auto; background: var(--paper); }
  .slide { display: block; min-height: 0; background: var(--leaf); }
  .slide-img { position: relative; inset: auto; aspect-ratio: 3 / 2; height: auto; }
  .slide::after { display: none; }
  .slide-copy, body.hero-center .slide-copy { padding: 22px 16px 58px; }
  .slide-card h1, .slide-card .h1 { font-size: min(32px, 8.4vw) !important; margin-bottom: 14px; }
  .hero .lead { display: none; }
  .slide-card .acts { flex-wrap: nowrap; gap: 10px; }
  .hero .acts .btn, .slide-card .btn.lg { flex: 1; font-size: 15px; padding: 10px 12px; min-height: 46px; }
  .slider-ui { top: calc((100vw * 2 / 3) - 46px); bottom: auto; }
  .hero-mol { display: none; }
  .rx-label { margin: -30px 14px 8px; padding: 20px 18px 16px; }
}
/* ---------------------------------------------------------------- approval stamps */
.stamps { background: var(--paper); border-bottom: 1px solid var(--line); }
.stamps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.stamp { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.stamp-ring { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: var(--herb);
  border: 3px solid currentColor; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px currentColor; transform: rotate(-8deg);
  background: radial-gradient(circle, transparent 60%, rgba(var(--shade), .04) 61%); }
.stamp:nth-child(2) .stamp-ring { color: var(--gold-ink); transform: rotate(5deg); }
.stamp-ring b { font: 800 26px/1 var(--display); letter-spacing: .04em; }
.stamp-t { font-size: 15px; line-height: 1.4; color: var(--muted); }
.stamp-t small { display: block; color: var(--herb); font-weight: 600; font-size: 14px; margin-top: 3px; }
.stamp:hover .stamp-t small { text-decoration: underline; }
.js-anim .stamp[data-anim] .stamp-ring { opacity: 0; transform: scale(1.7) rotate(-22deg); }
.js-anim .stamp.in .stamp-ring { animation: thump .55s cubic-bezier(.5, 0, .3, 1.4) var(--d, 0ms) forwards; }
.stamp:nth-child(2).in .stamp-ring { animation-name: thump2; }
@keyframes thump { 70% { opacity: 1; transform: scale(.94) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes thump2 { 70% { opacity: 1; transform: scale(.94) rotate(5deg); } 100% { opacity: 1; transform: scale(1) rotate(5deg); } }
.js-anim .stamp[data-anim] .stamp-t { opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--d, 0ms) + .35s); }
.js-anim .stamp.in .stamp-t { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .stamps-row { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .stamp-ring { width: 70px; height: 70px; } .stamp-ring b { font-size: 21px; }
}

/* ---------------------------------------------------------------- notice board + quick links */
.board { background: var(--wash); }
.board-notices { background: #fff; border-radius: var(--r); padding: 22px 24px 10px; border: 1px solid var(--line); border-top: 5px solid var(--herb); box-shadow: 0 18px 40px -30px rgba(var(--shade), .6); }
.quick a { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; background: #fff; }
.quick a:hover { transform: translateX(6px); border-color: var(--herb); box-shadow: 0 12px 26px -20px rgba(var(--shade), .7); }

/* ---------------------------------------------------------------- courses: cartons on a shelf */
.shelf .cartons { perspective: 1400px; position: relative; padding-bottom: 26px; }
.shelf .cartons::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: 0; height: 14px; border-radius: 3px;
  background: linear-gradient(var(--line-2), var(--line)); box-shadow: 0 14px 24px -12px rgba(var(--shade), .45); }
.carton { position: relative; box-shadow: 0 26px 40px -30px rgba(var(--shade), .7); transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; }
.carton:hover { transform: translateY(-8px) rotateX(3deg); box-shadow: 0 40px 50px -34px rgba(var(--shade), .8); }
.carton-side { position: relative; }
/* a barcode at the foot of the carton's side, like a real medicine pack */
.carton-side::after { content: ""; position: absolute; left: 50%; bottom: 16px; width: 34px; height: 46px; transform: translateX(-50%); opacity: .55;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 5px, transparent 5px 8px, currentColor 8px 11px, transparent 11px 13px); }
.carton .facts { border: 1px solid var(--line); border-radius: calc(var(--r) / 2); padding: 4px 14px; background: var(--wash); }
.js-anim [data-anim="shelf-l"] { opacity: 0; transform: translateX(-70px) rotateY(16deg); }
.js-anim [data-anim="shelf-r"] { opacity: 0; transform: translateX(70px) rotateY(-16deg); }
.js-anim [data-anim^="shelf"].in { opacity: 1; transform: none; transition: opacity .8s, transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js-anim [data-anim^="shelf"].in:hover { transform: translateY(-8px) rotateX(3deg); transition-delay: 0ms; transition-duration: .35s; }
@media (max-width: 760px) { .carton-side::after { width: 24px; height: 34px; bottom: 12px; } }

/* ---------------------------------------------------------------- numbers */
.counts { background: var(--leaf); color: var(--on-dark); position: relative; overflow: hidden; }
.counts::before { content: ""; position: absolute; inset: 0; opacity: .07;
  background: radial-gradient(circle at 20% 30%, #fff 1px, transparent 1.5px) 0 0/26px 26px; }
.counts-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 46px; padding-bottom: 46px; }
.count { padding: 4px 20px; text-align: center; }
.count + .count { border-left: 1px solid rgba(255, 255, 255, .14); }
.count b { display: block; font: 800 clamp(40px, 5vw, 62px)/1 var(--display); color: var(--gold-soft); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.count span { display: block; margin-top: 8px; font-size: 15.5px; }
@media (max-width: 760px) {
  .counts-row { grid-template-columns: 1fr 1fr; row-gap: 26px; padding-top: 34px; padding-bottom: 34px; }
  .count:nth-child(3) { border-left: 0; }
}

/* ---------------------------------------------------------------- about */
.about-photo { position: relative; }
.about-photo img { box-shadow: 0 30px 50px -36px rgba(var(--shade), .8); }
.about-photo .about-photo-2 { position: absolute; width: 46%; aspect-ratio: 1; right: -18px; bottom: -28px; border: 6px solid var(--wash); }
.about-split .ticks { margin: 0 0 24px; }
@media (max-width: 920px) { .about-photo .about-photo-2 { right: 10px; bottom: -20px; width: 40%; } .about-split .about-photo { margin-bottom: 28px; } }

/* ---------------------------------------------------------------- admission steps: a line that fills */
.timeline { position: relative; }
@media (min-width: 1081px) {
  .timeline::before, .timeline::after { content: ""; position: absolute; left: 4%; right: 4%; top: 52px; height: 3px; border-radius: 2px; z-index: 0; }
  .timeline::before { background: var(--line); }
  .timeline::after { background: linear-gradient(90deg, var(--herb), var(--gold)); transform-origin: left; }
  .js-anim .timeline[data-anim]::after { transform: scaleX(0); }
  .js-anim .timeline.in::after { transform: none; transition: transform 1.8s var(--ease) .2s; }
  .timeline li { z-index: 1; }
  .steps2 li:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .js-anim .timeline[data-anim]::before { transform: scaleY(0); transform-origin: top; }
  .js-anim .timeline.in::before { transform: none; transition: transform 1.6s var(--ease); }
}
.js-anim .timeline[data-anim] li { opacity: 0; transform: translateY(24px); }
.js-anim .timeline.in li { opacity: 1; transform: none; transition: opacity .6s, transform .7s var(--ease); transition-delay: calc(.25s + var(--i) * .3s); }
.js-anim .timeline.in li .st-ic { animation: pop .5s var(--spring) both; animation-delay: calc(.35s + var(--i) * .3s); }
@keyframes pop { from { transform: scale(.4); } }
.steps2 li { transition: box-shadow .3s; }
.steps2 li:hover { box-shadow: 0 22px 40px -30px rgba(var(--shade), .7); }
.adm-cta { position: relative; overflow: hidden; }
.adm-cta .cta-mol, .cta-band .cta-mol { width: 170px; right: 44%; top: -30px; opacity: .13; }
.adm-cta > :not(.mol) { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- life at ARK */
/* photos: the picture itself is wiped in (the box stays measurable for the "on screen" check) */
.js-anim [data-anim="wipe"] img { clip-path: inset(100% 0 0 0); transform: scale(1.18); }
.js-anim [data-anim="wipe"].in img { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1.1s var(--ease) var(--d, 0ms), transform 1.6s var(--ease) var(--d, 0ms); }
.js-anim figure[data-anim="wipe"] img { clip-path: inset(0 100% 0 0); }
.js-anim figure[data-anim="wipe"].in img { clip-path: inset(0 0 0 0); }
.js-anim figure[data-anim="wipe"].in .about-photo-2 { transition-delay: .45s; }
.js-anim [data-anim="wipe"] span { opacity: 0; } .js-anim [data-anim="wipe"].in span { opacity: 1; transition: opacity .6s calc(var(--d, 0ms) + .7s); }
.mosaic a.in:hover img { transform: scale(1.06); transition: transform .5s var(--ease); }
.facility-list li .i { transition: transform .35s var(--spring); }
.facility-list li:hover .i { transform: scale(1.18) rotate(-6deg); }

/* ---------------------------------------------------------------- leadership quotes */
.quote { background: #fff; padding: 24px 24px 22px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s; }
.quote:hover { transform: translateY(-6px); box-shadow: 0 30px 44px -34px rgba(var(--shade), .8); }
.quote blockquote { font-size: 17px; }

/* ---------------------------------------------------------------- enquiry form */
.enquiry { box-shadow: 0 30px 50px -40px rgba(var(--shade), .8); }
.enquiry input, .enquiry select, .enquiry textarea { transition: border-color .2s, box-shadow .2s; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { border-color: var(--herb); box-shadow: 0 0 0 4px rgba(var(--shade), .1); outline: none; }

/* ---------------------------------------------------------------- inner page banner */
.banner { isolation: isolate; }
.banner.has-img::before { animation: kb 9s ease-out both; transform-origin: 50% 40%; }
.banner.has-img::after { content: "" !important; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--ph) + 14px); z-index: 0;
  background: linear-gradient(0deg, var(--leaf) 0, var(--leaf) 16px, rgba(var(--shade), .25) 50%, transparent 78%); }
.banner-mol { z-index: 0; width: 210px; right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 18px; opacity: .16; }
.banner h1 .w > span { transform: none; }
.js-anim .banner h1 .w > span { transform: translateY(108%); }
.js-anim.ready .banner h1 .w > span { animation: word .9s var(--ease) both; animation-delay: calc(.15s + var(--wi) * .07s); }
.js-anim .banner .banner-lead, .js-anim .banner .crumbs { opacity: 0; transform: translateY(12px); }
.js-anim.ready .banner .banner-lead, .js-anim.ready .banner .crumbs { opacity: 1; transform: none; transition: opacity .7s .55s, transform .8s var(--ease) .55s; }
.js-anim.ready .banner .crumbs { transition-delay: 0s; }
@media (max-width: 600px) { .banner-mol { width: 120px; } }

/* ---------------------------------------------------------------- call-to-action above the footer */
.cta-band { background: var(--herb); color: #fff; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; position: relative; }
.cta-band .cta-t b { display: block; font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--display); margin-bottom: 6px; }
.cta-band .cta-t span { color: rgba(255, 255, 255, .85); }
.cta-band .cta-t a { color: var(--gold-soft); font-weight: 600; white-space: nowrap; }
.cta-band .acts, .cta-band .cta-t { position: relative; z-index: 1; }
.cta-band .cta-mol { top: -10px; right: 34%; }
@media (max-width: 600px) { .cta-band .acts { width: 100%; } .cta-band .acts .btn { flex: 1; } .cta-band .cta-mol { right: 4%; } }

/* ---------------------------------------------------------------- footer */
.site-foot { position: relative; overflow: hidden; }
.foot-crest { position: absolute; width: 380px; height: 380px; right: -70px; bottom: -90px; opacity: .06; pointer-events: none; filter: grayscale(1) brightness(3); }
.site-foot .wrap { position: relative; }
.site-foot a { transition: color .2s; }
.social a { transition: transform .25s var(--spring), background .2s; }
.social a:hover { transform: translateY(-3px) scale(1.08); }

/* ---------------------------------------------------------------- blocks coming in (all pages) */
.js-anim [data-anim="rise"] { opacity: 0; transform: translateY(26px); }
.js-anim [data-anim="rise"].in { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js-anim [data-anim="rise"].in.quote:hover, .js-anim [data-anim="rise"].in.panel:hover { transition-delay: 0ms; }
/* inner-page blocks are hidden from the first paint (motion.js marks them a moment later) */
.js-anim main :is(.sec-head, .panel, .grid2.why > div, .sem > article, .person, .leader, .album, .listing > li, .faq details, .appr-item, .rx-card, .people > *):not([data-anim]) { opacity: 0; }

/* ---------------------------------------------------------------- less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js-anim [data-anim], .js-anim .rx-label, .js-anim .w > span, .js-anim .banner .banner-lead, .js-anim .banner .crumbs { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js-anim .mol path { stroke-dashoffset: 0 !important; } .js-anim .mol .mol-t { opacity: 1 !important; }
  .pulse { animation: none; }
}
@media (max-width: 760px) { .foot-crest { width: 240px; height: 240px; right: -60px; bottom: -50px; opacity: .04; } }

/* header: no admissions line; the college name wraps instead of running under the menu button */
.strip .wrap { justify-content: flex-end; }
@media (max-width: 480px) { .strip { display: none; } }
@media (max-width: 600px) {
  .site-head .wrap { gap: 10px; padding-left: 10px; padding-right: 12px; }
  .brand { min-width: 0; flex: 1 1 auto; gap: 9px; }
  .brand span { min-width: 0; }
  .brand b, body.font-modern .brand b, body.font-serif .brand b { white-space: normal; font-size: clamp(14.5px, 4.3vw, 18px); line-height: 1.15; }
  .brand small { font-size: 12.5px; }
  .brand img { width: 46px; height: 46px; flex: none; }
  .menu-btn { flex: none; }
}
