/* Gulshan Educare — one stylesheet for site, portal and CRM
   Palette: rainforest green (Bangladesh flag + Malaysian forest), hibiscus red (bunga raya + the red disc), sun yellow used only as a spark. */
:root {
  --green: #0B4F3F;
  --green-deep: #073528;
  --green-mid: #2C6E5B;
  --mint: #E8F1EC;
  --mint-2: #D5E5DC;
  --red: #D3203B;
  --red-dark: #A8172D;
  --red-tint: #FDEFF1;
  --sun: #F4B81C;
  --ink: #17201D;
  --muted: #56665F;
  --line: #D3DFD8;
  --paper: #FFFFFF;
  --app-bg: #F3F7F5;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 20px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--paper); padding: .6rem 1rem; border-radius: var(--r); }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.plain { list-style: none; margin: 0; padding: 0; }
code { background: var(--mint); padding: .1em .4em; border-radius: 4px; font-size: .9em; word-break: break-all; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .8rem 1.25rem; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--green); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--mint); color: var(--green-deep); }
.btn-small { padding: .45rem .8rem; font-size: .9rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text span { font-size: .82rem; font-weight: 600; color: var(--green); letter-spacing: .12em; margin-top: 3px; }

/* ---------------- Public site ---------------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--green); border-bottom-color: var(--red); }
.nav-actions { display: flex; gap: .6rem; }
.menu-toggle { display: none; font: inherit; font-weight: 700; background: var(--mint); color: var(--green-deep); border: 0; border-radius: var(--r); padding: .55rem .9rem; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 72px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-actions { flex-direction: column; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--mint) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding-block: 4.5rem 5rem; }
.hero h1 { max-width: 12.5em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding-block: 3rem 3.5rem; gap: 2.5rem; } }

/* Boarding-pass tracker — the one bold moment */
.pass { background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(7,53,40,.45), 0 0 0 1px rgba(11,79,63,.08); overflow: hidden; max-width: 500px; justify-self: end; width: 100%; }
.pass-top { background: var(--green-deep); color: #fff; padding: 1.4rem 1.6rem 1.25rem; position: relative; }
.pass-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: #BFD8CE; font-weight: 600; }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: .9rem; }
.pass-city strong { display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pass-city span { font-size: .85rem; color: #BFD8CE; }
.pass-city.to { text-align: right; }
.pass-path { height: 46px; }
.pass-path .trail { stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 3 6; fill: none; }
.pass-path .flown { stroke: var(--sun); stroke-width: 2.5; fill: none; stroke-dasharray: 220; stroke-dashoffset: 220; animation: fly 1.8s .3s cubic-bezier(.6,.1,.3,1) forwards; }
.pass-path .plane { fill: var(--sun); offset-path: path("M4 38 C 60 0, 140 0, 196 30"); offset-distance: 0%; animation: plane 1.8s .3s cubic-bezier(.6,.1,.3,1) forwards; }
@keyframes fly { to { stroke-dashoffset: 92; } }
@keyframes plane { to { offset-distance: 58%; } }
.pass-who { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; margin-top: 1.1rem; font-size: .8rem; color: #BFD8CE; }
.pass-who b { display: block; color: #fff; font-size: .98rem; font-weight: 700; }
.pass-tear { height: 18px; background: radial-gradient(circle at 9px 0, transparent 9px, var(--paper) 9.5px) -9px 0 / 18px 18px repeat-x; margin-top: -9px; position: relative; }
.pass-body { padding: .6rem 1.6rem 1.5rem; }
.pass-body h2 { font-size: .9rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin: 0 0 .6rem; }
.pass-steps { list-style: none; margin: 0; padding: 0; }
.pass-steps li { display: grid; grid-template-columns: 22px 1fr auto; gap: .7rem; align-items: center; padding: .42rem 0; font-size: .95rem; font-weight: 600; border-bottom: 1px dashed var(--line); opacity: 0; animation: tick .4s forwards; }
.pass-steps li:last-child { border-bottom: 0; }
.pass-steps li:nth-child(1) { animation-delay: .5s; } .pass-steps li:nth-child(2) { animation-delay: .7s; } .pass-steps li:nth-child(3) { animation-delay: .9s; }
.pass-steps li:nth-child(4) { animation-delay: 1.1s; } .pass-steps li:nth-child(5) { animation-delay: 1.3s; } .pass-steps li:nth-child(6) { animation-delay: 1.5s; }
@keyframes tick { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pass-steps .mk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }
.pass-steps .ok .mk { background: var(--green); color: #fff; }
.pass-steps .now .mk { background: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.pass-steps .now .mk::after { content: ""; width: 8px; height: 8px; background: #fff; border-radius: 50%; }
.pass-steps .next .mk { border: 2px solid var(--line); }
.pass-steps .next { color: var(--muted); font-weight: 500; }
.pass-steps time { font-size: .8rem; color: var(--muted); font-weight: 500; }
.pass-steps .now time { color: var(--red); font-weight: 700; }
.pass-note { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); }

/* Sections */
.section { padding-block: 5.5rem; }
.section-tight { padding-block: 3.5rem; }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bg-mint { background: var(--mint); }
.bg-green { background: var(--green-deep); color: #E3EEE8; }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-green a { color: #fff; }

/* Programme rows */
.levels { border-top: 2px solid var(--ink); }
.level-row { display: grid; grid-template-columns: 15rem 1fr 1fr 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.level-row h3 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.level-row h3 small { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: .3rem; }
.level-row dt { font-size: .82rem; font-weight: 700; color: var(--green); margin-bottom: .2rem; }
.level-row dd { margin: 0; font-size: .98rem; }
.level-row.feature h3::after { content: "Our speciality"; display: inline-block; margin-top: .5rem; font-size: .75rem; font-weight: 700; color: var(--red); background: var(--red-tint); padding: .2rem .55rem; border-radius: 99px; letter-spacing: 0; }
@media (max-width: 860px) { .level-row { grid-template-columns: 1fr 1fr; } .level-row > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .level-row { grid-template-columns: 1fr; } }

/* Journey — a real sequence, so it is numbered */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; counter-reset: step; }
.journey li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.journey li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; }
.journey li::after { content: ""; position: absolute; top: 1.25rem; left: 3.1rem; right: -1.4rem; border-top: 2px dashed var(--mint-2); }
.journey li:nth-child(3n)::after, .journey li:last-child::after { display: none; }
.journey h3 { margin-bottom: .35rem; }
.journey p { color: var(--muted); margin: 0; }
.journey .who { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--green-mid); margin-top: .6rem; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr 1fr; } .journey li::after { display: none; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

/* Promise band */
.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.promise-list { list-style: none; margin: 0; padding: 0; }
.promise-list li { padding: 1.1rem 0 1.1rem 2.4rem; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; }
.promise-list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 4px var(--green-deep), 0 0 0 2px var(--red); }
.promise-list strong { color: #fff; display: block; font-size: 1.1rem; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Portal showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.ticks li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: .6rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.mock-screen { background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 24px 50px -28px rgba(7,53,40,.5), 0 0 0 1px var(--line); padding: 1.25rem; }
.mock-bar { display: flex; gap: .4rem; margin-bottom: 1rem; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-2); }
.mock-docs { list-style: none; margin: 0; padding: 0; }
.mock-docs li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .2rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.mock-docs li:last-child { border-bottom: 0; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.facts div { border-top: 3px solid var(--green); padding-top: 1rem; }
.facts strong { display: block; font-size: 1.15rem; margin-bottom: .3rem; }
.facts p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .5rem; top: 1.55rem; width: .6rem; height: .6rem; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq details > div { padding: 0 0 1.3rem; color: var(--muted); max-width: 42rem; }

/* Consultation */
.consult { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.consult-aside dl { margin: 1.5rem 0 0; }
.consult-aside dt { font-weight: 700; font-size: .85rem; color: var(--green); margin-top: 1rem; }
.consult-aside dd { margin: 0; }
.form-panel { background: var(--paper); border-radius: var(--r-lg); padding: 2rem; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; gap: 2rem; } .form-panel { padding: 1.4rem; } }

/* Page hero (inner pages) */
.page-hero { background: var(--mint); padding-block: 4rem 3rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 16em; }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose li { margin-bottom: .4rem; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--r-lg); background: var(--mint); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3CF; padding-top: 4rem; font-size: .97rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text span { color: #8FC2AE; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .8rem; letter-spacing: 0; }
.site-footer address { font-style: normal; }
.site-footer .plain li { margin-bottom: .45rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 26rem; }
.group-note { color: #95A39D; font-size: .9rem; }
.group-note strong { color: #fff; font-weight: 600; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-block: 1.4rem; font-size: .85rem; color: #95A39D; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.wa-float:hover { color: #fff; background: #178A45; }

/* ---------------- Forms (shared) ---------------- */
.form { display: grid; gap: 1.1rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 .4rem; display: grid; gap: 1rem; }
.form legend { font-weight: 800; font-size: 1.1rem; margin-bottom: .6rem; padding: 0; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .93rem; }
.form label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: .7rem .85rem; border: 1.5px solid #BCCDC4; border-radius: var(--r); background: #fff; }
input:hover, select:hover, textarea:hover { border-color: var(--green-mid); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,79,63,.18); }
textarea { min-height: 7rem; resize: vertical; }
input[type="file"] { padding: .55rem; background: var(--app-bg); }
input[type="checkbox"] { width: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.hint { font-size: .86rem; color: var(--muted); font-weight: 500; margin: 0; }
.field-error { color: var(--red-dark); font-size: .86rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem; font-weight: 500 !important; }
.check input { margin-top: .3rem; }

.alert { padding: .9rem 1.1rem; border-radius: var(--r); margin-bottom: 1.2rem; font-weight: 600; border-left: 4px solid; }
.alert-success { background: #E6F4EC; border-color: #1E8A4C; color: #145C33; }
.alert-error { background: var(--red-tint); border-color: var(--red); color: var(--red-dark); }
.alert-info { background: #EEF3FB; border-color: #3A64B0; color: #24427A; }

/* ---------------- App (portal + CRM) ---------------- */
.app { background: var(--app-bg); font-size: 1rem; }
.app h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
.app h2 { font-size: 1.2rem; letter-spacing: -0.01em; }
.panel { background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 1.5rem; margin-bottom: 1.5rem; }
.panel > h2:first-child { margin-top: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.panel-head h2 { margin: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; margin-left: .35rem; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-title h1 { margin: 0; }
.page-title p { margin: .3rem 0 0; color: var(--muted); }

/* Portal chrome */
.app-top { background: var(--paper); border-bottom: 1px solid var(--line); }
.app-top-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: min(1100px, 100% - 2rem); margin: 0 auto; padding: .9rem 0; }
.who { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.who form { margin: 0; }
@media (max-width: 560px) { .who-name { display: none; } }
.app-tabs { width: min(1100px, 100% - 2rem); margin: 0 auto; overflow-x: auto; }
.app-tabs ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.app-tabs a { display: inline-flex; align-items: center; padding: .75rem 0; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; }
.app-tabs a[aria-current="page"] { color: var(--green); border-bottom-color: var(--red); }
.app-tabs a:hover { color: var(--ink); }
.app-main { width: min(1100px, 100% - 2rem); margin: 2rem auto; }
.app-foot { text-align: center; color: var(--muted); font-size: .9rem; padding: 1rem 1rem 2.5rem; }

.portal-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; } }
.status-hero { background: var(--green-deep); color: #DCEAE3; border-radius: 16px; padding: 1.75rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.status-hero h1 { color: #fff; margin: .2rem 0 .4rem; }
.status-hero .label { font-size: .85rem; font-weight: 600; color: #9FC6B6; }
.status-hero p { margin: 0; max-width: 38rem; }
.ring { --p: 0; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sun) calc(var(--p) * 1%), rgba(255,255,255,.15) 0); }
.ring span { width: 84px; height: 84px; border-radius: 50%; background: var(--green-deep); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.5rem; }
@media (max-width: 560px) { .status-hero { grid-template-columns: 1fr; } }
.next-box { background: var(--mint); border-radius: var(--r); padding: 1rem 1.2rem; margin-top: 1rem; }
.next-box strong { color: var(--green); }

.todo { list-style: none; padding: 0; margin: 0; }
.todo li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.todo li:last-child { border-bottom: 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; padding-bottom: 1.1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; border-left: 2px solid var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.tl-done::before { border-left-color: var(--green); }
.tl-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.tl-done .tl-dot { background: var(--green); border-color: var(--green); }
.tl-done .tl-dot::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.tl-current .tl-dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px var(--red-tint); }
.timeline strong { display: block; padding-top: .1rem; }
.tl-todo strong { color: var(--muted); font-weight: 500; }
.timeline time { font-size: .82rem; color: var(--muted); }
.timeline p { margin: .3rem 0 0; color: var(--muted); font-size: .93rem; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 700; padding: .6rem .75rem; border-bottom: 2px solid var(--line); white-space: nowrap; }
.data td { padding: .8rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data tr:hover td { background: #FAFCFB; }
.data a.row-link { font-weight: 700; text-decoration: none; }
.data a.row-link:hover { text-decoration: underline; }
.data .sub { display: block; color: var(--muted); font-size: .85rem; }
.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; }

/* Pills & badges */
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .22rem .6rem; border-radius: 99px; white-space: nowrap; background: var(--mint); color: var(--green); }
.pill-missing { background: #EEF1F0; color: var(--muted); }
.pill-pending, .pill-new { background: #FFF4D6; color: #7A5600; }
.pill-approved, .pill-converted, .pill-sent, .pill-active { background: #E3F3EA; color: #176A3D; }
.pill-rejected, .pill-failed, .pill-withdrawn { background: var(--red-tint); color: var(--red-dark); }
.pill-contacted, .pill-logged { background: #EAF0FA; color: #2C4F8F; }
.pill-closed, .pill-on_hold { background: #EEF1F0; color: var(--muted); }
.stage-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .22rem .6rem; border-radius: var(--r-sm); background: var(--mint); color: var(--green-deep); white-space: nowrap; }
.stage-badge.s0 { background: #EEF1F0; color: var(--muted); }
.stage-badge.s1 { background: #FFF4D6; color: #7A5600; }
.stage-badge.s3, .stage-badge.s4 { background: #EAF0FA; color: #2C4F8F; }
.stage-badge.s5, .stage-badge.s6 { background: #E3F3EA; color: #176A3D; }
.stage-badge.s7 { background: var(--green); color: #fff; }

/* Documents */
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-item { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.doc-item:last-child { border-bottom: 0; }
.doc-item .doc-name { font-weight: 700; }
.doc-item .req { font-size: .75rem; font-weight: 700; color: var(--red); margin-left: .4rem; }
.doc-item .meta { font-size: .86rem; color: var(--muted); }
.doc-item .note { grid-column: 1 / -1; background: var(--red-tint); color: var(--red-dark); padding: .6rem .8rem; border-radius: var(--r-sm); font-size: .9rem; }
.doc-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.upload-inline { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.upload-inline input[type="file"] { flex: 1 1 240px; width: auto; }
.progress-bar { height: 8px; background: var(--mint); border-radius: 99px; overflow: hidden; margin: .6rem 0 0; }
.progress-bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }

/* Messages */
.thread { display: flex; flex-direction: column; gap: .9rem; max-height: 560px; overflow-y: auto; padding: .25rem .25rem 1rem; }
.msg { max-width: 78%; padding: .8rem 1rem; border-radius: 14px; background: var(--mint); }
.msg.mine { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.msg.theirs { border-bottom-left-radius: 4px; }
.msg.internal { background: #FFF4D6; align-self: stretch; max-width: 100%; border-left: 4px solid var(--sun); }
.msg .by { font-size: .78rem; font-weight: 700; opacity: .8; margin-bottom: .2rem; }
.msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg time { display: block; font-size: .72rem; opacity: .75; margin-top: .35rem; }
.compose { display: grid; gap: .6rem; margin-top: 1rem; }

/* Notifications */
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { display: grid; grid-template-columns: 10px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.notes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: .5rem; background: transparent; }
.notes li.unread::before { background: var(--red); }
.notes p { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }
.notes time { font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; background: linear-gradient(160deg, var(--mint) 0%, var(--app-bg) 60%); }
.auth-card { background: var(--paper); width: min(440px, 100%); border-radius: 18px; padding: 2.2rem; box-shadow: 0 30px 60px -40px rgba(7,53,40,.5), 0 0 0 1px var(--line); }
.auth-card.wide { width: min(680px, 100%); }
.auth-card > img, .auth-card > .brand { margin-bottom: 1.6rem; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: .3rem; }
.auth-card .sub { color: var(--muted); margin-bottom: 1.5rem; }
.auth-alt { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); text-align: center; }
.steps-list li { margin-bottom: .8rem; }

/* CRM chrome */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--green-deep); color: #C6DCD2; padding: 1.4rem 1rem; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { color: #fff; padding: 0 .5rem; }
.admin-side .brand-text span { color: #8FC2AE; }
.side-label { font-size: .78rem; font-weight: 700; color: #7FA898; margin: 1.6rem .6rem .5rem; }
.admin-side ul { list-style: none; margin: 0; padding: 0; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .7rem; border-radius: 8px; color: #DCEAE3; text-decoration: none; font-weight: 600; font-size: .95rem; }
.admin-side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 var(--red); }
.side-user { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: center; padding: 1rem .5rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.side-user strong { display: block; color: #fff; }
.side-user span { font-size: .8rem; }
.side-user form { grid-column: 1 / -1; margin: .4rem 0 0; }
.side-user .link-btn { color: #C6DCD2; font-size: .88rem; }
.side-user .avatar { background: var(--red); }
.admin-main { padding: 2rem 2.2rem 4rem; min-width: 0; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; padding: 1rem; }
  .admin-side nav ul { display: flex; flex-wrap: wrap; gap: .25rem; }
  .side-label { display: none; }
  .admin-side nav { margin-top: .8rem; }
  .side-user { margin-top: .8rem; }
  .admin-main { padding: 1.4rem 1rem 3rem; }
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.kpi { background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); }
.kpi:hover { box-shadow: 0 0 0 2px var(--green); color: var(--ink); }
.kpi span { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.kpi strong { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.kpi.alert-kpi strong { color: var(--red); }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.pipeline { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; }
.pipe { text-decoration: none; color: var(--ink); background: var(--app-bg); border-radius: 10px; padding: .8rem .7rem; border-top: 4px solid var(--mint-2); }
.pipe:hover { background: var(--mint); color: var(--ink); }
.pipe strong { display: block; font-size: 1.6rem; font-weight: 800; }
.pipe span { font-size: .8rem; color: var(--muted); font-weight: 600; line-height: 1.25; display: block; }
.pipe.hot { border-top-color: var(--red); }
@media (max-width: 1100px) { .pipeline { grid-template-columns: repeat(4, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin-bottom: 1rem; }
.filters input, .filters select { width: auto; min-width: 150px; padding: .55rem .7rem; }
.filters input[type="search"] { min-width: 240px; flex: 1; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 1100px) { .two-col { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: 11rem 1fr; gap: .5rem 1rem; margin: 0; font-size: .95rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: .4rem; } }
.activity { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.activity li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.activity time { color: var(--muted); white-space: nowrap; font-size: .82rem; }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.inline-form select, .inline-form input { width: auto; padding: .45rem .6rem; font-size: .9rem; }
.review-form { display: flex; gap: .5rem; flex-wrap: wrap; grid-column: 1 / -1; }
.review-form input[type="text"] { flex: 1 1 220px; width: auto; padding: .45rem .6rem; font-size: .9rem; }


/* =====================================================================
   v2 — motion, Bangladesh touches, team
   ===================================================================== */
.btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }
.btn-primary { box-shadow: 0 10px 24px -12px rgba(211,32,59,.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(211,32,59,.9); }
.btn { transition: background .15s, color .15s, border-color .15s, transform .2s, box-shadow .2s; }
.site-header { transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(7,53,40,.6); }

/* Scroll reveal (only when JS is running) */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); transition-delay: var(--d, 0ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, #F1F7F3 55%, var(--mint) 100%); }
.hero-grid { padding-block: 3.5rem 0; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.hero h1 .ln { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 .ln, .hero .lead, .hero-actions, .hero-facts { animation: rise .9s cubic-bezier(.2,.75,.2,1) both; }
.hero h1 .ln:nth-child(2) { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) { animation-delay: .24s; }
.hero .lead { animation-delay: .4s; }
.hero-actions { animation-delay: .55s; }
.hero-facts { animation-delay: .7s; }
.hero-art { position: relative; max-width: 540px; justify-self: end; width: 100%; }
.art-students { width: 100%; height: auto; overflow: visible; animation: art-in 1.1s .15s cubic-bezier(.2,.75,.2,1) both; }
@keyframes art-in { from { opacity: 0; transform: scale(.92) translateY(20px); } to { opacity: 1; transform: none; } }
.art-students .st-girl, .art-students .st-boy, .art-students .st-cap, .art-students .st-twinkle path { transform-box: fill-box; transform-origin: 50% 100%; }
.art-students .st-girl { animation: bob 5.5s ease-in-out infinite; }
.art-students .st-boy { animation: bob 5.5s -2.7s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.art-students .st-cap { transform-origin: 50% 50%; animation: cap 6s ease-in-out infinite; }
@keyframes cap { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(5deg); } }
.art-students .st-twinkle path { transform-origin: 50% 50%; animation: twinkle 2.6s ease-in-out infinite; }
.art-students .st-twinkle path:nth-child(2) { animation-delay: .9s; }
.art-students .st-twinkle path:nth-child(3) { animation-delay: 1.7s; }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
.chip { position: absolute; display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 14px; padding: .7rem 1rem .7rem .75rem;
  box-shadow: 0 18px 40px -18px rgba(7,53,40,.55), 0 0 0 1px rgba(11,79,63,.07); font-size: .9rem; line-height: 1.25; white-space: nowrap; }
.chip b { display: block; font-weight: 800; }
.chip small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.chip-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: .85rem; }
.chip-dot.ok { background: var(--green); }
.chip-dot.visa { background: var(--red); box-shadow: 0 0 0 5px var(--red-tint); }
.chip-dot.visa::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.chip-a { top: 20%; left: -6%; animation: pop .6s 1.3s cubic-bezier(.2,1.4,.4,1) both, drift 6s 2s ease-in-out infinite; }
.chip-b { bottom: 12%; right: -4%; animation: pop .6s 1.9s cubic-bezier(.2,1.4,.4,1) both, drift 6s 3s ease-in-out infinite reverse; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hero-journey { margin-top: -1.5rem; position: relative; }
.art-journey { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-art { justify-self: center; max-width: 440px; }
  .chip-a { left: 0; } .chip-b { right: 0; }
  .hero-journey { margin-top: 0; }
}
@media (max-width: 480px) { .chip { font-size: .8rem; padding: .55rem .75rem .55rem .6rem; } .chip-dot { width: 24px; height: 24px; } }

/* Subject ticker */
.marquee { background: var(--green-deep); color: #fff; overflow: hidden; padding: .95rem 0; border-top: 4px solid var(--red); }
.marquee-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; font-weight: 700; font-size: 1.05rem; padding-right: 2.2rem; white-space: nowrap; }
.marquee li::before { content: ""; width: 9px; height: 9px; margin-right: 2.2rem; background: var(--sun); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Jamdani-style motif for the dark bands */
.jamdani { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2756%27%20height%3D%2756%27%20viewBox%3D%270%200%2056%2056%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-opacity%3D%27.09%27%20stroke-width%3D%271.4%27%3E%3Cpath%20d%3D%27M28%206%20L50%2028%20L28%2050%20L6%2028%20Z%27/%3E%3Cpath%20d%3D%27M28%2016%20L40%2028%20L28%2040%20L16%2028%20Z%27/%3E%3C/g%3E%3Cg%20fill%3D%27%23ffffff%27%20fill-opacity%3D%27.11%27%3E%3Ccircle%20cx%3D%2728%27%20cy%3D%2728%27%20r%3D%272.6%27/%3E%3Ccircle%20cx%3D%270%27%20cy%3D%270%27%20r%3D%272%27/%3E%3Ccircle%20cx%3D%2756%27%20cy%3D%270%27%20r%3D%272%27/%3E%3Ccircle%20cx%3D%270%27%20cy%3D%2756%27%20r%3D%272%27/%3E%3Ccircle%20cx%3D%2756%27%20cy%3D%2756%27%20r%3D%272%27/%3E%3C/g%3E%3C/svg%3E"); background-color: var(--green-deep); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2748%27%20height%3D%2710%27%20viewBox%3D%270%200%2048%2010%27%3E%3Cpath%20d%3D%27M0%2010%20L8%200%20L16%2010Z%27%20fill%3D%27%23D3203B%27/%3E%3Cpath%20d%3D%27M16%2010%20L24%200%20L32%2010Z%27%20fill%3D%27%23F4B81C%27/%3E%3Cpath%20d%3D%27M32%2010%20L40%200%20L48%2010Z%27%20fill%3D%27%232C6E5B%27/%3E%3C/svg%3E") repeat-x; background-size: 48px 10px; }

/* Journey steps get drawn in as they appear */
.journey li::before { transition: transform .5s cubic-bezier(.2,1.4,.4,1) var(--d,0ms), background .3s; }
html.js .journey li[data-reveal]:not(.in)::before { transform: scale(.4); }
.journey li:hover::before { background: var(--red); }

/* Boarding pass now lives in the tracker section: animate when it scrolls in */
html.js .pass .pass-steps li { animation: none; opacity: 1; }
html.js .pass:not(.in) .pass-steps li { opacity: 0; }
html.js .pass.in .pass-steps li { animation: tick .45s both; }
html.js .pass .pass-path .flown { animation: none; }
html.js .pass.in .pass-path .flown { animation: fly 1.8s .3s cubic-bezier(.6,.1,.3,1) forwards; }
.pass { justify-self: center; }

/* Team */
.team-section { background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.member { display: flex; flex-direction: column; }
.member-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--green); box-shadow: 0 20px 40px -28px rgba(7,53,40,.7); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .6s cubic-bezier(.2,.75,.2,1); }
.member:hover .member-photo img { transform: scale(1.05); }
.member-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, var(--sun) 33% 66%, var(--green-mid) 66%); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.member:hover .member-photo::after { transform: scaleX(1); }
.member-photo.no-photo { background: var(--green-deep) url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2744%27%20height%3D%2744%27%20viewBox%3D%270%200%2044%2044%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-opacity%3D%27.14%27%20stroke-width%3D%271.2%27%3E%3Cpath%20d%3D%27M22%204%20L40%2022%20L22%2040%20L4%2022%20Z%27/%3E%3C/g%3E%3Ccircle%20cx%3D%2722%27%20cy%3D%2722%27%20r%3D%272.4%27%20fill%3D%27%23F4B81C%27%20fill-opacity%3D%27.35%27/%3E%3C/svg%3E"); display: grid; place-items: center; }
.team-initials { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(244,184,28,.55); }
.member-text { padding: .9rem .1rem 0; }
.member-text strong { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.member-text span { display: block; color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: .15rem; }
.member-lead { grid-column: span 2; grid-row: span 2; }
.member-lead .member-photo { aspect-ratio: auto; flex: 1; min-height: 320px; }
.member-lead .member-text strong { font-size: 1.45rem; }
.member-lead .member-text span { color: var(--red); font-weight: 700; }
@media (max-width: 1000px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .member-lead { grid-column: span 2; grid-row: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: end; }
  .member-lead .member-photo { aspect-ratio: 4 / 5; min-height: 0; }
}
@media (min-width: 600px) and (max-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } .member-lead { grid-column: span 3; grid-template-columns: 1fr 2fr; } }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
}
