/* ============================================================
   ADAMYA CAREER INSTITUTE
   Palette comes from the logo: navy letters, orange arrow.
   Display type: Archivo (wide, like the signboard lettering)
   Body type:    Hind (also carries the Hindi lines)
   ============================================================ */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-deva-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-deva-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Hind"; src: url("../fonts/hind-deva-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --navy: #0C2447;
  --night: #071730;
  --orange: #F5821F;
  --orange-deep: #D4670A;
  --white: #FFFFFF;
  --mist: #EDF2F8;
  --line: #D3DCE8;
  --ink: #16203A;
  --slate: #4B5873;
  --sky: #9CC3EA;

  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Hind", "Noto Sans Devanagari", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --r: 6px;
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); margin: 0 0 .5em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.5rem); font-weight: 800; font-stretch: 116%; line-height: 1.02; letter-spacing: -.022em; }
h2 { font-size: clamp(1.75rem, 3.7vw, 2.75rem); font-weight: 760; font-stretch: 112%; line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 106%; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--slate); max-width: 58ch; }
.hi { font-family: var(--body); font-weight: 600; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #DCE6F3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 10px; top: 10px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--display); font-stretch: 104%;
  padding: 1em 1.4em; border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--orange { background: var(--orange); color: var(--night); }
.btn--orange:hover { background: #FF9A3D; }
.btn--line { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--line:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--night); }
.btn--block { width: 100%; }
.textlink { font-weight: 600; color: var(--navy); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { color: var(--orange-deep); }
.section--navy .textlink { color: var(--white); }

/* Top bar + header ------------------------------------------- */
.topbar { background: var(--night); color: #C9D6E8; font-size: .9rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; text-decoration: none; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font: 850 1.5rem/1 var(--display); font-stretch: 122%; color: var(--navy); text-transform: uppercase; letter-spacing: .01em; }
.brand__text span { font: 700 .72rem/1 var(--display); font-stretch: 112%; color: var(--orange-deep); text-transform: uppercase; letter-spacing: .09em; margin-top: 4px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; align-items: center; }
.nav > ul > li > a {
  display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--ink); border-radius: var(--r);
}
.nav > ul > li > a:hover, .nav a[aria-current="page"] { color: var(--orange-deep); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.has-sub { position: relative; }
.sub {
  position: absolute; left: 0; top: 100%; width: 300px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 18px 40px -18px rgba(7,23,48,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; text-decoration: none; border-radius: 4px; font-weight: 600; color: var(--navy); }
.sub a:hover { background: var(--mist); }
.sub .ic { width: 22px; height: 22px; color: var(--orange-deep); }
.sub small { display: block; font-weight: 400; color: var(--slate); font-size: .85rem; }
.header__cta { padding: .8em 1.1em; font-size: .95rem; }
.nav__cta { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.menu-btn .ic { width: 28px; height: 28px; }

/* Hero -------------------------------------------------------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: min(78vh, 700px); }
.hero__text { padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 56px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); position: relative; z-index: 2; align-self: center; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero__hi { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--orange); margin-bottom: .9em; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #C9D6E8; max-width: 46ch; margin-bottom: 1.8em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__where { display: flex; gap: 8px; align-items: flex-start; margin: 1.8em 0 0; color: #A9BBD4; font-size: .95rem; max-width: 44ch; }
.hero__where .ic { color: var(--orange); margin-top: .22em; }
.hero__photo { position: relative; min-height: 340px; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy) 0%, rgba(12,36,71,.55) 22%, rgba(12,36,71,0) 55%); }
.swoosh { position: absolute; z-index: 2; left: -4%; bottom: 7%; width: 84%; pointer-events: none; }
.swoosh path { fill: var(--orange); }
.swoosh { clip-path: inset(0 100% 0 0); animation: draw 1.25s cubic-bezier(.6,.05,.2,1) .35s forwards; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }

/* Stair riser strip (their staircase branding) --------------- */
.riser { background: var(--white); border-bottom: 1px solid var(--line); }
.riser ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.riser a {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 10px;
  font: 750 1.05rem/1.1 var(--display); font-stretch: 112%; color: var(--navy); text-decoration: none;
  border-left: 1px solid var(--line);
}
.riser li:first-child a { border-left: 0; }
.riser a:hover { background: var(--mist); color: var(--orange-deep); }
.riser .ic { color: var(--orange-deep); width: 22px; height: 22px; }

/* The staircase: four programmes as climbing steps ----------- */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: end; }
.step {
  background: var(--navy); color: #D5E0EF; padding: 26px 24px 30px;
  border-top: 6px solid var(--orange); position: relative;
  display: flex; flex-direction: column; text-decoration: none;
  transition: background .15s;
}
.step:hover { background: var(--night); }
.step:nth-child(1) { min-height: 300px; }
.step:nth-child(2) { min-height: 360px; }
.step:nth-child(3) { min-height: 420px; }
.step:nth-child(4) { min-height: 480px; }
.step + .step { border-left: 1px solid rgba(255,255,255,.14); }
.step__for { color: var(--orange); font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.step__name { font: 800 clamp(1.5rem, 2.4vw, 2.1rem)/1.05 var(--display); font-stretch: 116%; color: var(--white); margin: 0 0 12px; }
.step p { margin: 0; font-size: .98rem; }
.step__go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }
.step__go .ic { color: var(--orange); }
@media (min-width: 1021px) {
  .stairs-head { max-width: 540px; margin-bottom: 0; }
  .stairs { margin-top: -84px; }
}
.stairs-note { margin-top: 22px; color: var(--slate); }

/* Classroom / features --------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.facts { display: grid; gap: 22px; margin-top: 30px; }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.facts .ic { width: 44px; height: 44px; padding: 10px; background: var(--mist); color: var(--navy); border-radius: var(--r); }
.section--mist .facts .ic { background: var(--white); }
.facts h3 { margin: 0 0 2px; font-size: 1.1rem; }
.facts p { margin: 0; color: var(--slate); }
.collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.collage .a { grid-row: span 2; aspect-ratio: 4 / 5; }
.collage .b { aspect-ratio: 4 / 3; }
.collage .c { aspect-ratio: 4 / 3; }
.photo { border-radius: var(--r); width: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--slate); margin-top: 8px; }

/* Test series band ------------------------------------------- */
.edge { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.edge__price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 26px; font-family: var(--display); }
.edge__price strong { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 850; font-stretch: 118%; color: var(--orange); line-height: 1; }
.edge__price s { color: #9FB2CC; font-size: 1.3rem; }
.edge__price span { color: var(--white); font-weight: 600; }
.ticks { display: grid; gap: 10px; margin: 0 0 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--orange); margin-top: .25em; }
.phone { width: min(100%, 300px); margin-inline: auto; border: 10px solid #020A17; border-radius: 34px; overflow: hidden; background: #020A17; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.phone img { width: 100%; aspect-ratio: 717 / 1500; object-fit: cover; object-position: top; }

/* Student videos --------------------------------------------- */
.voices { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.voices__vids { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.vid { border-radius: var(--r); overflow: hidden; background: var(--night); }
.vid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.vid:nth-child(2) { margin-top: 48px; }

/* Admission steps (a real sequence, so numbered) ------------- */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--navy); }
.howto li { counter-increment: s; padding: 26px 28px 8px 0; position: relative; }
.howto li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.howto li::before { content: counter(s); display: block; font: 850 3.2rem/1 var(--display); font-stretch: 120%; color: var(--orange); margin-bottom: 12px; }
.howto p { color: var(--slate); margin: 0; }

/* Enquiry ----------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.enquiry { background: var(--white); border-radius: 10px; padding: clamp(22px, 3vw, 34px); border-top: 6px solid var(--orange); box-shadow: 0 24px 60px -34px rgba(7,23,48,.5); color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: .95rem; }
.field input, .field select {
  width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245,130,31,.35); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--slate); margin: 12px 0 0; text-align: center; }
.form-error { background: #FDECEC; color: #8A1C1C; padding: 10px 14px; border-radius: var(--r); font-weight: 500; }
.reach { display: grid; gap: 18px; margin-top: 28px; }
.reach li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.reach .ic { width: 24px; height: 24px; color: var(--orange); margin-top: 3px; }
.reach a { color: inherit; font-weight: 600; text-decoration: none; }
.reach a:hover { color: var(--orange); }
.reach strong { display: block; color: var(--white); font-family: var(--display); font-stretch: 106%; }
.section--mist .reach strong, .section:not(.section--navy) .reach strong { color: var(--navy); }
.map { background: var(--white); width: 100%; height: 340px; border: 0; border-radius: var(--r); margin-top: 28px; }

/* Inner page header ------------------------------------------ */
.pagehead { background: var(--navy); color: #C9D6E8; padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 68px); border-bottom: 6px solid var(--orange); }
.pagehead h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; }
.pagehead .lead { color: #C9D6E8; margin: 0; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: #9FB2CC; }
.crumbs a { color: #C9D6E8; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 6px; }
.pagehead__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pagehead--split .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, 400px); gap: clamp(32px, 5vw, 64px); align-items: center; }

/* Programme page bits ---------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chips li { padding: 6px 14px; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.batches { border-top: 2px solid var(--navy); }
.batches li { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.batches h3 { margin: 0; }
.batches p { margin: 0; color: var(--slate); }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font: 700 1.1rem/1.3 var(--display); font-stretch: 104%; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.7rem; font-weight: 400; color: var(--orange-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); padding: 0 40px 20px 0; margin: 0; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.others a { padding: 22px 22px 22px 0; text-decoration: none; display: block; }
.others a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.others strong { display: block; font: 750 1.3rem/1.1 var(--display); font-stretch: 112%; color: var(--navy); }
.others span { color: var(--slate); font-size: .95rem; }
.others a:hover strong { color: var(--orange-deep); }

/* Course list (courses page) --------------------------------- */
.courselist { border-top: 2px solid var(--navy); }
.courselist li { display: grid; grid-template-columns: 64px minmax(0, 300px) 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.courselist .ic { width: 56px; height: 56px; padding: 13px; background: var(--navy); color: var(--orange); border-radius: var(--r); }
.courselist h2 { font-size: 1.7rem; margin: 0; }
.courselist small { color: var(--orange-deep); font-weight: 600; font-size: .95rem; }
.courselist p { margin: 0; color: var(--slate); }

/* About ------------------------------------------------------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--navy); }
.pair > div { padding: 28px 32px 8px 0; }
.pair > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.founder { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder__ph { aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--navy); display: grid; place-items: center; color: var(--orange); font: 850 4.5rem/1 var(--display); font-stretch: 120%; position: relative; overflow: hidden; }
.founder__ph small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font: 500 .85rem var(--body); color: #9FB2CC; }
.founder blockquote { margin: 0 0 18px; font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1.3 var(--display); font-stretch: 104%; color: var(--navy); }
.founder cite { font-style: normal; color: var(--slate); }
.founder cite strong { color: var(--navy); display: block; }

/* Campus gallery --------------------------------------------- */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin: 0 0 14px; position: relative; }
.gallery img { width: 100%; border-radius: var(--r); }
.gallery figcaption { margin: 8px 2px 6px; }

/* CTA band ---------------------------------------------------- */
.cta-band { background: var(--orange); color: var(--night); padding: clamp(36px, 5vw, 56px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: var(--night); margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 22ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--line { border-color: var(--night); color: var(--night); }
.cta-band .btn--line:hover { background: rgba(7,23,48,.1); }

/* Prose (privacy etc.) --------------------------------------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.bigtick { width: 84px; height: 84px; padding: 20px; border-radius: 50%; background: var(--orange); color: var(--night); margin: 0 auto 24px; }

/* Footer ------------------------------------------------------ */
.site-footer { background: var(--night); color: #AFC0D8; padding-top: clamp(48px, 6vw, 80px); font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 150px; background: var(--white); padding: 12px; border-radius: var(--r); margin-bottom: 18px; }
.footer__tag { color: var(--white); font: 700 1.1rem/1.3 var(--display); font-stretch: 106%; margin-bottom: 6px; }
.footer__brand .hi { color: var(--orange); }
.footer__h { font-size: 1rem; color: var(--white); margin-bottom: 14px; font-stretch: 106%; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer__phones { display: grid; gap: 6px; margin: 16px 0; }
.footer__phones a, .footer__social { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer__base p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1FAF54; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.wa-float .ic { width: 28px; height: 28px; }
.mobile-bar { display: none; }

/* ============================================================
   Smaller screens
   ============================================================ */
@media (max-width: 1020px) {
  .menu-btn { display: block; margin-left: 4px; }
  .site-header__in { gap: 12px; min-height: 66px; }
  .brand img { height: 40px; }
  .brand__text strong { font-size: 1.3rem; }
  .brand__text span { font-size: .64rem; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--white); z-index: 60;
    padding: 76px 22px 30px; transform: translateX(100%); transition: transform .25s; overflow-y: auto; margin: 0;
    box-shadow: -30px 0 60px -30px rgba(7,23,48,.6); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 600; border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--orange-deep); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; width: auto; border: 0; box-shadow: none; padding: 4px 0 8px; }
  .nav__cta { display: flex; margin-top: 22px; }
  .menu-btn.is-open { position: fixed; right: 14px; top: 46px; z-index: 70; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stairs { grid-template-columns: 1fr 1fr; }
  .step:nth-child(n) { min-height: 0; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top-color: rgba(255,255,255,.14); border-top-width: 1px; }
}

@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .site-footer { padding-bottom: 62px; }
  .topbar p { font-size: .84rem; }
  .header__cta { display: none; }
  .menu-btn { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 44px var(--gutter) 30px; }
  .hero__photo { min-height: 0; aspect-ratio: 5 / 4; }
  .hero__photo::before { background: linear-gradient(180deg, var(--navy) 0%, rgba(12,36,71,0) 40%); }
  .swoosh { left: 6%; bottom: 6%; width: 86%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .riser ul { grid-template-columns: 1fr 1fr; }
  .riser a { padding: 16px 8px; font-size: .98rem; }
  .riser li:nth-child(3) a { border-left: 0; }
  .riser li:nth-child(n+3) a { border-top: 1px solid var(--line); }
  .stairs { grid-template-columns: 1fr; }
  .step { padding: 22px 20px 24px; border-left: 0 !important; }
  .step:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.14); }
  .step:nth-child(1) { border-top: 6px solid var(--orange); }
  .step__go { padding-top: 14px; }
  .split, .edge, .voices, .contact, .founder, .pagehead--split .wrap { grid-template-columns: 1fr; }
  .founder__ph { max-width: 260px; }
  .howto { grid-template-columns: 1fr; }
  .howto li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .howto li { padding: 22px 0; }
  .batches li { grid-template-columns: 1fr; gap: 6px; }
  .others, .pair { grid-template-columns: 1fr; }
  .others a + a, .pair > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pair > div { padding-right: 0; }
  .courselist li { grid-template-columns: 56px 1fr; gap: 14px 16px; }
  .courselist li > p, .courselist li > a { grid-column: 1 / -1; }
  .courselist .ic { width: 52px; height: 52px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .vid:nth-child(2) { margin-top: 28px; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(7,23,48,.5);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 17px 6px; font: 700 .98rem/1 var(--display); text-decoration: none; color: var(--navy); }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar .is-main { background: var(--orange); color: var(--night); border-left: 0; }
  .cta-band .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swoosh { animation: none; clip-path: none; }
  * { transition: none !important; }
}
