/* ==========================================================================
   HIMATIF SAMANVAYA - MAIN STYLESHEET
   ==========================================================================
   
   DAFTAR ISI / TABLE OF CONTENTS BY PAGE & SECTION:
   
   1. [GLOBAL & RESET] ......... Line 23  - Line 69   (Variables :root, Reset *, Container)
   2. [SHARED LAYOUT] .......... Line 70  - Line 333  (Header, Navbar, Brand Logo & Menu Toggle)
   3. [SHARED UTILITIES] ....... Line 334 - Line 521  (Utility Classes, Buttons, Links, Badges, Animations)
   4. [PAGE: index.html] ....... Line 522 - Line 1219 (Hero, Intro, Fokus Program, Featured News, Closing)
   5. [PAGE: tentang.html] ..... Line 1220 - Line 1283 (Halaman Tentang Kami, Story/Sejarah, Quote Section)
   6. [PAGE: kabinet.html] ..... Line 1284 - Line 1745 (Hero Kabinet, Filosofi, Logo, Profil, Departemen)
   7. [PAGE: divisi.html] ...... Line 1746 - Line 1842 (Daftar Divisi, Division Rows, Accordion Program)
   8. [PAGE: detail-divisi.html] Line 1843 - Line 1961 (Detail Divisi, Panel Visi, Program Kerja, Member Grid)
   9. [PAGE: berita.html] ...... Line 1962 - Line 2007 (Halaman Berita, Filter Berita & Article Row Cards)
   10. [PAGE: kegiatan.html] ... Line 2008 - Line 2069 (Halaman Agenda/Kegiatan, Filter & Event Cards)
   11. [SHARED FOOTER] ......... Line 2070 - Line 2123 (Site Footer, Navigation Links, & Copyright)
   12. [RESPONSIVE DESIGN] ..... Line 2124 - Line 2727 (Media Queries Mobile <=760px, Tablet, Desktop)
   
   ========================================================================== */


/* ==========================================================================
   SECTION 1: GLOBAL & RESET STYLES (Line 23 - Line 69)
   ========================================================================== */

:root {
  /* WARNA: ubah nilai di sini untuk mengganti palet utama website. */
  --ink: #142b42;
  --ink-soft: #526678;
  --navy: #0d2d4a;
  --cream: #e7edf1;
  --paper: #f6f3ed;
  --coral: #0d4f80;
  --yellow: #e5b64c;
  --cabinet-maroon: #124b7a;
  --cabinet-gold: #5d89a7;
  --cabinet-bronze: #7894a8;
  --sky: #e5b64c;
  --line: rgba(23, 43, 58, 0.16);
  /* FONT: --display untuk judul besar; --body untuk teks biasa. */
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}


/* ==========================================================================
   SECTION 2: SHARED LAYOUT & NAVIGATION (HEADER, NAVBAR, BRAND)
   Target Pages: index.html & All Subpages in pages/
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 22px 0;
  color: white;
  transition:
    background 0.3s ease,
    padding 0.3s ease;
}

.site-header.scrolled {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  padding: 13px 0;
}

.site-header.scrolled .main-nav a {
  color: var(--navy);
}

.site-header.scrolled .menu-toggle {
  color: var(--navy);
  border-color: rgba(13, 45, 74, 0.28);
  background: rgba(255, 255, 255, 0.7);
}

.site-header.scrolled .brand-mark img,
.inner-header .brand-mark img {
  mix-blend-mode: multiply;
}

.nav-wrap,
.brand,
.main-nav,
.hero-actions,
.hero-footer,
.section-heading,
.news-meta,
.footer-bottom {
  display: flex;
  align-items: center;
}

.nav-wrap {
  justify-content: space-between;
  position: relative;
}

.nav-wrap>*,
.hero-grid>*,
.section-heading>*,
.directory-toolbar>*,
.detail-grid>*,
.detail-columns>*,
.story-grid>* {
  min-width: 0;
}

.brand {
  gap: 11px;
  font-family: var(--display);
  line-height: 1.05;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 5vw, 64px);
  height: clamp(38px, 4.5vw, 54px);
  flex: 0 0 clamp(42px, 5vw, 64px);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  justify-content: center;
  color: var(--coral);
  font: 600 22px/1 var(--display);
}

.brand-copy {
  display: block;
  color: currentColor;
}

.brand-copy strong {
  color: var(--yellow);
}

.brand-copy small {
  color: #8faebb;
}

.inner-header {
  color: var(--navy);
  background: white;
}

.inner-header .brand-mark {
  font-size: 0;
  background: url("../assets/logo/logo-samanvaya.webp") center / contain no-repeat;
}

.inner-header .brand strong,
.site-header.scrolled .brand strong {
  color: var(--yellow);
}

.inner-header .brand small,
.site-header.scrolled .brand small {
  color: #8faebb;
}

.inner-header .main-nav a {
  color: var(--navy);
}

.inner-header .menu-toggle {
  color: var(--navy);
  border-color: rgba(13, 45, 74, 0.3);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 4px;
  font-family: var(--body);
  font-size: clamp(8px, 0.8vw, 10px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
}

.main-nav {
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.brand-copy,
.brand-copy strong,
.brand-copy small,
.brand>span:last-child {
  min-width: 0;
}

.main-nav a {
  opacity: 0.72;
  transition:
    opacity 0.2s,
    color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.main-nav .nav-cta {
  padding: 10px 15px;
  color: var(--navy);
  background: var(--yellow);
  opacity: 1;
}

.nav-cta span,
.button span {
  margin-left: 9px;
  font-size: 18px;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  box-shadow: 0 7px 16px rgba(13, 45, 74, 0.22);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-3px);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(3px);
}

.menu-toggle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.menu-toggle.open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-toggle.open::before {
  opacity: 0;
}


/* ==========================================================================
   SECTION 3: SHARED UTILITIES & COMPONENTS
   Buttons, Links, Badges, Animations, Section Themes, Toolbar Filter
   ========================================================================== */

.section-dark {
  color: white;
  background: var(--navy);
}

.section-light {
  background: var(--paper);
}

.intro.section-light {
  background: #dce8ef;
}

.section-cream {
  background: var(--cream);
}

.section-coral {
  color: var(--navy);
  background: var(--coral);
}

.section-space {
  padding: 120px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 14px 19px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s,
    background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-coral {
  color: white;
  background: var(--navy);
}

.button-dark {
  color: white;
  background: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s;
}

.text-link:hover span {
  transform: translateX(5px);
}

.light-link {
  color: white;
}

.dark-link {
  color: var(--ink);
}

.back-link {
  display: inline-block;
  margin-bottom: 48px;
  color: #dce8ef;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

/* Inner Page Hero (Dipakai di tentang.html, divisi.html, berita.html, kegiatan.html) */
.inner-hero {
  min-height: 500px;
  padding: 170px 0 90px;
}

.inner-hero h1 {
  margin: 0;
  font: 600 clamp(56px, 8vw, 104px)/0.9 var(--display);
  letter-spacing: -0.07em;
}

.inner-lead {
  max-width: 430px;
  margin: 32px 0 0 35%;
  color: #bdcbd0;
  font-size: 17px;
}

/* Directory Toolbar & Filter (Dipakai di kegiatan.html & berita.html) */
.directory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 55px;
}

.directory-toolbar h2 {
  margin: 0;
  font: 600 38px/0.95 var(--display);
  letter-spacing: -0.06em;
}

.filter-group {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter {
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter.active,
.filter:hover {
  border-color: var(--coral);
  color: white;
  background: var(--coral);
}


/* ==========================================================================
   SECTION 4: PAGE - index.html (HOMEPAGE)
   Hero Section, Intro, Fokus Program, News Cards, & Closing CTA
   ========================================================================== */

/* Hero Section Homepage */
.hero {
  position: relative;
  min-height: 730px;
  padding-top: 130px;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(rgba(19, 43, 59, 0.55),
      rgba(19, 43, 59, 0.55)),
    url("../assets/images/GedungUBP.webp") center / cover no-repeat;
  filter: blur(5px);
  transform: scale(1.04);
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: white;
}

.hero-copy .eyebrow {
  color: white;
}

.hero h1 {
  color: white;
}

.hero-copy .hero-text {
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy .light-link {
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  min-height: 520px;
  align-items: center;
}

.hero h1,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 106px);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero h1 em,
.closing h2 em,
h2 em {
  color: var(--coral);
  font-style: normal;
}

.hero-text {
  max-width: 420px;
  margin: 30px 0;
  color: #bdcbd0;
  font-size: 17px;
}

.hero-actions {
  gap: 27px;
}

/* Hero Art Visual Laptop */
.hero-art {
  position: relative;
  min-height: 470px;
}

.art-grid {
  position: absolute;
  top: 58px;
  right: 2%;
  width: 285px;
  height: 250px;
  opacity: 0.34;
  background-image: linear-gradient(rgba(134, 170, 188, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 170, 188, 0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: rotate(-7deg);
  mask-image: linear-gradient(135deg, transparent 3%, black 35%, transparent 96%);
}

.art-data {
  position: absolute;
  top: 45px;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8faebb;
  font: 700 9px var(--body);
  letter-spacing: 0.14em;
  transform: rotate(-7deg);
}

.art-data i {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--coral);
}

.art-circuit {
  position: absolute;
  top: 195px;
  left: 1%;
  width: 160px;
  height: 100px;
  opacity: 0.48;
  transform: rotate(-8deg);
}

.circuit-node {
  position: absolute;
  top: 12px;
  left: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid #91b7c5;
  background: var(--navy);
}

.circuit-node-end {
  top: auto;
  right: 1px;
  bottom: 8px;
  left: auto;
  border-color: var(--coral);
}

.circuit-line {
  position: absolute;
  display: block;
  height: 1px;
  background: #7196aa;
  transform-origin: left center;
}

.circuit-line-one {
  top: 15px;
  left: 10px;
  width: 92px;
  transform: rotate(28deg);
}

.circuit-line-two {
  top: 58px;
  left: 56px;
  width: 98px;
  transform: rotate(-24deg);
}

.art-terminal {
  position: absolute;
  right: 8%;
  bottom: 63px;
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 7px 12px;
  width: 92px;
  padding: 12px;
  border: 1px solid rgba(137, 174, 190, 0.32);
  color: #8aafbf;
  background: rgba(8, 35, 50, 0.42);
  font: 700 10px/1 monospace;
  transform: rotate(7deg);
}

.art-terminal span {
  grid-row: span 3;
  align-self: center;
  color: var(--coral);
  font-size: 17px;
}

.art-terminal i {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(137, 174, 190, 0.55);
}

.laptop-art {
  position: absolute;
  top: 68px;
  left: 16%;
  width: min(330px, 68%);
  height: 305px;
  z-index: 2;
  transform: rotate(3deg);
}

.laptop-screen {
  position: relative;
  width: 100%;
  height: 235px;
  padding: 27px 25px;
  color: var(--cabinet-gold);
  background: #f4f0e8;
  border: 8px solid var(--cabinet-gold);
  border-bottom-width: 10px;
  border-radius: 10px 10px 4px 4px;
  box-shadow: 12px 14px 0 var(--cabinet-maroon);
}

.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(19, 43, 59, 0.2);
  pointer-events: none;
}

.screen-logo {
  position: absolute;
  top: 9%;
  left: 9%;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: saturate(0.98) contrast(1.05);
}

.laptop-logo {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 48px;
  height: 37px;
  object-fit: contain;
  opacity: 0.58;
  mix-blend-mode: screen;
  filter: saturate(0.7) brightness(1.25);
}

.laptop-kicker {
  display: block;
  margin-bottom: 30px;
  color: var(--cabinet-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.laptop-code {
  display: grid;
  gap: 7px;
  color: #bdd0d9;
  font: 600 10px/1.25 monospace;
  white-space: nowrap;
}

.laptop-code i {
  color: #7fb4cf;
  font-style: normal;
}

.laptop-code em {
  color: #d0b879;
  font-style: normal;
}

.laptop-code b {
  color: #e2a79d;
  font-weight: 600;
}

.code-indent {
  padding-left: 13px;
}

.laptop-screen small {
  display: block;
  margin-top: 28px;
  color: #bdcbd0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.laptop-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--cabinet-maroon);
  border-radius: 50%;
  transform: translateX(-50%);
}

.laptop-base {
  position: absolute;
  bottom: 18px;
  left: -4%;
  display: flex;
  justify-content: center;
  gap: 5px;
  width: 112%;
  height: 18px;
  padding-top: 4px;
  background: var(--cabinet-gold);
  border-radius: 2px 2px 11px 11px;
  box-shadow: 12px 14px 0 var(--cabinet-maroon);
}

.laptop-base span {
  width: 20px;
  height: 6px;
  background: var(--cabinet-maroon);
  border-radius: 2px;
}

.orbit {
  display: none;
}

.orbit-one {
  width: 410px;
  height: 210px;
  top: 115px;
  left: 5%;
}

.orbit-two {
  width: 450px;
  height: 250px;
  top: 95px;
  left: 0;
  transform: rotate(42deg);
}

.art-note {
  top: 8px;
  right: 4%;
  font-family: var(--display);
  font-size: 28px;
  line-height: 0.9;
}

.art-note span {
  font: 10px var(--body);
  letter-spacing: 0.15em;
}

.art-sticker {
  right: 3%;
  bottom: 45px;
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  color: #3d1a1e;
  background: var(--cabinet-bronze);
  border-radius: 50%;
  font: 24px/1 var(--display);
  text-align: center;
  transform: rotate(12deg);
}

.art-sticker small {
  font: 700 9px/1.2 var(--body);
  letter-spacing: 0.12em;
}

.hero-footer {
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-footer>span:first-child {
  color: white;
}

.scroll-line {
  width: 100px;
  height: 1px;
  margin-left: -55%;
  background: var(--coral);
}

/* Intro Section Homepage */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
}

.section-label {
  color: var(--coral);
}

.intro-content {
  max-width: 690px;
}

.intro h2,
.section-heading h2 {
  margin: 0 0 24px;
  font: 600 clamp(43px, 6vw, 72px)/0.95 var(--display);
  letter-spacing: -0.07em;
}

.intro h2 span {
  color: var(--coral);
}

.intro-content p {
  max-width: 620px;
  margin: 0 0 33px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.55;
}

/* Section Headings & Focus Program */
.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.focus {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(13, 45, 74, 0.28);
  background: #d1e0e9;
}

.focus::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(209, 224, 233, 0.86) 0%,
      rgba(209, 224, 233, 0.58) 28%,
      rgba(209, 224, 233, 0.2) 62%,
      rgba(209, 224, 233, 0.08) 100%),
    url("../assets/images/TechnoVisionEvent.webp") center 58% / cover no-repeat;
  filter: blur(2px);
  transform: scale(1.04);
}

.focus.section-space {
  padding-top: 60px;
}

.focus .section-heading {
  display: block;
}

.focus .section-heading>div,
.focus .section-heading h2 {
  width: 100%;
}

.focus .heading-aside {
  max-width: 430px;
  margin-top: 26px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-aside {
  max-width: 240px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.focus-item {
  position: relative;
  min-height: 290px;
  padding: 24px;
  background: rgba(231, 237, 241, 0.64);
}

.focus-featured {
  color: white;
  background: rgba(13, 45, 74, 0.88);
}

.focus-number {
  color: var(--coral);
  font: 600 13px var(--display);
}

.focus-icon {
  margin: 36px 0 16px;
  color: var(--coral);
  font-size: 45px;
  line-height: 1;
}

.focus-item h3 {
  margin: 0 0 12px;
  font: 600 26px var(--display);
  letter-spacing: -0.04em;
}

.focus-item p {
  max-width: 250px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.focus-featured p {
  color: #b6c5ca;
}

.focus-item>a {
  position: absolute;
  right: 24px;
  bottom: 22px;
  font-size: 26px;
}

/* Featured News Cards Homepage */
main:has(> .news) {
  display: flex;
  flex-direction: column;
}

main:has(> .news)>.news {
  order: 3;
}

main:has(> .news)>.closing {
  order: 4;
}

.news-heading {
  margin-bottom: 52px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 29px;
}

.news-card {
  display: block;
}

.news-image {
  position: relative;
  display: flex;
  height: 255px;
  padding: 25px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
}

.news-image-orange {
  color: white;
  background: var(--coral);
}

.news-image-blue {
  color: white;
  background: var(--navy);
}

.news-image-yellow {
  background: var(--yellow);
}

.news-image span {
  font: 700 12px/1.1 var(--body);
  letter-spacing: 0.13em;
}

.news-image b {
  align-self: flex-end;
  font: 700 13px var(--body);
  letter-spacing: 0.12em;
}

.news-image-orange:before,
.news-image-yellow:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -30px;
  bottom: -70px;
  border: 20px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.big-symbol {
  font: 150px/0.7 var(--display) !important;
  letter-spacing: -0.2em !important;
  opacity: 0.85;
}

.news-meta {
  justify-content: space-between;
  margin-top: 18px;
  color: #879097;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card h3 {
  max-width: 315px;
  margin: 11px 0 0;
  font: 600 20px/1.2 var(--display);
  letter-spacing: -0.04em;
  transition: color 0.2s;
}

.news-card:hover h3 {
  color: var(--coral);
}

/* Closing CTA Section Homepage */
.closing {
  padding: 75px 0 85px;
  color: #54242a;
  background: var(--sky);
}

.closing-inner {
  text-align: center;
}

.closing .eyebrow {
  margin-bottom: 22px;
}

.closing h2 {
  font-size: clamp(50px, 7vw, 86px);
  margin-bottom: 26px;
}

.closing h2 em {
  color: #54242a;
}

.closing-logo {
  display: block;
  width: min(390px, 82vw);
  height: 205px;
  margin: 0 auto 18px;
  object-fit: contain;
}


/* ==========================================================================
   SECTION 5: PAGE - tentang.html (HALAMAN TENTANG KAMI)
   Story Grid (Sejarah/Visi) & Quote Section
   ========================================================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
}

.story-grid h2 {
  margin: 0 0 28px;
  font: 600 clamp(44px, 6vw, 72px)/0.92 var(--display);
  letter-spacing: -0.07em;
}

.story-grid h2 em {
  color: var(--coral);
  font-style: normal;
}

.story-grid p:not(.section-label) {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 17px;
}

.story-grid .story-lead {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.4;
}

.story-grid .button {
  margin-top: 20px;
}

/* Quote Section */
.quote-section {
  padding: 110px 0;
}

.quote-mark {
  margin: 0;
  font: 100px/0.5 var(--display);
}

.quote-section blockquote {
  max-width: 820px;
  margin: 15px 0 28px;
  font: 600 clamp(37px, 5vw, 68px)/0.98 var(--display);
  letter-spacing: -0.07em;
}

.quote-credit {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ==========================================================================
   SECTION 6: PAGE - kabinet.html (HALAMAN STRUKTUR KABINET)
   Hero Kabinet, Filosofi, Makna Logo & Pilar, Leadership Grid, Profiles & Departemen
   ========================================================================== */

.cabinet-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  padding: 145px 0 90px;
  background: linear-gradient(135deg, #351b2a 0%, #54242a 45%, #0d2d4a 100%);
}

.cabinet-hero::before {
  position: absolute;
  inset: -14%;
  z-index: -1;
  content: "";
  background: url("../assets/logo/logo-samanvaya.webp") center / min(780px, 78vw) auto no-repeat;
  filter: blur(7px);
  opacity: 0.24;
  transform: rotate(-8deg) scale(1.15);
}

.cabinet-hero-inner {
  display: grid;
  max-width: 760px;
  margin-left: max(24px, calc((100% - 1160px) / 2));
  justify-items: start;
}

.cabinet-logo {
  width: min(250px, 58vw);
  height: 180px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.2));
}

.cabinet-hero h1 {
  margin: 0;
  font: 600 clamp(58px, 8vw, 104px)/0.9 var(--display);
  letter-spacing: -0.07em;
}

.cabinet-hero h1 em {
  color: #e3b85d;
  font-style: normal;
}

.cabinet-lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: #dce8ef;
  font-size: 18px;
}

/* Filosofi Kabinet */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  background: var(--line);
}

.philosophy-card {
  min-height: 240px;
  padding: 28px;
  background: #f6f3ed;
}

.philosophy-card-dark {
  color: white;
  background: var(--navy);
}

.philosophy-card h3 {
  max-width: 250px;
  margin: 42px 0 16px;
  font: 600 27px/1.05 var(--display);
  letter-spacing: -0.05em;
}

.philosophy-card p:last-child {
  max-width: 270px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.philosophy-card-dark p:last-child {
  color: #c3d0d7;
}

/* Makna Logo & Pilar Kabinet */
.cabinet-symbol {
  background: #eadfcf;
}

.symbol-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  margin-top: 105px;
}

.symbol-grid h2 {
  margin: 0 0 28px;
  font: 600 clamp(44px, 6vw, 72px)/0.92 var(--display);
  letter-spacing: -0.07em;
}

.symbol-grid h2 em {
  color: #54242a;
  font-style: normal;
}

.pillar-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.pillar-list span {
  padding: 18px;
  color: white;
  background: #54242a;
  font: 600 15px var(--display);
}

.pillar-list span:nth-child(2) {
  background: #9a8a72;
}

.pillar-list span:nth-child(3) {
  color: var(--navy);
  background: #d5aa4b;
}

.pillar-list span:nth-child(4) {
  background: #6b4634;
}

.color-note {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Structuring & Team Headings */
.cabinet-team {
  margin-top: 36px;
}

.cabinet-division-heading {
  margin-top: 110px;
}

.cabinet-leaders {
  margin-top: 42px;
}

/* Leadership Grid (BPH / Pengurus Harian) */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.leadership-card {
  position: relative;
  min-height: 170px;
  padding: 27px;
  background: var(--paper);
}

.leadership-link {
  display: block;
  color: inherit;
}

.leadership-link:nth-child(2n) {
  background: #e7edf1;
}

.leadership-link:nth-child(3n) {
  background: #eadfcf;
}

.leadership-link:nth-child(4n) {
  background: #d5e0e5;
}

.leadership-link:hover {
  background: var(--yellow);
}

.leadership-arrow {
  position: absolute;
  right: 27px;
  bottom: 23px;
  color: var(--coral);
  font-size: 24px;
}

.leadership-card.leadership-wide {
  grid-column: span 3;
  min-height: 145px;
  color: white;
  background: var(--navy);
}

.leadership-card.leadership-primary {
  color: var(--navy);
  background: var(--yellow);
}

.leadership-role {
  display: block;
  margin-bottom: 35px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.leadership-card h3 {
  max-width: 290px;
  margin: 0;
  font: 600 24px/1.05 var(--display);
  letter-spacing: -0.05em;
}

/* Profile Grid Cards (Ketua, Wakil, Sekretaris, Bendahara) */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  min-width: 0;
}

.profile-card {
  min-height: 360px;
  padding: 22px;
  background: var(--paper);
}

.profile-card.profile-featured {
  color: white;
  background: var(--navy);
}

.profile-card.profile-chair {
  background: var(--yellow);
}

.profile-card.profile-deputy {
  background: #d5e0e5;
}

.profile-card.profile-secretary {
  background: #eadfcf;
}

.profile-card.profile-treasurer {
  background: #d5aa4b;
}

.profile-slot {
  display: grid;
  place-items: center;
  height: 220px;
  margin-bottom: 22px;
  color: #71878f;
  background: var(--cream);
  border: 1px dashed rgba(23, 43, 58, 0.32);
}

.profile-featured .profile-slot {
  color: #b4c2c6;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.profile-chair .profile-slot {
  background: rgba(255, 255, 255, 0.3);
}

.profile-slot span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-role {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-card h3 {
  margin: 0;
  font: 600 24px/1.05 var(--display);
  letter-spacing: -0.05em;
}

.department-chairs .profile-card {
  min-height: 330px;
}

.department-chairs .profile-slot {
  height: 190px;
}

/* Department List & Department Cards */
.department-section {
  padding-top: 100px;
}

.department-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
}

.department-card {
  padding: 29px;
  background: var(--cream);
}

.department-heading {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 17px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.department-heading>span {
  color: var(--coral);
  font: 600 13px var(--display);
}

.department-heading h2 {
  margin: 0 0 9px;
  font: 600 25px/1.05 var(--display);
  letter-spacing: -0.05em;
}

.department-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.department-heading strong {
  color: var(--ink);
}

.department-card ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 26px;
  margin: 24px 0 0;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 13px;
}

.department-card li::marker {
  color: var(--coral);
  font-weight: 700;
}

/* People Grid / Avatars (Direktori Anggota / Pengurus) */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.person-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  background: var(--paper);
}

.person-card[hidden],
.article-row[hidden] {
  display: none;
}

.person-card>span {
  position: absolute;
  top: 28px;
  right: 25px;
  color: #99a4a7;
  font-size: 11px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin-bottom: 38px;
  color: var(--navy);
  border-radius: 50%;
  font: 700 31px var(--display);
}

.avatar-coral {
  background: var(--coral);
}

.avatar-blue {
  background: var(--sky);
}

.avatar-yellow {
  background: var(--yellow);
}

.avatar-navy {
  color: white;
  background: var(--navy);
}

.avatar-sky {
  background: #d6e6d1;
}

.person-card h3 {
  margin: 0;
  font: 600 22px var(--display);
  letter-spacing: -0.04em;
}

.person-card p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}


/* ==========================================================================
   SECTION 7: PAGE - divisi.html (HALAMAN DAFTAR DIVISI)
   Division List, Division Rows, Link Detail, & Dropdown Accordion
   ========================================================================== */

.division-list,
.article-list,
.event-list {
  border-top: 1px solid var(--line);
}

.division-row {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 25px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}

.division-row>span {
  color: var(--coral);
  font: 600 13px var(--display);
}

.division-row h2 {
  margin: 0 0 6px;
  font: 600 30px var(--display);
  letter-spacing: -0.05em;
}

.division-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.division-row b {
  font-size: 25px;
  font-weight: 400;
}

.division-detail-link {
  color: var(--ink);
  font-size: 25px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.division-detail-link:hover {
  color: var(--coral);
  transform: translate(3px, -3px);
}

.division-row details {
  margin-top: 15px;
}

.division-row summary {
  width: fit-content;
  color: var(--coral);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.division-members {
  max-width: 690px;
  margin-top: 10px !important;
  color: var(--ink-soft) !important;
  font-size: 13px !important;
  line-height: 1.65;
}

.division-program {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.division-program-label {
  margin: 0 0 7px !important;
  color: var(--coral) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.division-program p:last-child {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 13px;
}


/* ==========================================================================
   SECTION 8: PAGE - detail-divisi.html (HALAMAN DETAIL DIVISI)
   Hero Detail Divisi, Panel Informasi Visi-Misi, List Program, & Member Grid
   ========================================================================== */

.division-detail-hero h1 {
  max-width: 850px;
}

.division-detail-hero h1 em,
.detail-members-section h2 em {
  color: var(--yellow);
  font-style: normal;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}

.detail-grid h2,
.detail-members-section h2 {
  margin: 0;
  font: 600 clamp(40px, 5vw, 64px)/0.95 var(--display);
  letter-spacing: -0.07em;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 90px;
  background: var(--line);
}

.detail-panel {
  min-height: 390px;
  padding: 30px;
  background: #eadfcf;
}

.detail-panel:nth-child(2) {
  color: white;
  background: var(--navy);
}

.detail-panel:nth-child(2) .section-label {
  color: var(--yellow);
}

.detail-lead {
  margin: 72px 0 7px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-panel h2 {
  margin: 0;
  font: 600 30px/1.05 var(--display);
}

.detail-profile-slot {
  display: grid;
  place-items: center;
  height: 120px;
  margin-top: 30px;
  color: var(--ink-soft);
  border: 1px dashed rgba(23, 43, 58, 0.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-list {
  display: grid;
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font: 600 18px/1.2 var(--display);
}

.detail-members-section {
  margin-top: 110px;
}

.member-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line);
}

.member-list span {
  display: flex;
  gap: 18px;
  padding: 17px 20px;
  background: var(--paper);
  font-size: 14px;
}

.member-list b {
  color: var(--coral);
  font: 600 12px var(--display);
}


/* ==========================================================================
   SECTION 9: PAGE - berita.html (HALAMAN BERITA & ARTIKEL)
   Article List Rows, Date Badges, News Categories, & Article Images
   ========================================================================== */

.article-row {
  display: grid;
  grid-template-columns: 70px 245px 1fr;
  gap: 28px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.article-date {
  color: var(--coral);
  font: 600 29px/0.8 var(--display);
}

.article-date small {
  font: 700 10px var(--body);
  letter-spacing: 0.1em;
}

.article-art {
  position: relative;
  overflow: hidden;
  height: 150px;
  padding: 18px;
}

.article-row h2 {
  max-width: 520px;
  margin: 7px 0 21px;
  font: 600 27px/1.08 var(--display);
  letter-spacing: -0.05em;
}

.article-category {
  margin: 0;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}


/* ==========================================================================
   SECTION 10: PAGE - kegiatan.html (HALAMAN AGENDA & KEGIATAN)
   Event Cards, Highlights, & Date Indicators
   ========================================================================== */

.event-card {
  display: grid;
  grid-template-columns: 1fr 35px;
  gap: 25px;
  align-items: center;
  padding: 30px 20px;
  border-bottom: 1px solid var(--line);
}

.event-highlight {
  color: white;
  background: var(--navy);
}

.event-date {
  display: none;
}

.event-date strong {
  font: 600 57px / 0.8 var(--display);
  letter-spacing: -0.08em;
}

.event-date span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.event-date-hidden {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-card h3 {
  margin: 4px 0;
  font: 600 29px var(--display);
  letter-spacing: -0.05em;
}

.event-card p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.event-highlight p:last-child {
  color: #bac8cc;
}

.event-card>a {
  font-size: 27px;
}


/* ==========================================================================
   SECTION 11: SHARED FOOTER
   Footer Links, Copyright, & Brand Mark
   ========================================================================== */

.site-footer {
  color: #b4c2c6;
  background: var(--navy);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 28px;
}

.footer-links {
  display: flex;
  gap: 72px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-links p {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  justify-content: space-between;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #71878f;
  font-size: 11px;
}

.footer-brand {
  align-self: flex-start;
}


/* ==========================================================================
   SECTION 12: MEDIA QUERIES & RESPONSIVE DESIGN
   Mobile (<=760px), Reduced Motion, Tablet (768px-1023px), & Desktop (1024px+)
   ========================================================================== */

/* --- MOBILE BREAKPOINT (<= 760px) --- */
@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 560px);
  }

  .nav-wrap {
    gap: 12px;
    padding-right: 4px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .brand>span:last-child {
    min-width: 0;
    max-width: 145px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    margin-top: 2px;
    font-size: 8px;
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-mark {
    width: 42px;
    flex-basis: 42px;
    height: 38px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 38px;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 18px 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    z-index: 3;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    background: rgba(13, 45, 74, 0.98);
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
  }

  .site-header.scrolled .main-nav {
    top: 54px;
    background: rgba(13, 45, 74, 0.98);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .site-header .main-nav a,
  .site-header.inner-header .main-nav a,
  .site-header.scrolled .main-nav a {
    color: white;
    opacity: 0.82;
  }

  .site-header .main-nav a:hover,
  .site-header .main-nav a.active,
  .site-header.inner-header .main-nav a:hover,
  .site-header.inner-header .main-nav a.active,
  .site-header.scrolled .main-nav a:hover,
  .site-header.scrolled .main-nav a.active {
    color: white;
    opacity: 1;
  }

  .site-header .menu-toggle,
  .site-header.inner-header .menu-toggle,
  .site-header.scrolled .menu-toggle {
    color: white;
    border: 0;
    background: var(--navy);
  }

  .main-nav .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 840px;
    padding-top: 120px;
  }

  .hero-grid {
    display: block;
  }

  .hero h1 {
    font-size: 70px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-art {
    min-height: 360px;
    margin-top: 38px;
    width: 100%;
    transform: scale(0.82);
    transform-origin: top center;
  }

  .hero-footer {
    margin-top: -36px;
  }

  .scroll-line {
    width: 45px;
    margin-left: 0;
  }

  .section-space {
    padding: 85px 0;
  }

  .intro-grid {
    display: block;
  }

  .intro-grid>.section-label {
    margin-bottom: 42px;
  }

  .intro-content p {
    font-size: 17px;
  }

  .section-heading {
    display: block;
    margin-bottom: 42px;
  }

  .heading-aside {
    margin-top: 24px;
  }

  .focus-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .focus-item {
    min-height: 300px;
  }

  .news-image {
    height: 230px;
  }

  .news-heading>.text-link {
    margin-top: 25px;
  }

  .closing {
    padding: 90px 0 100px;
  }

  .footer-top {
    display: block;
    padding: 54px 0;
  }

  .footer-links {
    gap: 45px;
    margin-top: 50px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cabinet-hero {
    min-height: 650px;
    padding-top: 145px;
  }

  .cabinet-hero-inner {
    margin-left: 18px;
  }

  .cabinet-logo {
    width: 220px;
    height: 150px;
  }

  .philosophy-grid,
  .symbol-grid {
    display: block;
  }

  .philosophy-card {
    min-height: 220px;
  }

  .symbol-grid>div {
    margin-top: 42px;
  }

  .cabinet-division-heading {
    margin-top: 75px;
  }

  .back-link {
    margin-bottom: 35px;
  }

  .detail-grid,
  .detail-columns {
    display: block;
  }

  .detail-grid .heading-aside {
    margin-top: 28px;
  }

  .detail-panel+.detail-panel {
    margin-top: 1px;
  }

  .detail-members-section {
    margin-top: 75px;
  }

  .member-list {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    min-height: 510px;
    padding-top: 150px;
  }

  .inner-lead {
    margin: 28px 0 0;
  }

  .directory-toolbar {
    display: block;
  }

  .filter-group {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .people-grid {
    grid-template-columns: 1fr 1fr;
  }

  .person-card {
    min-height: 245px;
    padding: 19px;
  }

  .avatar {
    width: 82px;
    height: 82px;
    margin-bottom: 27px;
    font-size: 23px;
  }

  .person-card h3 {
    font-size: 17px;
  }

  .person-card p {
    font-size: 11px;
  }

  .division-row {
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 25px 0;
  }

  .division-row h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
  }

  .division-row p {
    font-size: 13px;
  }

  .article-row {
    grid-template-columns: 43px 1fr;
    gap: 15px;
    padding: 25px 12px;
  }

  .article-art {
    grid-column: 2;
    grid-row: 1;
    height: 125px;
  }

  .article-row>div:last-child {
    grid-column: 1 / -1;
  }

  .article-row h2 {
    font-size: 23px;
    overflow-wrap: anywhere;
  }

  .event-card {
    grid-template-columns: 1fr 25px;
    gap: 20px;
    padding: 26px 16px;
    border-radius: 0 0 8px 8px;
  }

  .event-date {
    grid-column: 1 / -1;
  }

  .event-card h3 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .story-grid {
    display: block;
  }

  .story-grid>.section-label {
    margin-bottom: 45px;
  }

  .story-grid .story-lead {
    font-size: 21px;
  }

  .quote-section {
    padding: 80px 0;
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cabinet-team,
  .cabinet-leaders {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 290px;
    padding: 15px;
  }

  .profile-slot {
    height: 155px;
    margin-bottom: 16px;
  }

  .department-chairs .profile-card {
    min-height: 280px;
  }

  .department-chairs .profile-slot {
    height: 145px;
  }

  .profile-card h3 {
    font-size: 18px;
  }

  .profile-role {
    font-size: 9px;
  }

  .department-chairs {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- ACCESSIBILITY / REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- TABLET BREAKPOINT (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    width: min(100% - 32px, 920px);
  }

  .site-header {
    padding: 18px 0;
  }

  .brand-mark {
    width: 52px;
    flex-basis: 52px;
  }

  .main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero h1 {
    font-size: 78px;
  }

  .focus-grid,
  .news-grid,
  .profile-grid,
  .people-grid,
  .leadership-grid,
  .philosophy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .department-list {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .symbol-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
  }

  .article-row {
    grid-template-columns: 60px minmax(170px, 200px) minmax(0, 1fr);
    gap: 18px;
  }

  .division-row {
    grid-template-columns: 54px minmax(0, 1fr) 32px;
    gap: 18px;
  }

  .division-row h2 {
    font-size: 26px;
    overflow-wrap: anywhere;
  }

  .article-row h2,
  .event-card h3 {
    overflow-wrap: anywhere;
  }

  .event-card {
    grid-template-columns: 1fr 30px;
  }

  .footer-top {
    gap: 36px;
  }

  .footer-links {
    gap: 36px;
  }
}

/* --- DESKTOP MEDIUM BREAKPOINT (1024px - 1439px) --- */
@media (min-width: 1024px) and (max-width: 1439px) {
  .container {
    width: min(100% - 48px, 1040px);
  }

  .hero {
    min-height: 680px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero h1 {
    font-size: clamp(66px, 6vw, 98px);
  }

  .focus-grid,
  .news-grid,
  .people-grid,
  .profile-grid,
  .leadership-grid,
  .philosophy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .department-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: 0.9fr 1.6fr;
  }

  .symbol-grid {
    grid-template-columns: 0.95fr 1.7fr;
  }

  .footer-top {
    gap: 48px;
  }
}

/* --- LARGE DESKTOP BREAKPOINT (1440px+) --- */
@media (min-width: 1440px) {
  .container {
    width: min(1280px, calc(100% - 80px));
  }

  .main-nav {
    gap: 34px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .section-space {
    padding: 130px 0;
  }

  .focus-grid,
  .news-grid,
  .people-grid,
  .profile-grid,
  .leadership-grid,
  .philosophy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .department-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .symbol-grid {
    gap: 90px;
  }

  .footer-top {
    padding: 32px 0 34px;
  }
}