/* ===== GMCANA v6 — professional design layer (loads after style.css) ===== */
:root {
  --ac: #0b5aa2;
  --ac-d: #062a4d;
  --ac-l: #eaf3fb;
  --pat: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.6px);
}
body {
  font-size: 16px;
  line-height: 1.75;
}
.section {
  padding: 84px 0;
  content-visibility: visible;
}
.section.tight {
  padding: 56px 0;
}
.sec-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.eyebrow {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }
  .section.tight {
    padding: 34px 0;
  }
}

/* ---- page families: each group of pages gets its own colour + hero pattern ---- */
body[data-page="leadership.html"],
body[data-page="presidents.html"],
body[data-page="chairpersons.html"],
body[data-page="executive-committee.html"],
body[data-page="board-of-trustees.html"],
body[data-page="principals.html"],
body[data-page="superintendents.html"] {
  --ac: #0b5aa2;
  --ac-d: #062a4d;
  --ac-l: #eaf3fb;
  --pat: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 22px);
}
body[data-page="projects.html"],
body[data-page="gmc-ggh-projects.html"],
body[data-page="kanuri-gmcana.html"],
body[data-page="podila-gmcana.html"],
body[data-page="auditorium.html"],
body[data-page="renovation-projects.html"] {
  --ac: #0b5aa2;
  --ac-d: #062a4d;
  --ac-l: #eaf3fb;
  --pat:
    radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.14) 0 60px, transparent 61px),
    radial-gradient(circle at 90% -10%, rgba(255, 255, 255, 0.1) 0 90px, transparent 91px);
}
body[data-page="history-of-gmc.html"],
body[data-page="history-of-gmcana.html"],
body[data-page="statues.html"],
body[data-page="portraits.html"],
body[data-page="about.html"],
body[data-page="vision-mission.html"],
body[data-page="reunions.html"],
body[data-page="gmc-batches.html"] {
  --ac: #0b5aa2;
  --ac-d: #062a4d;
  --ac-l: #eaf3fb;
  --pat: repeating-linear-gradient(45deg, rgba(242, 181, 58, 0.1) 0 1px, transparent 1px 16px);
}
body[data-page="books.html"],
body[data-page="souvenirs.html"],
body[data-page="gallery.html"],
body[data-page="media.html"],
body[data-page="homecoming-2026.html"],
body[data-page="downloads.html"] {
  --ac: #0b5aa2;
  --ac-d: #062a4d;
  --ac-l: #eaf3fb;
  --pat: radial-gradient(rgba(255, 255, 255, 0.14) 2px, transparent 2.2px);
}
body[data-page="membership.html"],
body[data-page="why-join.html"],
body[data-page="benefits-services.html"],
body[data-page="donor-guide.html"],
body[data-page="contact.html"],
body[data-page="faq.html"],
body[data-page="login.html"],
body[data-page="bylaws.html"] {
  --ac: #0b5aa2;
  --ac-d: #062a4d;
  --ac-l: #eaf3fb;
  --pat:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

/* ---- new split hero ---- */
.p-hero {
  background: linear-gradient(115deg, var(--ac-d) 40%, var(--ac));
  min-height: 340px;
  display: flex;
  align-items: center;
}
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pat);
  background-size: 26px 26px;
  z-index: -1;
}
.p-hero::after {
  display: none;
}
.p-hero .bgimg {
  inset: 0 0 0 auto;
  width: 44%;
  height: 100%;
  opacity: 1;
  z-index: 0;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  filter: saturate(1.05);
}
.p-hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: 76px 70px;
  width: 100%;
}
.p-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.p-hero p {
  max-width: 46ch;
  color: #e3edf8;
}
.p-hero h1,
.p-hero p,
.crumbs {
  max-width: min(52%, 600px);
}
.crumbs a {
  color: var(--gold);
}
@media (max-width: 767px) {
  .p-hero {
    display: block;
    min-height: 0;
  }
  .p-hero .bgimg {
    position: relative;
    width: 100%;
    height: 170px;
    clip-path: none;
    display: block;
  }
  .p-hero .wrap {
    padding-block: 26px 30px;
  }
  .p-hero h1,
  .p-hero p,
  .crumbs {
    max-width: none;
  }
  .p-hero h1 {
    font-size: 1.8rem;
  }
}

/* ---- portrait people cards (big rectangular photos, not small circles) ---- */
.row:has(> * > .person) {
  justify-content: center;
  row-gap: 24px;
}
.row > [class*="col"]:has(> .person) {
  flex: 0 0 auto;
}
@media (min-width: 992px) {
  .row > [class*="col-lg-4"]:has(> .person) {
    width: 25%;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .row > [class*="col-sm-6"]:has(> .person) {
    width: 33.333%;
  }
}
@media (max-width: 575px) {
  .row > [class*="col"]:has(> .person) {
    width: 50%;
  }
}
.person {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px -20px rgba(6, 42, 77, 0.55);
  position: relative;
  text-align: left;
}
.person::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ac), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.person .av,
.person.big .av {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  border-radius: 0;
  border: 0;
  object-fit: cover;
  object-position: 50% 12%;
  background: var(--ac-l);
  transition: transform 0.6s;
}
.person .av.ini {
  font-size: 3.2rem;
  background: linear-gradient(145deg, var(--ac-l), #fff);
}
.person > div {
  padding: 15px 16px 18px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.person h3 {
  font-size: 1.02rem;
  margin: 0 0 5px;
  color: var(--navy);
}
.person .role {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ac);
  background: var(--ac-l);
  padding: 3px 10px;
  border-radius: 999px;
}
.person .meta {
  display: block;
  margin-top: 6px;
}
@media (max-width: 575px) {
  .person h3 {
    font-size: 0.9rem;
  }
  .person > div {
    padding: 12px;
  }
}

/* ---- generic polish ---- */
.card-g {
  border: 0;
  box-shadow: 0 14px 34px -22px rgba(6, 42, 77, 0.5);
  border-radius: 20px;
}
.btn-g {
  padding: 12px 24px;
  font-size: 0.92rem;
}
.cta-band {
  border-radius: 28px;
  padding: 56px;
  background: linear-gradient(120deg, var(--ac-d), var(--ac));
}
.section:nth-of-type(even) {
  background: #fff;
}
.prose p {
  font-size: 1.06rem;
}

/* ---- HOME ---- */
.h6 {
  padding: 50px 0;
}
.h6.alt {
  background: #fff;
}
.h6.ice {
  background: #eef4fa;
}
.h6 .head {
  max-width: 720px;
  margin-bottom: 46px;
}
.h6 .head.c {
  margin-inline: auto;
  text-align: center;
}
.h6 h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.h6 .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 60ch;
}
.h6-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.stat6 {
  display: grid;
  gap: 14px;
}
.stat6 div {
  background: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 14px 34px -22px rgba(6, 42, 77, 0.5);
  border-left: 5px solid var(--gold);
}
.stat6 b {
  font-family: var(--f-display);
  font-size: 2.7rem;
  line-height: 1;
  color: var(--navy);
  min-width: 150px;
}
.stat6 span {
  color: var(--muted);
  font-weight: 600;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.trio article {
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px -22px rgba(6, 42, 77, 0.45);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.trio article i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ac-l);
  color: var(--seal);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.trio h3 {
  font-size: 1.25rem;
}
.trio p {
  color: var(--muted);
  margin: 0;
}
.legacy {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.legacy .pic {
  position: relative;
}
.legacy .pic img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 60px -28px rgba(6, 42, 77, 0.7);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.legacy .pic::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 3px solid var(--gold);
  border-radius: 24px;
  z-index: -1;
}
.legacy .pic span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(6, 42, 77, 0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
}
.tl {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  border-left: 3px solid var(--ice);
  display: grid;
  gap: 18px;
}
.tl li {
  position: relative;
  padding-left: 26px;
}
.tl li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}
.tl b {
  display: block;
  color: var(--navy);
}
.tl span {
  color: var(--muted);
}
.g6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.g6 a {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #cfd9e4;
  display: block;
}
.g6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.g6 span {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 18px 16px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}
.statband {
  background: linear-gradient(120deg, #062a4d, #0b5aa2);
  color: #fff;
  padding: 64px 0;
}
.statband .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.statband b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--gold);
  line-height: 1;
}
.statband span {
  opacity: 0.85;
  font-weight: 600;
}
.feat6 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.feat6 img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(6, 42, 77, 0.7);
}
.feat6 blockquote {
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 22px 0;
}
.pj6 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pj6 a {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  display: block;
  background: #0b1b2e;
}
.pj6 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s,
    opacity 0.4s;
  opacity: 0.92;
}
.pj6 div {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 20px 20px;
  background: linear-gradient(transparent, rgba(3, 18, 36, 0.92));
}
.pj6 b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.2;
}
.pj6 small {
  opacity: 0.85;
}
.pj6 em {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold);
}
.lib6 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.mem6 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mem6 a {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  color: var(--ink);
  box-shadow: 0 14px 34px -22px rgba(6, 42, 77, 0.5);
  transition: 0.3s;
  display: block;
}
.mem6 i.ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.mem6 b {
  display: block;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.mem6 span {
  color: var(--muted);
  font-size: 0.92rem;
  display: block;
}
.mem6 em {
  font-style: normal;
  color: var(--seal);
  font-weight: 700;
  margin-top: 14px;
  display: inline-block;
}
.nl6 {
  margin-top: 48px;
  background: linear-gradient(120deg, #062a4d, #0b5aa2);
  border-radius: 28px;
  padding: 40px 48px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #fff;
}
.nl6 h3 {
  color: #fff;
  margin: 0;
  font-size: 1.6rem;
}
.nl6 form {
  display: flex;
  gap: 10px;
  flex: 1 1 340px;
  max-width: 480px;
}
.nl6 input {
  border-radius: 999px;
  border: 0;
  padding: 12px 20px;
}
@media (max-width: 991px) {
  .h6 {
    padding: 56px 0;
  }
  .h6-intro,
  .legacy,
  .feat6 {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .trio,
  .statband .wrap,
  .g6 {
    grid-template-columns: 1fr;
  }
  .g6 {
    grid-template-columns: 1fr 1fr;
  }
  .pj6,
  .lib6,
  .mem6 {
    grid-template-columns: 1fr 1fr;
  }
  .legacy .pic {
    max-width: 340px;
  }
  .nl6 {
    padding: 28px 22px;
  }
  .stat6 b {
    font-size: 2.1rem;
    min-width: 110px;
  }
}
@media (max-width: 480px) {
  .pj6,
  .lib6 {
    gap: 12px;
  }
  .g6 {
    gap: 10px;
  }
  .mem6 {
    grid-template-columns: 1fr;
  }
}

/* ---- BOOKS ---- */
.bk-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.bk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bk-chips button {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  transition: 0.2s;
}
.bk-chips button.on,
.bk-chips button:hover {
  background: var(--ac);
  border-color: var(--ac);
  color: #fff;
}
.bk-search {
  position: relative;
  flex: 0 1 300px;
}
.bk-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.bk-search input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 42px;
  font-size: 0.92rem;
  outline: 0;
}
.bk-search input:focus {
  border-color: var(--ac);
}
.bk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 34px 28px;
}
.bk {
  display: block;
  color: var(--ink);
  text-align: left;
}
.bk-cover {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px 12px 12px 4px;
  overflow: hidden;
  background: #0b1b2e;
  box-shadow:
    0 22px 34px -18px rgba(6, 42, 77, 0.7),
    inset 6px 0 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
  transform-style: preserve-3d;
}
.bk-cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.12) 60%, transparent);
  z-index: 2;
}
.bk-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.bk-cover.gen {
  background: linear-gradient(160deg, var(--ac-d), var(--ac));
  color: #fff;
  padding: 26px 22px 22px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bk-cover.gen small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.62rem;
  opacity: 0.8;
  font-weight: 700;
}
.bk-cover.gen strong {
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1.12;
  display: block;
  margin: 10px 0;
}
.bk-cover.gen em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}
.bk-cover.gen::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 18px solid rgba(242, 181, 58, 0.25);
}
.bk-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ac);
  background: var(--ac-l);
  padding: 3px 10px;
  border-radius: 999px;
}
.bk h3 {
  font-family: var(--f-display);
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 8px 0 4px;
  color: var(--navy);
}
.bk p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.bk-none {
  display: none;
  text-align: center;
  padding: 40px;
  color: var(--muted);
}
.book-hero {
  background: linear-gradient(115deg, var(--ac-d) 45%, var(--ac));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #e3edf8;
}
.book-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pat);
  background-size: 26px 26px;
  z-index: -1;
}
.book-hero .wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 60px 70px;
}
.bk-3d {
  perspective: 900px;
}
.bk-3d .bk-cover {
  box-shadow:
    0 40px 60px -26px #000,
    inset 6px 0 0 rgba(255, 255, 255, 0.18);
  cursor: zoom-in;
  transition: transform 0.15s;
}
.book-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  margin: 10px 0 10px;
}
.book-hero .by {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.chips6 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}
.chips6 span {
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.book-hero .btn-line {
  border-color: rgba(255, 255, 255, 0.6);
}
.pages6 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.pages6 a {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(6, 42, 77, 0.6);
  position: relative;
  background: #e6edf4;
  aspect-ratio: 3/4;
  display: block;
}
.pages6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.pages6 b {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(6, 42, 77, 0.88);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 999px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.facts div {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px -18px rgba(6, 42, 77, 0.5);
}
.facts small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.facts b {
  color: var(--navy);
  font-size: 1.05rem;
}
.bk-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .book-hero .wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 34px 44px;
    justify-items: start;
  }
  .bk-3d {
    width: 210px;
  }
  .bk-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 14px;
  }
}
.bg-ice .eyebrow,
.bg-navy .eyebrow {
  background: none !important;
  padding: 0;
}
.bg-navy .eyebrow {
  color: var(--gold);
}

/* ===== V7 : requested fixes ===== */
/* normal font weight everywhere (no bold) */
*,
*::before,
*::after {
  font-weight: 400 !important;
}

/* top yellow strip: mail, call, clock, login/register */
.strip {
  font-size: 0.82rem;
  white-space: nowrap;
}
.strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-block: 7px;
}
.strip .s-left,
.strip .s-right {
  display: flex;
  align-items: center;
  gap: 6px 20px;
  min-width: 0;
}
.strip a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
}
.strip a:hover {
  text-decoration: underline;
}
.strip .clock {
  display: inline-flex;
  align-items: end;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.strip .sl {
  opacity: 0.6;
  margin-inline: -10px;
}
.strip .reg {
  background: var(--navy);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
}
.strip .reg:hover {
  color: var(--gold);
  text-decoration: none;
}
@media (max-width: 1199px) {
  .strip .reg {
    display: none;
  }
}
@media (max-width: 991px) {
  .strip {
    white-space: normal;
    font-size: 0.72rem;
  }
  .strip .wrap {
    animation: none !important;
    width: auto !important;
    max-width: 100% !important;
    flex-wrap: wrap;
    padding: 6px 14px !important;
    gap: 3px 14px !important;
  }
  .strip .s-left {
    flex-wrap: wrap;
    gap: 2px 14px;
  }
}
@media (max-width: 560px) {
  .strip .s-left a:first-child {
    flex: 1 0 100%;
  }
  .strip .s-right {
    margin-left: auto;
  }
}

/* bigger logo */
.site-header .wrap {
  height: 88px;
  --header-h: 78px;
}
.brand img {
  height: 70px;
}
.nav-main > li > a,
.nav-main > li > button {
  font-size: 0.9rem;
  padding: 8px 10px;
}
@media (max-width: 991px) {
  .site-header .wrap {
    height: 60px;
  }
  .brand img {
    height: 46px;
  }
}

/* hero text + spacing */
.hero2 h1 {
  line-height: 1.3;
}
.h6 h2 {
  line-height: 1.3;
}
.h6 .lead,
.h6 p,
.h6-intro p {
  line-height: 1.95;
}
.stat6 span {
  line-height: 1.6;
}
.trio p {
  line-height: 1.9;
}
.tl span {
  line-height: 1.8;
}

/* images: never cropped, always shown fully */
.hs img {
  object-fit: contain !important;
  background: #0b1b2e;
}
.legacy .pic img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}
.g6 {
  display: block;
  columns: 3;
  column-gap: 18px;
}
.g6 a {
  aspect-ratio: auto;
  display: block;
  margin-bottom: 18px;
  break-inside: avoid;
}
.g6 img {
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 991px) {
  .g6 {
    columns: 2;
    column-gap: 10px;
  }
  .g6 a {
    margin-bottom: 10px;
  }
}
.pj6 {
  align-items: start;
}
.pj6 a {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  background: #0b1b2e;
}
.pj6 img {
  position: static;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #0b1b2e;
  opacity: 1;
}
.pj6 div {
  position: static;
  padding: 14px 18px 20px;
  background: none;
}
.bk-cover img,
.pages6 img,
.souv a .cv img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.souv a .cv {
  aspect-ratio: 3/4;
}
.photos6 img,
.strip-img img {
  object-fit: contain;
}
.photos6 a,
.strip-img a {
  background: #0b1b2e;
}
.frame img,
.frame.tilt img {
  max-height: none !important;
  object-fit: contain !important;
  height: auto;
}
.gal {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  align-items: start;
}
.gal img {
  height: auto !important;
  object-fit: contain !important;
  width: 100%;
}
@media (max-width: 640px) {
  .gal {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}
.pages6 {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  gap: 18px !important;
  align-items: start;
}
.pages6 a {
  aspect-ratio: auto !important;
}
.pages6 img {
  height: auto !important;
  object-fit: contain !important;
}
.book-hero .bk-cover {
  aspect-ratio: auto;
}
.book-hero .bk-cover img {
  height: auto;
  object-fit: contain;
}
.bk-3d .bk-cover img {
  width: 100%;
}
@media (max-width: 860px) {
  .bk-3d {
    width: 240px;
  }
}

/* home: Kanuri floor plans in ONE line */
.floors {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: start;
}
.floors .fl {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px -20px rgba(6, 42, 77, 0.6);
  transition: transform 0.3s;
}
.floors .fl img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.floors .fl span {
  display: block;
  text-align: center;
  padding: 8px 6px;
  font-size: 0.82rem;
  color: var(--navy);
  background: #fff;
}
@media (max-width: 991px) {
  .floors {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 2px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .floors .fl {
    flex: 0 0 72%;
    max-width: 340px;
    scroll-snap-align: start;
  }
}
/* home gallery: one single line, full images */
.g6,
.g6[class] {
  display: flex !important;
  columns: auto !important;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.g6 a {
  flex: 0 0 auto;
  height: 260px;
  margin: 0 !important;
  aspect-ratio: auto !important;
  scroll-snap-align: start;
  border-radius: 16px;
}
.g6 img {
  height: 100% !important;
  width: auto !important;
  max-width: none;
  object-fit: contain;
}
@media (max-width: 575px) {
  .g6 a {
    height: 200px;
  }
}
/* hero-intro heading: "Serving our" / "medical college and hospital" */
.h6-intro h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}
@media (min-width: 992px) {
  .h6-intro h2 {
    white-space: nowrap;
  }
}

/* ===== V7.1 ===== */
.strip .s-right {
  margin-left: auto;
}
/* home gallery: ONE line, no scrollbar, full images */
.g6,
.g6[class] {
  overflow: visible !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  padding-bottom: 0;
}
.g6 a {
  height: auto !important;
  min-width: 0;
  align-self: center;
}
.g6 img {
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 575px) {
  .g6 {
    gap: 5px;
  }
  .g6 a {
    border-radius: 8px;
  }
  .g6 span {
    display: none;
  }
}
/* leadership: five in one row */
@media (min-width: 992px) {
  .row.five > [class*="col"]:has(> .person) {
    width: 20% !important;
  }
}
.row.five {
  row-gap: 24px;
}
.kq {
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--navy);
  text-align: center;
  max-width: 60ch;
  margin: 34px auto 0;
  border: 0;
  padding: 0;
}
.kq small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  margin-top: 6px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.floors {
  margin-top: 6px;
}
.head p.mx-auto {
  margin-inline: auto;
}
/* home souvenirs: six covers */
.souv6 {
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 22px !important;
}
.souv6 h3 {
  font-size: 1rem;
}
@media (max-width: 991px) {
  .souv6 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 575px) {
  .souv6 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}
.g6 span {
  font-size: 0.68rem !important;
  padding: 22px 6px 6px !important;
}

/* ===== V8 (requested changes only) ===== */

/* FAQ: question + answer always visible (no click to open) */
.acc-g details > summary {
  pointer-events: none;
  cursor: default;
  justify-content: flex-start;
  position: relative;
  padding-left: 58px;
}
.acc-g summary::after {
  display: none;
}
.acc-g summary::before,
.acc-g .body::before {
  position: absolute;
  left: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.acc-g summary::before {
  content: "Q";
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
}
.acc-g .body {
  position: relative;
  padding-left: 58px;
}
.acc-g .body::before {
  content: "A";
  top: 2px;
  background: var(--gold);
  color: var(--navy);
}

/* No horizontal scrolling anywhere: rows wrap instead */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
.chips,
.tabs-g {
  flex-wrap: wrap;
  overflow-x: visible;
}
@media (max-width: 991px) {
  .floors {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .floors .fl {
    flex: 0 0 calc(33.333% - 8px);
    max-width: none;
  }
}
@media (max-width: 575px) {
  .floors .fl {
    flex: 0 0 calc(50% - 6px);
  }
}

/* Kanuri / Gallery / Auditorium / Projects: big gallery images, fully fitted, no borders */
body[data-page="kanuri-gmcana.html"] .gal,
body[data-page="gallery.html"] .gal,
body[data-page="auditorium.html"] .gal,
body[data-page="gmc-ggh-projects.html"] .gal {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}
body[data-page="kanuri-gmcana.html"] .gal a,
body[data-page="gallery.html"] .gal a,
body[data-page="auditorium.html"] .gal a,
body[data-page="gmc-ggh-projects.html"] .gal a,
body[data-page="kanuri-gmcana.html"] .frame,
body[data-page="auditorium.html"] .frame,
body[data-page="gmc-ggh-projects.html"] .frame {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
body[data-page="kanuri-gmcana.html"] .gal img,
body[data-page="gallery.html"] .gal img,
body[data-page="auditorium.html"] .gal img,
body[data-page="gmc-ggh-projects.html"] .gal img,
body[data-page="kanuri-gmcana.html"] .frame img,
body[data-page="auditorium.html"] .frame img,
body[data-page="gmc-ggh-projects.html"] .frame img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0;
  border: 0;
}
@media (max-width: 640px) {
  body[data-page="kanuri-gmcana.html"] .gal,
  body[data-page="gallery.html"] .gal,
  body[data-page="auditorium.html"] .gal,
  body[data-page="gmc-ggh-projects.html"] .gal {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* About / Executive / Trustees / Chairs / Presidents / Structure: small people photos */
body[data-page="about.html"] .person,
body[data-page="executive-committee.html"] .person,
body[data-page="board-of-trustees.html"] .person,
body[data-page="chairpersons.html"] .person,
body[data-page="presidents.html"] .person,
body[data-page="leadership.html"] .person {
  max-width: 170px;
  margin-inline: auto;
  border-radius: 14px;
}
body[data-page="about.html"] .person > div,
body[data-page="executive-committee.html"] .person > div,
body[data-page="board-of-trustees.html"] .person > div,
body[data-page="chairpersons.html"] .person > div,
body[data-page="presidents.html"] .person > div,
body[data-page="leadership.html"] .person > div {
  padding: 10px 10px 12px;
}
body[data-page="about.html"] .person h3,
body[data-page="executive-committee.html"] .person h3,
body[data-page="board-of-trustees.html"] .person h3,
body[data-page="chairpersons.html"] .person h3,
body[data-page="presidents.html"] .person h3,
body[data-page="leadership.html"] .person h3 {
  font-size: 0.84rem;
}
body[data-page="about.html"] .person .role,
body[data-page="executive-committee.html"] .person .role,
body[data-page="board-of-trustees.html"] .person .role,
body[data-page="chairpersons.html"] .person .role,
body[data-page="presidents.html"] .person .role,
body[data-page="leadership.html"] .person .role {
  font-size: 0.64rem;
}

/* small people photos: tight columns */
body[data-page="about.html"] .row > [class*="col"]:has(> .person),
body[data-page="executive-committee.html"] .row > [class*="col"]:has(> .person),
body[data-page="board-of-trustees.html"] .row > [class*="col"]:has(> .person),
body[data-page="chairpersons.html"] .row > [class*="col"]:has(> .person),
body[data-page="presidents.html"] .row > [class*="col"]:has(> .person),
body[data-page="leadership.html"] .row > [class*="col"]:has(> .person) {
  flex: 0 0 190px !important;
  width: 190px !important;
  max-width: 190px !important;
}
body[data-page="about.html"] .row:has(> * > .person),
body[data-page="executive-committee.html"] .row:has(> * > .person),
body[data-page="board-of-trustees.html"] .row:has(> * > .person),
body[data-page="chairpersons.html"] .row:has(> * > .person),
body[data-page="presidents.html"] .row:has(> * > .person),
body[data-page="leadership.html"] .row:has(> * > .person) {
  gap: 18px 14px;
  justify-content: center;
}
@media (max-width: 480px) {
  body[data-page="about.html"] .row > [class*="col"]:has(> .person),
  body[data-page="executive-committee.html"] .row > [class*="col"]:has(> .person),
  body[data-page="board-of-trustees.html"] .row > [class*="col"]:has(> .person),
  body[data-page="chairpersons.html"] .row > [class*="col"]:has(> .person),
  body[data-page="presidents.html"] .row > [class*="col"]:has(> .person),
  body[data-page="leadership.html"] .row > [class*="col"]:has(> .person) {
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
  }
}

/* Batchwise photo pages */
body[data-page="group-photos.html"] .gal,
body[data-page="reunion-photos.html"] .gal {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 26px !important;
}
body[data-page="group-photos.html"] .gal a,
body[data-page="reunion-photos.html"] .gal a {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  scroll-margin-top: 110px;
}
body[data-page="group-photos.html"] .gal img,
body[data-page="reunion-photos.html"] .gal img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0;
}
.bwc {
  display: block;
  padding: 8px 2px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
.gal a::after {
  bottom: auto;
}
.bw-chips .chip {
  text-decoration: none;
  display: inline-block;
}
@media (max-width: 640px) {
  body[data-page="group-photos.html"] .gal,
  body[data-page="reunion-photos.html"] .gal {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* V9: news, year-wise, padma */
body[data-page="group-photos.html"] .gal,
body[data-page="reunion-photos.html"] .gal,
body[data-page="news.html"] .gal {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 26px !important;
  margin-bottom: 10px;
}
body[data-page="news.html"] .gal {
  grid-template-columns: repeat(3, 1fr) !important;
}
body[data-page="news.html"] .gal a {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
body[data-page="news.html"] .gal img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0;
}
.bw-y {
  font-size: 1.7rem;
  margin: 38px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  scroll-margin-top: 110px;
  color: var(--navy);
}
.padma-one {
  max-width: 760px;
  margin: 0 auto;
}
.padma-one img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  body[data-page="news.html"] .gal {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 640px) {
  body[data-page="reunion-photos.html"] .gal,
  body[data-page="group-photos.html"] .gal {
    grid-template-columns: 1fr !important;
  }
}

/* V10: uniform tiles, no gaps */
body[data-page="group-photos.html"] .gal,
body[data-page="reunion-photos.html"] .gal {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 14px !important;
  align-items: start;
}
body[data-page="news.html"] .gal {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  align-items: start;
}
body[data-page="group-photos.html"] .gal img,
body[data-page="reunion-photos.html"] .gal img {
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
  background: #eef2f7;
  width: 100%;
  height: auto !important;
}
body[data-page="news.html"] .gal img {
  aspect-ratio: 3 / 4;
  object-fit: cover !important;
  object-position: top center;
  background: #eef2f7;
  width: 100%;
  height: auto !important;
}
body[data-page="group-photos.html"] .gal a,
body[data-page="reunion-photos.html"] .gal a,
body[data-page="news.html"] .gal a {
  margin-bottom: 0;
}
.bwc {
  padding: 6px 2px 0;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-y {
  margin: 26px 0 12px;
}
@media (max-width: 991px) {
  body[data-page="group-photos.html"] .gal,
  body[data-page="reunion-photos.html"] .gal {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  body[data-page="news.html"] .gal {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 640px) {
  body[data-page="group-photos.html"] .gal,
  body[data-page="reunion-photos.html"] .gal {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  body[data-page="news.html"] .gal {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* V11 */
a.lbw {
  display: block;
  cursor: zoom-in;
}
.bw-search {
  position: relative;
  max-width: 440px;
  margin: 0 0 16px;
}
.bw-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.bw-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font: inherit;
  background: #fff;
  color: var(--navy);
}
.bw-none {
  color: var(--muted);
}
body[data-page="group-photos.html"] .gal,
body[data-page="reunion-photos.html"] .gal {
  gap: 8px !important;
  margin: 0;
}
body[data-page="news.html"] .gal {
  gap: 8px !important;
}
.floors {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px !important;
  display: grid !important;
  overflow: visible !important;
}
.floors .fl {
  max-width: none !important;
  width: auto !important;
  flex: none !important;
}
@media (max-width: 575px) {
  .floors {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ===== V7: project hub, home split, one-line heading, 7-beat ECG, logo colours ===== */
.ph-title {
  padding: 56px 0 8px;
  text-align: center;
}
.ph-title h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--navy);
  margin: 0;
}
.ph-title h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  margin: 14px auto 0;
}
.ph-grid {
  display: grid;
  gap: 18px;
  padding: 28px 0 64px;
}
.ph-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 2.2/1;
  background: var(--navy);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.ph-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.4s;
}
.ph-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 32, 59, 0.88));
  transition: opacity 0.4s;
}
.ph-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.9s;
}
.ph-card span {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.15;
  border-left: 5px solid var(--gold);
  padding-left: 16px;
}
.ph-card span i {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.2rem;
  transition: transform 0.35s;
}
.ph-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .ph-card {
    aspect-ratio: 16/10;
    border-radius: 16px;
  }
  .ph-card span {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .ph-card span i {
    width: 38px;
    height: 38px;
  }
}
/* home: heading+content left, one image right */
.pj-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.pj-split .head {
  margin-bottom: 0;
}
.pj-split p {
  color: var(--muted);
  margin: 14px 0 24px;
  max-width: 52ch;
}
.pj-pic {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.pj-pic img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pj-pic b {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: padding 0.3s;
}
@media (max-width: 860px) {
  .pj-split {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
/* single-line heading */
.h6 .head.one {
  max-width: none;
}
.h6 .head.one h2 {
  white-space: nowrap;
  font-size: clamp(1.35rem, 6vw, 3.2rem);
}
/* heartbeat */
.hsvg {
  overflow: visible;
}
.hsvg .ecg {
  stroke-width: 3.2;
  animation: ecg 4.2s ease-in-out infinite;
}
.hsvg .ecg2 {
  animation-delay: 0.3s;
}
.hsvg .ecg-dot {
  fill: #fff;
  filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 14px var(--gold));
}
.hsvg .ecg-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
}
.hsvg {
  transform-origin: 50% 100%;
  animation: beat 1.2s ease-in-out infinite;
}
@keyframes beat {
  0%,
  100% {
    transform: scaleY(1);
  }
  12% {
    transform: scaleY(1.12);
  }
  24% {
    transform: scaleY(0.97);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hsvg,
  .hsvg .ecg {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.pj-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(246, 249, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.pj-tabs .wrap {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding-block: 10px;
}
.pj-tabs a {
  padding: 7px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border: 1.5px solid var(--line);
  transition: 0.25s;
}
.pj-tabs a:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.pj-sec {
  padding: 56px 0;
  scroll-margin-top: 120px;
}
.pj-sec.alt {
  background: #eef4fa;
}
.pj-sec h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 26px;
  border-left: 5px solid var(--gold);
  padding-left: 16px;
}
.pj-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}
.pj-sec.alt .pj-row {
  grid-template-columns: 1fr 1.25fr;
}
.pj-sec.alt .pj-txt {
  order: 2;
}
.pj-side {
  position: sticky;
  top: 130px;
}
.pj-big {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.pj-big img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s;
}
.pj-gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.pj-gal a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
}
.pj-gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
@media (max-width: 860px) {
  .pj-row,
  .pj-sec.alt .pj-row {
    grid-template-columns: 1fr;
  }
  .pj-sec.alt .pj-txt {
    order: 0;
  }
  .pj-side {
    position: static;
    order: -1;
  }
}
/* Kanuri floors: bigger images only */
.fl6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.fl6 a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.fl6 img {
  display: block;
  width: 100%;
  height: auto;
}
.fl6 span {
  display: block;
  text-align: center;
  padding: 8px;
  font-weight: 700;
  color: var(--navy);
  border-top: 3px solid var(--gold);
}
@media (max-width: 700px) {
  .fl6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* V8 filter tabs + tighter spacing + podila */
.pj-tabs button {
  font: inherit;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  transition: 0.25s;
}
.pj-tabs button:hover {
  border-color: var(--gold);
}
.pj-tabs button.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 6px 16px -8px var(--navy);
}
.pj-sec[hidden] {
  display: none;
}
.pj-sec {
  padding: 30px 0 44px;
  animation: pjin 0.45s ease;
}
.pj-sec.alt {
  background: none;
}
@keyframes pjin {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pj-sec h2 {
  margin-bottom: 20px;
}
.ph-title {
  padding: 36px 0 4px;
}
.pj-row {
  gap: 30px;
}
.pj-gal {
  margin-top: 16px;
}
.pj-txt .prose p {
  margin-bottom: 12px;
}
.pd-lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 16px;
}
.pd-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.pd-facts div {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  border-bottom: 4px solid var(--gold);
  transition: transform 0.3s;
}
.pd-facts b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.45rem;
  color: var(--gold);
  line-height: 1.1;
}
.pd-facts span {
  font-size: 0.78rem;
  opacity: 0.9;
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}
.pd-next {
  background: #eef4fa;
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 14px 0;
}
.pd-next h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.pd-next p {
  margin: 0 0 10px;
  font-size: 0.96rem;
}
.pd-next p:last-child {
  margin: 0;
}
.pd-who {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0 0;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.pd-who img {
  width: 78px;
  height: 100px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  display: block;
}
.pd-who b {
  display: block;
  color: var(--navy);
}
.pd-who span {
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .pd-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== V9: neat zig-zag story cards (portraits, statues) ===== */
body[data-page="portraits.html"] .section,
body[data-page="statues.html"] .section {
  padding: 34px 0;
}
body[data-page="portraits.html"] .section.tight,
body[data-page="statues.html"] .section.tight {
  padding: 30px 0 44px;
}
body[data-page="portraits.html"] .sec-title,
body[data-page="statues.html"] .sec-title {
  margin-bottom: 10px;
}
.chips {
  position: static !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  gap: 8px;
  justify-content: center;
}
.chip.on,
.chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.story {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  padding: 22px;
  margin: 0 0 20px;
  border: 0 !important;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold) !important;
  scroll-margin-top: calc(var(--header-h) + 14px);
  transition:
    box-shadow 0.35s,
    transform 0.35s;
}
.story:nth-of-type(even) {
  grid-template-columns: 1fr 300px;
}
.story:nth-of-type(even) figure {
  order: 2;
}
.story figure {
  position: static !important;
  align-self: center;
}
.story figure img {
  border-radius: 16px;
  box-shadow: none;
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s;
}
.story figure a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}
.story .eyebrow {
  display: none;
}
.story h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: var(--navy);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story h3::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  flex: none;
}
.story .clamp {
  max-height: 9.6em;
}
.story .clamp::after,
.bg-ice .story .clamp::after {
  background: linear-gradient(transparent, #fff);
  height: 3.6em;
}
.story.open .clamp {
  max-height: 200em;
}
.story .prose p {
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.7;
}
.story .more {
  margin-top: 6px;
}
.story.zz {
  opacity: 0;
  transform: translateX(-36px);
  transition:
    opacity 0.6s,
    transform 0.6s,
    box-shadow 0.35s;
}
.story.zz:nth-of-type(even) {
  transform: translateX(36px);
}
.story.zz.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 800px) {
  .story,
  .story:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .story:nth-of-type(even) figure {
    order: 0;
  }
  .story figure img {
    max-height: 300px;
  }
  .story.zz,
  .story.zz:nth-of-type(even) {
    transform: translateY(24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .story.zz {
    opacity: 1;
    transform: none;
  }
}

/* ===== V10: no blank gaps, full images (faces never cut), tighter spacing ===== */
.section {
  padding: 52px 0;
}
.section.tight {
  padding: 34px 0;
}
.h6 {
  padding-block: 56px !important;
}
.g6 {
  margin-top: 30px;
}
.legacy {
  gap: 40px;
}
.h6 .head {
  margin-bottom: 28px;
}
/* faces: keep the top of the photo */
.person .av,
.person.big .av,
.lead-row img,
.avs img,
.legacy .pic img,
.story figure img,
.hs img,
.g6 img,
.img-card img,
.proj img,
.pj img {
  object-position: 50% 10%;
}
.p-hero .bgimg {
  object-position: 50% 12%;
}
body[data-page="news.html"] .p-hero .bgimg,
body[data-page="media.html"] .p-hero .bgimg,
body[data-page="group-photos.html"] .p-hero .bgimg,
body[data-page="reunion-photos.html"] .p-hero .bgimg,
body[data-page="padma-shri.html"] .p-hero .bgimg,
body[data-page="why-join.html"] .p-hero .bgimg,
body[data-page="gmc-batches.html"] .p-hero .bgimg {
  object-position: 50% 0%;
}
/* every gallery: full photo, natural height, masonry, no bars, no gaps */
body .gal {
  display: block !important;
  columns: 5 190px;
  column-gap: 12px;
}
body .gal a {
  display: block;
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
body .gal img,
body[data-page="news.html"] .gal img,
body[data-page="group-photos.html"] .gal img,
body[data-page="reunion-photos.html"] .gal img {
  aspect-ratio: auto !important;
  height: auto !important;
  object-fit: contain !important;
  background: none !important;
  width: 100%;
  display: block;
}
.strip-img,
.photos6 {
  align-items: start;
}
.strip-img a,
.photos6 a,
.pj .im {
  aspect-ratio: auto;
}
.strip-img img,
.photos6 img,
.pj .im img {
  height: auto;
  aspect-ratio: auto;
}
/* projects: text wraps around the image, so no empty column */
.pj-row,
.pj-sec.alt .pj-row {
  display: block;
}
.pj-row::after {
  content: "";
  display: table;
  clear: both;
}
.pj-side,
.pj-sec.alt .pj-side {
  float: right;
  width: 38%;
  margin: 0 0 14px 28px;
  position: static;
  order: 0;
}
.pj-sec.alt .pj-side {
  float: left;
  margin: 0 28px 14px 0;
}
.pj-sec.alt .pj-txt {
  order: 0;
}
.pj-big img {
  width: 100%;
  height: auto;
}
.pj-gal {
  display: block;
  columns: 4 120px;
  column-gap: 10px;
}
.pj-gal a {
  display: block;
  break-inside: avoid;
  margin: 0 0 10px;
  aspect-ratio: auto;
  background: none;
}
.pj-gal img {
  height: auto;
  object-fit: contain;
}
@media (max-width: 860px) {
  .pj-side,
  .pj-sec.alt .pj-side {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }
  .pj-gal {
    columns: 3 100px;
  }
}
/* tall posters beside short text: keep them small */
body[data-page="donor-guide.html"] .row img.w-100,
body[data-page="homecoming-2026.html"] .row img.w-100 {
  max-height: 400px;
  width: auto !important;
  max-width: 100%;
  display: block;
  margin-inline: auto;
}
.kp {
  display: block;
  max-width: 360px;
  margin: 18px auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.kp img {
  display: block;
  width: 100%;
  height: auto;
}
.story figure img {
  max-height: none;
  object-fit: contain;
}

/* ===== V11: souvenirs tidy + compact mobile ===== */
.souv {
  align-items: start !important;
}
.souv a .cv {
  aspect-ratio: auto !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
  display: block;
}
.souv a .cv img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  border-radius: 8px;
}
.kp {
  max-width: 240px;
  margin: 12px auto 0;
}
@media (max-width: 700px) {
  html {
    font-size: 14px;
  }
  body {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  .strip {
    display: none !important;
  }
  .wrap {
    padding-inline: 14px !important;
  }
  /* spacing */
  .section,
  .section.tight,
  .h6,
  .pj-sec {
    padding-block: 24px !important;
  }
  .h6 .head,
  .h6 .head.c {
    margin-bottom: 16px !important;
  }
  .ph-title {
    padding: 20px 0 2px;
  }
  /* type */
  h1 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
  }
  h2,
  .h6 h2,
  .sec-title,
  .pj-sec h2 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }
  .h6 .head.one h2 {
    font-size: clamp(0.95rem, 5.2vw, 1.2rem) !important;
  }
  h3,
  .story h3 {
    font-size: 1rem !important;
  }
  .eyebrow {
    font-size: 0.62rem !important;
  }
  .lead,
  .h6 .lead,
  .lead-soft,
  .pd-lead {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    margin: 10px 0 !important;
    padding-left: 10px !important;
  }
  .prose p,
  .story .prose p {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 8px !important;
  }
  /* hide long copy */
  .p-hero p,
  .hero2 .lead,
  .h6-intro .lead,
  .pj-split p,
  .legacy .tl,
  .legacy .lead,
  .trio,
  .nl6 p,
  .kp,
  .head p.mx-auto,
  .lead-soft {
    display: none !important;
  }
  /* buttons: small, side by side */
  .btn-g {
    font-size: 0.74rem !important;
    padding: 7px 12px !important;
    gap: 5px !important;
    white-space: nowrap;
    border-radius: 30px;
  }
  .hero-actions,
  .d-flex.flex-wrap.gap-2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }
  .hero-actions .btn-g,
  .d-flex.flex-wrap.gap-2 .btn-g {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* hero */
  .p-hero {
    min-height: 130px !important;
    padding: 18px 0 !important;
  }
  .hero2 .sub {
    font-size: 0.68rem;
  }
  .hero2 h1 {
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
  }
  .hslider {
    max-height: 150px !important;
    border-radius: 14px !important;
    margin-top: 14px;
  }
  .hslider img {
    max-height: 150px;
    object-fit: cover;
  }
  .hslider figcaption,
  .hdots,
  .hbar {
    display: none !important;
  }
  .hsvg {
    height: 46px !important;
  }
  .scrollcue {
    display: none;
  }
  /* cards / grids */
  .stat6 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .stat6 b {
    font-size: 1.1rem !important;
  }
  .stat6 span {
    font-size: 0.62rem !important;
  }
  .fl6 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .fl6 span {
    font-size: 0.62rem;
    padding: 3px;
  }
  .lib6,
  .souv,
  .souv6 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .mem6 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .mem6 a {
    padding: 12px !important;
  }
  .mem6 span {
    display: none;
  }
  .mem6 b {
    font-size: 0.8rem;
  }
  .g6 {
    margin-top: 14px !important;
    gap: 6px !important;
  }
  .g6 a {
    border-radius: 10px !important;
  }
  .g6 span {
    font-size: 0.6rem;
    padding: 14px 6px 5px;
  }
  .person {
    padding: 8px !important;
    gap: 8px !important;
  }
  .person .av {
    width: 46px !important;
    height: 58px !important;
  }
  .person h3 {
    font-size: 0.8rem !important;
  }
  .person .role {
    font-size: 0.68rem;
  }
  .legacy {
    gap: 14px !important;
  }
  .legacy .pic {
    max-width: 180px;
    margin: auto;
  }
  .pj-pic {
    max-width: 300px;
  }
  .pj-split {
    gap: 14px !important;
  }
  .nl6 {
    padding: 14px !important;
  }
  .nl6 h3 {
    font-size: 0.95rem;
  }
  /* images small */
  .story,
  .story:nth-of-type(even) {
    padding: 12px !important;
    gap: 10px !important;
  }
  .story figure {
    max-width: 140px;
    margin: 0 auto !important;
  }
  .story .clamp {
    max-height: 7.5em;
  }
  .pj-side,
  .pj-sec.alt .pj-side {
    width: 62% !important;
    margin: 0 auto 10px !important;
    float: none !important;
  }
  .pj-card,
  .ph-card {
    border-radius: 12px !important;
  }
  .ph-card span {
    font-size: 0.95rem !important;
    padding-left: 10px !important;
  }
  .ph-card span i {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .pd-facts {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 5px !important;
  }
  .pd-facts div {
    padding: 8px 4px;
  }
  .pd-facts b {
    font-size: 0.9rem;
  }
  .pd-facts span {
    font-size: 0.55rem;
  }
  .pd-next {
    padding: 12px;
  }
  .pd-who img {
    width: 50px;
    height: 64px;
  }
  body .gal,
  .pj-gal {
    columns: 3 80px !important;
    column-gap: 6px !important;
  }
  body .gal a,
  .pj-gal a {
    margin-bottom: 6px !important;
    border-radius: 8px !important;
  }
  .pj-tabs button {
    padding: 6px 11px;
    font-size: 0.72rem;
  }
  .pj-tabs .wrap {
    gap: 5px;
  }
  .chips {
    gap: 5px !important;
    margin-bottom: 10px !important;
  }
  .chip {
    font-size: 0.62rem !important;
    padding: 4px 9px !important;
  }
  .kp img,
  body[data-page="donor-guide.html"] .row img.w-100,
  body[data-page="homecoming-2026.html"] .row img.w-100 {
    max-height: 220px;
  }
  .brand img {
    height: 28px !important;
  }
  /* footer */
  .site-footer {
    padding: 22px 0 12px !important;
  }
  .f-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  .f-grid > div:first-child {
    grid-column: 1/-1;
  }
  .f-grid > div:first-child p {
    display: none;
  }
  .site-footer h5 {
    font-size: 0.8rem;
  }
  .site-footer li,
  .site-footer a {
    font-size: 0.75rem;
  }
  .f-bottom {
    font-size: 0.65rem !important;
    flex-direction: column;
    gap: 4px;
  }
  .tabbar a,
  .tabbar button {
    font-size: 0.6rem;
  }
  .tabbar i {
    font-size: 1.05rem;
  }
}
@media (max-width: 700px) {
  .h6-intro {
    display: block !important;
  }
  .h6-intro > div {
    min-width: 0;
  }
  .h6-intro .stat6 {
    margin-top: 14px;
  }
  .h6 .wrap > *,
  .wrap > * {
    min-width: 0;
    max-width: 100%;
  }
  html,
  body {
    overflow-x: hidden;
  }
}
@media (max-width: 700px) {
  .stat6 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .stat6 > div {
    min-width: 0;
    padding: 10px 6px !important;
    white-space: normal !important;
  }
  .stat6 span {
    display: block;
    word-break: break-word;
  }
}
@media (max-width: 700px) {
  .stat6 div {
    flex-direction: column;
    text-align: center;
    gap: 4px !important;
    border-left: 0 !important;
    border-top: 4px solid var(--gold);
    border-radius: 12px !important;
  }
  .stat6 b {
    min-width: 0 !important;
  }
}
