:root {
  --navy: #0e2638;
  --navy-2: #173b54;
  --ink: #11263a;
  --muted: #667085;
  --paper: #f7f2e8;
  --white: #fffdf7;
  --gold: #d19b27;
  --gold-2: #f5ca70;
  --teal: #0e8c8f;
  --teal-dark: #067174;
  --coral: #de5d44;
  --blue: #263f7a;
  --line: #ddd5c8;
  --soft-teal: #eaf6f5;
  --soft-gold: #fff8e6;
  --soft-coral: #fff0ed;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #e9e3d7;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.28;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.sheet {
  position: relative;
  width: 210mm;
  height: 297mm;
  margin: 24px auto 72px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 22px 80px rgba(17, 38, 58, 0.22);
}

.watermark {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
}

.watermark span {
  position: absolute;
  left: -46mm;
  width: 330mm;
  color: var(--navy);
  font-size: 17mm;
  font-weight: 900;
  letter-spacing: 1.8mm;
  text-transform: uppercase;
  transform: rotate(-34deg);
  transform-origin: center;
  white-space: nowrap;
}

.watermark span:nth-child(1) { top: 82mm; }
.watermark span:nth-child(2) { top: 164mm; }
.watermark span:nth-child(3) { top: 246mm; }

.hero,
.body-panel,
.footer-bar {
  position: relative;
  z-index: 2;
}

.hero {
  height: 78mm;
  min-height: 0;
  padding: 8mm 13mm 0;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(245, 202, 112, 0.24), transparent 24%),
    radial-gradient(circle at 16% 78%, rgba(14, 140, 143, 0.28), transparent 30%),
    linear-gradient(135deg, #0c2233 0%, var(--navy) 48%, var(--navy-2) 100%);
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8mm;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 140, 143, 0.58), rgba(245, 202, 112, 0.42)),
    linear-gradient(180deg, transparent, rgba(255, 253, 247, 0.14));
}

.topline {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5.6mm;
  align-items: center;
  min-height: 18mm;
}

.brand-lockup {
  display: grid;
  grid-template-rows: 1fr 0.45mm 1fr;
  place-items: center;
  width: 18mm;
  height: 18mm;
  padding: 1.5mm 0;
  border-radius: 3.5mm;
  color: var(--white);
  background: linear-gradient(145deg, rgba(6, 113, 116, 0.82), rgba(10, 94, 100, 0.72));
  box-shadow:
    inset 0 0 0 0.35mm rgba(255, 253, 247, 0.18),
    0 2mm 7mm rgba(0, 0, 0, 0.12);
  font-size: 4mm;
  font-weight: 850;
  line-height: 1;
}

.brand-lockup i {
  display: block;
  width: 11mm;
  height: 0.35mm;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.program strong,
.program span {
  display: block;
}

.program {
  padding-right: 50mm;
}

.program strong {
  overflow: visible;
  font-size: 2.92mm;
  line-height: 1.22;
  text-transform: uppercase;
  white-space: nowrap;
}

.program strong em {
  display: inline-block;
  margin: 0 0.55mm;
  color: #88fff2;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.32mm;
  text-transform: none;
  text-shadow: 0 0 5px rgba(136, 255, 242, 0.4);
}

.program span {
  margin-top: 0.8mm;
  font-size: 2.85mm;
}

.program > span {
  color: rgba(255, 253, 247, 0.86);
}

.contact-stack {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 1.5mm;
  width: 47mm;
}

.contact-pill {
  width: 47mm;
  padding: 2.25mm 2.4mm;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: 0 1.4mm 5mm rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 2.15mm;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.contact-stack img {
  width: 47mm;
  height: 47mm;
  padding: 3.4mm;
  background: rgba(255, 253, 247, 0.88);
  border: 0.25mm solid rgba(255, 253, 247, 0.52);
  border-radius: 3mm;
  box-shadow: 0 2mm 7mm rgba(0, 0, 0, 0.14);
}

.hero-main {
  position: static;
  z-index: 2;
  max-width: 126mm;
  margin-top: 4.2mm;
  padding-bottom: 4mm;
}

.eyebrow {
  margin: 0 0 2.7mm;
  color: var(--gold-2);
  font-size: 3.1mm;
  font-weight: 680;
  letter-spacing: 0.18mm;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  font-size: 13.7mm;
  letter-spacing: 0;
  line-height: 0.88;
}

h1 span {
  display: block;
  color: var(--gold-2);
}

.hero-sub {
  position: absolute;
  left: 13mm;
  right: 13mm;
  bottom: 1.1mm;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 5.5mm;
  margin: 0;
  font-size: 3.9mm;
}

.body-panel {
  margin: 6mm 9mm 0;
  padding: 5.8mm 8mm 4mm;
  background:
    linear-gradient(rgba(255, 253, 247, 0.74), rgba(255, 253, 247, 0.78)),
    radial-gradient(circle at 17% 15%, rgba(14, 140, 143, 0.08), transparent 27%),
    linear-gradient(120deg, transparent 0 44%, rgba(17, 38, 58, 0.04) 44% 44.5%, transparent 44.5% 100%);
  border: 0.35mm solid rgba(221, 213, 200, 0.76);
  border-radius: 6mm;
  box-shadow: inset 0 0 0 0.2mm rgba(255, 253, 247, 0.5);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 69mm;
  gap: 10mm;
  align-items: start;
}

h2 {
  margin-bottom: 1.8mm;
  font-size: 5.2mm;
  line-height: 1.05;
}

.intro-grid p,
.sourav-card p {
  margin-bottom: 0;
  font-size: 3.5mm;
}

.sourav-card {
  position: relative;
  display: grid;
  grid-template-columns: 22mm 1fr;
  gap: 3.5mm;
  padding: 3.4mm 8.5mm 3.4mm 3.4mm;
  background: rgba(234, 246, 245, 0.74);
  border: 0.35mm solid rgba(168, 214, 211, 0.66);
  border-radius: 3mm;
  box-shadow: inset 0 0 0 0.2mm rgba(255, 253, 247, 0.42);
}

.photo-badge-wrap {
  position: relative;
  width: 22mm;
  height: 22mm;
  overflow: hidden;
  border-radius: 2.4mm;
}

.photo-badge-wrap img {
  display: block;
  width: 22mm;
  height: 22mm;
  object-fit: cover;
  object-position: 66% 42%;
  border-radius: 2.4mm;
  border: 0.7mm solid rgba(255, 253, 247, 0.84);
}

.speaker-badge {
  position: absolute;
  top: 2.6mm;
  right: 1.8mm;
  bottom: 2.6mm;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2mm;
  padding: 0.9mm 0.4mm;
  color: var(--navy);
  background: rgba(245, 202, 112, 0.68);
  border: 0.25mm solid rgba(17, 38, 58, 0.12);
  border-radius: 2mm;
  font-size: 1.38mm;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sourav-card h2 {
  margin-bottom: 1.2mm;
  color: var(--teal-dark);
  font-size: 4.7mm;
}

.sourav-card p {
  font-size: 2.68mm;
  line-height: 1.22;
}

.thesis-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4mm;
  margin: 4mm 0 5.2mm;
  padding: 3mm 3.8mm;
  background: linear-gradient(90deg, rgba(14, 140, 143, 0.12), rgba(209, 155, 39, 0.16));
  border: 0.3mm solid rgba(17, 38, 58, 0.12);
  border-radius: 3mm;
}

.thesis-strip div {
  display: grid;
  gap: 0.9mm;
}

.thesis-strip div:first-child {
  padding-right: 4mm;
  border-right: 0.3mm solid rgba(17, 38, 58, 0.12);
}

.thesis-strip strong {
  color: var(--teal-dark);
  font-size: 3.25mm;
}

.thesis-strip span {
  font-size: 2.8mm;
  line-height: 1.2;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6mm;
  margin-bottom: 6mm;
}

.module {
  min-height: 33mm;
  padding: 4.2mm;
  border: 0.4mm solid currentColor;
  border-radius: 3mm;
}

.module span {
  display: inline-grid;
  place-items: center;
  width: 8.5mm;
  height: 8.5mm;
  margin-bottom: 2.4mm;
  color: var(--white);
  border-radius: 2.4mm;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 5.3mm;
  font-weight: 700;
  line-height: 1;
}

.module h3 {
  margin-bottom: 2mm;
  font-size: 4mm;
}

.module p {
  margin-bottom: 0;
  font-size: 3.05mm;
  line-height: 1.2;
}

.module.gold {
  color: var(--gold);
  background: rgba(255, 248, 230, 0.78);
}

.module.teal {
  color: var(--teal-dark);
  background: rgba(234, 246, 245, 0.78);
}

.module.coral {
  color: var(--coral);
  background: rgba(255, 240, 237, 0.78);
}

.module.gold span { background: var(--gold); }
.module.teal span { background: var(--teal); }
.module.coral span { background: var(--coral); }
.module h3,
.module p { color: var(--ink); }

.ladder-block h2 {
  margin-bottom: 3mm;
}

.ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2mm;
  margin-bottom: 5.5mm;
}

.ladder div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2mm;
  align-items: center;
  min-height: 17mm;
  padding: 2.6mm 2.4mm 2.6mm 5.6mm;
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 4mm) 0, 100% 50%, calc(100% - 4mm) 100%, 0 100%, 4mm 50%);
}

.ladder div:nth-child(1) { background: var(--navy); }
.ladder div:nth-child(2) { background: var(--teal); }
.ladder div:nth-child(3) { background: var(--gold); }
.ladder div:nth-child(4) { background: var(--coral); }
.ladder div:nth-child(5) { background: var(--blue); }

.ladder strong {
  font-size: 5mm;
}

.ladder span,
.ladder em {
  display: block;
  font-style: normal;
}

.ladder span {
  font-size: 2.75mm;
  font-weight: 900;
}

.ladder em {
  margin-top: 0.6mm;
  font-size: 2.45mm;
  font-weight: 500;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7mm;
}

.cred-card {
  min-height: 44mm;
  padding: 4.5mm;
  background: rgba(255, 253, 247, 0.68);
  border: 0.35mm solid rgba(221, 213, 200, 0.72);
  border-radius: 4mm;
}

.cred-card h2 {
  margin-bottom: 3mm;
  font-size: 4.25mm;
}

.cred-row {
  position: relative;
  display: grid;
  gap: 0.55mm;
  margin-top: 2mm;
  padding: 1.6mm 2.5mm 1.6mm 8mm;
  background: rgba(255, 253, 247, 0.72);
  border: 0.25mm solid var(--line);
  border-radius: 999px;
}

.cred-row::before {
  position: absolute;
  top: 2.5mm;
  left: 3mm;
  width: 3.2mm;
  height: 3.2mm;
  content: "";
  border-radius: 50%;
  background: var(--navy);
}

.cred-row.teal-dot::before { background: var(--teal); }
.cred-row.gold-dot::before { background: var(--gold); }
.cred-row.coral-dot::before { background: var(--coral); }

.cred-row b {
  font-size: 2.7mm;
  line-height: 1.05;
}

.cred-row span {
  color: var(--muted);
  font-size: 2.35mm;
  line-height: 1.12;
}

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 2mm 13mm 0;
  padding: 1.9mm 5mm;
  color: var(--white);
  background: linear-gradient(90deg, rgba(14, 38, 56, 0.94), rgba(16, 43, 63, 0.88));
  border-radius: 3mm;
}

.footer-bar strong {
  font-size: 3.7mm;
}

.footer-bar span {
  color: var(--gold-2);
  font-size: 2.8mm;
  font-weight: 850;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  body {
    background: transparent;
  }

  .sheet {
    margin: 0;
    box-shadow: none;
  }
}
