/* Kismet International College — brand: royal blue + laurel orange (from the college crest) */
:root {
  --navy: #0a1a4a;
  --navy-2: #102a72;
  --brand: #1f3fd8;
  --brand-2: #4a66ff;
  --brand-soft: #e8edff;
  --accent: #f5821f;
  --accent-2: #ff9c42;
  --accent-soft: #fff0e3;
  --bg: #f5f7fc;
  --paper: #ffffff;
  --text: #16213a;
  --muted: #5b6582;
  --line: #e3e8f3;
  --ok: #1f8a5b;
  --err: #c0392b;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 74, .06), 0 4px 12px rgba(10, 26, 74, .05);
  --shadow: 0 2px 6px rgba(10, 26, 74, .06), 0 18px 40px -12px rgba(10, 26, 74, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.015em; text-transform: uppercase; }
h2 span { color: var(--brand); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 .8rem; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.eyebrow.light { color: var(--accent-2); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 999px; font: 700 .95rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 10px 24px -8px rgba(245, 130, 31, .65); }
.btn-accent:hover { box-shadow: 0 14px 30px -8px rgba(245, 130, 31, .8); }
.btn-brand, .btn-ink { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(31, 63, 216, .7); }
.btn-brand:hover, .btn-ink:hover { background: var(--navy-2); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #c9d3f5; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar b { color: var(--accent-2); }
.topbar a { color: #fff; text-decoration: none; margin-left: 20px; }
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand b { display: block; font-size: 1.35rem; letter-spacing: .12em; color: var(--brand); line-height: 1; }
.brand small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-top: 3px; }
.brand.light b { color: #fff; } .brand.light small { color: #9fb0e6; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .94rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .2s; }
.nav a:not(.btn):hover::after { right: 0; }
.nav a.btn { color: #fff; padding: .65rem 1.25rem; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }

/* HERO — photo blended into the brand gradient */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #d6defa; background: radial-gradient(900px 600px at 0% 0%, #1b3dbd 0%, transparent 60%), linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #1a37b8 100%); }
.hero-photo { position: absolute; inset: 0 0 0 30%; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 30%, #000 65%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 30%, #000 65%); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,26,74,.15), rgba(16,42,114,.35)), linear-gradient(to top, rgba(10,26,74,.85) 0%, transparent 40%); mix-blend-mode: multiply; }
.hero-glow { position: absolute; z-index: -1; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(245,130,31,.35), transparent 65%); filter: blur(10px); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 640px; padding: 80px 0 150px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 600; color: #fff; backdrop-filter: blur(6px); margin-bottom: 26px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent-2), #ffc27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.18rem; max-width: 34ch; color: #d6defa; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.intakes { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.intakes > span { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #9fb0e6; }
.intakes ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.intakes li { padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .86rem; font-weight: 600; }
.hero-badges { position: relative; height: 100%; min-height: 300px; }
.float-badge { position: absolute; display: flex; flex-direction: column; padding: 14px 20px 14px 56px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); color: var(--navy); animation: bob 6s ease-in-out infinite; }
.float-badge::before { content: ""; position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3fd8' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.float-badge b { font-size: .98rem; }
.float-badge small { color: var(--muted); font-size: .8rem; }
.fb-1 { top: 18%; right: 4%; }
.fb-2 { bottom: 8%; left: 8%; animation-delay: -3s; }
.fb-2::before { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5821f' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 010 18M12 3a14 14 0 000 18'/%3E%3C/svg%3E"); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--bg); }

/* Trust stats card overlapping the hero */
.stats-card { position: relative; z-index: 2; margin-top: -90px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); padding: 10px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.stat:nth-child(even) .ico { background: var(--accent-soft); color: var(--accent); }
.stat .ico svg { width: 24px; height: 24px; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat small { color: var(--muted); font-size: .86rem; }

/* Sections */
section.block { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 680px; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: currentColor; vertical-align: middle; margin-left: 10px; }

/* About — layered, blob-shaped photos */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-visual { position: relative; padding: 30px 70px 70px 0; }
.blob-bg { position: absolute; inset: 0 40px 30px -30px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; opacity: .12; animation: morph 14s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 42% 58% 46% 54% / 56% 44% 56% 44%; } }
.dots { position: absolute; right: 20px; top: 0; width: 130px; height: 130px; background-image: radial-gradient(var(--accent) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55; }
.ab-main { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 56% 44% 48% 52% / 46% 52% 48% 54%; box-shadow: var(--shadow); }
.ab-round { position: absolute; right: 0; bottom: 20px; width: 44%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 8px solid var(--bg); box-shadow: var(--shadow); }
.fb-about { position: absolute; left: -10px; bottom: 50px; flex-direction: row; align-items: center; gap: 12px; padding: 14px 20px; }
.fb-about::before { display: none; }
.ico-sm { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }
.fb-about div { display: flex; flex-direction: column; }
.mission { margin: 0 0 22px; padding: 18px 22px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: linear-gradient(90deg, var(--accent-soft), transparent); font-size: 1.15rem; font-weight: 600; font-style: italic; color: var(--navy); line-height: 1.5; }
.features { display: grid; gap: 14px; margin-top: 26px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .2s; }
.feature:hover { transform: translateX(6px); }
.feature p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
.f-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.f-ico svg { width: 22px; height: 22px; }

/* Destinations ribbon */
.ribbon { background: linear-gradient(90deg, var(--brand), var(--navy-2)); color: #fff; padding: 26px 0; }
.ribbon .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.ribbon p { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--accent-2); }
.ribbon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.ribbon li { font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: 10px; }
.ribbon li::before { content: "✦"; color: var(--accent-2); font-size: .8rem; }

/* Programmes */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: .55rem 1.15rem; border-radius: 999px; font: 700 .88rem var(--font); color: var(--text); cursor: pointer; text-decoration: none; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 18px -8px rgba(31,63,216,.7); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.course { position: relative; overflow: hidden; background: var(--paper); border-radius: 22px; padding: 30px 28px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.course::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(.25); transform-origin: left; transition: transform .35s; }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course:hover::before { transform: scaleX(1); }
.course .tags { display: flex; gap: 8px; margin-bottom: 16px; }
.tag { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.tag.gold { background: var(--accent-soft); color: #b85a0a; }
.course h3 { font-size: 1.2rem; margin-bottom: 10px; }
.course p { color: var(--muted); font-size: .94rem; flex: 1; }
.course dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; padding: 16px; border-radius: 14px; background: var(--bg); }
.course dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.course dd { margin: 0; font-weight: 800; color: var(--navy); }
.course .req { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.course .btn { align-self: flex-start; padding: .7rem 1.2rem; }

/* Fees — photo washed into the section */
.fees { background: var(--paper); overflow: hidden; isolation: isolate; }
.section-wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .07; filter: grayscale(1);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.fee-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 32px; align-items: start; }
.table-scroll { overflow-x: auto; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 14px 18px; white-space: nowrap; }
td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) td { background: #fafbff; }
tbody tr:hover td { background: var(--brand-soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num strong { color: var(--brand); }
.other-title { margin: 32px 0 14px; text-transform: uppercase; font-size: 1rem; letter-spacing: .06em; }
.download-card { position: sticky; top: 100px; border-radius: 24px; overflow: hidden; background: var(--navy); color: #c9d3f5; box-shadow: var(--shadow); }
.download-card img { width: 100%; height: 260px; object-fit: cover; object-position: center 20%;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
.dc-body { padding: 0 30px 30px; margin-top: -60px; position: relative; }
.download-card h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; }

/* Admissions steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed #c7d0ea; }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--paper); border: 3px solid var(--brand); color: var(--brand); font-size: 1.6rem; font-weight: 800; box-shadow: 0 0 0 8px var(--bg); position: relative; }
.steps li:nth-child(even)::before { border-color: var(--accent); color: var(--accent); }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Gallery */
.gallery-block { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.gallery a { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--brand-soft); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,26,74,.65), transparent 55%); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 12, 34, .93); }
.lightbox img { max-width: min(92vw, 1500px); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lb-cap { position: absolute; bottom: 3vh; left: 0; right: 0; text-align: center; color: #c9d3f5; margin: 0; padding: 0 20px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 50px; height: 50px; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* CTA — photo fades into brand blue */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); padding: 110px 0; }
.cta > img { position: absolute; inset: 0 0 0 35%; width: 65%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%); mask-image: linear-gradient(to right, transparent, #000 55%); opacity: .85; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 30%, rgba(16,42,114,.55) 65%, rgba(31,63,216,.25)); }
.cta-copy { max-width: 560px; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta h2 span { color: var(--accent-2); }
.cta p { color: #c9d3f5; font-size: 1.1rem; }

/* Contact & footer */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-item { background: var(--paper); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s; }
.contact-item:hover { transform: translateY(-4px); }
.contact-item .f-ico { margin: 0 auto 16px; width: 56px; height: 56px; }
.contact-item p { margin: 0; color: var(--muted); }
.site-foot { background: var(--navy); color: #9fb0e6; padding: 70px 0 0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.foot-grid p { margin-top: 18px; max-width: 36ch; }
.foot-grid h4 { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 16px; }
.foot-grid a, .foot-grid span { display: block; color: #c9d3f5; text-decoration: none; margin-bottom: 10px; }
.foot-grid a:hover { color: var(--accent-2); }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; }

/* Apply page */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 110px; color: #d6defa; background: linear-gradient(120deg, var(--navy), var(--navy-2)); }
.page-hero .hero-bg { position: absolute; inset: 0 0 0 35%; width: 65%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%); mask-image: linear-gradient(to right, transparent, #000 60%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,26,74,.9) 30%, rgba(16,42,114,.35)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero h1 span { color: var(--accent-2); }
.page-hero p { max-width: 56ch; margin: 0; font-size: 1.08rem; }
.page-hero .hero-wave { height: 70px; }
.apply-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 10px 0 100px; align-items: start; position: relative; z-index: 2; margin-top: -60px; }
.form-card { background: var(--paper); border-radius: 26px; padding: 40px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 36px; }
legend { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .03em; }
legend span { font-size: .85rem; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .88rem; color: var(--navy); }
label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea { font: inherit; font-size: .97rem; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcff; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,63,216,.12); outline: none; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.err { color: var(--err); font-size: .82rem; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--brand-soft); border-radius: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.check label { font-weight: 500; color: var(--text); font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-alert { padding: 14px 16px; border-radius: 12px; background: #fdecea; color: var(--err); font-weight: 600; margin-bottom: 20px; display: none; }
.form-alert.show { display: block; }
.summary { position: sticky; top: 100px; display: grid; gap: 18px; }
.summary-card { background: var(--paper); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.summary-card h3 { font-size: 1.05rem; }
.summary-card .empty-sum { color: var(--muted); font-size: .92rem; margin: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.sum-row span { color: var(--muted); }
.sum-row b { text-align: right; font-variant-numeric: tabular-nums; }
.sum-row.total { border: 0; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); align-items: center; }
.sum-row.total b { font-size: 1.3rem; color: var(--brand); }
.help-card { position: relative; overflow: hidden; border-radius: 24px; padding: 26px; color: #c9d3f5; background: linear-gradient(135deg, var(--navy), var(--navy-2)); font-size: .93rem; }
.help-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(245,130,31,.45), transparent 70%); }
.help-card h3 { color: #fff; }
.help-card a { color: var(--accent-2); }
.success { text-align: center; padding: 24px 8px; }
.success .seal { width: 84px; height: 84px; border-radius: 50%; background: #e2f5ec; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 10px #f1faf5; }
.success .seal svg { width: 40px; height: 40px; }
.ref { display: inline-block; font-size: 1.5rem; font-weight: 800; letter-spacing: .06em; padding: 14px 26px; border: 2px dashed var(--accent); border-radius: 14px; color: var(--navy); background: var(--accent-soft); margin: 8px 0 20px; }
.success .form-actions { justify-content: center; }

/* Admin */
body.admin { background: var(--bg); }
.admin-head { display: flex; justify-content: space-between; align-items: end; padding: 40px 0 20px; gap: 16px; flex-wrap: wrap; }
.admin-head h1 { font-size: 2.2rem; }
.admin .chips { justify-content: flex-start; }
.admin-table td small { color: var(--muted); }
.admin-table select { padding: .4rem .6rem; font-size: .88rem; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }

/* Responsive */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { inset: 0; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; opacity: .35; }
  .hero-badges { display: none; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .about, .fee-layout, .apply-layout { grid-template-columns: 1fr; }
  .about { gap: 50px; }
  .about-visual { max-width: 560px; }
  .download-card, .summary { position: static; }
  .summary { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta > img { inset: 0; width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .page-hero .hero-bg { inset: 0; width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 760px) {
  .topbar-contact { display: none; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: var(--shadow); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 14px; }
  .hero-inner { padding: 60px 0 140px; }
  .stats-card { grid-template-columns: 1fr 1fr; padding: 4px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-right: 0; }
  .steps, .contact-grid, .grid-2, .foot-grid { grid-template-columns: 1fr; }
  section.block { padding: 76px 0; }
  .form-card { padding: 26px 18px; }
  .about-visual { padding: 10px 40px 50px 0; }
  .fb-about { left: 0; bottom: 0; }
  .course-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .topbar, .site-head, .site-foot, .summary, .form-actions, .page-hero { display: none !important; }
  .apply-layout { margin: 0; }
  .form-card { box-shadow: none; }
}

/* ---------- Real Kismet logo, blended into the design ---------- */
.brand img { width: auto; height: 46px; }
.brand b { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; letter-spacing: 0; text-transform: none; color: var(--navy-2); }
.brand small { font-family: Georgia, "Times New Roman", serif; font-size: .82rem; font-weight: 500; letter-spacing: 0; color: var(--navy-2); }
/* Faint crest watermark on dark sections */
.crest-mark { position: absolute; z-index: -1; pointer-events: none; width: 560px; height: auto; opacity: .06; filter: blur(.4px); }
.hero .crest-mark { left: -90px; bottom: -40px; transform: rotate(-8deg); }
.cta .crest-mark { left: -60px; top: 50%; translate: 0 -50%; width: 440px; opacity: .08; }
.page-hero .crest-mark { left: -40px; top: -40px; width: 380px; opacity: .07; }
/* Crest seal on the About photo */
.crest-seal { position: absolute; z-index: 2; top: 0; left: 0; width: 118px; height: 118px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow), 0 0 0 8px rgba(255,255,255,.55); animation: bob 7s ease-in-out infinite; }
.crest-seal img { width: 76px; height: auto; }
/* Footer logo */
.foot-logo img { width: 170px; height: auto; }
@media (max-width: 760px) {
  .crest-mark { width: 360px; }
  .crest-seal { width: 90px; height: 90px; }
  .crest-seal img { width: 58px; }
  .brand b { font-size: 1.25rem; }
}
/* Keep the crest watermark above the colour overlay but below the text */
.cta .crest-mark, .page-hero .crest-mark { z-index: 0; }
.cta .wrap, .page-hero .wrap { position: relative; z-index: 1; }

/* ================= v2: schools, courses & careers, letter section ================= */
/* School cards: photo blended into brand colour */
.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.school-card { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; border-radius: 24px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.school-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.school-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,26,74,.05) 0%, rgba(10,26,74,.55) 45%, rgba(10,26,74,.96) 100%); transition: background .3s; }
.school-card:nth-child(even)::before { background: linear-gradient(180deg, rgba(31,63,216,.05) 0%, rgba(16,42,114,.6) 45%, rgba(10,26,74,.96) 100%); }
.school-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.school-card:hover img { transform: scale(1.08); }
.sc-body { padding: 26px; }
.sc-count { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; margin-bottom: 12px; }
.school-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.school-card p { color: #d6defa; font-size: .92rem; margin: 0 0 14px; }
.sc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--accent-2); }
.sc-link svg { width: 16px; height: 16px; transition: transform .2s; }
.school-card:hover .sc-link svg { transform: translateX(4px); }

/* Course explorer */
.courses-block { overflow: hidden; isolation: isolate; }
.course-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 18px; }
.course-tools .chips { margin: 0; }
.search { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); padding: 0 18px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,63,216,.12); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { border: 0; background: transparent; padding: .95rem 0; box-shadow: none; }
.search input:focus { box-shadow: none; background: transparent; }
.result-count { text-align: center; color: var(--muted); font-weight: 600; min-height: 1.2em; margin: 0 0 18px; }
.course-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.course h3 { min-height: 2.4em; }
.course dl { grid-template-columns: repeat(3, 1fr); }
.course dl div:only-child { grid-column: 1 / -1; }
.career { border-top: 1px dashed var(--line); padding-top: 14px; margin-bottom: 20px; flex: 1; }
.c-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 12px 0 6px; }
.career .c-label:first-child { margin-top: 0; }
.c-where { font-size: .9rem; color: var(--muted); margin: 0; }
.inds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.inds li { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.earn { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #fff7ef, #fff); border: 1px solid #ffe1c6; }
.earn .c-label { margin-top: 0; }
.earn-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .86rem; padding: 3px 0; }
.earn-row span { color: var(--muted); }
.earn-row b { color: var(--navy); font-size: 1.02rem; white-space: nowrap; }
.earn-row small { font-weight: 600; color: var(--muted); font-size: .75rem; }
.course .btn { align-self: stretch; }
.earn-note { margin: 28px auto 0; max-width: 820px; text-align: center; font-size: .82rem; color: var(--muted); }
.course-grid .empty { grid-column: 1 / -1; }

/* Letter section */
.letter-block { background: linear-gradient(180deg, var(--bg), #eef2fd); }
.letter-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.steps-v { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 26px 0 30px; }
.steps-v::before { display: none; }
.steps-v li { text-align: left; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 0; }
.steps-v li::before { grid-row: span 2; width: 52px; height: 52px; margin: 0; font-size: 1.25rem; box-shadow: none; }
.steps-v h3 { margin: 4px 0 2px; font-size: 1.05rem; }
.letter-visual { position: relative; padding: 20px 30px 50px; }
.letter-visual::before { content: ""; position: absolute; inset: 10% 0 0 10%; border-radius: 48% 52% 40% 60% / 50% 40% 60% 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); opacity: .15; }
.paper { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(10,26,74,.35); overflow: hidden; transform: rotate(-3deg); transition: transform .4s; }
.letter-visual:hover .paper { transform: rotate(0); }
.paper-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: var(--navy); border-bottom: 4px solid var(--accent); color: #fff; }
.paper-head img { width: 46px; }
.paper-head b { display: block; font-size: .88rem; letter-spacing: .04em; }
.paper-head small { color: #9fb0e6; font-size: .75rem; }
.paper-body { padding: 24px; }
.paper-title { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 14px; }
.paper-body i { display: block; height: 8px; border-radius: 6px; background: #e8ecf6; margin-bottom: 9px; }
.paper-body i.short { width: 60%; }
.paper-rows { margin: 18px 0; display: grid; gap: 8px; }
.paper-rows span { height: 26px; border-radius: 8px; background: linear-gradient(90deg, var(--brand-soft) 0 55%, #f5f7fc 55%); }
.paper-stamp { display: inline-block; padding: 8px 14px; border: 2px dashed var(--accent); border-radius: 10px; color: #b85a0a; font-weight: 800; font-size: .82rem; transform: rotate(-2deg); }
.fb-mail { position: absolute; right: 0; bottom: 10px; }

/* Apply page extras */
.summary-card .eyebrow { margin-bottom: .4rem; font-size: .7rem; }
.summary-card .inds { margin-bottom: 4px; }
.summary-card .earn-row { font-size: .82rem; }
.fine { font-size: .75rem; color: var(--muted); margin: 8px 0 0; }
.ticks-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks-list li { position: relative; padding-left: 30px; font-size: .93rem; }
.ticks-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--accent-soft); color: var(--accent); }
optgroup { font-weight: 800; color: var(--navy); }

@media (max-width: 1020px) {
  .school-grid { grid-template-columns: 1fr 1fr; }
  .letter-layout { grid-template-columns: 1fr; gap: 40px; }
  .letter-visual { max-width: 480px; }
}
@media (max-width: 760px) {
  .school-grid { grid-template-columns: 1fr; }
  .school-card { min-height: 250px; }
  .course dl { grid-template-columns: 1fr 1fr; }
}
