/* TAC notebook refinements. Motion uses transform/opacity and respects user preferences. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}
.tac-logo{width:70px;height:70px;object-fit:contain}.brand{gap:10px}.brand-caption{max-width:100px;line-height:1.5}.site-header nav{gap:20px}.site-header nav a{font-size:14px}
.eligibility-layout,.welcome-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.exam-finder-section{background:#eaf0f8}.eligibility-layout h2,.welcome-layout h2{font-size:clamp(2rem,4vw,3.6rem);line-height:1.45}.eligibility-layout p{line-height:1.8}.eligibility-disclaimer{border-left:4px solid #0d3b78;padding:16px 20px;background:#fff;margin-top:24px;font-size:14px}.eligibility-disclaimer p{margin-bottom:0}.finder-card label{display:block;margin:20px 0 8px;font-weight:700}.finder-card input,.finder-card select{width:100%;min-height:50px;border:1px solid #8491a5;background:#fff;border-radius:6px;padding:12px;font:inherit;color:#16263f}.privacy-note{font-size:13px;color:#506075}.eligibility-result{border-top:1px solid #b7c4d6;padding:20px 0}.eligibility-result h4{font-size:19px;margin:0 0 8px}.eligibility-result p{font-size:14px;margin:8px 0}.eligibility-result a{font-size:14px;text-decoration:underline}.age-warning{border-left:4px solid #d18824;background:#fff7e9;padding:12px;font-size:14px}.age-status{font-size:12px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;color:#0d3b78}.welcome-photo{height:520px;overflow:hidden;background:repeating-linear-gradient(0deg,#f5f1e7 0,#f5f1e7 31px,#d8dace 32px);border:1px solid #ded9cb;border-radius:4px 60px 4px 4px}.welcome-photo img{width:100%;height:100%;object-fit:contain;object-position:bottom}.welcome-layout p{max-width:480px;line-height:1.8}.welcome-signature{font-size:24px;font-weight:800}.welcome-signature span{display:block;font-size:14px;font-weight:500}.success-section{background:#f0f4e7}.success-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:35px}.success-card{background:#fff;padding:36px;border:1px solid #b8c2a2;box-shadow:8px 8px 0 #dce7c4}.success-card h3{font-size:32px;margin:24px 0 12px}.success-card p,.testimonial-note p{line-height:1.8}.success-rank{font-size:14px;letter-spacing:.1em}.success-rank strong{display:block;font-size:42px;color:#0d3b78;letter-spacing:-.04em}.testimonial-note{padding:30px}.testimonial-note h3{font-size:32px;line-height:1.2}
.course-faq{margin-top:32px}.course-faq h3{font-size:23px}.course-faq h3 span{display:block;font-size:14px;margin-top:6px;font-weight:400}.course-faq details,.faq-list details{border-bottom:1px solid #cbd1ce;background:repeating-linear-gradient(transparent 0,transparent 31px,#e4e5dc 32px);padding:0 20px 0 28px;border-left:2px solid #ca7547}.course-faq summary{padding:20px 0;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}.course-faq summary:after{content:'+';font-size:24px}.course-faq details[open] summary:after{content:'−'}.course-faq details p{padding:0 0 20px;font-size:15px;line-height:1.8}.faq-list summary{padding-block:22px}.faq-list{counter-reset:faq}.faq-list summary:before{counter-increment:faq;content:counter(faq,decimal-leading-zero);font-size:12px;margin-right:15px;color:#85553d}.faq-list details[open] summary span{transform:rotate(45deg)}.faq-list summary span{transition:transform .3s var(--motion-ease)}
.choice,.filter,.exam-card,.text-link,.details-link,#main-nav a{position:relative}.choice:after,.filter:after,.text-link:after,.details-link:after,#main-nav a:after{content:'';position:absolute;left:12%;right:12%;bottom:7px;height:7px;border-bottom:2px solid #c17442;border-radius:50%;transform:scaleX(0) rotate(-2deg);transform-origin:left;transition:transform .42s var(--motion-ease);pointer-events:none}.choice:hover:after,.choice:focus-visible:after,.choice[aria-pressed=true]:after,.filter:hover:after,.text-link:hover:after,.details-link:hover:after,#main-nav a:hover:after{transform:scaleX(1) rotate(-2deg)}
.view-cursor{position:fixed;top:0;left:0;z-index:10000;width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#beff00;color:#0d3b78;font-size:12px;letter-spacing:.12em;font-weight:800;pointer-events:none;opacity:0;will-change:transform;transition:opacity .16s}.view-cursor.active{opacity:1}.page-curtain{position:fixed;inset:0;z-index:9999;background:#f5f0e6;transform:translateY(105%);pointer-events:none;border-top:5px solid #beff00}.page-curtain.active{transform:translateY(0);transition:transform .45s var(--motion-ease)}.course-card,.exam-card,.resource-note{transition:transform .5s var(--motion-ease),box-shadow .5s var(--motion-ease)}.course-card:hover,.exam-card:hover{box-shadow:0 15px 30px #0d3b7812}.button{transition:transform .3s var(--motion-ease),background .3s,color .3s}.button:hover{transform:translateY(-2px)}
@media(max-width:900px){.eligibility-layout,.welcome-layout{gap:32px}.site-header nav{gap:10px}.welcome-photo{height:420px}.success-layout{gap:20px}}
@media(max-width:700px){.eligibility-layout,.welcome-layout,.success-layout{grid-template-columns:1fr;gap:28px}.welcome-photo{height:380px}.success-card,.testimonial-note{padding:24px}.tac-logo{width:54px;height:54px}.view-cursor{display:none}.eligibility-layout .finder-card{padding:24px}.course-faq details{padding-left:16px}.welcome-layout h2{line-height:1.5}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.view-cursor,.page-curtain{display:none!important}}
.process-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;align-items:center}.process-layout h2{font-size:clamp(28px,3vw,44px);line-height:1.6}.process-steps{display:grid;gap:0}.process-step{display:flex;gap:22px;align-items:center;background:none;border:0;text-align:left;padding:20px 0;color:#87908d;cursor:pointer;font:inherit;position:relative}.process-step span{border:1px solid currentColor;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;background:#faf8f0;z-index:1;font-size:13px;transition:background .3s,color .3s}.process-step:not(:last-child):after{content:'';position:absolute;left:20px;top:54px;width:2px;height:42px;background:#dadbd5;transition:background .4s}.process-step.passed:after,.process-step.passed span{background:#c17442;color:white}.process-step.active{color:#142a44}.process-step.active span{background:#142a44;color:white}.process-note{position:relative;min-height:300px;padding:45px;background:#fffdf5;border:1px solid #d6d4c8;box-shadow:9px 12px 0 #e7e7dc;transform:rotate(-1deg);transition:transform .45s var(--motion-ease)}.process-note h3{font-size:32px;line-height:1.25;margin:25px 0 18px}.process-note p{line-height:1.8}.paper-tape{position:absolute;top:-15px;left:35%;width:100px;height:30px;transform:rotate(-4deg);background:#d6d2bfa6}.hero-visual,.welcome-photo{transition:transform .5s var(--motion-ease)}.page-curtain{transform:translateY(-105%);border-top:0;border-bottom:5px solid #beff00}
@media(max-width:700px){.process-layout{grid-template-columns:1fr;gap:25px}.process-note{min-height:250px;padding:30px}.process-step{padding:16px 0}}

.brand{flex-direction:row;align-items:center;width:auto;min-width:170px}.brand-caption{font-size:11px;letter-spacing:.08em;margin:0;padding:0}.nav-wrap{gap:20px}.view-cursor{background:#1747df;color:white;scale:.12;opacity:1;transition:scale .3s var(--motion-ease),opacity .2s;font-size:0}.view-cursor.active{scale:1;font-size:12px}.view-cursor.off{opacity:0}
@media(max-width:1100px){.nav-wrap nav{gap:13px}.site-header nav a{font-size:12px}.brand{min-width:140px}.brand-caption{font-size:10px}}
@media(max-width:800px){#main-nav{transform-origin:top;transition:opacity .3s,transform .4s var(--motion-ease)}#main-nav.open{animation:menu-reveal .4s var(--motion-ease)}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.menu-toggle span{transition:transform .3s}}
@keyframes menu-reveal{from{opacity:0;transform:scaleY(.9) translateY(-10px)}to{opacity:1;transform:none}}
.faq-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 25px}.faq-tabs button{padding:9px 15px;border:1px solid #c6c7bd;border-radius:25px;background:transparent;font-size:14px}.faq-tabs button[aria-pressed=true]{background:#0d3b78;color:white;border-color:#0d3b78}.cursor-letter{display:inline-block;transition:transform .35s var(--motion-ease);transform-origin:center bottom}.eligibility-result .text-link{white-space:normal;text-align:left}.eligibility-result h4{line-height:1.4}.welcome-layout{scroll-margin-top:25px}
.candidate-gallery{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:35px}.candidate-banner{margin:0;background:#fff;border:1px solid #dadccc;overflow:hidden}.candidate-banner img{width:100%;height:auto;display:block}.candidate-banner figcaption{display:flex;flex-direction:column;padding:18px 24px;font-size:16px;gap:5px}.candidate-banner figcaption span{font-size:14px;color:#516276}.candidate-banner{transition:transform .4s var(--motion-ease)}.candidate-banner:hover{transform:translateY(-4px)}
@media(max-width:700px){.candidate-gallery{grid-template-columns:1fr;gap:20px}.candidate-banner figcaption{padding:14px 18px}}

/* One hover treatment per control: hand-drawn lines for navigation and finder. */
.nav-wrap nav>a:not(.login-link):after,#main-nav a:after{left:0;right:0;width:auto;height:7px;background:transparent;border-bottom:2px solid #c17442;border-radius:50%;transform:scaleX(0) rotate(-2deg);transform-origin:left;transition:transform .42s var(--motion-ease)}
.nav-wrap nav>a:not(.login-link):hover:after,#main-nav a:hover:after,#main-nav a:focus-visible:after{width:auto;transform:scaleX(1) rotate(-2deg)}
#welcome{padding-top:42px;padding-bottom:48px;background:#f6f5ee}#success-stories{padding-top:45px;padding-bottom:45px}.girivasan-card{display:flex;gap:24px;align-items:center}.girivasan-photo{width:140px;height:196px;object-fit:cover;flex-shrink:0;border:6px solid #fff;box-shadow:3px 5px 0 #e0e6d3}.girivasan-card .success-rank strong{font-size:34px}.girivasan-card h3{font-size:27px;margin:14px 0 10px}
@media(max-width:1000px){.girivasan-card{flex-direction:column;align-items:flex-start}}@media(max-width:700px){#welcome{padding-top:25px}.welcome-layout{gap:22px}.welcome-photo{height:300px}.girivasan-card{flex-direction:row;align-items:center;gap:16px}.girivasan-photo{width:100px;height:140px}.girivasan-card .success-rank strong{font-size:26px}.girivasan-card h3{font-size:23px}.girivasan-card .button{padding:12px;font-size:13px}}
.faculty-letter{overflow:hidden;display:flex;align-items:flex-end;justify-content:center}.faculty-letter img{height:100%;width:100%;object-fit:contain;object-position:center bottom}.faculty-letter>span{z-index:2}
.course-cover{min-height:230px;height:auto;padding-bottom:38px}.cover-title{font-size:clamp(1.5rem,2.3vw,2.1rem);overflow-wrap:anywhere}.course-body h3{overflow-wrap:anywhere}.course-footer{gap:15px}.course-footer>span{font-weight:700;white-space:nowrap}
