:root {
  --navy: #072f46;
  --blue: #087fa4;
  --cyan: #12a8c5;
  --red: #d7193f;
  --ink: #17232b;
  --muted: #5f6e76;
  --mist: #eff7f9;
  --white: #fff;
  --line: #dce7ea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Inter", sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3.5rem, 6.6vw, 6.6rem); letter-spacing: -.025em; }
h2 { margin-bottom: 20px; font-size: clamp(2.7rem, 4.6vw, 4.8rem); letter-spacing: -.015em; }
h3 { font-size: 1.35rem; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 13px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: 16px; color: var(--red); font-size: .77rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.light { color: #7ee4f0; }

.topbar { color: white; background: var(--navy); font-size: .72rem; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; color: #b9d4df; }
.topbar a { font-weight: 700; }
.brand-row { min-height: 118px; display: flex; align-items: center; gap: 28px; }
.brand { width: min(570px, 60%); display: flex; align-items: center; }
.brand-logo { width: 100%; height: 104px; object-fit: contain; object-position: left center; }
.contact-quick { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.contact-quick span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.contact-quick a { color: var(--navy); font: 700 1.3rem "Barlow Condensed", sans-serif; }
.menu-button { display: none; }
.main-nav { color: white; background: var(--blue); }
.nav-inner { min-height: 54px; display: flex; }
.nav-inner a { position: relative; padding: 16px 21px 14px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nav-inner a::after { content: ""; position: absolute; right: 20px; bottom: 10px; left: 20px; height: 2px; background: white; transform: scaleX(0); transition: transform .2s; }
.nav-inner a:hover::after, .nav-inner a.active::after { transform: scaleX(1); }

.hero { padding: 82px 0 0; overflow: hidden; background: linear-gradient(115deg, #f8fcfd 0 62%, var(--mist) 62%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 55px; align-items: center; }
.hero-intro { max-width: 660px; color: var(--muted); font-size: 1.03rem; }
.hero-actions, .info-actions { margin-top: 34px; display: flex; align-items: center; gap: 27px; }
.button { min-height: 52px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; color: white; background: var(--red); font-weight: 800; transition: .2s; }
.button:hover { background: var(--navy); transform: translateY(-2px); }
.text-link { font-weight: 800; border-bottom: 2px solid var(--navy); }
.text-link span { color: var(--red); }
.hero-visual { position: relative; min-height: 500px; }
.student-image { position: absolute; object-fit: cover; box-shadow: 0 24px 60px rgba(7,47,70,.17); }
.student-image { top: 0; right: 0; width: 88%; height: 330px; }
.hero-cutout { position: absolute; z-index: 2; bottom: 0; left: 3%; width: 57%; height: 490px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 22px 28px rgba(7,47,70,.2)); }
.feature-strip { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); color: white; background: var(--navy); }
.feature-strip div { padding: 25px 30px; border-right: 1px solid rgba(255,255,255,.15); }
.feature-strip strong, .feature-strip span { display: block; }
.feature-strip strong { color: #75dce9; font: 700 1.75rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.feature-strip span { color: #c4d7df; font-size: .76rem; }
.director-message { background: white; }
.director-grid { display: grid; grid-template-columns: 320px 1fr 270px; gap: 45px; align-items: center; }
.director-photo { position: relative; height: 380px; overflow: hidden; }
.director-photo::after { content: "“"; position: absolute; right: 14px; bottom: -32px; color: rgba(255,255,255,.9); font: 800 8rem/.8 Georgia,serif; }
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
.director-photo span { position: absolute; top: 0; left: 0; padding: 9px 15px; color: white; background: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.director-grid blockquote { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.director-sign { margin: 28px 0 0; }
.director-sign strong, .director-sign span { display: block; }
.director-sign span { color: var(--muted); font-size: .78rem; }
.director-grid aside { padding: 38px; color: white; background: var(--red); }
.director-grid aside > strong { display: block; font: 800 5rem/.9 "Barlow Condensed", sans-serif; }
.director-grid aside > span { font: 700 1.35rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.director-grid aside p { margin: 25px 0 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.split-heading { display: grid; grid-template-columns: 1.15fr .65fr; align-items: end; gap: 90px; }
.split-heading > p { margin-bottom: 27px; color: var(--muted); font-size: 1.05rem; }
.skill-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill-grid article { min-height: 285px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-grid span { display: block; color: var(--red); font: 800 2.5rem/1 "Barlow Condensed", sans-serif; }
.skill-grid h3 { margin: 65px 0 14px; }
.skill-grid p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }

.mission { color: white; background: var(--navy); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.mission-copy { padding-top: 38px; color: #c7d8df; font-size: 1.02rem; }
.mission-copy p + p { margin-top: 27px; }
.campus-gallery { margin-top: 62px; display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: 260px 260px; gap: 18px; }
.campus-gallery figure { position: relative; margin: 0; overflow: hidden; }
.campus-gallery .gallery-large { grid-row: 1 / 3; }
.campus-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.campus-gallery figure:hover img { transform: scale(1.025); }
.campus-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 48px 24px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; background: linear-gradient(transparent, rgba(4,37,56,.88)); }
.campus-gallery figcaption strong, .campus-gallery figcaption span { display: block; }
.campus-gallery figcaption strong { font: 700 1.45rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.campus-gallery figcaption span { color: #c7d8df; font-size: .74rem; }
.programmes { background: var(--mist); }
.section-heading { margin-bottom: 46px; }
.programme-grid { display: grid; grid-template-columns: 1fr 1fr; }
.programme-card { min-height: 415px; padding: 46px; display: flex; flex-direction: column; color: var(--navy); background: white; border: 1px solid var(--line); }
.programme-card.featured { color: white; background: var(--blue); border-color: var(--blue); }
.programme-card > p:first-child { margin-bottom: 42px; color: var(--red); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.programme-card.featured > p:first-child { color: #bcecf1; }
.programme-card h3 { max-width: 430px; margin-bottom: 14px; font: 700 2.25rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.programme-card strong { margin-bottom: 20px; }
.programme-card > p:not(:first-child) { color: var(--muted); }
.programme-card small { margin: 2px 0 24px; color: var(--muted); font-weight: 700; }
.programme-card.featured > p:not(:first-child) { color: #d7edf1; }
.programme-card.featured small { color: #d7edf1; }
.programme-card a { margin-top: auto; font-weight: 800; }
.programme-card a span { color: var(--red); }
.programme-card.featured a span { color: white; }
.learning-image { position: relative; margin-top: 34px; min-height: 430px; overflow: hidden; }
.learning-image > img { width: 100%; height: 430px; object-fit: cover; }
.learning-image > div { position: absolute; right: 0; bottom: 0; width: min(500px, 80%); padding: 32px 38px; color: white; background: var(--navy); }
.learning-image h3 { margin: 0; font: 700 2rem "Barlow Condensed", sans-serif; text-transform: uppercase; }

.faculty-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 110px; align-items: center; }
.faculty-heading img { margin-top: 36px; width: 100%; height: 330px; object-fit: cover; }
.faculty-points > p { color: var(--muted); }
.faculty-points ul { margin: 28px 0 0; padding: 0; list-style: none; }
.faculty-points li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.faculty-points li::before { content: "●"; margin-right: 12px; color: var(--red); font-size: .55rem; }
.placement { color: white; background: var(--blue); }
.placement-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.career-visual { position: relative; min-height: 440px; overflow: hidden; }
.career-visual img { width: 100%; height: 100%; object-fit: cover; }
.career-visual span { position: absolute; right: 0; bottom: 0; left: 0; padding: 60px 30px 28px; color: white; background: linear-gradient(transparent, rgba(4,37,56,.92)); font: 800 3.2rem/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.placement-grid > div:last-child > p:not(.eyebrow) { color: #d9eef2; }

.info-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 85px; align-items: center; }
.info-grid > div > p:not(.eyebrow) { color: var(--muted); }
.notice { padding: 42px; color: white; background: var(--navy); }
.notice > span { color: #7ee4f0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.notice h3 { margin: 25px 0 15px; font: 700 2rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.notice p { color: #bed2da; }
.notice a { display: inline-block; margin-top: 18px; font-weight: 800; border-bottom: 2px solid #7ee4f0; }

.site-footer { padding: 76px 0 22px; color: #adbec6; background: #042538; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 55px; }
.footer-grid h2 { margin-bottom: 18px; color: white; font-size: 2.25rem; }
.footer-grid h3 { margin-bottom: 18px; color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid p { font-size: .88rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid #2b4d5d; font-size: .74rem; }
.contact-hero { padding: 95px 0; color: white; background: linear-gradient(90deg, rgba(4,37,56,.96), rgba(8,127,164,.82)), url("images/infra/campus-lawn.jpeg") center / cover; }
.contact-hero h1 { max-width: 850px; margin-bottom: 20px; }
.contact-hero > .container > p:last-child { max-width: 650px; color: #d5e8ed; }
.contact-page-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-details h2 { font-size: 3.4rem; }
.contact-card { padding: 23px 0; display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
.contact-card > span { margin-bottom: 7px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card p { margin: 0; }
.contact-card a { font-weight: 700; }
.contact-form { padding: 46px; display: grid; gap: 9px; background: var(--mist); }
.contact-form h3 { margin-bottom: 20px; font: 700 2rem "Barlow Condensed", sans-serif; text-transform: uppercase; }
.contact-form label { margin-top: 8px; font-size: .76rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); border: 1px solid #cbdde2; background: white; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form .button { margin-top: 17px; justify-self: start; border: 0; cursor: pointer; }
.visit-banner { padding: 0 0 100px; background: white; }
.visit-grid { min-height: 470px; display: grid; grid-template-columns: 1.1fr .9fr; }
.visit-grid img { width: 100%; height: 470px; object-fit: cover; }
.visit-grid > div { padding: 55px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: white; background: var(--blue); }

@media (max-width: 900px) {
  .contact-quick { display: none; }
  .brand { width: min(600px, 82%); }
  .director-grid { grid-template-columns: 280px 1fr; }
  .director-grid aside { grid-column: 1 / -1; }
  .nav-inner a { padding-inline: 13px; font-size: .7rem; }
  .hero-grid, .split-heading, .mission-grid, .faculty-grid, .info-grid { gap: 50px; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .topbar p { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .brand-row { min-height: 90px; }
  .brand { width: calc(100% - 62px); }
  .brand-logo { height: 72px; }
  .menu-button { margin-left: auto; padding: 8px; display: block; border: 0; background: none; }
  .menu-button span { width: 27px; height: 2px; margin: 5px 0; display: block; background: var(--navy); transition: .2s; }
  .menu-button b { font-size: .58rem; text-transform: uppercase; }
  .menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-inner { padding: 10px 0; flex-direction: column; }
  .nav-inner a { padding: 10px 4px; }
  .nav-inner a::after { display: none; }
  .hero { padding-top: 58px; background: #f8fcfd; }
  .hero-grid, .split-heading, .mission-grid, .faculty-grid, .placement-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; margin-top: 18px; }
  .student-image { height: 275px; }
  .hero-cutout { width: 57%; height: 405px; }
  .feature-strip { margin-top: 40px; grid-template-columns: 1fr 1fr; }
  .feature-strip div:nth-child(2) { border-right: 0; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-grid article { min-height: 230px; }
  .skill-grid h3 { margin-top: 45px; }
  .programme-grid { grid-template-columns: 1fr; }
  .programme-card { min-height: 370px; padding: 32px; }
  .mission-grid, .faculty-grid, .placement-grid, .info-grid { gap: 35px; }
  .mission-copy { padding-top: 0; }
  .campus-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 280px); }
  .campus-gallery .gallery-large { grid-row: auto; }
  .campus-gallery figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .learning-image, .learning-image > img { min-height: 360px; height: 360px; }
  .learning-image > div { width: calc(100% - 24px); padding: 25px; }
  .faculty-heading img { height: 280px; }
  .career-visual { min-height: 320px; }
  .director-grid { grid-template-columns: 1fr; gap: 20px; }
  .director-photo { height: 340px; }
  .director-grid aside { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .contact-page-grid, .visit-grid { grid-template-columns: 1fr; gap: 45px; }
  .contact-form { padding: 28px; }
  .visit-grid { gap: 0; }
  .visit-grid img { height: 330px; }
  .visit-grid > div { padding: 40px 28px; }
}

@media (max-width: 430px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.65rem; }
  .hero-actions, .info-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 365px; }
  .student-image { width: 94%; height: 230px; }
  .hero-cutout { left: 0; width: 60%; height: 350px; }
  .feature-strip div { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
