/*
Theme Name: CHMC Potency
Template: chmc-core
Description: Immersive design for Chakwal Homoeopathic Medical College. A Three.js remedy vial you can shake, GSAP scroll choreography, a draggable faculty rail and a 3D photo ring.
Version: 1.0.0
Author: Handicraft Marketing
*/

:root {
	--pine: #062A1E;
	--pine-2: #0B3B2A;
	--pine-3: #124A36;
	--green: #016D3B;
	--leaf: #5BD39A;
	--blue: #1E8FD6;
	--sky: #9AD5F8;
	--paper: #EEF3EF;
	--white: #FFFFFF;
	--ink: #0A2219;
	--muted: #4A6156;
	--on-dark: #C9DDD2;
	--line: rgba(10, 34, 25, .1);
	--line-d: rgba(255, 255, 255, .12);
	--display: "Cabinet Grotesk", "Geist", system-ui, sans-serif;
	--font: "Geist", system-ui, sans-serif;
	--urdu: "Noto Nastaliq Urdu", serif;
	--ease: cubic-bezier(.32, .72, 0, 1);
	--wrap: 1280px;
	--r-xl: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); overflow-x: hidden; }
main { overflow-x: clip; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
.ur { font-family: var(--urdu); line-height: 2.2; font-weight: 600; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 999px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(88px, 12vw, 176px) 0; }
.section.alt { background: var(--white); }
.section-tight { padding-bottom: 0; }
.sec-title, .section-title { max-width: 18ch; margin-bottom: .7em; }
.split-line { overflow: hidden; padding-bottom: .06em; }

/* Ambient layers */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; display: none; }
.cursor span { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.5px solid var(--blue); background: rgba(30, 143, 214, .08); transition: transform .5s var(--ease), background .3s; }
.cursor.is-hover span { transform: scale(3.2); background: rgba(30, 143, 214, .14); border-color: transparent; }
.cursor.is-drag span { transform: scale(4.4); background: rgba(91, 211, 154, .18); border-color: var(--leaf); }
@media (pointer: fine) { .js .cursor { display: block; } }

/* Buttons: pill with a nested icon circle */
.btn { --bg: var(--green); --fg: #fff; --ic: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 6px 6px 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .6s var(--ease), background .4s var(--ease); will-change: transform; }
.btn:active { transform: scale(.98); }
.btn-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ic); transition: transform .6s var(--ease); }
.btn:hover .btn-icon { transform: translate(3px, -2px) scale(1.06); }
.btn-solid { --bg: var(--green); }
.btn-solid:hover { --bg: #01592F; }
.btn-glass { --bg: rgba(255, 255, 255, .08); --fg: #fff; --ic: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.btn-glass:hover { --bg: rgba(255, 255, 255, .16); }
.btn-light { --bg: #fff; --fg: var(--green); --ic: rgba(1, 109, 59, .1); }
.btn-outline { --bg: transparent; --fg: #fff; --ic: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.btn-outline:hover { --bg: rgba(255, 255, 255, .1); }
.btn-primary { --bg: var(--green); padding: 0 26px; }
.btn-ghost { --bg: var(--paper); --fg: var(--green); padding: 0 26px; border-color: var(--line); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 40px; font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link.light { color: #fff; }

/* Header: floating island */
.site-header { position: fixed; top: 18px; left: 0; right: 0; z-index: 80; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; transition: transform .7s var(--ease); }
.site-header.is-hidden { transform: translateY(-140%); }
.island { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(6, 42, 30, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 0 4px; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; }
.brand-name { font: 800 1.05rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a { display: block; padding: 11px 14px; border-radius: 999px; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .92rem; font-weight: 500; transition: background .4s var(--ease), color .4s; }
.nav a:hover, .nav .is-current > a { color: #fff; background: rgba(255, 255, 255, .1); }
.nav .sub { position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; border-radius: 22px; background: rgba(6, 42, 30, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .45s var(--ease); }
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav li.has-sub:hover .sub, .nav li.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.island-apply { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; min-height: 48px; border-radius: 999px; background: var(--leaf); color: var(--pine); font-weight: 700; text-decoration: none; font-size: .95rem; }
.island-apply .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine); box-shadow: 0 0 0 0 rgba(6, 42, 30, .5); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(6, 42, 30, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(6, 42, 30, 0); } }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); cursor: pointer; place-items: center; }
.burger-lines { position: relative; width: 20px; height: 12px; display: block; }
.burger-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger-lines i:first-child { top: 2px; }
.burger-lines i:last-child { top: 9px; }
.menu-open .burger-lines i:first-child { top: 5.5px; transform: rotate(45deg); }
.menu-open .burger-lines i:last-child { top: 5.5px; transform: rotate(-45deg); }

/* Full-screen menu */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(6, 42, 30, .9); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; overflow-y: auto; }
.menu-open .overlay { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.overlay-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 110px 24px 40px; width: min(900px, 100%); margin: auto; }
.overlay-nav { list-style: none; margin: 0; padding: 0; }
.overlay-nav > li { overflow: hidden; }
.overlay-nav > li > a { display: inline-block; font: 800 clamp(2.2rem, 7vw, 4.4rem)/1.08 var(--display); color: #fff; text-decoration: none; letter-spacing: -.03em; transform: translateY(110%); transition: transform .9s var(--ease), color .3s; }
.overlay-nav > li > a:hover { color: var(--leaf); }
.menu-open .overlay-nav > li > a { transform: none; }
.overlay-nav > li:nth-child(2) > a { transition-delay: .05s; }
.overlay-nav > li:nth-child(3) > a { transition-delay: .1s; }
.overlay-nav > li:nth-child(4) > a { transition-delay: .15s; }
.overlay-nav > li:nth-child(5) > a { transition-delay: .2s; }
.overlay-nav > li:nth-child(6) > a { transition-delay: .25s; }
.overlay-nav > li:nth-child(7) > a { transition-delay: .3s; }
.overlay-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 14px; padding: 0; }
.overlay-sub a { color: var(--on-dark); text-decoration: none; font-size: 1rem; }
.overlay-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-d); color: var(--on-dark); }
.overlay-foot a { color: #fff; font-weight: 600; text-decoration: none; }
.menu-open, .menu-open body { overflow: hidden; }

/* Hero */
.hero { position: relative; min-height: 100dvh; background: radial-gradient(120% 90% at 78% 40%, #0F5A3E 0%, var(--pine) 55%, #031A12 100%); color: var(--on-dark); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(3, 26, 18, .7)); z-index: -1; pointer-events: none; }
.vial-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero-fallback { position: absolute; right: 8%; top: 50%; width: min(34vw, 420px); aspect-ratio: 3 / 4; transform: translateY(-50%); border-radius: 46% 46% 30% 30%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(160deg, rgba(154, 213, 248, .25), rgba(91, 211, 154, .12)); border: 1px solid rgba(255, 255, 255, .2); z-index: 0; }
.has-webgl .hero-fallback { display: none; }
.hero-inner { position: relative; z-index: 2; padding: 140px 0 120px; pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.hero-ur { font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--sky); margin: 0 0 .2em; text-align: left; }
.hero-title { color: #fff; max-width: 15.5ch; margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 46ch; color: var(--on-dark); margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { position: absolute; right: clamp(16px, 6vw, 96px); bottom: 44px; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0; font-size: .88rem; color: var(--on-dark); }
.hint-ring { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--leaf); position: relative; }
.hint-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--leaf); animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.hero-scroll { position: absolute; left: 50%; bottom: 32px; z-index: 2; width: 28px; height: 46px; margin-left: -14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* Marquee */
.marquee { background: var(--pine); color: #fff; padding: 34px 0; overflow: hidden; border-top: 1px solid var(--line-d); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-row { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee-row li { font: 800 clamp(2rem, 4.6vw, 4rem)/1 var(--display); letter-spacing: -.03em; padding: 0 .55em; white-space: nowrap; display: flex; align-items: center; gap: 1.1em; }
.marquee-row li::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #CFE3D8 60%, #9DB8AB); box-shadow: 0 0 22px rgba(255, 255, 255, .25); }
.marquee-row li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .55); }

/* Statement */
.statement { padding: clamp(110px, 16vw, 220px) 0; background: var(--paper); }
.statement-text { font: 700 clamp(1.9rem, 4.4vw, 4.2rem)/1.12 var(--display); letter-spacing: -.03em; margin: 0; max-width: 24ch; color: var(--ink); }
.pill-img { display: inline-block; width: 2.3em; height: .95em; border-radius: 999px; background-size: cover; background-position: center; vertical-align: -.06em; margin: 0 .08em; filter: saturate(.85) contrast(1.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* Bento: 4 cols x 3 rows. photo 2x2 + blue 2x1 + sessions 1x1 + scholar 1x1 + team 4x1 = 12 cells */
.bento-sec { padding-top: 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(290px, auto); grid-auto-flow: dense; gap: 16px; perspective: 1400px; }
.b-card { margin: 0; padding: 7px; border-radius: var(--r-xl); background: rgba(10, 34, 25, .04); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transform-style: preserve-3d; will-change: transform; }
.b-core { position: relative; height: 100%; border-radius: calc(var(--r-xl) - 7px); background: var(--white); padding: clamp(22px, 2.6vw, 34px); overflow: hidden; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 30px 60px -40px rgba(6, 42, 30, .35); display: flex; flex-direction: column; justify-content: flex-end; }
.b-core::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 143, 214, .12), transparent 45%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.b-card:hover .b-core::before { opacity: 1; }
.b-core p { color: var(--muted); margin: 0; }
.b-photo { grid-column: span 2; grid-row: span 2; }
.b-photo .b-core { padding: 0; }
.b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-photo:hover img { transform: scale(1.05); }
.b-photo figcaption { position: relative; margin: 14px; padding: 18px 20px; border-radius: 20px; background: rgba(6, 42, 30, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); font-size: .98rem; max-width: 30rem; }
.b-photo figcaption strong { display: block; color: #fff; font: 700 1.25rem/1.2 var(--display); margin-bottom: 4px; }
.b-blue { grid-column: span 2; }
.b-blue .b-core { background: linear-gradient(140deg, #1E8FD6, #136BA6); color: #fff; }
.b-blue p { color: #E2F2FD; max-width: 46ch; }
.b-seal { position: absolute; right: 22px; top: 22px; width: 96px; color: rgba(255, 255, 255, .85); }
.b-seal circle:first-child { transform-origin: center; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dial { position: absolute; top: 24px; left: 24px; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(from 180deg, #FFE6A6 0 50%, var(--pine-2) 50% 100%); animation: spin 18s linear infinite; }
.dial .sun, .dial .moon { position: absolute; width: 18px; height: 18px; border-radius: 50%; left: 50%; margin-left: -9px; }
.dial .sun { top: 10px; background: #F2B33D; }
.dial .moon { bottom: 10px; background: #fff; box-shadow: inset -5px -2px 0 #C9D9E8; }
.ring { position: relative; }
.b-scholar .ring { position: absolute; top: 22px; left: 22px; width: 96px; height: 96px; display: grid; place-items: center; font: 800 1.9rem/1 var(--display); color: var(--green); }
.b-scholar .ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.b-scholar .ring circle { fill: none; stroke: var(--paper); stroke-width: 8; }
.b-scholar .ring .ring-fill { stroke: var(--leaf); stroke-linecap: round; stroke-dasharray: 70 100; }
.b-scholar .ring small { position: absolute; right: 18px; top: 32px; font-size: .9rem; }
.b-team { grid-column: span 4; }
.b-team .b-core { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; background: var(--pine); color: #fff; }
.b-team p { color: var(--leaf); font-weight: 600; }
.b-team h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .2em; }
.faces { display: flex; }
.faces img { width: clamp(56px, 7vw, 96px); aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 3px solid var(--pine); margin-left: -18px; background: var(--pine-3); transition: transform .6s var(--ease); }
.faces img:first-child { margin-left: 0; }
.b-team:hover .faces img { transform: translateY(-6px); }
.b-team:hover .faces img:nth-child(even) { transform: translateY(6px); }
.b-team-text { margin-right: auto; }
.b-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--leaf); color: var(--pine); flex: none; transition: transform .6s var(--ease); }
.b-team:hover .b-arrow { transform: rotate(45deg) scale(1.08); }

/* Journey: pinned horizontal */
.journey { background: var(--pine); color: var(--on-dark); overflow: hidden; }
.journey-pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 64px; }
.journey .sec-title { color: #fff; margin-bottom: .4em; }
.journey-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.journey-progress { flex: 1 1 260px; max-width: 420px; height: 2px; background: var(--line-d); margin-bottom: 2.2em; border-radius: 2px; overflow: hidden; }
.journey-progress span { display: block; height: 100%; width: 100%; background: var(--leaf); transform-origin: left; transform: scaleX(0); }
.journey-track { list-style: none; margin: 24px 0 0; padding: 0 max(16px, calc((100vw - var(--wrap)) / 2)); display: flex; gap: 20px; width: max-content; will-change: transform; }
.stage { position: relative; width: min(440px, 82vw); flex: none; padding: 32px; border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); display: flex; flex-direction: column; min-height: 520px; }
.stage-no { font: 800 5.5rem/.8 var(--display); color: transparent; -webkit-text-stroke: 1.2px rgba(154, 213, 248, .55); margin-bottom: 26px; }
.stage h3 { color: #fff; font-size: 1.7rem; }
.stage p { color: var(--on-dark); }
.stage img { margin-top: auto; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; filter: saturate(.85); }
.stage-tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-tags li { border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 6px 13px; font-size: .9rem; color: #fff; }
.stage-end { background: linear-gradient(160deg, var(--green), #014426); border-color: transparent; justify-content: flex-end; }
.stage-end .stage-no { -webkit-text-stroke-color: var(--leaf); margin-bottom: auto; }
.stage-end .btn { align-self: flex-start; margin-top: 12px; --bg: #fff; --fg: var(--green); --ic: rgba(1, 109, 59, .1); }

/* Faculty rail */
.faculty { background: var(--paper); overflow: hidden; }
.faculty-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.drag-note { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.drag-note::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.rail-viewport { padding: 0 max(16px, calc((100vw - var(--wrap)) / 2)); cursor: grab; touch-action: pan-y; }
.rail-viewport:active { cursor: grabbing; }
.rail { display: flex; gap: 18px; width: max-content; perspective: 1200px; }
.rail .person { width: clamp(220px, 22vw, 290px); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.person { display: block; text-decoration: none; color: var(--ink); user-select: none; -webkit-user-drag: none; transform-style: preserve-3d; }
.person-img { display: block; padding: 6px; border-radius: 28px; background: rgba(10, 34, 25, .04); box-shadow: inset 0 0 0 1px var(--line); }
.person-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 22px; background: var(--white); transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); pointer-events: none; }
.person:hover .person-img img { filter: saturate(1.05); }
.person-name { display: block; font: 700 1.15rem/1.25 var(--display); margin-top: 14px; }
.person-role { display: block; font-size: .9rem; color: var(--green); font-weight: 500; }

/* 3D photo ring */
.ring-sec { background: radial-gradient(90% 70% at 50% 60%, #0F4A35, var(--pine) 60%, #031A12); color: var(--on-dark); padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.ring-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.ring-head .sec-title { color: #fff; margin: 0; }
.ring-head p { margin: 0; }
.ring-stage { height: clamp(360px, 46vw, 560px); perspective: 1600px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; margin-top: 30px; }
.ring-stage:active { cursor: grabbing; }
.orbit { position: relative; list-style: none; margin: 0; padding: 0; width: clamp(180px, 20vw, 260px); aspect-ratio: 3 / 4; transform-style: preserve-3d; }
.orbit li { position: absolute; inset: 0; transform: rotateY(calc(var(--n) * (360deg / 11))) translateZ(var(--radius, 480px)); backface-visibility: hidden; }
.orbit a { display: block; height: 100%; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.orbit img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s var(--ease); }
.orbit a:hover img { transform: scale(1.06); }

/* Events stack */
.events-sec { background: var(--white); }
.events-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.events-intro { position: sticky; top: 140px; }
.events-intro p { color: var(--muted); font-size: 1.1rem; max-width: 34ch; }
.stack { display: grid; gap: 22px; }
.stack-card { position: sticky; top: 130px; display: grid; grid-template-columns: 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--pine); color: #fff; text-decoration: none; box-shadow: 0 -10px 60px -30px rgba(6, 42, 30, .5); transform-origin: center top; }
.stack-card:nth-child(2) { top: 150px; }
.stack-card:nth-child(3) { top: 170px; }
.stack-card:nth-child(4) { top: 190px; }
.stack-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stack-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 4px; }
.stack-body time { color: var(--leaf); font-size: .9rem; font-weight: 600; }
.stack-title { font: 700 1.5rem/1.2 var(--display); }
.stack-place { color: var(--on-dark); font-size: .92rem; }

/* FAQ */
.faq-sec { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 140px; }
.faq-side p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 26px 0; font: 700 clamp(1.1rem, 1.6vw, 1.35rem)/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016D3B' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), background-color .4s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--leaf); }
.faq .faq-body { overflow: hidden; }
.faq details p { color: var(--muted); margin: 0; padding: 0 60px 26px 0; font-size: 1.05rem; }
.section.alt .faq summary::after { background-color: var(--paper); }

/* CTA */
.cta-band { position: relative; background: var(--green); color: #DDF1E6; padding: clamp(110px, 15vw, 210px) 0; overflow: hidden; text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 140vmax; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; scale: var(--s, 1); background: repeating-radial-gradient(circle, rgba(255, 255, 255, .06) 0 1px, transparent 1px 60px); z-index: -1; }
.cta-ur { font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--leaf); margin: 0; text-align: center; }
.cta-title { color: #fff; font-size: clamp(2.6rem, 7vw, 7rem); max-width: 14ch; margin: .1em auto .35em; }
.cta-sub { font-size: 1.15rem; max-width: 48ch; margin: 0 auto 2.4em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.site-footer { background: #031A12; color: var(--on-dark); padding: clamp(80px, 10vw, 140px) 0 0; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.footer-big { font: 800 clamp(2.2rem, 4.6vw, 4.4rem)/.98 var(--display); letter-spacing: -.035em; color: #fff; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.site-footer h2 { font: 600 .95rem/1 var(--font); color: var(--leaf); margin-bottom: 18px; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-d); margin-top: 80px; padding: 26px 0 30px; font-size: .85rem; }
.sep { opacity: .4; margin: 0 6px; }
.dock { display: none; }

/* Inner pages */
.page-head { position: relative; background: radial-gradient(100% 120% at 80% 0%, #0F5A3E, var(--pine) 60%); color: var(--on-dark); padding: clamp(150px, 18vw, 230px) 0 clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-head h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 16ch; margin: .25em 0 .25em; }
.crumbs { display: flex; gap: 10px; font-size: .9rem; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark); }
.crumbs span { color: rgba(255, 255, 255, .5); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin: 0; max-width: 54ch; color: var(--on-dark); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 .4em; color: var(--green); }
.prose p, .prose li { color: #27403A; }
.pull { font: 800 clamp(1.9rem, 3.6vw, 3rem)/1.1 var(--display); color: var(--green); letter-spacing: -.025em; }
.split-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-media { margin: 0; position: sticky; top: 120px; padding: 7px; border-radius: var(--r-xl); background: rgba(10, 34, 25, .04); box-shadow: inset 0 0 0 1px var(--line); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--r-xl) - 7px); }
.split-media figcaption { font-size: .9rem; color: var(--muted); padding: 12px 10px 6px; }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.values li { background: var(--white); border-radius: 22px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.values strong { display: block; font: 700 1.15rem/1.3 var(--display); color: var(--green); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features li { background: var(--paper); border-radius: 26px; padding: 30px; }
.features h3 { color: var(--green); }
.features p { color: var(--muted); margin: 0; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm > div { border-radius: var(--r-xl); padding: clamp(30px, 4vw, 52px); background: var(--pine); color: var(--on-dark); }
.vm > div + div { background: var(--blue); color: #E7F4FD; }
.vm h2 { color: #fff; }
.vm p { font-size: 1.15rem; margin: 0; }
.message { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.message img { aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; padding: 8px; background: var(--paper); }
.message blockquote { margin: 0; }
.message blockquote p { font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.4 var(--display); letter-spacing: -.01em; }
.message footer strong { display: block; }
.message footer span { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.facts > div { background: var(--white); border-radius: 24px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: 6px 0 0; font: 700 1.2rem/1.25 var(--display); color: var(--green); }
.facts-sm { grid-template-columns: repeat(3, 1fr); margin-bottom: 28px; }
.syllabus { background: var(--pine); color: var(--on-dark); border-radius: var(--r-xl); padding: 34px; position: sticky; top: 120px; }
.syllabus h2 { color: #fff; font-size: 1.8rem; }
.syllabus h3 { color: var(--leaf); font-size: 1rem; margin-top: 1.2em; font-family: var(--font); font-weight: 600; }
.syllabus ul { margin: 0 0 1em; padding-left: 1.1em; }
.syllabus .btn { width: 100%; justify-content: center; margin-top: 10px; --bg: var(--leaf); --fg: var(--pine); }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: rule; display: grid; gap: 12px; }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--white); border-radius: 22px; padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.rules li::before { content: counter(rule); font: 800 1.8rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--green); }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 16px; }
.gallery li { break-inside: avoid; margin-bottom: 16px; }
.gallery a { display: block; border-radius: 24px; overflow: hidden; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.event { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.event-img { overflow: hidden; }
.event-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 1s var(--ease); }
.event:hover .event-img img { transform: scale(1.05); }
.event-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.event time { font-size: .9rem; color: var(--green); font-weight: 600; }
.event-title { font: 700 1.3rem/1.25 var(--display); }
.event-place { font-size: .92rem; color: var(--muted); }
.event-meta { color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); overflow: visible; }
.lightbox::backdrop { background: rgba(3, 26, 18, .92); backdrop-filter: blur(8px); }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: 20px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: absolute; top: -56px; right: 0; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; font-size: 26px; cursor: pointer; }
.form-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 40px; align-items: start; }
.form-box { background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 44px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -60px rgba(6, 42, 30, .4); }
.form-aside { background: var(--pine); color: var(--on-dark); border-radius: var(--r-xl); padding: 32px; position: sticky; top: 120px; }
.form-aside h2 { color: #fff; font-size: 1.35rem; margin-top: 1.3em; }
.form-aside h2:first-child { margin-top: 0; }
.form-aside a:not(.btn) { color: #fff; }
.form-aside .btn { --bg: var(--leaf); --fg: var(--pine); }
.checks { padding-left: 1.1em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-list { margin: 0; display: grid; gap: 12px; }
.contact-list > div { background: var(--white); border-radius: 22px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.contact-list dt { font-size: .88rem; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-weight: 600; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; border-radius: var(--r-xl); }
.profile { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.profile-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r-xl); }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list a { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-list time { color: var(--muted); min-width: 150px; }
.wpforms-container input[type=text], .wpforms-container input[type=email], .wpforms-container input[type=tel], .wpforms-container input[type=number], .wpforms-container input[type=date], .wpforms-container select, .wpforms-container textarea { border-radius: 14px !important; border-color: rgba(10, 34, 25, .18) !important; min-height: 48px; }
.wpforms-container .wpforms-submit { background: var(--green) !important; border-radius: 999px !important; padding: 16px 36px !important; font-weight: 600 !important; }


/* ---------- Official-site sections ---------- */
.kicker { font-weight: 600; color: var(--green); margin: 0 0 18px; font-size: 1.05rem; }
.statement .kicker { font-size: 1.15rem; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 64px; flex-wrap: wrap; margin-bottom: 8px; }
.sec-head p { color: var(--muted); max-width: 40ch; margin: 0 0 2.2em; font-size: 1.1rem; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin: -.4em 0 2.2em; }
.b-photo figcaption a { color: var(--leaf); font-weight: 700; }

/* Vision / Mission / Chairman */
.vmc { background: var(--white); }
.vmc-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.vmc-photo { margin: 0; padding: 7px; border-radius: var(--r-xl); background: rgba(10, 34, 25, .04); box-shadow: inset 0 0 0 1px var(--line); }
.vmc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: calc(var(--r-xl) - 7px); }
.vmc-photo figcaption { padding: 14px 12px 8px; color: var(--muted); }
.vmc-photo strong { display: block; color: var(--ink); font: 700 1.2rem/1.3 var(--display); }
.vmc-tabs { min-width: 0; }
.tablist { position: relative; display: flex; gap: 4px; padding: 6px; background: var(--paper); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 36px; }
.tablist button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 22px; border-radius: 999px; font: 600 .98rem/1 var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .4s; }
.tablist button[aria-selected="true"] { color: #fff; }
.tab-ink { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--pine); }
.panel p { font: 600 clamp(1.3rem, 2.2vw, 2rem)/1.35 var(--display); letter-spacing: -.015em; color: var(--ink); }
.vmc .values { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.vmc .values li { padding: 10px 20px; border-radius: 999px; background: var(--paper); box-shadow: none; color: var(--green); font-weight: 700; }

/* What is Homeopathy? */
.homoeo-teaser { background: var(--pine); color: var(--on-dark); }
.homoeo-teaser .kicker { color: var(--leaf); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.teaser-quote { font: 800 clamp(3rem, 7vw, 6.4rem)/.95 var(--display); letter-spacing: -.035em; color: #fff; margin: 0; }
.teaser-copy p { font-size: 1.15rem; }
.homoeo-teaser .text-link { color: #fff; }

/* Faculty filter */
.team-titles .sec-title { margin-bottom: .2em; }
.team-sub { color: var(--muted); margin: 0; max-width: 46ch; min-height: 3.2em; font-size: 1.1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--white); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); align-self: end; margin-bottom: 1.4em; }
.filters button { border: 0; background: none; padding: 11px 18px; border-radius: 999px; font: 600 .95rem/1 var(--font); color: var(--muted); cursor: pointer; transition: all .4s var(--ease); }
.filters button[aria-pressed="true"] { background: var(--pine); color: #fff; }
.person.is-hidden { display: none; }
.faculty-head { flex-wrap: wrap; margin-bottom: 24px; }
.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.rail-foot .drag-note { margin: 36px 0 0; }

/* Skills (About Us) */
.skills { display: grid; gap: 28px; }
.skill-head { display: flex; justify-content: space-between; font: 700 1.15rem/1.2 var(--display); margin-bottom: 12px; }
.skill-head span:first-child { margin-right: auto; }
.skill-bar { height: 10px; border-radius: 999px; background: rgba(10, 34, 25, .08); overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--blue)); transform-origin: left; }

/* Contact: building photo */
.contact-building { margin: 0; grid-column: 1 / -1; order: -1; }
.contact-building img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-xl); }
.contact-building figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* Code of conduct key features */
.rules-title { margin-top: 72px; }

/* Blog */
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.post-card-img { overflow: hidden; }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.post-card time { font-size: .9rem; color: var(--green); font-weight: 600; }
.post-card-title { font: 700 1.35rem/1.25 var(--display); }
.post-card-excerpt { color: var(--muted); font-size: .98rem; }
.post-hero { margin: 0 0 32px; }
.post-hero img { border-radius: var(--r-xl); }

/* Teacher contacts */
.contacts { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.contacts a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; }

/* Footer additions */
.site-footer .btn, .site-footer .btn:hover { color: var(--fg); }
.footer-base { padding-right: 190px; }
.hero-hint { right: clamp(200px, 16vw, 260px); }
.cta-kicker { color: #fff; font-weight: 600; font-size: 1.15rem; margin: 6px 0 0; }
.footer-join { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 260px)); gap: 16px; margin: 48px 0 0; }
.counters > div { border-radius: 24px; padding: 22px 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-d); }
.counters dt { color: var(--leaf); font-weight: 600; }
.counters dd { margin: 6px 0 0; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); color: #fff; }
.footer-top { grid-template-columns: 1.5fr 1fr; margin-top: 56px; align-items: start; }
.footer-map iframe { width: 100%; height: 300px; border: 0; border-radius: 24px; filter: grayscale(.3) contrast(1.05); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 65; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #25D366; color: #06301A; font-weight: 700; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); }
.wa-float:hover { background: #1FBF5B; }

@media (max-width: 960px) {
	.vmc-grid, .teaser-grid { grid-template-columns: 1fr; }
	.vmc-photo { max-width: 360px; }
	.footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.wa-float { display: none; }
	.footer-base { padding-right: 0; }
	.panel p { font-size: 1.2rem; }
	.tablist button { padding: 11px 14px; font-size: .9rem; }
	.rail-foot { flex-direction: column; align-items: flex-start; }
}

/* Reveal helper (set by JS) */
.js [data-reveal] { opacity: 0; }

/* Responsive */
@media (max-width: 1340px) {
	.island-nav { display: none; }
	.burger { display: grid; }
	.brand { padding-right: 18px; }
}
@media (max-width: 960px) {
	.hero { align-items: flex-end; }
	.hero-inner { padding: 36vh 0 96px; }
	.hero-ur { font-size: 1.25rem; }
	.hero-lead { margin-bottom: 1.6em; }
	.hero-hint { display: none; }
	.bento { grid-template-columns: 1fr 1fr; }
	.b-photo { grid-column: span 2; grid-row: span 1; min-height: 420px; }
	.b-blue, .b-team { grid-column: span 2; }
	.events-layout, .faq-grid, .split-grid, .form-layout, .contact-grid, .footer-top { grid-template-columns: 1fr; }
	.events-intro, .faq-side, .split-media, .syllabus, .form-aside { position: static; }
	.stack-card, .stack-card:nth-child(n) { top: 100px; }
	.journey-pin { padding: 100px 0 80px; }
	.journey-track { flex-direction: column; width: auto; padding: 0 16px; }
	.stage { width: 100%; min-height: 0; }
	.facts { grid-template-columns: 1fr 1fr; }
	.features { grid-template-columns: 1fr 1fr; }
	.profile { grid-template-columns: 1fr; }
	.profile-img { max-width: 380px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 72px; }
	.site-header { top: 10px; }
	.hero-inner { padding: 34vh 0 100px; }
	.hero-title { font-size: clamp(2.1rem, 9.6vw, 2.7rem); }
	.hero-lead { font-size: 1rem; }
	.hero-scroll { display: none; }
	.brand-name { font-size: .98rem; }
	.island-apply { padding: 0 16px; }
	.btn { min-height: 52px; padding-left: 22px; }
	.btn-icon { width: 40px; height: 40px; }
	.bento { grid-template-columns: 1fr; }
	.b-photo, .b-blue, .b-team, .b-sessions, .b-scholar { grid-column: auto; }
	.b-sessions .b-core, .b-scholar .b-core { min-height: 250px; }
	.b-team .b-core { flex-direction: column; align-items: flex-start; }
	.b-arrow { position: absolute; right: 22px; bottom: 22px; width: 52px; height: 52px; }
	.faces img { width: 52px; }
	.footer-cols, .vm, .facts-sm, .features { grid-template-columns: 1fr; }
	.message { grid-template-columns: 1fr; }
	.message img { width: 180px; }
	.faq details p { padding-right: 0; }
	.orbit li { --radius: 300px; }
	.dock { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; padding: 6px; gap: 6px; border-radius: 999px; background: rgba(6, 42, 30, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-d); }
	.dock a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #fff; }
	.dock .dock-apply { background: var(--leaf); color: var(--pine); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; }
}

/* ===== UI audit fixes 2026-11-25 ===== */
.nowrap { white-space: nowrap; }
.statement-text { max-width: 28ch; }
.site-header { transition: transform .6s var(--ease), opacity .4s, visibility .4s; }
.site-header.is-hidden { opacity: 0; visibility: hidden; }
.cursor { opacity: 0; transition: opacity .3s; }
.has-pointer .cursor { opacity: 1; }
.cta-ur { color: #D9F7E6; }
.wa-float { transition: opacity .35s, transform .35s var(--ease), background .2s; }
.wa-float.is-off { opacity: 0; transform: translateY(20px); pointer-events: none; }
.split-media { overflow: hidden; }
.split-grid ~ .wrap { margin-top: 40px; }
.footer-links + h2 { margin-top: 32px; }
@media (min-width: 1100px) { .events { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) { .hero-scroll { display: none; } }
/* admission form */
.wpforms-container input:focus, .wpforms-container select:focus, .wpforms-container textarea:focus { outline: 2px solid var(--green) !important; outline-offset: 2px; border-color: var(--green) !important; }
.wpforms-container input[type=checkbox], .wpforms-container input[type=radio] { width: 22px; height: 22px; accent-color: var(--green); vertical-align: middle; }
.wpforms-container .wpforms-field-checkbox li, .wpforms-container .wpforms-field-payment-checkbox li { min-height: 44px; display: flex; align-items: center; gap: 10px; }
.wpforms-container input.wpforms-error, .wpforms-container select.wpforms-error, .wpforms-container textarea.wpforms-error { border-color: #B00020 !important; box-shadow: 0 0 0 1px #B00020; }
.wpforms-container label.wpforms-error { font-size: 13px; }
@media (min-width: 601px) { .wpforms-field-layout-preset-25-25-25-25 .wpforms-field-label { min-height: 2.6em; display: flex; align-items: flex-end; } }
/* touch: tap targets */
@media (max-width: 600px) {
	.footer-links li { margin: 0; }
	.footer-links a, .site-footer p a, .crumbs a, .text-link { display: inline-flex; align-items: center; min-height: 44px; }
	.text-link { padding-bottom: 0; }
	.overlay-sub { flex-direction: column; gap: 0; margin-left: 14px; }
	.overlay-sub a { display: flex; align-items: center; min-height: 44px; }
	.filters button, .tablist button { min-height: 44px; }
	.people { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.dock { background: rgba(6, 42, 30, .94); }
}
@media (max-width: 600px) { .people .person-name { font-size: 1rem; } }
