/* Sri R.V. PU College — site styles. Mobile first. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/serif.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/sans.woff2") format("woff2"); }

:root {
  --navy: #172b49;
  --navy-deep: #0f1d33;
  --navy-soft: #24395c;
  --gold: #b49a68;
  --gold-text: #7a6638;
  --gold-soft: #e9dfc8;
  --ivory: #f7f4ed;
  --cream: #efe8da;
  --paper: #fffdf8;
  --terra: #a9492a;
  --terra-hover: #923d22;
  --terra-soft: #f4e2d9;
  --ink: #1b2435;
  --muted: #56637a;
  --line: #e3dccd;
  --ok: #2f6b45;
  --bad: #a3271d;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 43, 73, .06), 0 12px 32px -16px rgba(23, 43, 73, .28);
  --shadow-lg: 0 2px 6px rgba(23, 43, 73, .08), 0 28px 60px -24px rgba(23, 43, 73, .45);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ivory); padding-bottom: calc(var(--bar-h) + var(--safe-b)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 300; }
.skip:focus { top: 10px; color: #fff; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background .18s var(--ease), border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(23, 43, 73, .55); }
.btn:active { transform: none; }
.btn.primary { --bg: var(--terra); }
.btn.primary:hover { background: var(--terra-hover); border-color: var(--terra-hover); }
.btn.outline { background: transparent; color: var(--navy); border-color: rgba(23, 43, 73, .35); }
.btn.outline:hover { border-color: var(--navy); color: var(--navy); }
.btn.light { --bg: #fff; --fg: var(--navy); }
.btn.ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn.wa { --bg: #1f7a4d; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.linkarrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.linkarrow::after { content: "→"; transition: transform .18s var(--ease); }
.linkarrow:hover::after { transform: translateX(3px); }

/* ---------- announcement + header ---------- */
.announce { background: var(--navy-deep); color: #e9e3d4; font-size: .9rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 10px 16px; padding: 9px 0; text-align: center; flex-wrap: wrap; }
.announce b { color: #fff; font-weight: 700; }
.announce a { color: var(--gold-soft); font-weight: 700; }
.announce a:hover { color: #fff; }
.announce .dot { width: 8px; height: 8px; border-radius: 50%; background: #e0855f; box-shadow: 0 0 0 4px rgba(224, 133, 95, .22); flex: none; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(247, 244, 237, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(23, 43, 73, .5); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.brand img { width: 52px; height: 52px; flex: none; }
.brand .bn { font-family: var(--serif); font-weight: 700; font-size: 1.16rem; line-height: 1.05; white-space: nowrap; }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 4px; }
.brand:hover { color: var(--navy); }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink); padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: var(--terra); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.head-cta { display: none; gap: 10px; align-items: center; }
.head-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: rgba(15, 29, 51, .45); display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--paper); padding: 18px 20px calc(24px + var(--safe-b)); display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); animation: slideIn .28s var(--ease); overflow-y: auto; }
.mobile-nav .panel .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mobile-nav a.item { display: flex; align-items: center; min-height: 52px; padding: 0 8px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; text-decoration: none; color: var(--navy); }
.mobile-nav a.item[aria-current="page"] { color: var(--terra); }
.mobile-nav .cta { margin-top: 18px; display: grid; gap: 10px; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 1000px) {
  .nav { display: flex; gap: 2px; }
  .head-cta { display: flex; }
  .menu-btn { display: none; }
  .brand { margin-right: 18px; }
  .nav { margin-right: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.hero picture, .hero .bg { position: absolute; inset: 0; z-index: -2; }
.hero .bg img, .hero picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 29, 51, .25) 0%, rgba(15, 29, 51, .62) 42%, rgba(15, 29, 51, .94) 100%); }
.hero .container { display: grid; gap: 28px; padding: 56px 0 36px; }
.hero h1 { color: #fff; max-width: 18ch; text-wrap: balance; font-size: clamp(2.1rem, 5.4vw, 3.45rem); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero .lede { color: rgba(255, 255, 255, .88); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.chips li:has(> a) { padding: 0; border: 0; background: none; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; }
.chips a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.chips .star { color: #f3c862; }
@media (min-width: 960px) {
  .hero { min-height: min(86vh, 760px); display: flex; align-items: center; }
  .hero::before { background: linear-gradient(90deg, rgba(15, 29, 51, .95) 0%, rgba(15, 29, 51, .78) 42%, rgba(15, 29, 51, .18) 100%); }
  .hero .container { grid-template-columns: 1.25fr .9fr; align-items: center; gap: 56px; padding: 72px 0; }
}

/* page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 29, 51, .94), rgba(15, 29, 51, .7) 60%, rgba(15, 29, 51, .5)); }
.page-hero .container { padding: 56px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; }
.page-hero .lede { color: rgba(255, 255, 255, .86); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.crumbs { font-size: .86rem; margin-bottom: 14px; color: rgba(255, 255, 255, .75); }
.crumbs a { color: #fff; }

/* ---------- cards / forms ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.lead-card { background: var(--paper); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px 22px 20px; border: 1px solid rgba(255, 255, 255, .6); }
.lead-card h2, .lead-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.lead-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .field > .lbl { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted); }
.field .hint { font-size: .84rem; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid #d6cdb9; background: #fff; color: var(--ink); font: 500 1rem/1.3 var(--sans); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(23, 43, 73, .12); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(163, 39, 29, .1); }
.tel-wrap { display: flex; align-items: stretch; }
.tel-wrap .cc { display: inline-flex; align-items: center; padding: 0 12px; border: 1.5px solid #d6cdb9; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--cream); font-weight: 700; color: var(--navy); }
.tel-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.seg legend { font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 6px; padding: 0; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 8px; border: 1.5px solid #d6cdb9; border-radius: var(--radius-sm); background: #fff; font-weight: 700; font-size: .92rem; line-height: 1.15; cursor: pointer; transition: border-color .15s, background .15s; }
.seg label small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--navy); background: #edf1f7; box-shadow: inset 0 0 0 1px var(--navy); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--terra); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1.5px solid #d6cdb9; border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 680px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span2 { grid-column: 1 / -1; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.form-status { margin-top: 12px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.err { color: var(--bad); background: #fbecea; border: 1px solid #f0c9c4; padding: 10px 12px; border-radius: var(--radius-sm); }
.form-status.err a { color: var(--bad); font-weight: 700; }
.field-err { color: var(--bad); font-size: .84rem; font-weight: 600; }
.field-err:empty { display: none; }
.thanks { text-align: center; padding: 10px 4px 4px; }
.thanks .tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: #e3f1e8; color: var(--ok); }
.thanks .tick svg { width: 34px; height: 34px; }
.thanks h3 { font-size: 1.5rem; }
.thanks .ref { display: inline-block; font-weight: 700; letter-spacing: .04em; background: var(--cream); border-radius: 8px; padding: 4px 10px; margin: 2px 0 12px; color: var(--navy); }
.thanks .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.pulse { display: none; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ok); margin: 0 0 12px; }
.pulse.show { display: flex; }
.pulse::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2f9a5b; box-shadow: 0 0 0 4px rgba(47, 154, 91, .18); }
.siblings-box { border: 1.5px dashed #d6cdb9; border-radius: var(--radius-sm); padding: 14px; background: #fffcf4; margin-bottom: 14px; }
.siblings-box .note { font-size: .88rem; color: var(--gold-text); font-weight: 600; margin: 0 0 10px; }
.sib-row { display: grid; grid-template-columns: 1fr 110px 44px; gap: 8px; margin-bottom: 8px; align-items: end; }
.sib-row label { font-size: .8rem; font-weight: 700; color: var(--muted); display: block; margin-bottom: 4px; }
.icon-btn { width: 44px; height: 50px; border-radius: var(--radius-sm); border: 1.5px solid #d6cdb9; background: #fff; color: var(--muted); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.icon-btn:hover { color: var(--bad); border-color: var(--bad); }
.add-sib { background: none; border: 0; color: var(--navy); font-weight: 700; cursor: pointer; padding: 8px 0; min-height: 44px; font-size: .95rem; }
.add-sib:hover { color: var(--terra); }
.add-sib[hidden] { display: none; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 44px 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: #e8e3d6; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--gold-soft); }
.section.navy .eyebrow::before { background: var(--gold-soft); }
.section.navy .lede, .section.navy .muted { color: rgba(255, 255, 255, .78); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 30px; }
.sec-head h2 { margin: 0; max-width: 26ch; text-wrap: balance; }
.sec-head .lede { margin: 10px 0 0; }
@media (min-width: 900px) { .section { padding: 92px 0; } }

.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: 1fr 1fr; } .grid.c3 { grid-template-columns: repeat(2, 1fr); } .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }

.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.trust-strip li { display: flex; flex-direction: column; }
.trust-strip b { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); line-height: 1.1; }
.trust-strip span { font-size: .84rem; color: var(--muted); }
@media (min-width: 860px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); padding: 22px 0; } .trust-strip li { border-left: 2px solid var(--gold-soft); padding-left: 16px; } }

.prog { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.prog .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream); }
.prog .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog:hover .ph img { transform: scale(1.03); }
.prog .body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prog .code { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: .02em; }
.prog .tag { display: inline-flex; align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); background: var(--terra-soft); padding: 5px 10px; border-radius: 999px; }
.prog .subjects { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 6px 0 4px; list-style: none; }
.prog .subjects li { font-size: .86rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--cream); color: var(--navy); }
.prog .for { color: var(--muted); font-size: .96rem; }
.prog .foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

.why { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.why .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); margin-bottom: 14px; }
.why .ic svg { width: 24px; height: 24px; }
.why h3 { margin-bottom: 6px; }
.why p { color: var(--muted); margin: 0; font-size: .98rem; }

.results-slot { display: grid; gap: 22px; align-items: center; border-radius: 20px; padding: 28px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: #e8e3d6; position: relative; overflow: hidden; }
.results-slot::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(180, 154, 104, .16); }
.results-slot h2 { color: #fff; }
.results-slot p { color: rgba(255, 255, 255, .8); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.result { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; text-align: center; }
.result img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.result .b { padding: 12px; }
.result .sc { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--terra); }
.result .nm { font-weight: 700; font-size: .92rem; color: var(--navy); }
.result .dt { font-size: .8rem; color: var(--muted); }
@media (min-width: 860px) { .results-slot { grid-template-columns: 1.4fr 1fr; padding: 44px; } }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.rev > :first-child { order: 2; } }
.photo-stack { position: relative; }
.photo-stack img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-stack .inset { position: absolute; width: 46%; right: -6px; bottom: -26px; border: 6px solid var(--ivory); aspect-ratio: 1; display: none; }
@media (min-width: 700px) { .photo-stack .inset { display: block; } }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9dfc8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat; }

.campus-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.campus-strip figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: 16px; overflow: hidden; background: var(--cream); }
.campus-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.campus-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-weight: 700; font-size: .92rem; color: #fff; background: linear-gradient(transparent, rgba(15, 29, 51, .85)); }
@media (min-width: 760px) { .campus-strip { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-auto-columns: auto; overflow: visible; } .campus-strip figure:first-child { grid-row: span 2; } .campus-strip figure:first-child img { aspect-ratio: auto; height: 100%; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 22px 22px 22px 76px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; background: var(--gold-soft); color: var(--navy); }
.steps h3 { margin-bottom: 4px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 76px 20px 22px; } .steps li::before { left: 20px; top: 20px; } }

.concession { display: grid; gap: 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px; }
@media (min-width: 900px) { .concession { grid-template-columns: 1fr 1fr; padding: 40px; gap: 40px; } }
.conc-result { border-radius: var(--radius); background: var(--cream); padding: 18px; margin-top: 12px; }
.conc-result[hidden] { display: none; }
.conc-result .big { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--terra); height: 44px; }
.range-row output { min-width: 74px; text-align: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); }

.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--navy); position: relative; min-height: 56px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-text); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 18px 16px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

.contact-band { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-band { grid-template-columns: 1.1fr 1fr; align-items: stretch; } }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; background: var(--cream) url("img/facade-road.jpg") center / cover; border: 1px solid var(--line); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .load-map { position: absolute; inset: auto 16px 16px auto; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--navy); }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list b { display: block; color: var(--navy); }
.info-list a { font-weight: 700; }

/* ---------- gallery ---------- */
.gallery { columns: 1; column-gap: 14px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery figure { break-inside: avoid; margin: 0 0 14px; border-radius: 14px; overflow: hidden; background: var(--cream); position: relative; }
.gallery button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery button:focus-visible { outline: 3px solid var(--terra); outline-offset: -3px; }
.gallery img { width: 100%; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .9rem; font-weight: 600; color: var(--navy); background: var(--paper); }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 18, 32, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .cap { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox .x { position: absolute; top: 14px; right: 14px; }
.lightbox .nav-l, .lightbox .nav-r { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .nav-l { left: 10px; } .lightbox .nav-r { right: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.round:hover { background: rgba(255, 255, 255, .26); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfd5df; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--gold-soft); font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; min-height: 36px; align-items: center; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.foot-brand .crest-wrap { width: 64px; height: 64px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; flex: none; }
.foot-brand img { width: 58px; height: 58px; }
.foot-brand b { font-family: var(--serif); font-size: 1.3rem; color: #fff; display: block; line-height: 1.1; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #9aa6b8; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }

/* ---------- conversion widgets ---------- */
/* mobile sticky bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 8px 10px calc(8px + var(--safe-b)); background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(23, 43, 73, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 12px; font: 800 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.mbar svg { width: 20px; height: 20px; }
.mbar .wa { color: #1f7a4d; }
.mbar .enq { background: var(--terra); border-color: var(--terra); color: #fff; }
body.has-mbar { --bar-h: 64px; }
@media (min-width: 1000px) { .mbar { display: none; } body.has-mbar { --bar-h: 0px; } }

/* desktop WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 110; display: none; align-items: center; gap: 10px; padding: 0 18px 0 14px; height: 56px; border-radius: 999px; background: #1f7a4d; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(16, 70, 42, .7); transition: transform .18s var(--ease); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 1000px) { .wa-float { display: inline-flex; } }

/* bottom-left slide-in */
.slidein { position: fixed; z-index: 130; left: 12px; right: 12px; bottom: calc(var(--bar-h) + var(--safe-b) + 12px); max-width: 380px; transform: translateY(24px); opacity: 0; visibility: hidden; transition: transform .38s var(--ease), opacity .3s, visibility 0s .38s; }
.slidein.open { transform: none; opacity: 1; visibility: visible; transition: transform .38s var(--ease), opacity .3s, visibility 0s; }
.slidein .lead-card { padding: 20px 18px 16px; max-height: calc(100vh - var(--bar-h) - 40px); overflow-y: auto; border: 1px solid var(--line); }
.slidein .top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.slidein .top h3 { font-size: 1.28rem; margin: 0; flex: 1; }
.slidein .tools { display: flex; gap: 4px; margin: -6px -6px 0 0; }
.slidein .tools button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; }
.slidein .tools button:hover { background: var(--cream); color: var(--navy); }
.slidein .badge { display: inline-flex; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); background: var(--terra-soft); padding: 4px 9px; border-radius: 999px; margin-bottom: 8px; }
@media (min-width: 600px) { .slidein { left: 22px; right: auto; width: 380px; } }
@media (min-width: 1000px) { .slidein { bottom: 22px; } }
.pill { position: fixed; z-index: 125; left: 12px; bottom: calc(var(--bar-h) + var(--safe-b) + 12px); display: none; align-items: center; gap: 2px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.pill.show { display: inline-flex; animation: pop .3s var(--ease); }
.pill .open-pill { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; min-height: 48px; font-weight: 800; font-size: .92rem; }
.pill .open-pill:focus-visible { outline: 3px solid var(--gold); border-radius: 999px; }
.pill .open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0855f; box-shadow: 0 0 0 4px rgba(224, 133, 95, .25); }
.pill .x { all: unset; cursor: pointer; width: 40px; height: 48px; display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-size: 1.15rem; border-radius: 999px; }
.pill .x:hover { color: #fff; }
.pill .x:focus-visible { outline: 3px solid var(--gold); }
@media (min-width: 1000px) { .pill { left: 22px; bottom: 22px; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* modal (exit intent, visit, callback) */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 29, 51, .55); }
.modal.open { display: flex; }
.modal .lead-card { width: min(100%, 460px); max-height: calc(100vh - 32px); overflow-y: auto; position: relative; animation: pop .25s var(--ease); }
.modal .close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; font-size: 1.5rem; color: var(--muted); cursor: pointer; }
.modal .close:hover { background: var(--cream); color: var(--navy); }
body.lock { overflow: hidden; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf .code { font-family: var(--serif); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--gold); font-weight: 700; }

/* misc */
.note-box { border-left: 4px solid var(--gold); background: var(--paper); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: .95rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.kv dt { font-weight: 700; color: var(--navy); }
.kv dd { margin: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; font-size: .96rem; }
table.simple th, table.simple td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { background: var(--cream); color: var(--navy); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.pathway { display: grid; gap: 10px; counter-reset: p; list-style: none; padding: 0; margin: 0; }
.pathway li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.pathway b { color: var(--terra); font-family: var(--serif); font-size: 1.05rem; }
.quote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--navy); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .mbar, .wa-float, .slidein, .pill, .announce, .site-header .head-cta, .menu-btn { display: none !important; } body { padding: 0; } }

/* refinements */
.nw { white-space: nowrap; }
.results-slot .eyebrow { color: var(--gold-soft); }
.results-slot .eyebrow::before { background: var(--gold-soft); }
.slidein .field { margin-bottom: 10px; gap: 4px; }
.slidein input[type="text"], .slidein input[type="tel"] { min-height: 46px; padding: 10px 12px; }
.slidein .seg label { min-height: 44px; }
.slidein .seg { margin-bottom: 12px; }
.slidein .consent { margin-top: 8px; font-size: .78rem; }
@media (max-height: 760px) { .slidein .sub { display: none; } }
@media (min-width: 1000px) { .site-footer { padding-bottom: 96px; } }

@media (max-width: 640px) {
  .announce .ann-more { display: none; }
  .announce .container { flex-wrap: nowrap; padding: 8px 0; font-size: .86rem; }
  .hero .container { padding: 40px 0 28px; gap: 22px; }
  .hero .lede { font-size: 1.02rem; }
  .brand img { width: 46px; height: 46px; }
  .brand .bn { font-size: 1.06rem; }
  .site-header .container { min-height: 64px; }
  .section { padding: 52px 0; }
}
@media (max-width: 640px) { .trust-strip b { font-size: 1.12rem; } }
