/* =========================================================
   Shivai Charitable Trust's College of Pharmacy — theme v1
   Pharmacy palette: forest green (the pharmacy cross & logo),
   fresh leaf green (herbal / pharmacognosy) and amber (capsules)
   ========================================================= */

:root {
  --forest: #0B4D33;
  --forest-2: #0E6B46;
  --deep: #062E1F;
  --green: #15935B;
  --leaf: #3CCB7F;
  --sage: #E4F2E9;
  --sage-2: #CFE8D8;
  --amber: #F5A524;
  --amber-deep: #D9860B;
  --amber-soft: #FFF3DC;
  --orange: #EF6C2F;
  --paper: #F4F8F5;
  --white: #FFFFFF;
  --ink: #10291E;
  --muted: #557064;
  --line: #D7E6DC;

  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --wrap: 1260px;
  --shadow: 0 14px 34px -14px rgba(6, 46, 31, .28);
  --shadow-lg: 0 30px 70px -20px rgba(6, 46, 31, .45);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .9, .28, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; color: var(--forest); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 500; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--leaf), var(--amber)); }

/* ---------- Buttons (with click ripple) ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.45em; border-radius: var(--r-sm);
  font: 700 .95rem/1.2 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--spring), box-shadow .3s, background-color .25s, color .25s, border-color .25s;
}
.btn .ic { transition: transform .3s var(--spring); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-amber { background: var(--amber); color: var(--deep); box-shadow: 0 10px 24px -10px rgba(245,165,36,.8); }
.btn-amber:hover { background: #FFB743; color: var(--deep); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(21,147,91,.7); }
.btn-green:hover { background: var(--forest-2); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-ghost-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--forest); }
.btn-outline:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn-link { padding-left: .4em; padding-right: .4em; color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); }
.btn-link.light { color: #fff; }
.btn-link:hover { transform: none; color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--deep); color: #B9D6C6; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-item, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { color: var(--amber); }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #E5F3EA; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--amber); }
.topbar .soc { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar .soc .ic { color: #fff; }
.topbar .soc:hover { background: var(--amber); }
.topbar .soc:hover .ic { color: var(--deep); }

/* ---------- Brand bar ---------- */
.brandbar { background: #fff; position: relative; z-index: 60; }
.brandbar-in { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-logo img { width: 86px; height: auto; transition: transform .6s var(--spring); }
.brand:hover .brand-logo img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-trust { font-size: .86rem; font-weight: 800; color: var(--amber-deep); letter-spacing: .01em; }
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2.05rem); color: var(--forest); letter-spacing: -0.02em; }
.brand-place { font-size: .86rem; color: var(--muted); }
.brand-side { display: flex; align-items: center; gap: 16px; }
.approvals { display: flex; gap: 6px; }
.approvals span { font: 800 .72rem/1 var(--f-head); color: var(--forest); padding: 7px 9px; border: 1.5px solid var(--sage-2); border-radius: 4px; background: var(--sage); }
.sct-logo { width: 58px; height: auto; }

/* ---------- Navigation ---------- */
.navbar { position: sticky; top: 0; z-index: 90; background: var(--forest); box-shadow: 0 10px 30px -18px rgba(6,46,31,.7); }
.navbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--leaf), var(--amber), var(--orange)); }
.navbar-in { position: relative; }
.navbar .wrap { max-width: 1400px; padding-left: 14px; padding-right: 14px; }
@media (max-width: 1339px) { .navbar .wrap { padding-left: 16px; padding-right: 16px; } }
.drawer-head, .drawer-foot { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: space-between; position: relative; z-index: 1; }
.nav-item { position: relative; }
.nav-item.is-mega { position: static; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 3px; height: 54px; padding: 0 8px;
  color: #E6F4EC; text-decoration: none; white-space: nowrap; font: 700 .84rem/1 var(--f-body);
  background: none; border: 0; cursor: pointer; transition: color .25s;
}
.nav-home .home-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-home .ic { width: 20px; height: 20px; }
.nav-item:hover > .nav-link, .nav-item.is-open > .nav-link { color: var(--deep); }
.nav-item.is-active > .nav-link { color: var(--amber); }
.nav-item.is-active:hover > .nav-link { color: var(--deep); }
.caret { width: 14px; height: 14px; transition: transform .35s var(--spring); }
.nav-item:hover .caret, .nav-item.is-open .caret { transform: rotate(-180deg); }

/* the amber pill that glides to the hovered menu item */
.nav-glider { position: absolute; top: 9px; height: 36px; left: 0; width: 0; border-radius: 999px; background: var(--amber); opacity: 0; z-index: 0; transition: transform .4s var(--spring), width .4s var(--spring), opacity .2s; pointer-events: none; }
.nav-glider.on { opacity: 1; }

/* Dropdowns: curtain reveal */
.dropdown {
  position: absolute; top: calc(100% + 3px); left: 0; z-index: 95; background: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-lg);
  clip-path: inset(0 0 100% 0 round 0 0 12px 12px); visibility: hidden;
  transition: clip-path .45s var(--ease), visibility 0s linear .45s;
}
@media (min-width: 1340px) {
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.is-open > .dropdown {
    clip-path: inset(0 0 0 0 round 0 0 12px 12px); visibility: visible;
    transition: clip-path .45s var(--ease), visibility 0s;
  }
  .dropdown .m-link, .dropdown .mega-title { opacity: 0; transform: translateX(-14px); transition: opacity .35s var(--ease), transform .45s var(--spring), background-color .2s, color .2s; }
  .nav-item:hover .m-link, .nav-item:focus-within .m-link, .nav-item.is-open .m-link,
  .nav-item:hover .mega-title, .nav-item:focus-within .mega-title, .nav-item.is-open .mega-title { opacity: 1; transform: none; }
  .drop > li:nth-child(2) .m-link, .mega-col:nth-child(2) > * { transition-delay: .05s; }
  .drop > li:nth-child(3) .m-link, .mega-col:nth-child(3) > * { transition-delay: .1s; }
  .drop > li:nth-child(4) .m-link, .mega-col:nth-child(4) > * { transition-delay: .15s; }
  .drop > li:nth-child(5) .m-link, .mega-col:nth-child(5) > * { transition-delay: .2s; }
  .drop > li:nth-child(6) .m-link { transition-delay: .25s; }
  .nav-item .m-link:hover { transition-delay: 0s !important; }
}
.drop { list-style: none; margin: 0; padding: 12px; min-width: 300px; border-top: 3px solid var(--amber); }
.nav-item.flip > .drop { left: auto; right: 0; }
.m-link {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--ink);
  text-decoration: none; font: 700 .9rem/1.35 var(--f-body);
}
.m-text { flex: 1; }
.mi-wrap { width: 32px; height: 32px; flex: none; display: grid; place-items: center; color: var(--green); background: var(--sage);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); transition: background-color .25s, color .25s, transform .4s var(--spring); }
.mi { width: 16px; height: 16px; }
.m-link:hover, .m-link:focus-visible { background: var(--sage); color: var(--forest); }
.m-link:hover .mi-wrap { background: var(--forest); color: var(--amber); transform: rotate(30deg); }
.m-link:hover .mi-wrap .mi { transform: rotate(-30deg); }
.m-link[aria-current="page"] { background: var(--amber-soft); color: var(--amber-deep); }
.m-link[aria-current="page"] .mi-wrap { background: var(--amber); color: var(--deep); }
.m-link em { font-style: normal; font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; background: #EEF2EF; color: var(--muted); }
.m-link em.pdf { background: #FFE9E0; color: var(--orange); }
.m-link.is-soon { color: #8DA197; cursor: default; }
.m-link.is-soon:hover { background: none; color: #8DA197; }
.m-link.is-soon .mi-wrap { background: #F0F3F1; color: #A9B8B0; transform: none; }

.mega { left: 14px; right: 14px; display: grid; gap: 4px 18px; padding: 24px 26px 22px; border-top: 3px solid var(--amber); background: #fff linear-gradient(180deg, var(--sage), #fff 60%); }
.mega-4 { grid-template-columns: repeat(4, 1fr); }
.mega-5 { grid-template-columns: repeat(5, 1fr); }
.mega-3 { grid-template-columns: repeat(3, 1fr); }
.mega-title { font: 800 .78rem/1.2 var(--f-head); color: var(--amber-deep); margin: 0 0 8px; padding: 0 0 8px 10px; border-bottom: 2px dotted var(--sage-2); }


/* Menu button: capsule that splits into an X */
.menu-btn { display: none; width: 52px; height: 52px; border: 0; border-radius: 14px; background: var(--forest); cursor: pointer; flex: none; position: relative; z-index: 120; }
.pill-ic { position: relative; display: block; width: 26px; height: 26px; margin: 0 auto; }
.pill-ic span { position: absolute; left: 0; right: 0; height: 9px; border-radius: 9px; transition: transform .45s var(--spring), top .3s; }
.pill-ic span:first-child { top: 3px; background: var(--amber); }
.pill-ic span:last-child { top: 14px; background: #fff; }
.menu-btn[aria-expanded="true"] .pill-ic span:first-child { top: 8.5px; transform: rotate(45deg) scaleY(.5); }
.menu-btn[aria-expanded="true"] .pill-ic span:last-child { top: 8.5px; transform: rotate(-45deg) scaleY(.5); }

/* ---------- Drawer (tablet + phone) ---------- */
@media (max-width: 1339px) {
  .topbar-item { display: none; }
  .topbar-in { justify-content: center; }
  .brand-side { display: none; }
  .menu-btn { display: block; }
  .brandbar { position: sticky; top: 0; z-index: 100; box-shadow: 0 6px 18px -10px rgba(6,46,31,.35); }
  .brand-logo img { width: 58px; }
  .brand-place { display: none; }
  .navbar { position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); z-index: 130; background: var(--deep); overflow-y: auto; overscroll-behavior: contain;
    clip-path: circle(0 at 0 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s linear .6s; }
  .navbar::after { display: none; }
  .navbar.is-open { clip-path: circle(150% at 0 0); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
  .nav-glider { display: none; }
  .navbar-in { padding: 0 16px 28px; }
  .drawer-head { display: flex; align-items: center; gap: 12px; padding: 18px 2px 16px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 6px; }
  .drawer-head img { background: #fff; border-radius: 10px; padding: 3px; }
  .drawer-head span { flex: 1; line-height: 1.2; }
  .drawer-head strong { display: block; font-family: var(--f-head); color: #fff; }
  .drawer-head small { color: var(--amber); font-weight: 700; }
  .drawer-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .drawer-close .ic { width: 20px; height: 20px; }
  .nav-list { flex-direction: column; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateX(-20px); transition: opacity .4s, transform .5s var(--spring); }
  .navbar.is-open .nav-item { opacity: 1; transform: none; }
  .navbar.is-open .nav-item:nth-child(2) { transition-delay: .04s; } .navbar.is-open .nav-item:nth-child(3) { transition-delay: .08s; }
  .navbar.is-open .nav-item:nth-child(4) { transition-delay: .12s; } .navbar.is-open .nav-item:nth-child(5) { transition-delay: .16s; }
  .navbar.is-open .nav-item:nth-child(6) { transition-delay: .2s; } .navbar.is-open .nav-item:nth-child(7) { transition-delay: .24s; }
  .navbar.is-open .nav-item:nth-child(8) { transition-delay: .28s; } .navbar.is-open .nav-item:nth-child(9) { transition-delay: .32s; }
  .navbar.is-open .nav-item:nth-child(n+10) { transition-delay: .36s; }
  .nav-link { width: 100%; height: auto; padding: 14px 6px; justify-content: space-between; font-size: 1rem; color: #fff; }
  .nav-home .home-text { position: static; width: auto; height: auto; clip: auto; margin-left: 8px; margin-right: auto; }
  .nav-item:hover > .nav-link { color: #fff; }
  .nav-item.is-open > .nav-link { color: var(--amber); }
  .nav-item:hover .caret { transform: none; }
  .nav-item.is-open .caret { transform: rotate(-180deg); }
  .dropdown { position: static; clip-path: none; visibility: visible; box-shadow: none; border-radius: var(--r-md); display: none; margin: 0 0 12px; background: rgba(255,255,255,.05); border-top: 0; }
  .nav-item.is-open > .dropdown { display: block; animation: drawer-sub .4s var(--ease); }
  .drop { min-width: 0; padding: 6px; }
  .mega { display: none; padding: 10px 8px; background-image: none; }
  .nav-item.is-open > .mega { display: block; }
  .mega-3 { width: auto; }
  .mega-col { background: none; }
  .mega-col + .mega-col { margin-top: 10px; }
  .mega-title { color: var(--amber); border-color: rgba(255,255,255,.12); }
  .m-link { color: #E6F4EC; }
  .m-link:hover { background: rgba(255,255,255,.08); color: #fff; }
  .mi-wrap { background: rgba(255,255,255,.1); color: var(--leaf); }
  .m-link.is-soon, .m-link.is-soon:hover { color: rgba(255,255,255,.45); }
  .m-link.is-soon .mi-wrap { background: rgba(255,255,255,.05); color: rgba(255,255,255,.35); }
  .m-link em { background: rgba(255,255,255,.12); color: #fff; }
  .drawer-foot { display: grid; gap: 10px; margin-top: 22px; }
  .nav-overlay { position: fixed; inset: 0; z-index: 125; background: rgba(6,46,31,.55); backdrop-filter: blur(3px); animation: fade .35s; }
  body.nav-open { overflow: hidden; }
}
@keyframes drawer-sub { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 560px) {
  .topbar .hide-sm { display: none; }
  .brand { gap: 10px; }
  .brand-logo img { width: 50px; }
  .brand-name { font-size: 1.2rem; }
  .brand-trust { font-size: .72rem; }
  .menu-btn { width: 46px; height: 46px; }
}

/* ---------- Decorations: capsules, tablets, molecules ---------- */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.capsule { position: absolute; width: 58px; height: 22px; border-radius: 22px; background: linear-gradient(90deg, var(--amber) 0 50%, #fff 50% 100%); box-shadow: inset 0 -4px 6px rgba(0,0,0,.12), 0 8px 18px rgba(0,0,0,.18); opacity: .9; animation: tumble 14s ease-in-out infinite; }
.capsule::after { content: ""; position: absolute; left: 12%; right: 55%; top: 22%; height: 22%; border-radius: 8px; background: rgba(255,255,255,.55); }
.c1 { right: 8%; top: 16%; }
.c2 { right: 30%; bottom: 20%; width: 44px; height: 17px; background: linear-gradient(90deg, var(--leaf) 0 50%, #fff 50%); animation-duration: 18s; animation-delay: -4s; }
.c3 { right: 4%; bottom: 34%; width: 36px; height: 14px; background: linear-gradient(90deg, var(--orange) 0 50%, #FFE7D6 50%); animation-duration: 16s; animation-delay: -8s; }
.c4 { left: 52%; top: 8%; width: 30px; height: 12px; animation-duration: 20s; animation-delay: -2s; opacity: .6; }
.tablet { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #E3EDE7 70%); box-shadow: 0 6px 14px rgba(0,0,0,.18); animation: tumble 22s linear infinite; }
.tablet::after { content: ""; position: absolute; left: 15%; right: 15%; top: 48%; height: 2px; background: rgba(6,46,31,.18); }
.t1 { right: 20%; top: 30%; } .t2 { right: 14%; bottom: 14%; width: 20px; height: 20px; animation-delay: -10s; }
.molecule { position: absolute; color: rgba(255,255,255,.18); animation: spin 40s linear infinite; }
.m1 { width: 220px; height: 220px; right: -40px; bottom: -40px; }
.m2 { width: 130px; height: 130px; right: 38%; top: -30px; animation-direction: reverse; animation-duration: 55s; }
@keyframes tumble {
  0%   { transform: translate(0, 0) rotate(-20deg); }
  25%  { transform: translate(-18px, 22px) rotate(40deg); }
  50%  { transform: translate(10px, 40px) rotate(160deg); }
  75%  { transform: translate(22px, 12px) rotate(250deg); }
  100% { transform: translate(0, 0) rotate(340deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.deco-sm .c1 { top: 22%; right: 12%; } .deco-sm .c2 { bottom: 18%; right: 26%; } .deco-sm .c4, .deco-sm .t2 { display: none; }
.deco-sm .m1 { width: 170px; height: 170px; }
.deco-dark .capsule, .deco-dark .tablet { opacity: .35; }
.deco-footer .capsule, .deco-footer .tablet { opacity: .25; }
.deco-footer .m2 { display: none; }

/* ---------- Word-split headline (mask reveal) ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .w > span { display: inline-block; transform: translateY(110%); animation: word-up .9s var(--spring) forwards; animation-delay: calc(var(--i) * .09s + .15s); }
@keyframes word-up { to { transform: none; } }

/* ---------- Scroll animations (data-anim) ---------- */
.js [data-anim] { opacity: 0; transition: opacity .8s var(--ease), transform .9s var(--spring), clip-path 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-anim="up"] { transform: translateY(46px); }
.js [data-anim="left"] { transform: translateX(-60px); }
.js [data-anim="right"] { transform: translateX(60px); }
.js [data-anim="zoom"] { transform: scale(.82); }
.js [data-anim="flip"] { transform: perspective(1000px) rotateY(-28deg) translateX(-30px); transform-origin: left center; }
.js [data-anim="wipe"] { clip-path: inset(0 100% 0 0); opacity: 1; }
.js [data-anim].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; background: var(--deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.15); transition: opacity 1.4s ease; }
.hero-slide.is-on { opacity: 1; animation: kenburns 9s ease-out forwards; }
.hero-slide:nth-child(even).is-on { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.15) translate(2%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate(-1%, 0); } to { transform: scale(1.14) translate(2%, -1%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(6,46,31,.94) 0%, rgba(11,77,51,.82) 38%, rgba(11,77,51,.35) 70%, rgba(6,46,31,.15) 100%); }
.hero-in { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 130px; }
.hero-card { max-width: 620px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--amber); margin-bottom: 12px; font-size: 1rem; }
.kd { width: 34px; height: 3px; border-radius: 3px; background: var(--amber); transform-origin: left; animation: grow 1s var(--ease) .2s both; }
@keyframes grow { from { transform: scaleX(0); } }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.8rem); line-height: 1.02; margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; color: #D6EDE0; max-width: 34em; animation: fade-in 1s ease .7s both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(14px); } }
.hero-programs { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; animation: fade-in 1s ease .9s both; }
.prog-chip { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: var(--r-md); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; backdrop-filter: blur(8px); transition: background-color .3s, transform .4s var(--spring); }
.prog-chip:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-4px); }
.prog-chip strong { display: block; font-family: var(--f-head); font-size: 1.05rem; }
.prog-chip small { color: #BFE0CD; }
.pc-ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--amber); color: var(--deep); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.pc-ic .ic { width: 22px; height: 22px; }
.hero .btn-row { animation: fade-in 1s ease 1.05s both; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 78px; z-index: 3; display: flex; align-items: center; gap: 22px; }
.hero-count { font: 600 .95rem var(--f-head); color: #CDE7D8; white-space: nowrap; }
.hero-count strong { color: #fff; font-size: 1.3rem; }
.hero-bars { display: flex; gap: 8px; }
.hero-bars button { width: 46px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; position: relative; }
.hero-bars button span { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero-bars button.is-on span { animation: bar 6s linear forwards; }
.hero-bars button.done span { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }
.deco-hero { z-index: 2; }
@media (max-width: 860px) {
  .hero { min-height: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%); }
  .hero-shade { background: linear-gradient(180deg, rgba(6,46,31,.7) 0%, rgba(11,77,51,.9) 55%, rgba(6,46,31,.96) 100%); }
  .hero-in { padding-top: 46px; padding-bottom: 110px; }
  .hero-nav { bottom: 50px; }
  .deco-hero .c1, .deco-hero .m2, .deco-hero .c4 { display: none; }
}

/* ---------- Approval strip ---------- */
.strip { background: var(--amber); overflow: hidden; margin-top: -1px; transform: rotate(-1.2deg) translateY(-18px); box-shadow: 0 10px 30px -14px rgba(217,134,11,.8); position: relative; z-index: 5; }
.strip-move { display: flex; gap: 46px; width: max-content; padding: 14px 0; animation: marquee 36s linear infinite; }
.strip:hover .strip-move { animation-play-state: paused; }
.strip span { display: inline-flex; align-items: center; gap: 10px; font: 700 .98rem var(--f-head); color: var(--deep); white-space: nowrap; }
.strip .ic { color: var(--forest); width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; position: relative; }
.section-soft { background: linear-gradient(180deg, var(--sage), var(--paper)); }
.section-hex { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17z' fill='none' stroke='%23E8F3EC' stroke-width='1.5'/%3E%3C/svg%3E"); }
.section-dark { background: linear-gradient(135deg, var(--deep), var(--forest) 70%); color: #fff; overflow: hidden; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 42px; position: relative; z-index: 2; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.head-row .section-head { margin-bottom: 0; }
.head-note { max-width: 380px; color: var(--muted); margin: 0; border-left: 3px solid var(--amber); padding-left: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; color: var(--green); margin-bottom: 10px; }
.eyebrow .ic { width: 18px; height: 18px; color: var(--amber-deep); }
.eyebrow.light { color: var(--leaf); }
.eyebrow.light .ic { color: var(--amber); }
.center-btn { text-align: center; margin-top: 34px; }
@media (max-width: 760px) { .section { padding: 62px 0; } .head-row { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; } }

/* Programmes */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.program { position: relative; background: #fff; border-radius: var(--r-lg); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .3s; }
.program::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; background: var(--sage); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); transition: transform .8s var(--spring); }
.program:hover::before { transform: rotate(60deg) scale(1.1); }
.program > * { position: relative; }
.program-alt { background: linear-gradient(150deg, var(--forest), var(--deep)); color: #E3F2E9; border-color: transparent; }
.program-alt::before { background: rgba(255,255,255,.06); }
.program-alt h3 { color: #fff; }
.program-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.program-ic { width: 58px; height: 58px; display: grid; place-items: center; background: var(--forest); color: var(--amber); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.program-alt .program-ic { background: var(--amber); color: var(--deep); }
.program-ic .ic { width: 28px; height: 28px; }
.program-tag { font: 800 .75rem var(--f-head); padding: 6px 12px; border-radius: 4px; background: var(--amber-soft); color: var(--amber-deep); }
.program-alt .program-tag { background: rgba(255,255,255,.12); color: var(--amber); }
.program h3 { font-size: 1.9rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 0 0 18px; }
.facts div { background: #fff; padding: 12px 14px; }
.program-alt .facts { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.program-alt .facts div { background: rgba(6,46,31,.55); }
.facts dt { font-size: .78rem; color: var(--muted); }
.program-alt .facts dt { color: #A8CDB8; }
.facts dd { margin: 0; font-weight: 800; color: var(--forest); }
.program-alt .facts dd { color: #fff; }
.program-elig { font-size: .95rem; }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } .program { padding: 24px 20px; } }

/* About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-text > p { color: #3D5A4C; }
.odo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 28px; }
.odo-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; border-bottom: 4px solid var(--amber); }
.odo-item:nth-child(2) { border-bottom-color: var(--leaf); }
.odo-item:nth-child(3) { border-bottom-color: var(--orange); }
.odo { display: inline-flex; font: 800 2.1rem/1 var(--f-head); color: var(--forest); height: 1em; overflow: hidden; }
.odo .dg { display: inline-block; height: 1em; overflow: hidden; }
.odo .dg > span { display: flex; flex-direction: column; transition: transform 1.8s var(--ease); }
.odo .dg > span > span { height: 1em; line-height: 1; }
.odo-item small { display: block; margin-top: 8px; color: var(--muted); font-size: .84rem; line-height: 1.3; }
.about-media { position: relative; }
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--deep); aspect-ratio: 16 / 10; border: 8px solid #fff; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(6,46,31,.1), rgba(6,46,31,.55)); }
.video-play span { position: relative; width: 82px; height: 82px; border-radius: 50%; background: var(--amber); color: var(--deep); display: grid; place-items: center; transition: transform .4s var(--spring); }
.video-play span::before, .video-play span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); animation: sonar 2.4s ease-out infinite; }
.video-play span::after { animation-delay: 1.2s; }
@keyframes sonar { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.video-play .ic { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video-play:hover span { transform: scale(1.1); }
.video-frame.playing .video-play { display: none; }
.about-tag { position: absolute; left: 24px; bottom: -18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-sm); background: var(--forest); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: var(--shadow); }
.about-tag .ic { color: var(--amber); fill: currentColor; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 46px; } }
@media (max-width: 480px) { .odo-row { gap: 8px; } .odo-item { padding: 12px 10px; } .odo { font-size: 1.6rem; } }

/* Salient features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; transition: transform .45s var(--spring), box-shadow .3s, border-color .3s; }
.feat:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); border-color: var(--leaf); }
.hex-ic { width: 60px; height: 66px; display: grid; place-items: center; margin-bottom: 16px; background: var(--sage); color: var(--forest);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background-color .3s, color .3s, transform .6s var(--spring); }
.hex-ic .ic { width: 28px; height: 28px; }
.feat:hover .hex-ic { background: var(--forest); color: var(--amber); transform: rotate(360deg); }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 1000px) { .feats { grid-template-columns: 1fr 1fr; gap: 12px; } .feat { padding: 20px 16px; } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }

/* Messages */
.quotes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; position: relative; padding: 30px 26px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; transition: background-color .3s, transform .45s var(--spring); }
.quote:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.q-mark { width: 40px; height: 40px; color: var(--amber); margin-bottom: 12px; }
.quote blockquote { margin: 0 0 22px; font-size: 1.04rem; line-height: 1.6; color: #E6F4EC; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.q-av { width: 46px; height: 46px; display: grid; place-items: center; background: var(--amber); color: var(--deep); font: 800 1.2rem var(--f-head); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.quote strong { display: block; color: #fff; }
.quote small { color: var(--leaf); font-weight: 700; }
.q-link { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); font-weight: 800; text-decoration: none; font-size: .92rem; }
.q-link:hover { color: #fff; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Resources */
.res { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.res-card { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 22px; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.res-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, var(--sage), #fff); z-index: 0; transition: height .5s var(--ease); }
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.res-card:hover::after { height: 100%; }
.res-card > * { position: relative; z-index: 1; }
.res-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--amber-soft); color: var(--amber-deep); margin-bottom: 14px; }
.res-ic .ic { width: 26px; height: 26px; }
.res-links { display: grid; gap: 8px; }
.res-links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; background: var(--paper); color: var(--forest); font-weight: 800; text-decoration: none; font-size: .92rem; transition: background-color .25s, color .25s; }
.res-links a:hover { background: var(--forest); color: #fff; }
@media (max-width: 1000px) { .res { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 520px) { .res { grid-template-columns: 1fr; } }

/* Campus life */
.life { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.life-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--forest); text-align: center; transition: transform .45s var(--spring), background-color .3s, color .3s; }
.life-card .ic { width: 34px; height: 34px; color: var(--green); transition: transform .5s var(--spring), color .3s; }
.life-card strong { font-family: var(--f-head); font-size: .98rem; }
.life-card:hover { background: var(--forest); color: #fff; transform: translateY(-6px); }
.life-card:hover .ic { color: var(--amber); transform: scale(1.2) rotate(-10deg); }
.home-gallery { margin-top: 30px; }
@media (max-width: 1000px) { .life { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .life { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Portals */
.portals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portal { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .3s, box-shadow .3s, transform .4s var(--spring); }
.portal-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--sage); color: var(--forest); transition: background-color .3s, color .3s; }
.portal-text { flex: 1; min-width: 0; line-height: 1.35; }
.portal-text strong { display: block; font-size: .95rem; color: var(--forest); }
.portal-text small { color: var(--muted); font-size: .8rem; }
.portal-go { color: var(--muted); transition: transform .4s var(--spring), color .3s; }
.portal:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.portal:hover .portal-ic { background: var(--amber); color: var(--deep); }
.portal:hover .portal-go { transform: translate(3px, -3px); color: var(--green); }
@media (max-width: 1000px) { .portals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .portals { grid-template-columns: 1fr; } }

/* Disclosure */
.disclose { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.disc { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; position: relative; overflow: hidden; transition: transform .4s var(--spring), box-shadow .3s; }
.disc::after { content: ""; position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; background: var(--sage); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); transition: transform .6s var(--spring), background-color .3s; }
.disc span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.disc strong { font: 800 1.2rem var(--f-head); color: var(--forest); }
.disc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.disc:hover::after { transform: rotate(180deg); background: var(--leaf); }
.disc-amber { background: var(--amber); border-color: var(--amber); }
.disc-amber span, .disc-amber strong { color: var(--deep); }
.disc-amber::after { background: rgba(255,255,255,.5); }
.disc-dark { background: var(--forest); border-color: var(--forest); }
.disc-dark span { color: #A8CDB8; } .disc-dark strong { color: #fff; }
.disc-dark::after { background: rgba(255,255,255,.15); }
@media (max-width: 860px) { .disclose { grid-template-columns: 1fr; gap: 26px; } .disc-grid { grid-template-columns: 1fr 1fr; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit-info { padding: 42px; }
.visit-line { display: flex; gap: 12px; align-items: flex-start; }
.visit-line .ic { color: var(--amber-deep); margin-top: 5px; }
.visit-line a { color: var(--forest); font-weight: 700; }
.visit-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.visit-phones a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: var(--sage); color: var(--forest); font-weight: 800; text-decoration: none; transition: background-color .25s, color .25s; }
.visit-phones a:hover { background: var(--forest); color: #fff; }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit-info { padding: 26px 20px; } .map-wrap iframe { min-height: 300px; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--deep), var(--forest) 60%, var(--forest-2)); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
.ph-in { position: relative; z-index: 2; padding-top: 52px; padding-bottom: 88px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0; }
.page-intro { color: #CFE8DA; margin: 12px 0 0; max-width: 44em; font-size: 1.05rem; animation: fade-in .9s ease .5s both; }
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--amber); margin-bottom: 14px; animation: fade-in .8s ease both; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs .ic { width: 15px; height: 15px; }
.page-body { padding: 34px 0 90px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; position: relative; }
.panel + .panel { margin-top: 24px; }
.panel h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 12px; }
.panel h2::before { content: ""; width: 14px; height: 16px; flex: none; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.panel h3 { margin-top: 1.3em; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
@media (max-width: 600px) { .panel { padding: 24px 18px; border-radius: var(--r-md); } .page-body { padding: 18px 0 60px; } .ph-in { padding-top: 34px; padding-bottom: 66px; } }

.prose { max-width: 76ch; }
.prose li { margin-bottom: .55em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-col .panel + .panel { margin-top: 0; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .two-col, .three-col { grid-template-columns: 1fr; } }

.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.fact-row div { background: #fff; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); position: relative; overflow: hidden; }
.fact-row div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.fact-row div:nth-child(even)::before { background: var(--leaf); }
.fact-row span { display: block; font-size: .8rem; color: var(--muted); font-weight: 700; }
.fact-row strong { font-family: var(--f-head); font-size: 1.15rem; color: var(--forest); }
@media (max-width: 760px) { .fact-row { grid-template-columns: 1fr 1fr; gap: 10px; } }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 12px 0 12px 42px; border-bottom: 1px dashed var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 28px; height: 30px; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A524' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numbered li { counter-increment: n; position: relative; padding: 14px 0 14px 60px; border-bottom: 1px dashed var(--line); }
.numbered li:last-child { border-bottom: 0; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 12px; width: 42px; height: 46px; display: grid; place-items: center; font: 800 .9rem var(--f-head); color: var(--amber); background: var(--forest); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.callout { background: var(--amber-soft); border-left: 5px solid var(--amber); padding: 18px 22px; border-radius: var(--r-sm); margin-top: 22px; }
.callout p:last-child { margin: 0; }

.feat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-list .feat { padding: 22px; }
@media (max-width: 900px) { .feat-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat-list { grid-template-columns: 1fr; } }

/* Message pages */
.message { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.message-card { position: sticky; top: 80px; text-align: center; background: linear-gradient(160deg, var(--forest), var(--deep)); color: #fff; border-radius: var(--r-lg); padding: 30px 22px; overflow: hidden; }
.message-card .q-av { width: 96px; height: 104px; font-size: 2.4rem; margin: 0 auto 14px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.message-card strong { display: block; font-family: var(--f-head); font-size: 1.15rem; }
.message-card small { color: var(--amber); font-weight: 800; }
.message-card p { color: #CFE8DA; font-size: .9rem; margin: 10px 0 0; }
.message-body { font-size: 1.06rem; line-height: 1.8; }
.message-body::first-letter { font: 800 3.2rem/1 var(--f-head); float: left; margin: 6px 10px 0 0; color: var(--amber-deep); }
.sign { margin-top: 24px; padding-top: 16px; border-top: 2px dotted var(--sage-2); text-align: right; }
.sign strong { display: block; font-family: var(--f-head); color: var(--forest); }
.sign small { color: var(--muted); }
@media (max-width: 800px) { .message { grid-template-columns: 1fr; } .message-card { position: static; } }

/* Pharmacist stories */
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; transition: transform .45s var(--spring), box-shadow .3s; }
.story:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.story-no { position: absolute; right: 16px; top: 8px; font: 800 3.4rem/1 var(--f-head); color: var(--sage); }
.story h3 { padding-right: 60px; margin-bottom: 4px; }
.story .contrib { display: inline-block; font-size: .82rem; font-weight: 800; color: var(--amber-deep); background: var(--amber-soft); padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.story p { color: #3D5A4C; font-size: .95rem; }
.story .src { font-size: .78rem; color: var(--muted); margin: 0; }
.story-wide { grid-column: 1 / -1; }
@media (max-width: 800px) { .stories { grid-template-columns: 1fr; } }

/* People */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.person { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; transition: transform .45s var(--spring), box-shadow .3s, border-color .3s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--leaf); }
.person-photo { width: 70px; height: 76px; object-fit: cover; flex: none; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--sage); }
.person-initial { display: grid; place-items: center; font: 800 1.7rem var(--f-head); color: var(--amber); background: linear-gradient(150deg, var(--forest), var(--deep)); }
.person-info { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; gap: 2px; }
.person-info strong { color: var(--forest); font-size: 1.02rem; }
.person-role { color: var(--amber-deep); font-weight: 800; font-size: .88rem; }
.person-qual, .person-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; text-decoration: none; }
.person-phone { color: var(--green); font-weight: 700; }
.person-phone:hover { color: var(--forest); text-decoration: underline; }

/* Documents */
.docs { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); position: relative; transition: background-color .25s, padding .35s var(--spring); }
.doc:last-child { border-bottom: 0; }
.doc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); transform: scaleY(0); transition: transform .35s var(--ease); }
.doc:hover { background: var(--paper); padding-left: 24px; }
.doc:hover::before { transform: scaleY(1); }
.doc-no { font: 800 .85rem var(--f-head); color: var(--muted); width: 26px; }
.doc-ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: #FFE9E0; color: var(--orange); }
.doc-title { flex: 1; font-weight: 800; color: var(--forest); }
.doc-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-sm); background: var(--forest); color: #fff; font-weight: 800; font-size: .86rem; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.doc-link:hover { background: var(--amber); color: var(--deep); }
.doc-missing { opacity: .7; }
.doc-missing .doc-ic { background: #F0F3F1; color: #A9B8B0; }
.doc-status { font-size: .8rem; color: var(--muted); background: #F0F3F1; padding: 5px 10px; border-radius: 4px; white-space: nowrap; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.doc-tabs a { padding: 9px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--forest); font-weight: 800; text-decoration: none; transition: all .25s; }
.doc-tabs a:hover { border-color: var(--green); }
.doc-tabs a[aria-current="page"] { background: var(--forest); color: #fff; border-color: var(--forest); }
@media (max-width: 560px) { .doc { flex-wrap: wrap; padding: 14px; } .doc-no { display: none; } .doc-title { flex-basis: calc(100% - 56px); } .doc-link, .doc-status { margin-left: 52px; } }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--sage); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6,46,31,.8), transparent 55%); opacity: 0; transition: opacity .4s; }
.photo-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 800; transform: translateY(14px); opacity: 0; transition: transform .45s var(--spring), opacity .3s; }
.photo:hover img { transform: scale(1.1) rotate(1deg); }
.photo:hover::before { opacity: 1; }
.photo:hover .photo-cap { transform: none; opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(4,26,18,.95); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: var(--r-sm); animation: lb-in .5s var(--spring); }
@keyframes lb-in { from { transform: scale(.85); opacity: 0; } }
.lightbox figcaption { color: #D6EDE0; margin-top: 12px; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--amber); color: var(--deep); cursor: pointer; display: grid; place-items: center; }
.lb-close .ic { width: 22px; height: 22px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 66px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 2.2rem; cursor: pointer; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

.empty { display: flex; align-items: center; gap: 16px; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 2px dashed var(--sage-2); color: var(--muted); }
.empty-ic { width: 52px; height: 56px; flex: none; display: grid; place-items: center; background: var(--sage); color: var(--green); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.empty-ic .ic { width: 24px; height: 24px; animation: bubble 2.4s ease-in-out infinite; }
@keyframes bubble { 50% { transform: translateY(-3px) rotate(-8deg); } }
.empty p { margin: 0; }

/* Contact + forms */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: transform .45s var(--spring), box-shadow .3s; }
.c-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.c-card .hex-ic { width: 54px; height: 60px; }
.c-card h2 { font-size: 1.12rem; }
.c-card a { display: block; font-weight: 800; color: var(--forest); text-decoration: none; padding: 2px 0; word-break: break-word; }
.c-card a:hover { color: var(--green); text-decoration: underline; }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-box iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; font: 600 1rem var(--f-body); color: var(--ink); padding: 22px 14px 8px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 15px; color: var(--muted); font-weight: 700; pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left top; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(60,203,127,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); color: var(--green); }
.alert { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); font-weight: 700; margin-bottom: 18px; animation: lb-in .5s var(--spring); }
.alert-ok { background: var(--sage); color: var(--forest); border: 1px solid var(--leaf); }
.alert-err { background: #FFE9E0; color: #A33A12; border: 1px solid #F7B79B; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--deep), #04201A); color: #A9C7B7; font-size: .94rem; margin-top: 40px; }
.footer-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 46px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 800; margin: 0 0 4px; }
.footer-top h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
.f-logos { display: flex; gap: 10px; margin-bottom: 14px; }
.f-logo { background: #fff; border-radius: var(--r-md); padding: 6px; display: inline-flex; }
.f-logo img { height: 62px; width: auto; }
.f-name { font: 700 1.1rem var(--f-head); color: #fff; margin-bottom: 6px; }
.f-muted { color: #8FB09F; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background-color .3s, transform .4s var(--spring), color .3s; }
.f-social a:hover { background: var(--amber); color: var(--deep); transform: translateY(-4px) rotate(8deg); }
.f-head { font: 700 1.02rem var(--f-head); color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.f-head::before { content: ""; width: 12px; height: 14px; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 9px; }
.f-links a { color: #D3E8DC; text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease), color .25s; padding-bottom: 2px; }
.f-links a:hover { color: #fff; background-size: 100% 2px; }
.f-line { display: flex; gap: 10px; color: #D3E8DC; text-decoration: none; margin-bottom: 10px; }
a.f-line:hover { color: #fff; }
.f-line .ic { margin-top: 4px; color: var(--amber); }
.f-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 10px; }
.f-phones a { display: inline-flex; align-items: center; gap: 6px; color: #D3E8DC; text-decoration: none; font-weight: 700; }
.f-phones a .ic { color: var(--amber); }
.f-phones a:hover { color: #fff; }
.f-mail { word-break: break-all; }
.f-bottom { position: relative; z-index: 2; background: rgba(0,0,0,.25); font-size: .85rem; }
.f-bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 16px; }
.f-bottom a { color: var(--amber); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .f-bottom-in { flex-direction: column; } }

/* Back to top with scroll ring */
.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--amber); box-shadow: var(--shadow-lg); opacity: 0; transform: scale(.4); pointer-events: none; transition: opacity .3s, transform .45s var(--spring); }
.to-top > .ic { transform: rotate(180deg); width: 22px; height: 22px; position: relative; }
.tt-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.tt-ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 3; }
.tt-ring .tt-bar { stroke: var(--amber); stroke-dasharray: 144.5; stroke-dashoffset: 144.5; stroke-linecap: round; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--amber); color: var(--deep); }

.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--deep); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgba(6,46,31,.3); }
  .callbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; font-weight: 800; font-size: .78rem; color: #fff; text-decoration: none; }
  .callbar a .ic { width: 20px; height: 20px; color: var(--amber); }
  .callbar a:first-child { background: var(--amber); color: var(--deep); }
  .callbar a:first-child .ic { color: var(--deep); }
  .to-top { bottom: 80px; right: 14px; width: 46px; height: 46px; }
  body { padding-bottom: 62px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split .w > span { transform: none !important; }
  .hero-slide.is-on { transform: none; }
}
@media print {
  .topbar, .navbar, .callbar, .site-footer, .to-top, .deco, .scroll-progress { display: none !important; }
  body { background: #fff; }
}

/* Gallery page groups */
.gal-group + .gal-group { margin-top: 40px; }
.gal-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.gal-title .ic { color: var(--amber-deep); }
