/* ================================================
   ATLASIA STATE UNIVERSITY — Official Website
   Professional Academic Design
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* ── RESET & TOKENS ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --crimson:       #8C1515;
  --crimson-dark:  #6b0f0f;
  --crimson-light: #b52020;
  --gold:          #B8962E;
  --gold-light:    #d4ac42;
  --navy:          #003366;
  --white:         #ffffff;
  --off-white:     #f8f6f2;
  --gray-50:       #f9fafb;
  --gray-100:      #f1f0ed;
  --gray-200:      #e4e2dc;
  --gray-400:      #9e9b94;
  --gray-600:      #605d56;
  --gray-800:      #2d2b27;
  --text:          #1a1916;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.14);
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Source Sans 3', system-ui, sans-serif;
  --font-serif:    'Crimson Text', Georgia, serif;
  --radius:        4px;
  --transition:    0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--crimson-dark); }

/* ── TOPBAR ───────────────────────────────────── */
.topbar {
  background: var(--crimson-dark);
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}

.topbar a { color: rgba(255,255,255,0.85); font-family: var(--font-body); font-size: 0.75rem; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-links { display: flex; gap: 20px; }

/* ── NAV ──────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 3px solid var(--crimson);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-logo { height: 44px; flex-shrink: 0; }

.nav-brand { flex: 1; }

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1.2;
  display: block;
}

.nav-brand-sub {
  font-size: 0.72rem;
  color: var(--gray-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: var(--gray-100);
  color: var(--crimson);
  text-decoration: none;
}

.nav-links a.active { color: var(--crimson); border-bottom: 2px solid var(--crimson); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--crimson-dark);
}

.hero-banner {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(110,15,15,0.82) 0%,
    rgba(20,10,5,0.55) 60%,
    rgba(0,0,0,0.2) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px max(40px, 8vw);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 18px;
}

.hero-body {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: #fff; text-decoration: none; box-shadow: 0 4px 16px rgba(184,150,46,0.4); }

.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }

/* ── STAT BAR ─────────────────────────────────── */
.stat-bar {
  background: var(--crimson);
  padding: 20px 40px;
}

.stat-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-item { text-align: center; color: #fff; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-top: 4px;
}

/* ── SHARED LAYOUT ────────────────────────────── */
.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 72px 0; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title-light { color: #fff; }

.section-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin-bottom: 24px;
}

.section-lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 640px;
}

.divider { border: none; border-top: 1px solid var(--gray-200); margin: 0; }

/* ── ABOUT / CREDENTIALS ─────────────────────── */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.8;
}

/* ── FLOATING PORTRAIT + DIPLOMA ─────────────── */
.credentials-display {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 0 32px;
}

.doc-float {
  position: relative;
  display: inline-block;
  transition: transform var(--transition), box-shadow var(--transition);
}

.doc-float:hover { z-index: 5; }

.portrait-wrap {
  transform: rotate(-3deg) translateX(20px);
  z-index: 2;
  margin-top: 24px;
}

.portrait-wrap:hover { transform: rotate(-1deg) translateX(20px) scale(1.02); }

.diploma-wrap {
  transform: rotate(3deg) translateX(-20px);
  z-index: 1;
}

.diploma-wrap:hover { transform: rotate(1.5deg) translateX(-20px) scale(1.02); }

.doc-float img {
  display: block;
  border: 8px solid var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
}

.portrait-wrap img { width: clamp(150px, 17vw, 230px); }
.diploma-wrap img  { width: clamp(190px, 22vw, 290px); }

/* ── ID CARDS ────────────────────────────────── */
.ids-section { background: var(--off-white); }

.ids-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  margin-top: 48px;
}

.id-card {
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.id-card:hover { z-index: 5; }

.id-card img {
  display: block;
  width: clamp(160px, 18vw, 240px);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.id-faculty { transform: rotate(-3.5deg) translateY(10px); }
.id-flare   { transform: rotate(1.5deg) translateY(-6px); }
.id-mkt     { transform: rotate(-1.5deg) translateY(8px); }

.id-faculty:hover { transform: rotate(-1deg) translateY(4px) scale(1.03); box-shadow: 0 12px 36px rgba(0,0,0,0.2); }
.id-flare:hover   { transform: rotate(0.5deg) translateY(-2px) scale(1.03); box-shadow: 0 12px 36px rgba(0,0,0,0.2); }
.id-mkt:hover     { transform: rotate(-0.5deg) translateY(3px) scale(1.03); box-shadow: 0 12px 36px rgba(0,0,0,0.2); }

.ids-caption {
  text-align: center;
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── ANNOUNCEMENT SECTION ────────────────────── */
.announcement-section { background: var(--white); }

.announcement-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.announcement-img-wrap { overflow: hidden; }
.announcement-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.announcement-img-wrap:hover img { transform: scale(1.03); }

.announcement-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.announcement-heading-img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 24px;
}

.announcement-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
  line-height: 1.3;
}

.announcement-body p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.75;
}

.announcement-body .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--crimson);
  margin-top: 8px;
}

/* ── GRADUATE PROFILE ────────────────────────── */
.profile-section { background: var(--crimson-dark); }

.profile-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}

.profile-portrait img {
  width: clamp(200px, 22vw, 300px);
  border: 6px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}

.profile-portrait::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(184,150,46,0.4);
  pointer-events: none;
}

.profile-portrait { position: relative; }

.profile-text .section-eyebrow { color: var(--gold-light); }

.profile-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.profile-text .role {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

hr.section-rule-light {
  width: 56px; height: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  margin-bottom: 24px;
}

.profile-text p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  line-height: 1.8;
}

/* ── CAMPUS STRIP ────────────────────────────── */
.campus-strip {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.campus-strip img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

.campus-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(140,21,21,0.72) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 max(40px, 8vw);
}

.campus-strip-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 480px;
}

.campus-strip-text em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.6em;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer { background: var(--gray-800); color: rgba(255,255,255,0.65); }

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img { height: 52px; margin-bottom: 16px; opacity: 0.9; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 8px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.52); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ── HAMBURGER (mobile) ───────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .announcement-card { grid-template-columns: 1fr; }
  .announcement-img-wrap { max-height: 240px; }
  .profile-grid { grid-template-columns: 1fr; text-align: center; }
  .profile-portrait { margin: 0 auto; }
  .profile-portrait::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-inner { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    border-bottom: 3px solid var(--crimson);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }
  .hero-overlay { padding: 36px 24px; }
  .stat-bar { padding: 16px 20px; }
  .stat-number { font-size: 1.5rem; }
  .content-wrap { padding: 0 20px; }
  section { padding: 52px 0; }
  .credentials-display { flex-direction: column; align-items: center; gap: 24px; padding-bottom: 0; }
  .portrait-wrap { transform: none; margin: 0; }
  .diploma-wrap  { transform: none; }
  .portrait-wrap:hover { transform: scale(1.02); }
  .diploma-wrap:hover  { transform: scale(1.02); }
  .announcement-body { padding: 32px 24px; }
  .ids-grid { gap: 20px; }
  .id-card img { width: clamp(130px, 38vw, 180px); }
  .id-faculty, .id-flare, .id-mkt { transform: none; }
  .id-faculty:hover, .id-flare:hover, .id-mkt:hover { transform: scale(1.03); }
  .campus-strip { height: 160px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

:root {
  --bg:            #13100b;
  --board:         #5c3d1e;
  --board-light:   #7a5230;
  --paper:         #f4e9cc;
  --paper-worn:    #dfd0a4;
  --ink:           #1e130a;
  --ink-faded:     #3d2b14;
  --gold:          #c9961f;
  --gold-light:    #e8b84b;
  --red:           #8b1a1a;
  --blue-stamp:    #1a3a6b;
  --shadow:        rgba(0,0,0,0.65);
  --pin-shadow:    rgba(0,0,0,0.5);
  --font-title:    'Oswald', sans-serif;
  --font-body:     'Crimson Text', serif;
  --font-type:     'Special Elite', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HEADER BANNER ────────────────────────────── */
.site-header {
  position: relative;
  width: 100%;
  background: #0d0b07;
  border-bottom: 3px solid var(--gold);
}

.header-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.85;
  filter: sepia(20%) contrast(1.1);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,7,0.3) 0%, rgba(13,11,7,0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}

.header-logo {
  height: 72px;
  filter: drop-shadow(0 0 10px var(--gold));
}

.header-title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 30px rgba(201,150,31,0.4);
}

.header-subtitle {
  font-family: var(--font-type);
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.25em;
  color: #c8b99a;
  text-transform: uppercase;
}

/* ── MAIN CONTENT ─────────────────────────────── */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ── SECTION LABELS ───────────────────────────── */
.section-label {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ── DOSSIER INTRO ────────────────────────────── */
.dossier-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 64px;
}

.dossier-text {
  flex: 1 1 340px;
}

.dossier-text h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  line-height: 1.15;
}

.dossier-text .case-number {
  font-family: var(--font-type);
  font-size: 0.82rem;
  color: #a08060;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: block;
}

.dossier-text p {
  color: #c8b99a;
  margin-bottom: 14px;
  font-size: 1rem;
}

/* ── STAMP ────────────────────────────────────── */
.stamp {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 3px solid;
  border-radius: 4px;
  margin-top: 10px;
  transform: rotate(-3deg);
  font-weight: 700;
}

.stamp-red  { color: var(--red); border-color: var(--red); }
.stamp-blue { color: var(--blue-stamp); border-color: var(--blue-stamp); }

/* ── PORTRAIT & DIPLOMA FLOATING ─────────────── */
.documents-showcase {
  flex: 1 1 420px;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.doc-float {
  position: relative;
  display: inline-block;
  filter: drop-shadow(4px 6px 18px var(--shadow));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.doc-float:hover {
  filter: drop-shadow(6px 10px 28px rgba(0,0,0,0.85)) brightness(1.05);
  z-index: 10;
}

/* Pin effect */
.doc-float::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 40% 35%, #e05050, #9b1010);
  border-radius: 50%;
  box-shadow: 0 2px 6px var(--pin-shadow);
  z-index: 5;
}

.portrait-wrap {
  transform: rotate(-4deg) translateX(10px);
  z-index: 2;
  margin-top: 30px;
}

.diploma-wrap {
  transform: rotate(3.5deg) translateX(-10px);
  z-index: 1;
  margin-top: 10px;
}

.doc-float img {
  display: block;
  max-width: 100%;
  border: 6px solid var(--paper-worn);
  background: var(--paper);
}

.portrait-wrap img {
  width: clamp(140px, 18vw, 220px);
  border-radius: 2px;
}

.diploma-wrap img {
  width: clamp(180px, 22vw, 280px);
  border-radius: 2px;
}

/* ── ID CARDS SCATTER SECTION ─────────────────── */
.ids-section {
  margin-bottom: 64px;
}

.ids-board {
  background: var(--board);
  background-image:
    radial-gradient(ellipse at 20% 30%, var(--board-light) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, #3d2008 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='none'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='rgba(0,0,0,0.15)'/%3E%3C/svg%3E");
  border: 4px solid #2d1a08;
  border-radius: 6px;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.7);
  padding: 48px 24px 40px;
  position: relative;
}

.ids-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.id-card-float {
  position: relative;
  filter: drop-shadow(3px 5px 14px rgba(0,0,0,0.7));
  transition: transform 0.3s ease, filter 0.3s ease, z-index 0s;
  cursor: pointer;
  z-index: 1;
}

.id-card-float:hover {
  filter: drop-shadow(6px 10px 22px rgba(0,0,0,0.9)) brightness(1.08);
  z-index: 10;
}

/* Pin on each ID */
.id-card-float::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 38% 32%, #f0c040, #b07010);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
  z-index: 5;
}

.id-card-float img {
  display: block;
  width: clamp(150px, 20vw, 240px);
  border-radius: 4px;
  border: 3px solid rgba(255,255,255,0.12);
}

/* Individual rotations */
.id-faculty { transform: rotate(-5deg) translateY(8px); }
.id-flare   { transform: rotate(2.5deg) translateY(-4px); }
.id-mkt     { transform: rotate(-2deg) translateY(12px); }

/* String lines — decorative tape */
.id-card-float::after {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: rgba(200, 170, 100, 0.6);
  z-index: 4;
}

/* ── ADVERTISEMENT SECTION ────────────────────── */
.ad-section {
  margin-bottom: 64px;
}

.ad-inner {
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink-faded);
  border-radius: 3px;
  box-shadow: 6px 6px 0 var(--ink-faded), 0 8px 32px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: rotate(-0.5deg);
}

.ad-heading-img {
  width: 100%;
  display: block;
  border-bottom: 2px solid var(--ink-faded);
  filter: sepia(10%);
}

.ad-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.ad-copy {
  flex: 1 1 220px;
  padding: 28px 28px 28px 28px;
}

.ad-copy h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.ad-copy p {
  font-family: var(--font-type);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-faded);
}

.ad-main-img {
  flex: 1 1 260px;
  display: block;
  width: 100%;
  object-fit: cover;
  max-height: 320px;
  filter: sepia(15%) contrast(1.05);
}

/* ── GRADUATE SECTION ─────────────────────────── */
.graduate-section {
  margin-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.graduate-frame {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
}

.graduate-frame img {
  display: block;
  width: clamp(180px, 26vw, 320px);
  border: 8px solid var(--paper-worn);
  box-shadow: 4px 4px 0 var(--gold), 10px 10px 30px rgba(0,0,0,0.7);
  filter: sepia(10%) contrast(1.05);
  transform: rotate(1.5deg);
}

.graduate-frame::after {
  content: 'SUBJECT OF INTEREST';
  position: absolute;
  bottom: -12px;
  right: -10px;
  font-family: var(--font-type);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--red);
  background: var(--paper);
  padding: 2px 8px;
  border: 1px solid var(--red);
  transform: rotate(2deg);
}

.graduate-bio {
  flex: 1 1 300px;
}

.graduate-bio h2 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.graduate-bio .role {
  font-family: var(--font-type);
  color: #a08060;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.graduate-bio p {
  color: #c0ae90;
  margin-bottom: 12px;
}

/* ── GRAFF / EVIDENCE STRIP ───────────────────── */
.evidence-strip {
  width: 100%;
  overflow: hidden;
  margin-bottom: 64px;
  border-top: 2px solid #3a2a10;
  border-bottom: 2px solid #3a2a10;
  position: relative;
}

.evidence-strip img {
  width: 100%;
  display: block;
  max-height: 200px;
  object-fit: cover;
  filter: sepia(25%) contrast(1.1) brightness(0.8);
  opacity: 0.7;
}

.evidence-strip-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: clamp(1rem, 4vw, 2rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(240, 220, 170, 0.85);
  text-shadow: 0 0 20px rgba(0,0,0,0.9);
  white-space: nowrap;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: #0d0b07;
  border-top: 2px solid #2d1a08;
  text-align: center;
  padding: 28px 20px;
}

footer .footer-logo {
  height: 40px;
  opacity: 0.6;
  margin-bottom: 10px;
  filter: grayscale(50%);
}

footer p {
  font-family: var(--font-type);
  font-size: 0.78rem;
  color: #5a4a30;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 640px) {
  main { padding: 24px 14px 48px; }

  .header-logo { height: 52px; }

  /* Stack portrait and diploma vertically on mobile */
  .documents-showcase {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 28px;
  }

  .portrait-wrap, .diploma-wrap {
    transform: none;
    margin: 0;
  }

  .portrait-wrap img { width: clamp(160px, 55vw, 200px); }
  .diploma-wrap img  { width: clamp(200px, 65vw, 260px); }

  .ids-board { padding: 36px 12px 28px; }

  .id-card-float img { width: clamp(120px, 38vw, 180px); }

  .ad-body { flex-direction: column; }
  .ad-main-img { max-height: 220px; }

  .graduate-section { flex-direction: column; align-items: flex-start; }

  .evidence-strip-label { font-size: 0.9rem; letter-spacing: 0.25em; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .portrait-wrap img { width: clamp(150px, 15vw, 200px); }
  .diploma-wrap img  { width: clamp(190px, 20vw, 250px); }
}
