/* Avasara styles. Colours and dark mode are defined by the variables on :root. */
:root {
  --bg: #f6f5f0;
  --ink: #1f3a33;
  --tx: #4a5550;
  --gold: #b8944f;
  --sand: #e6dfd2;
  --line: #dcd8cc;
  --card: #fff;
  --ft: #1f3a33;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}

:root[data-theme="dark"] {
  --bg: #14201c;
  --ink: #eef0e8;
  --tx: #b9c3bc;
  --sand: #1b2b26;
  --line: #2d4039;
  --card: #1b2b26;
  --ft: #0e1613;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.65 'DM Sans',system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3 {
  font-family: 'Playfair Display',Georgia,serif;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
}

em {
  color: var(--gold);
}

a {
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5vw;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.5px;
}

.mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #d4b06a;
  color: #1f3a33;
  display: grid;
  place-items: center;
  font: 700 28px 'Poppins',sans-serif;
}

.dot {
  color: var(--gold);
}

.np {
  font-family: 'Poppins','Noto Sans Devanagari',sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 26px;
}

nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-size: 15px;
}

.btn {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--ink);
  background: none;
  font: 500 15px 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
}

.btn.dk {
  background: #1f3a33;
  color: #fff;
  border-radius: 2px;
  border-color: #1f3a33;
}

section {
  padding: 44px 5vw;
  max-width: 1250px;
  margin: auto;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(42px,7vw,84px);
}

h2 {
  font-size: clamp(32px,4.5vw,52px);
  margin-bottom: 24px;
}

.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stats b {
  display: block;
  font: 500 34px 'Playfair Display', Georgia, serif;
  color: var(--ink);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filters input,.filters select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 6px;
  font: 15px 'DM Sans', system-ui, sans-serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 4px;
}

.card h3 {
  font-size: 21px;
}

.tags span {
  font-size: 11px;
  background: var(--sand);
  color: var(--ink);
  padding: 3px 9px;
  border-radius: 20px;
  margin-right: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.card .row {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.card .row .btn {
  padding: 7px 14px;
  font-size: 14px;
}

.band {
  background: var(--sand);
  max-width: none;
}

.band>div {
  max-width: 1250px;
  margin: auto;
}

.uni {
  columns: 3 200px;
  gap: 24px;
  font-size: 15px;
}

.uni a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
}

.uni a:hover {
  color: var(--gold);
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tabs button.on {
  background: var(--ink);
  color: var(--bg);
}

.trk {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 14px;
}

.trk td,.trk th {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.trk input,.trk select,.trk textarea {
  font: 14px 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px;
  max-width: 100%;
}

.bar {
  height: 6px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-width: 80px;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.u-red {
  color: #c0392b;
  font-weight: 700;
}

.u-amb {
  color: #b9770e;
  font-weight: 700;
}

.scroll {
  overflow-x: auto;
}





.cta {
  background: var(--sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: none;
  padding: 60px 6vw;
}

/* "Know an opportunity?" band: text can shrink so the button stays on the same row */
.cta p {
  flex: 1 1 280px;
}

.cta .btn {
  flex: none;
}

footer {
  background: var(--ft);
  color: #eef0e8;
  padding: 30px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

footer .logo {
  color: #fff;
  font-size: 28px;
}

footer a {
  margin-left: 14px;
  text-decoration: none;
}

.note {
  font-size: 13px;
  opacity: .85;
}

.badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.b-yes {
  background: #dff0e3;
  color: #1d6b35;
}

.b-maybe {
  background: #fbf0d3;
  color: #7a5c10;
}

.b-no {
  background: #f6dcd8;
  color: #a1302a;
}

.tick {
  background: #7b5a30;
  color: #f6efe0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 5vw;
  font-size: 13px;
  overflow: hidden;
  text-decoration: none;
}

.tick a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.tick .live {
  flex: none;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  animation: flick 1.6s infinite;
}

.tick .live i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b5b;
  margin-right: 8px;
}

.tick .wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.tick .move {
  display: inline-block;
  animation: slide 40s linear infinite;
}

.tick .move span {
  margin-right: 44px;
}

.tick .move span::before {
  content: "\2726";
  color: #d4b06a;
  margin-right: 12px;
}

.tick a:hover .move {
  animation-play-state: paused;
}

@keyframes flick {
  0%,100% {
    opacity: 1;
  }
  42% {
    opacity: 1;
  }
  46% {
    opacity: .2;
  }
  50% {
    opacity: 1;
  }
  68% {
    opacity: .35;
  }
  72% {
    opacity: 1;
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .tick .live,.tick .move {
    animation: none;
  }
  .tick .wrap {
    overflow: auto;
  }
}

.tk {
  display: grid;
  grid-template-columns: minmax(280px,1fr) minmax(320px,1.15fr);
  gap: 28px;
  align-items: start;
}

.tk label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 4px;
}

.tk label.chk {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
}

.tk input,.tk select,.tk textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 6px;
  font: 14px 'DM Sans',sans-serif;
}

.tk input[type=checkbox] {
  width: auto;
}

#cvprev {
  background: #fff;
  color: #222;
  padding: 30px 34px;
  border: 1px solid var(--line);
  font: 13px/1.5 Georgia,serif;
  min-height: 420px;
}

#cvprev h3 {
  font: 600 24px Georgia,serif;
  color: #1f3a33;
  margin: 0 0 4px;
}

#cvprev p {
  margin: 2px 0;
}

#cvprev h4 {
  font: 700 12px 'DM Sans',sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1f3a33;
  border-bottom: 1px solid #bbb;
  margin: 16px 0 6px;
  padding-bottom: 3px;
}

#cvprev ul {
  margin: 0;
  padding-left: 18px;
}

.cvh {
  display: flex;
  gap: 18px;
  align-items: center;
}

#cvprev img,#cvprev .ph {
  width: 88px;
  height: 112px;
  object-fit: cover;
  flex: none;
}

#cvprev .ph {
  border: 1px dashed #999;
  display: grid;
  place-items: center;
  color: #999;
  font-size: 12px;
}

@page {
  margin: 14mm;
}

@media print {
  body>* {
    display: none!important;
  }
  body>#toolkit {
    display: block!important;
    padding: 0!important;
    background: none!important;
  }
  #toolkit * {
    visibility: hidden;
  }
  #cvprev,#cvprev * {
    visibility: visible;
  }
  #cvprev {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 0;
    padding: 0;
  }
}

@media (max-width:900px) {
  .tk {
    grid-template-columns: 1fr;
  }
}

.kd {
  margin: 6px 0 2px;
  font-size: 14px;
}

.kd summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.kd dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 12px;
  margin: 10px 0 0;
  font-size: 13.5px;
}

.kd dt {
  font-weight: 700;
  color: var(--ink);
}

.kd dd {
  margin: 0;
}

.kd a {
  color: var(--gold);
}

@media (max-width:700px) {
  nav {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
    padding-bottom: 4px;
  }
}

/* ---------- Tabs: one section visible at a time ---------- */
[hidden] { display: none !important; }
nav a.on { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--gold); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s; }
a.card:hover { border-color: var(--gold); }
.tiles .card p { margin: 0; }

/* ---------- Compact toolkit ---------- */
.tk { grid-template-columns: minmax(260px, 440px) 1fr; gap: 20px; }
.tk > div:first-child { max-height: 74vh; overflow: auto; padding-right: 8px; }
#cvfields, #emfields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.f.w { grid-column: 1 / -1; }
.f label { margin: 8px 0 3px; }
#cvprev { max-height: 74vh; overflow: auto; min-height: 0; font-size: 12px; padding: 20px 24px; }
#cvprev h3 { font-size: 20px; }
@media (max-width: 900px) { .tk > div:first-child, #cvprev { max-height: none; } }
@media print { #cvprev { max-height: none !important; overflow: visible !important; } }

/* Let the toolkit columns shrink on small screens instead of overflowing */
.tk > div { min-width: 0; }
@media (max-width: 900px) { .tk { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About: founder section ---------- */
.founder-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 55px;
  justify-content: center;
  align-items: start;
  padding: 35px 0 55px;
}

.founder-sidebar {
  position: sticky;
  top: 115px;
}

.founder-photo {
  display: block;
  width: 145px;
  height: 175px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
}

.founder-name {
  font-size: 23px;
  margin: 16px 0 4px;
}

.founder-role {
  font-size: 13px;
  margin: 0;
}

.founder-story h2 {
  margin-bottom: 24px;
}

.founder-lead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
}

.founder-story > p {
  line-height: 1.85;
  margin: 0 0 18px;
}

.founder-quote {
  border-left: 3px solid var(--gold);
  padding: 14px 22px;
  margin: 28px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--gold);
}

.founder-signoff {
  color: var(--ink);
  font-weight: 700;
}

/* Personal guidance: sits under the story, left-aligned with the text */
.founder-contact {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.founder-contact p {
  max-width: 600px;
  margin: 0 0 14px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px 0 35px;
  }
  .founder-sidebar {
    position: static;
  }
  .founder-photo {
    width: 115px;
    height: 140px;
  }
  .founder-name {
    font-size: 21px;
  }
  .founder-lead {
    font-size: 20px;
  }
}

/* ---------- Welcome page: search, chips, steps, founder teaser ---------- */
.hero-search {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 26px 0 14px;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  font: 17px 'DM Sans', system-ui, sans-serif;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
}

.hero-search .btn {
  border-radius: 6px;
  padding: 0 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 30px;
  padding: 7px 15px;
  font: 500 14px 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--gold);
}

.steps .num {
  font: 500 34px 'Playfair Display', Georgia, serif;
  color: var(--gold);
  line-height: 1;
}

.steps .card p {
  margin: 0;
}

.teaser {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--sand);
  padding: 28px;
  border-radius: 6px;
}

.teaser-photo {
  width: 96px;
  height: 116px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}

.teaser-quote {
  font: 500 22px/1.4 'Playfair Display', Georgia, serif;
  color: var(--ink);
  margin: 0 0 6px;
}

/* ---------- Scholarships board ---------- */
.elig {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.elig summary {
  cursor: pointer;
  color: var(--ink);
}

.elig[open] summary {
  margin-bottom: 14px;
}

.elig .filters {
  margin-bottom: 8px;
}

.open-now {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--ink);
}

@media (max-width: 560px) {
  .hero-search {
    flex-direction: column;
  }
  .hero-search .btn {
    padding: 14px;
  }
  .teaser {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Launch polish: calmer heading scale and accessible compact headings */
h1 { font-size: clamp(36px, 5.7vw, 68px); line-height: 1.08; }
h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.16; }
[data-view] h2 { margin-top: .3em; }
.card h3 { font-size: 20px; line-height: 1.25; }
.share-row { margin-top: 12px; display:flex; flex-wrap:wrap; gap:8px; }
.share-btn { font-size: 13px; padding: 7px 12px; }
.global-search { display:flex; gap:6px; align-items:center; margin-left:auto; }
.global-search input { width:min(210px, 24vw); padding:8px 10px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--tx); }
@media(max-width:780px){ .global-search input { width:130px; } }
@media(max-width:560px){ .global-search { order:3; width:100%; margin:8px 0 0; } .global-search input { width:100%; } }


.youtube-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  margin: 18px 0;
  background: #000;
}

.youtube-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* AVASARA native, client-side CV style studio */
.av-cv-studio{margin:24px 0 26px}.av-cv-studio h3{font-size:22px;margin-bottom:7px}.av-cv-controls{display:flex;gap:12px;align-items:center;margin:16px 0}.av-cv-controls select{max-width:250px}.av-cv-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.av-cv-choice{display:flex;flex-direction:column;gap:7px;align-items:stretch;text-align:left;border:1px solid var(--line,#d5dbd8);border-radius:12px;padding:11px;background:var(--card,#fff);color:inherit;cursor:pointer;font:inherit}.av-cv-choice:hover,.av-cv-choice:focus-visible{outline:2px solid #32836e;outline-offset:2px}.av-cv-choice.selected{border:2px solid #32836e;padding:10px}.av-cv-choice[hidden]{display:none}.av-cv-choice strong{font-size:13px}.av-cv-choice span{font-size:11px;opacity:.8}.av-cv-mini{height:136px;background:#fff;color:#26362e;border:1px solid #ddd;padding:12px;overflow:hidden}.av-cv-mini-name{font-size:14px;font-weight:700}.av-cv-mini-contact{font-size:8px;margin-bottom:8px}.av-cv-mini-section{font-size:8px;font-weight:700;margin:7px 0 3px}.av-cv-mini-line{height:3px;background:#ddd;width:85%}
#cvprev.av-cv-paper{background:#fff;color:#222;max-height:none;overflow:visible;min-height:360px}#cvprev.av-cv-paper h4{break-after:avoid}#cvprev.av-cv-paper li{break-inside:avoid}
#cvprev.av-style-academic{font-family:Georgia,serif;border-top:6px solid #294d41}#cvprev.av-style-academic h3{font-family:Georgia,serif}
#cvprev.av-style-australian{font-family:Arial,sans-serif;border-left:7px solid #2b746c}#cvprev.av-style-australian h3,#cvprev.av-style-australian h4{font-family:Arial,sans-serif;color:#225e58}
#cvprev.av-style-us{font-family:Arial,sans-serif;border-top:2px solid #333}#cvprev.av-style-us .cvh{justify-content:center;text-align:center}#cvprev.av-style-us h3,#cvprev.av-style-us h4{font-family:Arial,sans-serif;color:#222}#cvprev.av-style-us h4{border-bottom:1px solid #333}
#cvprev.av-style-uk{font-family:Arial,sans-serif;border-top:6px solid #304b73}#cvprev.av-style-uk h3,#cvprev.av-style-uk h4{font-family:Arial,sans-serif;color:#304b73}
#cvprev.av-style-european{font-family:Arial,sans-serif;border-top:7px solid #2867a1}#cvprev.av-style-european h3,#cvprev.av-style-european h4{font-family:Arial,sans-serif;color:#2867a1}#cvprev.av-style-european h4{border-bottom:1px solid #9ebbd1}
#cvprev.av-style-scholarship{font-family:Georgia,serif;border-top:6px solid #a57634}#cvprev.av-style-scholarship h3,#cvprev.av-style-scholarship h4{color:#82591e}
.av-cv-mini.av-style-academic{border-top:5px solid #294d41;font-family:Georgia,serif}.av-cv-mini.av-style-australian{border-left:5px solid #2b746c}.av-cv-mini.av-style-us .av-cv-mini-name{text-align:center}.av-cv-mini.av-style-uk{border-top:5px solid #304b73}.av-cv-mini.av-style-european{border-top:5px solid #2867a1}.av-cv-mini.av-style-scholarship{border-top:5px solid #a57634;font-family:Georgia,serif}
@media print{body{visibility:hidden!important}body *{visibility:hidden!important}body [data-view="toolkit"],body #toolkit,body #tk-cv,body #cvprev{display:block!important;visibility:visible!important}body #cvprev,body #cvprev *{visibility:visible!important}body #cvprev{position:fixed!important;inset:0 auto auto 0!important;width:100%!important;max-height:none!important;overflow:visible!important;min-height:0!important;box-shadow:none!important;border:0!important;padding:0!important;background:#fff!important;color:#222!important}body #cvprev h3,body #cvprev h4{print-color-adjust:exact}}
