/* ═══════════════════════════════════════════════════════════════════════
   ns-home.css — the home page only (Home::index sets $ns_page = 'home',
   head.php then loads this file and the Poppins + Inter fonts).

   1. Type: Poppins ExtraBold headings, Inter text — the pairing of the
      reference layout the owner chose. Swapped by redefining the theme's
      own font variables on <main>, so the nav and footer stay as they are
      on every other page.
   2. Hero: faculty photo in a framed card, the Bottom Slider badges
      (admin > Frontend Section > Manage Bottom Slider) floating around it.
   3. "The usual way vs the NS way" comparison, at the end of the
      "Our promise, in writing" section.
   ═══════════════════════════════════════════════════════════════════════ */

/* ───────── 1. TYPE ───────── */
.ns-theme #main{
  --display:"Poppins","Segoe UI",Helvetica,Arial,sans-serif;
  --body:"Inter","Segoe UI",Helvetica,Arial,sans-serif;
  --label:"Inter","Segoe UI",Helvetica,Arial,sans-serif;
  font-family:var(--body);
}
.ns-theme #main h1,
.ns-theme #main h2,
.ns-theme #main h3{letter-spacing:-.025em}
.ns-theme #main .title{font-weight:800;line-height:1.08}
/* The theme's gold/blue emphasis was Playfair italic; Poppins is set upright
   and heavy, with the same gradient ink — as on the reference layout. */
.ns-theme #main .title em{font-style:normal;font-weight:800}
.ns-theme #main .svc h3,
.ns-theme #main .bcard h3,
.ns-theme #main .vcard h3,
.ns-theme #main .tp__card h3{font-weight:700}

/* ───────── 2. HERO ───────── */
.ns-theme .hero--home{min-height:0;padding-bottom:clamp(40px,6vw,84px)}
.ns-theme .hero--home .hero__inner{grid-template-columns:1.05fr .95fr;align-items:center;padding-bottom:0}

.ns-theme .hh-kicker{
  display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;padding:8px 16px 8px 13px;
  border-radius:100px;border:1px solid var(--line-2);background:rgba(255,255,255,.78);
  font-family:var(--label);font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-2);
  box-shadow:var(--sh-sm);
}
.ns-theme .hh-kicker i{font-style:normal;color:var(--gold-2)}

.ns-theme .hero__title.hh-title{
  font-size:clamp(34px,4.6vw,64px);font-weight:800;line-height:1.04;letter-spacing:-.035em;color:var(--text);
}
.ns-theme .hh-title .hh-grad{
  background:linear-gradient(100deg,#1B4B96 0%,#2C63B5 38%,#A8801F 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.ns-theme .hh-sub{margin-top:24px;max-width:54ch;font-size:clamp(16px,1.3vw,18px);line-height:1.7}

.ns-theme .hh-creds{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.ns-theme .hh-creds li{
  display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:100px;
  background:#fff;border:1px solid var(--line-2);box-shadow:var(--sh-sm);
  font-size:14px;font-weight:600;color:var(--text);
}
.ns-theme .hh-creds svg{width:16px;height:16px;flex:none;color:var(--blue-2)}

.ns-theme .hh-cta{margin-top:30px}

.ns-theme .hh-rating{
  display:flex;align-items:center;gap:14px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line-2);max-width:560px;
}
.ns-theme .hh-rating__ico{
  flex:none;width:52px;height:52px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(135deg,#FBF1D6,#F3DFA8);color:#A8801F;
}
.ns-theme .hh-rating__ico svg{width:24px;height:24px}
.ns-theme .hh-rating p{margin:0}
.ns-theme .hh-rating__score{display:flex;align-items:center;gap:10px;line-height:1}
.ns-theme .hh-rating__score b{font-family:var(--display);font-size:26px;font-weight:800;color:var(--text);letter-spacing:-.02em}
.ns-theme .hh-stars{color:#E0A726;font-size:19px;letter-spacing:2px}
.ns-theme .hh-rating__txt{margin-top:5px !important;font-size:15px;color:var(--muted)}

/* photo card */
.ns-theme .hh-visual{position:relative;width:100%;max-width:470px;margin-inline:auto;padding:26px 0 30px}
.ns-theme .hh-tile{
  position:absolute;z-index:0;top:0;right:-22px;width:62%;height:48%;border-radius:36px;
  background:linear-gradient(135deg,rgba(44,99,181,.22),rgba(217,180,92,.28));
}
.ns-theme .hh-photo{
  position:relative;z-index:1;margin:0;border-radius:40px;overflow:hidden;aspect-ratio:580/750;
  background:#d9dade;border:8px solid rgba(255,255,255,.85);
  box-shadow:0 40px 80px -36px rgba(15,39,69,.55),0 6px 18px rgba(15,39,69,.08);
}
.ns-theme .hh-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 12%}

/* badges */
.ns-theme .hh-badges{list-style:none;margin:0;padding:0}
.ns-theme .hh-badge{
  position:absolute;z-index:2;display:flex;align-items:center;gap:12px;
  padding:12px 16px 12px 12px;border-radius:18px;background:rgba(255,255,255,.96);
  border:1px solid rgba(15,39,69,.07);box-shadow:0 18px 40px -18px rgba(15,39,69,.45);
  max-width:240px;
  animation:hh-float 6s ease-in-out infinite;
}
.ns-theme .hh-badge__ico{
  flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg,#EAF1FB,#F6EBCB);color:var(--blue-2);
}
.ns-theme .hh-badge__ico img{width:26px;height:26px;object-fit:contain}
.ns-theme .hh-badge__ico svg{width:20px;height:20px}
.ns-theme .hh-badge__ico.is-noimg::before{
  content:"";width:20px;height:20px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ns-theme .hh-badge__copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.ns-theme .hh-badge__copy b{font-family:var(--display);font-size:13.5px;font-weight:700;line-height:1.25;color:var(--text);letter-spacing:-.01em}
.ns-theme .hh-badge__copy em{font-style:normal;font-size:12.5px;line-height:1.3;color:var(--muted)}

/* around the photo: top-right corner, left edge high, right edge low,
   bottom-left corner — clear of the face and the tablet */
.ns-theme .hh-badge--1{top:0;right:-34px;animation-delay:0s}
.ns-theme .hh-badge--2{top:30%;left:-62px;animation-delay:-1.5s}
.ns-theme .hh-badge--3{top:58%;right:-48px;animation-delay:-3s}
.ns-theme .hh-badge--4{bottom:0;left:-30px;animation-delay:-4.5s}
@keyframes hh-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* stacked layout: photo under the copy, badges as a grid below it */
@media (max-width:1180px){
  .ns-theme .hero--home .hero__inner{grid-template-columns:1fr;gap:44px}
  .ns-theme .hh-visual{max-width:520px}
  .ns-theme .hh-badge--1{right:-14px}
  .ns-theme .hh-badge--2{left:-18px}
  .ns-theme .hh-badge--3{right:-18px}
  .ns-theme .hh-badge--4{left:-10px}
}
@media (max-width:640px){
  .ns-theme .hero__title.hh-title{font-size:clamp(31px,9.2vw,44px)}
  .ns-theme .hh-kicker{font-size:10px;letter-spacing:.12em;gap:8px;padding:7px 12px 7px 10px}
  .ns-theme .hh-creds li{font-size:13px;padding:8px 13px}
  .ns-theme .hh-visual{padding:18px 0 0}
  .ns-theme .hh-tile{right:-8px}
  .ns-theme .hh-photo{border-radius:30px;border-width:6px}
  .ns-theme .hh-badges{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
  .ns-theme .hh-badge{position:static;max-width:none;animation:none;padding:10px;gap:9px;border-radius:14px}
  .ns-theme .hh-badge__ico{width:36px;height:36px;border-radius:10px}
  .ns-theme .hh-badge__ico img{width:22px;height:22px}
  .ns-theme .hh-badge__copy b{font-size:12.5px}
  .ns-theme .hh-badge__copy em{font-size:11.5px}
}
@media (prefers-reduced-motion:reduce){.ns-theme .hh-badge{animation:none}}

/* ───────── 3. THE USUAL WAY vs THE NS WAY ─────────
   Closes the "Our promise, in writing" section, under the four promise cards. */
.ns-theme .hh-cmp-head{
  position:relative;z-index:1;text-align:center;max-width:720px;
  margin:clamp(44px,5vw,72px) auto 0;
}
.ns-theme .hh-cmp-head h3{font-size:clamp(22px,2.4vw,32px);font-weight:800;line-height:1.15;color:var(--text)}
.ns-theme .hh-cmp-head h3 em{
  font-style:normal;background:var(--accent-text);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.ns-theme .hh-cmp-head p{margin:10px auto 0;max-width:56ch;color:var(--muted);font-size:clamp(15px,1.2vw,17px);line-height:1.65}
.ns-theme .hh-cmp{position:relative;z-index:1}
.ns-theme .hh-cmp{
  max-width:980px;margin:clamp(26px,3vw,40px) auto 0;border-radius:24px;overflow:hidden;
  background:#fff;border:1px solid var(--line-2);box-shadow:0 30px 70px -40px rgba(15,39,69,.4);
}
.ns-theme .hh-cmp__row{display:grid;grid-template-columns:.8fr 1fr 1.25fr;align-items:stretch}
.ns-theme .hh-cmp__row + .hh-cmp__row{border-top:1px solid var(--line)}
.ns-theme .hh-cmp__row > *{padding:18px 22px;font-size:15px;line-height:1.5}
.ns-theme .hh-cmp__row b{font-family:var(--display);font-weight:700;color:var(--text);font-size:15px}
.ns-theme .hh-cmp__usual{color:var(--muted);position:relative;padding-left:46px !important}
.ns-theme .hh-cmp__usual::before{
  content:"\2715";position:absolute;left:20px;top:18px;width:18px;height:18px;border-radius:50%;
  display:grid;place-items:center;font-size:9px;font-weight:700;color:#A83714;background:#F6E1DA;
}
.ns-theme .hh-cmp__ns{
  position:relative;padding-left:48px !important;font-weight:600;color:var(--text);
  background:linear-gradient(90deg,rgba(234,241,251,.9),rgba(246,235,203,.35));
}
.ns-theme .hh-cmp__ns::before{
  content:"\2713";position:absolute;left:20px;top:17px;width:20px;height:20px;border-radius:50%;
  display:grid;place-items:center;font-size:11px;font-weight:800;color:#fff;background:var(--blue-2);
}
.ns-theme .hh-cmp__row--head > *{
  padding-top:16px;padding-bottom:16px;font-family:var(--label);font-size:11.5px !important;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
}
.ns-theme .hh-cmp__row--head .hh-cmp__usual::before,
.ns-theme .hh-cmp__row--head .hh-cmp__ns::before{content:none}
.ns-theme .hh-cmp__row--head .hh-cmp__usual,
.ns-theme .hh-cmp__row--head .hh-cmp__ns{padding-left:22px !important}
.ns-theme .hh-cmp__row--head .hh-cmp__ns{color:var(--blue-2)}
@media (max-width:760px){
  .ns-theme .hh-cmp__row{grid-template-columns:1fr 1fr}
  .ns-theme .hh-cmp__row > b{grid-column:1 / -1;padding-bottom:4px}
  .ns-theme .hh-cmp__row--head > span:first-child{display:none}
  .ns-theme .hh-cmp__row > *{padding:12px 14px;font-size:14px}
  .ns-theme .hh-cmp__usual{padding-left:40px !important}
  .ns-theme .hh-cmp__ns{padding-left:42px !important}
  .ns-theme .hh-cmp__usual::before,.ns-theme .hh-cmp__ns::before{left:14px;top:13px}
}
@media (max-width:480px){
  .ns-theme .hh-cmp__row{grid-template-columns:1fr}
  .ns-theme .hh-cmp__row--head{display:none}
  .ns-theme .hh-cmp__row > b{padding-top:14px}
}
