/* Nixor College */
:root {
  --red: #921416;
  --red-deep: #6a0d0f;
  --red-soft: #f6e9e9;
  --ink: #17171a;
  --grey: #5a5a62;
  --line: #e7e3e3;
  --soft: #f7f5f4;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --radius: 16px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; font-weight: 600; }
.wrap { width: 100%; margin: 0; padding-inline: clamp(20px, 4.5vw, 80px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--red-soft); color: var(--red-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--red); color: #fff; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-block: 7px; }
.topbar a { color: #fff; text-decoration: none; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.topbar :focus-visible { outline-color: #fff; }

.masthead { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 78px; }
.logo-rule { width: 1px; height: 34px; background: #cfc9c9; }
.logo-name { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; white-space: nowrap; }

.mainnav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { white-space: nowrap; display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-link.is-active { color: var(--red); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .15s; }
.panel { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(40, 10, 10, .12); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item:nth-last-child(-n+3) .panel { left: auto; right: 0; }
.nav-item:hover .panel, .nav-item:focus-within .panel { visibility: visible; opacity: 1; transform: none; }
.panel a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 15px; }
.panel a:hover { background: var(--soft); color: var(--ink); }
.panel a[aria-current="page"] { color: var(--red); font-weight: 600; background: var(--red-soft); }
.mast-cta { flex: none; }

.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--soft); position: relative; overflow: hidden; padding: 64px 0 56px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 560px; height: 230px; background: url(img/shark.svg) no-repeat center / contain; opacity: .07; pointer-events: none; }
.crumbs { margin: 0 0 18px; font-size: 14px; color: var(--grey); min-height: 1.2em; }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .6; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5vw, 62px); letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--grey); max-width: 58ch; margin: 18px 0 0; }

.subnav { background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.subnav ul { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; border: 1px solid var(--line); }
.subnav a:hover { border-color: var(--ink); color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--soft); }
.section-red { background: var(--red); color: #fff; }
.section-red a:not(.tile):not(.btn) { color: #fff; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.015em; margin: 0 0 14px; }
.section-intro { color: var(--grey); max-width: 60ch; margin: 0 0 40px; font-size: 18px; }
.section-red .section-intro { color: rgba(255,255,255,.85); }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }
.after { margin: 36px 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(48px, 7vw, 140px); align-items: start; }
.prose { max-width: 76ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: -0.01em; margin: 52px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--red); }
.prose .lead { font-size: 20px; line-height: 1.6; color: #2b2b30; }
.prose .signoff { margin-top: 30px; font-weight: 700; }
.prose .signoff span { display: block; font-weight: 400; color: var(--grey); }
.prose small { color: var(--grey); }

/* Fast facts */
.aside-stack { display: flex; flex-direction: column; gap: 36px; position: sticky; top: calc(var(--header-h) + 24px); }
.facts h2, .aside-links h2 { font: 700 13px/1.3 var(--sans); letter-spacing: .02em; color: var(--grey); margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.fact { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact b { display: block; font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.02em; color: var(--red); }
.fact span { display: block; font-size: 14px; margin-top: 6px; color: var(--grey); line-height: 1.4; }
.aside-links ul { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.aside-links a:hover { color: var(--red); }

/* Video */
.video { margin: 28px 0; }
.video .frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #111; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-size: 15px; color: var(--grey); margin-top: 10px; }
.video figcaption b { color: var(--ink); margin-right: 4px; }

.callout { background: var(--red-soft); padding: 18px 22px; border-radius: 12px; margin: 26px 0; }
.callout p { margin: 0; }

/* Red tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; height: 100%; background: var(--red); color: #fff; border-radius: 20px; padding: 28px; text-decoration: none; min-height: 220px; transition: background .15s, transform .15s; }
.tile:hover { background: var(--red-deep); color: #fff; }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 0 0 10px; letter-spacing: -0.01em; }
.tile p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.88); }
.tile .go { margin-top: auto; padding-top: 20px; font-weight: 700; font-size: 15px; }
.section-red .tile { background: #fff; color: var(--ink); }
.section-red .tile p { color: var(--grey); }
.section-red .tile h3, .section-red .tile .go { color: var(--red); }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.card .meta { font-size: 13.5px; color: var(--red); font-weight: 700; margin: 0 0 8px; }
.card p { margin: 0 0 12px; font-size: 15.5px; color: #3c3c43; line-height: 1.6; }
.card .nums { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card .nums div { font-size: 13px; color: var(--grey); line-height: 1.3; }
.card .nums b { display: block; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); }
.card .card-link { margin-top: auto; font-weight: 700; font-size: 15px; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.prose .cards { margin: 8px 0 24px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--red); color: #fff; border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column; counter-increment: step; }
.step::before { content: counter(step); font-family: var(--serif); font-size: 15px; font-weight: 600; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 0 0 10px; }
.step p { margin: 0 0 16px; font-size: 15.5px; color: rgba(255,255,255,.9); }
.step dl { margin: auto 0 0; }
.step dl div { border-top: 1px solid rgba(255,255,255,.25); padding: 11px 0; }
.step dt { font-size: 13px; color: rgba(255,255,255,.75); }
.step dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.step a { color: #fff; font-weight: 700; margin-top: 8px; }

/* Lists */
.pill-list { list-style: none; margin: 0 0 22px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { background: var(--soft); border-radius: 999px; padding: 7px 15px; font-size: 15px; font-weight: 500; margin: 0 !important; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.values li { border-top: 1px solid rgba(255,255,255,.35); padding-top: 22px; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; }

/* Tables */
.table-wrap { margin: 12px 0 26px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; color: var(--grey); font-weight: 700; border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 700; }
td:empty::after { content: "—"; color: #b0b0b0; }

/* People */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--soft); }
.person h3 { margin: 16px 0 4px; font-size: 19px; font-weight: 700; }
.person .meta { margin: 0 0 8px; font-size: 13.5px; color: var(--red); font-weight: 700; line-height: 1.45; }
.person p { margin: 0; font-size: 15.5px; color: #3c3c43; line-height: 1.6; }

/* University offers */
.offers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.region h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 700; }
.region h3 b { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--red); }
.region ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.region li { padding: 8px 0; border-bottom: 1px solid var(--line); }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- Home ---------- */
.big-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.big-facts div { border-top: 2px solid var(--ink); padding-top: 18px; }
.big-facts b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; color: var(--red); }
.big-facts span { display: block; font-size: 15px; margin-top: 8px; color: var(--grey); }
.facts-src { font-size: 14px; color: var(--grey); margin: 28px 0 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature img { border-radius: 20px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.feature .meta { color: var(--red); font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.feature p { margin: 0 0 18px; font-size: 18px; color: #2b2b30; }
.feature .video { margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--red-deep); color: rgba(255,255,255,.86); font-size: 15px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer :focus-visible { outline-color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-block: 64px 48px; }
.footer-brand img { width: 120px; margin-bottom: 14px; }
.footer-brand .name { font-family: var(--serif); font-weight: 600; font-size: 26px; color: #fff; margin: 0; }
.footer-brand .tag { font-family: var(--serif); font-size: 18px; margin: 4px 0 0; opacity: .8; }
.footer h2 { font: 700 13px/1.3 var(--sans); letter-spacing: .02em; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer address { font-style: normal; }
.footer address p { margin: 0 0 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; font-size: 14px; }

/* ---------- Tablet / menu breakpoint ---------- */
@media (max-width: 1240px) {
  :root { --header-h: 68px; }
  .menu-btn { display: inline-flex; }
  .mast-cta { display: none; }
  .mainnav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 8px 0 40px; display: none; margin: 0; }
  .mainnav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; padding-inline: 20px; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; font-size: 19px; font-weight: 600; padding: 18px 2px; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-item.is-open .chev { transform: rotate(180deg); }
  .panel { position: static; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; display: none; min-width: 0; }
  .nav-item.is-open .panel { display: block; }
  .panel a { font-size: 16px; padding: 10px 12px; }
  .menu-extra { display: flex !important; flex-direction: column; gap: 12px; max-width: 640px; margin: 24px auto 0; padding-inline: 20px; }
  .menu-extra .btn { width: 100%; padding: 16px; }
  .menu-extra .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
  .menu-extra .links a { color: var(--grey); }
  .topbar { display: none; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .aside-stack { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { --cols: 2 !important; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .big-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
.menu-extra { display: none; }

/* ---------- Phone ---------- */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .logo { gap: 10px; }
  .logo img { width: 58px; }
  .logo-rule { height: 26px; }
  .logo-name { font-size: 19px; }

  .page-hero { padding: 36px 0 32px; }
  .page-hero::after { width: 300px; height: 120px; right: -70px; bottom: -20px; }
  .page-hero h1 { font-size: 34px; }
  .hero-lede { font-size: 16.5px; margin-top: 12px; }
  .crumbs { margin-bottom: 12px; font-size: 13px; }
  .subnav ul { padding: 12px 0; }
  .subnav a { font-size: 14px; padding: 7px 14px; }

  .section { padding: 48px 0; }
  .section-title { font-size: 30px; }
  .section-intro { font-size: 16.5px; margin-bottom: 28px; }
  .prose h2 { font-size: 25px; margin-top: 40px; }
  .prose .lead { font-size: 18px; }

  .aside-stack { grid-template-columns: 1fr; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .facts h2 { grid-column: 1 / -1; }
  .fact b { font-size: 32px; }

  .tiles, .cards, .contact-grid, .steps { grid-template-columns: 1fr !important; }
  .tile { min-height: 0; padding: 24px; }
  .tile h3 { font-size: 22px; }
  .card { padding: 20px; }
  .step { padding: 26px 22px; }
  .step h3 { font-size: 25px; }
  .people { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .person h3 { font-size: 16px; margin-top: 12px; }
  .person .meta { font-size: 12.5px; }
  .person p { font-size: 14px; }
  .offers { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .values { grid-template-columns: 1fr; gap: 0; }
  .values li { font-size: 22px; padding: 16px 0; }

  thead { display: none; }
  table, tbody, tr, th, td { display: block; }
  tbody tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  tbody th, tbody td { border: 0; padding: 0; }
  tbody th { font-size: 16px; margin-bottom: 2px; }
  tbody td { color: var(--grey); font-size: 15px; }
  td:empty { display: none; }

  .big-facts { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .big-facts div:last-child { grid-column: 1 / -1; }
  .feature p { font-size: 16.5px; }

  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 32px; }
  .footer-bottom .wrap { flex-direction: column; }
}



/* ---------- Tools and contact ---------- */
.tool-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); }
.tools { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tool { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tool h3 { margin: 0 0 4px; font-size: 19px; font-weight: 700; }
.tool p { margin: 0; color: var(--grey); font-size: 15.5px; max-width: 46ch; }
.tool .btn { flex: none; padding: 11px 18px; font-size: 14px; }
.campuses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.campus { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.map { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--soft); }
.campus-body { padding: 26px 28px 28px; }
.campus-body .meta { color: var(--red); font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.campus-body h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0 0 8px; }
.campus-body p { margin: 0 0 18px; color: var(--grey); }
@media (max-width: 1240px) { .cards[style*="--cols:4"] { --cols: 2 !important; } }
@media (max-width: 900px) { .tool-cols, .campuses { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .tool { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
  .tool .btn { padding: 10px 16px; }
  .campus-body { padding: 20px; }
  .campus-body h2 { font-size: 25px; }
  .map { aspect-ratio: 4 / 3; }
}

/* ---------- Award estimator ---------- */
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--soft); border-radius: 20px; padding: 24px; margin: 20px 0 14px; }
.estimator label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 15px; }
.estimator label span { font-weight: 400; font-size: 13.5px; color: var(--grey); }
.estimator select { margin-top: 6px; font: inherit; font-weight: 600; font-size: 17px; padding: 12px 14px; border: 1px solid #d4cfcf; border-radius: 12px; background: #fff; color: var(--ink); }
.est-result { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 18px 20px; border-left: 6px solid #d4cfcf; }
.est-result b { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink); flex: none; }
.est-result span { color: var(--grey); font-size: 15px; }
.est-result.band-25 { border-left-color: #f0b98d; }
.est-result.band-50 { border-left-color: #d8908f; }
.est-result.band-100 { border-left-color: var(--red); }
.est-result.band-100 b { color: var(--red); }
@media (max-width: 680px) { .estimator { grid-template-columns: 1fr; padding: 18px; } }

/* ---------- Home: hero ---------- */
.home-hero { position: relative; background: var(--red); color: #fff; overflow: hidden; }
.home-hero .wrap { position: relative; z-index: 2; container-type: inline-size; padding-block: 52px 64px; }
.hero-bg { display: none; }
.tagline { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.2vw, 58px); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.letters { display: flex; justify-content: space-between; margin: 22px 0 8px; font-family: "Archivo", var(--sans); font-weight: 900; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 35.5cqi; line-height: .76; letter-spacing: -0.03em; }
.letters span { background-color: #fff; background-size: cover; background-position: center; padding-block: .02em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; }
.home-intro p { margin: 0; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.9); max-width: 52ch; }
.home-intro .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero :focus-visible { outline-color: #fff; }

/* ---------- Phone: home ---------- */
@media (max-width: 680px) {
  /* Full-screen campus photo instead of the letters */
  .home-hero { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
  .home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(106,13,15,0) 45%, rgba(106,13,15,.8) 66%, #6a0d0f 90%); pointer-events: none; }
  .home-hero .wrap { padding-block: 0 30px; }
  .letters { display: none; }
  .tagline { font-size: 54px; line-height: .95; letter-spacing: -0.03em; margin-bottom: 14px; }
  .home-intro { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 0; }
  .home-intro p { font-size: 17px; }
  .home-intro .actions { flex-wrap: nowrap; }
  .home-intro .actions .btn { flex: 1; padding: 15px 12px; white-space: nowrap; }

  .home-doors .tiles { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .home-doors .tile { min-height: 124px; padding: 18px 16px; border-radius: 16px; }
  .home-doors .tile h3 { font-size: 18px; margin: 0; line-height: 1.2; }
  .home-doors .tile p { display: none; }
  .home-doors .tile .go { font-size: 13px; padding-top: 12px; color: rgba(255,255,255,.8); }

  .big-facts b { font-size: 30px; }
  .big-facts span { font-size: 14px; }
  .values { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .values li { font-size: 19px; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.35); }
  .feature img { aspect-ratio: 16 / 10; }
  .home-more .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .home-more .cards::-webkit-scrollbar { display: none; }
  .home-more .card { flex: 0 0 82%; scroll-snap-align: center; }
}

/* ---------- Phone and tablet menu ---------- */
@media (max-width: 1240px) {
  body.menu-open .masthead { background: var(--red); border-bottom-color: rgba(255,255,255,.15); }
  body.menu-open .logo img { filter: brightness(0) invert(1); }
  body.menu-open .logo-name { color: #fff; }
  body.menu-open .logo-rule { background: rgba(255,255,255,.4); }
  body.menu-open .menu-btn { background: #fff; border-color: #fff; }
  body.menu-open .menu-btn span::before, body.menu-open .menu-btn span::after { background: var(--red); }

  .mainnav { background: var(--red); color: #fff; padding: 12px 0 48px; }
  .mainnav::after { content: ""; position: fixed; right: -70px; bottom: 30px; width: 380px; height: 160px; background: url(img/shark-white.svg) no-repeat center / contain; opacity: .08; pointer-events: none; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,.16); }
  .nav-link { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -0.015em; padding: 16px 2px; }
  .nav-link:hover, .nav-link.is-active { color: #fff; background: none; }
  .nav-link.is-active::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 12px; flex: none; order: -1; }
  .nav-link { justify-content: flex-start; }
  .nav-link .chev { margin-left: auto; width: 14px; height: 14px; }
  .panel { padding: 0 0 18px; background: transparent; border-radius: 0; }
  .nav-item.is-open .panel { display: flex; flex-wrap: wrap; gap: 8px; }
  .panel li { display: contents; }
  .panel a { color: #fff; font-size: 15px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
  .panel a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .panel a[aria-current="page"] { background: #fff; color: var(--red); border-color: #fff; }
  .menu-extra { margin-top: 32px; }
  .menu-extra .btn-red { background: #fff; color: var(--red); }
  .menu-extra .links a { color: rgba(255,255,255,.82); }
  .menu-extra .links a:hover { color: #fff; }
  .mainnav :focus-visible { outline-color: #fff; }

  /* Items slide in one after another when the menu opens */
  .mainnav.is-open .nav-item, .mainnav.is-open .menu-extra { animation: menu-in .38s cubic-bezier(.2, .7, .2, 1) both; }
  .mainnav.is-open .nav-item:nth-child(2) { animation-delay: .04s; }
  .mainnav.is-open .nav-item:nth-child(3) { animation-delay: .08s; }
  .mainnav.is-open .nav-item:nth-child(4) { animation-delay: .12s; }
  .mainnav.is-open .nav-item:nth-child(5) { animation-delay: .16s; }
  .mainnav.is-open .nav-item:nth-child(6) { animation-delay: .2s; }
  .mainnav.is-open .nav-item:nth-child(7) { animation-delay: .24s; }
  .mainnav.is-open .menu-extra { animation-delay: .28s; }
  .nav-item.is-open .panel { animation: panel-in .25s ease both; }
}
@media (max-width: 680px) {
  .nav-link { font-size: 26px; padding: 14px 2px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mainnav.is-open .nav-item, .mainnav.is-open .menu-extra, .nav-item.is-open .panel { animation: none; } }
