/* ============================================================
   assets/css/style.css — SMKN 1 Kertajati
   UI Design System (based on smk-ui-concept.html)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --ink: #0F2540;
  --ink-soft: #1B3A5C;
  --ink-light: #2A4E74;
  --paper: #F1F3EF;
  --paper-2: #E7EAE3;
  --amber: #E8A33D;
  --amber-dim: #c98a2d;
  --amber-pale: rgba(232, 163, 61, 0.12);
  --steel: #4E7C99;
  --slate: #5B6672;
  --line: #C9D1D6;
  --white: #FFFFFF;
  --green: #2ECC71;
  --red: #E74C3C;
  --grid-line: rgba(255, 255, 255, 0.08);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);

  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Layout Utilities ---------- */
.wrap {
  max-width: 100%;
  padding: 0 48px;
  margin: 0 auto;
}

section {
  padding: 88px 0;
}

.container {
  max-width: 100%;
  padding: 0 48px;
  margin: 0 auto;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility Bar ---------- */
.utility-bar {
  background: #071A2E;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.utility-bar .badge {
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.utility-bar .u-right {
  display: flex;
  gap: 24px;
}

@media (max-width: 720px) {
  .utility-bar {
    display: none;
  }
}

/* ---------- Navigation ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(135deg, #0F2540 0%, #1B3A5C 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition);
}

header.site-nav.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.88;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  position: relative;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.logo-mark::before,
.logo-mark::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--amber);
}

.logo-mark::before {
  top: -4px;
  left: -4px;
  border-right: 0;
  border-bottom: 0;
}

.logo-mark::after {
  bottom: -4px;
  right: -4px;
  border-left: 0;
  border-top: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: var(--white);
}

.logo-text small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-menu a {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.nav-menu a .idx {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--amber);
  opacity: 0.7;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a.active {
  color: var(--white);
  border-bottom-color: var(--amber);
}

.nav-cta {
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border: none;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: #f3b654;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  color: var(--white);
  font-size: 18px;
  transition: border-color var(--transition);
}

.nav-toggle:hover {
  border-color: var(--amber);
  color: var(--amber);
}

@media (max-width: 1050px) {
  .nav-menu {
    gap: 0;
  }

  .nav-menu a {
    padding: 8px 9px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--ink-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.mobile-menu a.active {
  color: var(--amber);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 28px;
  border: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f3b654;
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 22px;
  border: 1.5px solid var(--ink);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.page-hero .eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--amber);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 640px;
}

.page-hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.page-hero p.lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  max-width: 560px;
}

/* ---------- Section Head ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head .eyebrow-dark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-head p {
  color: var(--slate);
  max-width: 360px;
  font-size: 14.5px;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--amber);
}

/* ---------- Hero Section (Beranda) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -160px;
  top: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(232, 163, 61, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }
}

.crosshair {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.5;
}

.crosshair::before,
.crosshair::after {
  content: '';
  position: absolute;
  background: var(--amber);
}

.crosshair::before {
  width: 100%;
  height: 1px;
  top: 50%;
}

.crosshair::after {
  height: 100%;
  width: 1px;
  left: 50%;
}

.cross-tl {
  top: 20px;
  left: 0;
}

.cross-br {
  bottom: 20px;
  right: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 580px;
}

.hero h1 em {
  color: var(--amber);
  font-style: normal;
}

.hero p.lead {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Schematic / Stats Panel */
.schematic {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  padding: 28px 30px;
  font-family: var(--font-mono);
  backdrop-filter: blur(4px);
}

.schematic .tag {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.schematic-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.schematic-row:first-of-type {
  border-top: none;
}

.schematic-row .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.schematic-row .value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-align: right;
}

.schematic-row .value span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--amber);
  margin-left: 6px;
  display: block;
}

/* ---------- Menu Cards ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.menu-card {
  background: var(--paper);
  padding: 32px 26px;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--transition);
}

.menu-card:hover {
  background: var(--white);
}

.menu-card:hover::before {
  width: 100%;
}

.menu-card .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-dim);
  margin-bottom: 20px;
  display: block;
  letter-spacing: 0.06em;
}

.menu-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: border-color var(--transition), background var(--transition);
  font-size: 22px;
}

.menu-card:hover .menu-icon {
  background: var(--ink);
}

.menu-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  transition: stroke var(--transition);
}

.menu-card:hover .menu-icon svg {
  stroke: var(--amber);
}

.menu-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.menu-card p {
  font-size: 13.5px;
  color: var(--slate);
  margin-bottom: 22px;
  line-height: 1.65;
}

.menu-card .go {
  font-family: var(--font-mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.menu-card .go svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition);
  stroke: currentColor;
}

.menu-card:hover .go {
  color: var(--amber-dim);
}

.menu-card:hover .go svg {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Berita List ---------- */
.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
  cursor: pointer;
}

.news-item:hover {
  background: rgba(232, 163, 61, 0.04);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  flex-shrink: 0;
  width: 60px;
  padding-top: 2px;
  text-align: center;
}

.news-date .day {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  line-height: 1;
}

.news-body h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color var(--transition);
}

.news-item:hover .news-body h4 {
  color: var(--amber-dim);
}

.news-body p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

.news-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  background: var(--amber-pale);
  padding: 2px 8px;
}

/* ---------- Profile Card ---------- */
.profile-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.profile-card .pc-head {
  background: var(--ink);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-card .pc-head span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
}

.profile-card .pc-head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

table.datasheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.datasheet tr {
  border-bottom: 1px solid var(--line);
}

table.datasheet tr:last-child {
  border-bottom: none;
}

table.datasheet tr:hover {
  background: var(--paper);
}

table.datasheet td {
  padding: 14px 24px;
  vertical-align: top;
}

table.datasheet td:first-child {
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12px;
  width: 38%;
}

table.datasheet td:last-child {
  font-weight: 600;
}

.pc-foot {
  padding: 16px 24px;
  border-top: 1px dashed var(--line);
}

.pc-foot a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.pc-foot a:hover {
  color: var(--amber-dim);
}

/* ---------- Split Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Program Keahlian Cards ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--amber);
  transition: height var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--amber-pale);
}

.program-card:hover::after {
  height: 100%;
}

.program-card .prog-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.program-card .prog-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--amber-dim);
  transition: stroke var(--transition);
}

.program-card:hover .prog-icon svg {
  stroke: var(--amber);
}

.program-card .prog-kode {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.program-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ekskul Cards ---------- */
.ekskul-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ekskul-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 22px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.ekskul-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.ekskul-card .badge-jenis {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.badge-jenis.wajib {
  background: rgba(46, 204, 113, 0.12);
  color: #1a8c4e;
}

.badge-jenis.pilihan {
  background: var(--amber-pale);
  color: var(--amber-dim);
}

.ekskul-card .ek-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.ekskul-card .ek-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--amber-dim);
  transition: stroke var(--transition);
}

.ekskul-card:hover .ek-icon svg {
  stroke: var(--amber);
}

.ekskul-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ekskul-card p {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.6;
}

.ekskul-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ekskul-meta span {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .ekskul-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ekskul-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Kampus Section ---------- */
.kampus-section {
  padding: 88px 0;
  background: var(--paper-2);
}

.kampus-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
}

.kampus-main {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
}

.kampus-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.kampus-main:hover img {
  transform: scale(1.04);
}

.kampus-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(to top, rgba(10,12,18,0.88) 0%, transparent 100%);
  color: #fff;
}

.kampus-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(255,189,46,0.12);
  border: 1px solid rgba(255,189,46,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.kampus-caption p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}

.kampus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kampus-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.kampus-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.kampus-thumb:hover img {
  transform: scale(1.08);
}

.kampus-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,18,0.80) 0%, rgba(10,12,18,0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.kampus-thumb:hover .kampus-thumb-overlay {
  opacity: 1;
}

.kampus-thumb-overlay span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-display);
}

.kampus-thumb-overlay small {
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* Highlight: Pesawat Latih */
.kampus-thumb.highlight {
  border: 2px solid rgba(255,189,46,0.45);
  box-shadow: 0 0 0 1px rgba(255,189,46,0.15);
}

.kampus-thumb.highlight .kampus-thumb-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(10,12,18,0.82) 0%, rgba(10,12,18,0) 60%);
}

/* Mobile: stack mosaic vertically */
@media (max-width: 768px) {
  .kampus-mosaic {
    grid-template-columns: 1fr;
  }

  .kampus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kampus-main {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .kampus-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Galeri Grid ---------- */

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.galeri-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-light);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeri-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink-light));
  color: rgba(255, 255, 255, 0.5);
  font-size: 36px;
  gap: 8px;
}

.galeri-placeholder span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.galeri-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 37, 64, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.galeri-item:hover img {
  transform: scale(1.06);
}

.galeri-item:hover .galeri-overlay {
  opacity: 1;
}

.galeri-overlay-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.galeri-overlay-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .galeri-grid {
    grid-template-columns: 1fr;
  }
}

/* Galeri filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-tab {
  background: none;
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--ink);
  color: var(--amber);
  border-color: var(--ink);
}

/* ---------- Berita Detail ---------- */
.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.berita-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.berita-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.berita-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.berita-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.berita-card-body {
  padding: 22px 20px;
}

.berita-card-body .news-tag {
  display: inline-block;
  margin-bottom: 10px;
}

.berita-card-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.berita-card-body p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 16px;
}

.berita-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .berita-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .berita-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sambutan Section ---------- */
.sambutan-section {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.sambutan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.sambutan-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 800px) {
  .sambutan-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.sambutan-kepsek-info {
  text-align: center;
}

.sambutan-avatar {
  width: 120px;
  height: 120px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.05);
}

.sambutan-kepsek-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.sambutan-kepsek-info p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sambutan-text blockquote {
  border-left: 3px solid var(--amber);
  padding-left: 24px;
  margin-bottom: 24px;
}

.sambutan-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.sambutan-text .motto {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
  margin-top: 24px;
  letter-spacing: 0.02em;
}

/* ---------- PPDB Section ---------- */
.ppdb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.ppdb-step {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}

.ppdb-step .step-num {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 auto 18px;
}

.ppdb-step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ppdb-step p {
  font-size: 13px;
  color: var(--slate);
}

@media (max-width: 800px) {
  .ppdb-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ppdb-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-social {
    justify-content: center;
  }
}

.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-grid a:not(.footer-social a) {
  transition: color var(--transition);
}

.footer-grid a:not(.footer-social a):hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  transition: border-color var(--transition), color var(--transition), transform var(--transition), background var(--transition);
}

.footer-social a:hover {
  transform: scale(1.12);
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(232,163,61,0.08);
}

/* ---------- Footer Brand ---------- */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  flex-shrink: 0;
  border-radius: 50%;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-text span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand-text small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

/* ---------- Page Breadcrumb ---------- */
.breadcrumb {
  background: var(--paper-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.breadcrumb li+li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb li:last-child {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Alert / Notice Box ---------- */
.notice {
  padding: 16px 22px;
  border-left: 3px solid var(--amber);
  background: var(--amber-pale);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.notice strong {
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .wrap {
    padding: 0 20px;
  }

  .section-head h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Animations ---------- */
@keyframes pulse-amber {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.3);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(232, 163, 61, 0);
  }
}

.pulse {
  animation: pulse-amber 2.4s infinite;
}

/* Print styles */
@media print {

  .utility-bar,
  header,
  footer,
  .nav-toggle,
  .hero-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  section {
    padding: 20px 0;
  }
}

padding: 20px 0;
}
}