/* ============================================================
   ITM Business School â€” MBA iConnect Application Portal
   Page layout. All selectors are prefixed `itm-` so nothing
   here collides with Bootstrap or the registration form code.
   ============================================================ */

body {
  margin: 0;
  background: var(--dark);
  font-family: var(--font-body);
  color: var(--cream);
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }
img { max-width: 100%; }

.itm-page {
  width: 100%;
  min-height: 100vh;
  height: auto;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: var(--dark);
}

/* ---------- Header ---------- */
.itm-header {
  flex: none;
  min-height: 56px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 2.6vw, 40px) 8px clamp(16px, 3vw, 44px);
  border-bottom: 1px solid var(--border);
}
.itm-hd-left { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); min-width: 0; }
.itm-logo { height: clamp(28px, 2.6vw, 34px); width: auto; display: block; }
.itm-vrule { width: 1px; height: 28px; background: var(--border-strong); display: block; flex: none; }
.itm-years { display: flex; align-items: center; gap: 9px; }
.itm-years-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  color: var(--crimson);
}
.itm-years-txt {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-muted);
  width: 110px;
}
.itm-hd-right { display: flex; align-items: center; gap: 10px; flex: none; }
.itm-help-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.itm-help-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--crimson);
}
.itm-help-mail-sm {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
}
.itm-cta-sm {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--crimson);
  color: var(--cream);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}
.itm-cta-sm:hover,
.itm-cta-sm:focus { background: var(--brand-hover); color: var(--cream); text-decoration: none; }

/* ---------- Split ---------- */
.itm-split { flex: 1 0 auto; padding: 0; display: flex; flex-direction: column; }
.itm-split > .row { flex: 1 0 auto; margin: 0; display: flex; flex-wrap: wrap; align-items: stretch; }
/* Bootstrap 3 clearfix pseudo-elements would become flex items â€” remove them */
.itm-split > .row:before,
.itm-split > .row:after { content: none; display: none; }
.itm-split > .row > [class*="col-"] { float: none; }

/* ---------- Left panel ---------- */
.itm-panel-info {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: var(--panel-ground);
  padding: clamp(30px, 2.8vw, 44px) clamp(28px, 3.4vw, 52px) clamp(32px, 2.6vw, 42px);
  display: flex;
  flex-direction: column;
}
.itm-blobs { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }
.itm-blob {
  position: absolute;
  border-radius: 50%;
}
.itm-blob-1 {
  width: 66%; height: 66%; top: -16%; right: -8%;
  background: radial-gradient(circle at center, rgba(232, 184, 75, 0.42), rgba(232, 184, 75, 0) 70%);
  filter: blur(40px);
}
.itm-blob-2 {
  width: 48%; height: 48%; bottom: -20%; left: 0;
  background: radial-gradient(circle at center, rgba(170, 0, 79, 0.30), rgba(170, 0, 79, 0) 70%);
  filter: blur(34px);
}
.itm-dots {
  position: absolute;
  top: clamp(-132px, -9vw, -96px);
  right: clamp(-96px, -7vw, -74px);
  width: 202px;
  opacity: 0.16;
  pointer-events: none;
}
.itm-info-inner { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; }

.itm-tagrow { flex: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.itm-badge-open {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--crimson);
}
.itm-badge-batch {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(248, 243, 236, 0.42);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  white-space: nowrap;
  flex: none;
}

.itm-kicker { flex: none; margin-top: clamp(18px, 1.9vw, 26px); display: flex; align-items: center; gap: 12px; }
.itm-kicker-rule { display: inline-flex; width: 34px; height: 3px; border-radius: 1px; overflow: hidden; flex: none; }
.itm-kicker-rule > span:first-child { width: 21px; background: var(--crimson); }
.itm-kicker-rule > span:last-child { flex: 1; background: var(--accent); }
.itm-kicker-text {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker);
}

.itm-title {
  flex: none;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.8vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.itm-title em { font-style: italic; color: var(--crimson-light); }

.itm-lede {
  flex: none;
  margin: 10px 0 0;
  max-width: 660px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(248, 243, 236, 0.76);
  text-wrap: pretty;
}
.itm-lede strong { font-weight: 500; color: var(--cream); }
.itm-lede em { font-style: italic; }

/* ---------- Stats ---------- */
.itm-stats {
  flex: none;
  margin-top: 24px;
  overflow: hidden;
  border-top: 1px solid rgba(248, 243, 236, 0.16);
  border-bottom: 1px solid rgba(248, 243, 236, 0.16);
}
.itm-stats-grid {
  margin: -1px 0 0 -1px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}
.itm-stat-cell {
  padding: 12px 16px;
  border-left: 1px solid rgba(248, 243, 236, 0.14);
  border-top: 1px solid rgba(248, 243, 236, 0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.itm-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}
.itm-stat-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  color: rgba(248, 243, 236, 0.7);
}

/* ---------- MacBook note ---------- */
.itm-note {
  flex: none;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border: 1px solid rgba(248, 243, 236, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(248, 243, 236, 0.05);
}
.itm-ico-crimson { color: var(--icon); display: inline-flex; }
.itm-note-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.itm-note-copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(248, 243, 236, 0.72);
}

/* ---------- Highlights / specializations ---------- */
.itm-block { flex: none; margin-top: 20px; }
.itm-block-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 243, 236, 0.5);
}
.itm-block-copy {
  margin: 8px 0 0;
  max-width: 660px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(248, 243, 236, 0.82);
}
.itm-scholarship {
  margin-top: 9px;
  align-self: flex-start;
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 11px;
  border-left: 3px solid var(--accent);
  background: rgba(248, 243, 236, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.itm-scholarship span {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.itm-chips { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px; }
.itm-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: var(--cream);
  color: var(--dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- Footnotes ---------- */
.itm-footnotes {
  flex: none;
  margin-top: auto;
  padding-top: clamp(18px, 1.6vw, 12px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: flex-start;
}
.itm-footnote { display: flex; gap: 10px; align-items: flex-start; }
.itm-footnote .itm-ico-crimson { margin-top: 1px; }
.itm-footnote p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(248, 243, 236, 0.8);
}
.itm-footnote strong { font-weight: 500; color: var(--cream); }

/* ---------- Right panel (registration / login) ---------- */
.itm-panel-form {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 36px);
  background:
    radial-gradient(120% 90% at 80% 6%, rgba(232, 184, 75, 0.20) 0%, rgba(232, 184, 75, 0) 55%),
    radial-gradient(110% 85% at 10% 94%, rgba(212, 86, 127, 0.26) 0%, rgba(212, 86, 127, 0) 58%),
    linear-gradient(162deg, #0E0D18 0%, #26091E 34%, #6B0034 72%, #AA004F 100%);
}
.itm-form-card {
  position: relative;
  width: 430px;
  max-width: 100%;
  height: auto;          /* grows with the registration form */
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 18px;
  box-sizing: border-box;
  display: flex;
}
.itm-form-slot {
  flex: 1;
  min-width: 0;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 10px;
  text-align: center;
  padding: 24px;
  aspect-ratio: 392 / 558;   /* placeholder only â€” removed with the slot */
}
.itm-form-card > * { width: 100%; }
.itm-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--crimson);
}
.itm-eyebrow span { display: block; width: 40px; height: 2px; margin-top: 8px; background: var(--brand); }
.itm-form-slot p {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 250px;
}

/* ---------- Extra blocks (used on some pages) ---------- */
.itm-lede-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 21px); color: var(--cream); }
.itm-lede-name em { font-style: italic; color: var(--crimson-light); }
.itm-subtitle { flex: none; margin: 9px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 21px); line-height: 1.2; color: var(--accent); }
.itm-subtitle span { font-family: var(--font-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--cream); }
.itm-chips-top { flex: none; margin-top: 20px; }
.itm-chip-sm { height: 26px; padding: 0 11px; font-size: 11px; letter-spacing: 0.02em; }
.itm-chip-wrap { height: auto; min-height: 26px; padding: 4px 11px; white-space: normal; }
.itm-bullet-row { margin-top: 7px; display: grid; grid-template-columns: 13px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.itm-bullet-row > span { margin-top: 3px; color: var(--accent); display: inline-flex; }
.itm-bullet-row p, .itm-plain { margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 13px; line-height: 1.5; color: rgba(248, 243, 236, 0.82); }
.itm-bullet-row strong, .itm-plain strong { font-weight: 500; color: var(--cream); }
.itm-rule-top { border-top: 1px solid rgba(248, 243, 236, 0.16); padding-top: 8px; }
.itm-logos { display: block; width: 100%; max-width: 100%; height: auto; margin-top: 6px; }
.itm-hd-dot { font-family: var(--font-ui); font-size: 13px; color: var(--text-muted); }
.itm-label-accent { color: var(--accent); }
.itm-stat-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 30px); line-height: 1; color: var(--cream); }
.itm-stat-sub { margin-top: 5px; font-family: var(--font-ui); font-size: 13px; font-weight: 400; line-height: 1.3; color: rgba(248, 243, 236, 0.72); }
.itm-record { margin-top: 7px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; }
.itm-record > div { display: flex; align-items: baseline; gap: 6px; }
.itm-record b { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1; color: var(--accent); }
.itm-record span { font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .itm-panel-info, .itm-panel-form { width: 100%; }
}
@media (max-width: 720px) {
  .itm-hide-sm { display: none !important; }
  .itm-help-mail-sm, .itm-cta-sm { display: inline-flex !important; }
}
@media (max-width: 520px) {
  .itm-hide-xs { display: none !important; }
}

/* ---------- Page: Institute of Design & Media ---------- */
:root { --accent: var(--accent-design); --kicker: var(--accent-design); --icon: var(--accent-design); }
.itm-panel-info { padding: clamp(30px, 2.4vw, 36px) clamp(28px, 3.4vw, 52px) 34px; }
.itm-kicker { margin-top: clamp(16px, 1.6vw, 20px); }
.itm-title { margin-top: 8px; }
.itm-lede { margin-top: 14px; max-width: 648px; line-height: 1.65; color: rgba(248, 243, 236, 0.78); }
.itm-stats { margin-top: 28px; }
.itm-stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.itm-note { margin-top: 22px; padding: 7px 12px; }
.itm-block { margin-top: 24px; }
.itm-block-copy { margin-top: 7px; line-height: 1.6; }
.itm-footnotes { padding-top: clamp(10px, 1.4vw, 18px); }
.itm-dots { opacity: 0.18; }
