/* IAM Plast Dubai 2026 - Masterclass page, option 2 (light and bright, in the site's own theme colours)
   Same markup as option 1, only this stylesheet and the hero image differ.
   No Bootstrap or site stylesheet is needed, only assets/css/theme_fonts/stylesheet.css for Josefin Sans. All classes start with mc- so
   they will not clash with assets/css/style.css if this page is merged into the live site. */

:root {
  /* From the live site: --thm-primary-color #008eb4, --thm-secondary-color #213261, and the gold #c9a978 and ice blues of its inner pages */
  --primary: #008eb4;
  --primary-text: #007fa1;
  --primary-deep: #00698a;
  --navy: #213261;
  --slate: #46536f;
  --mute: #56627d;
  --aqua: #4fc3dd;
  --ice: #eaf4f7;
  --ice-soft: #f3f9fb;
  --ice-line: #cfe6ee;
  --snow: #fbfdfe;
  --gold: #c9a978;
  --gold-text: #8a6a37;
  --gold-soft: #f3e9d9;
  --white: #fff;
  --line: rgba(33, 50, 97, .1);
  --shadow-soft: 0 1px 2px rgba(33, 50, 97, .04), 0 18px 44px -24px rgba(33, 50, 97, .24);
  --shadow-lift: 0 2px 4px rgba(33, 50, 97, .05), 0 30px 60px -26px rgba(0, 112, 143, .34);
  --sans: "Josefin Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; font-weight: inherit; font-size: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.mc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mc-wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }

/* Hero */
.mc-hero { position: relative; isolation: isolate; height: clamp(440px, 46vw, 680px); overflow: hidden; background: var(--snow); }
.mc-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 34%; animation: mc-hero-drift 16s var(--ease) both; }
@keyframes mc-hero-drift { from { transform: scale(1.05); } to { transform: scale(1); } }
.mc-hero::after { content: ""; position: absolute; inset: auto 0 -2px; height: 34%; background: linear-gradient(to top, var(--white), rgba(255, 255, 255, 0)); z-index: 1; }
.mc-hero__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: clamp(44px, 7vw, 110px); }
.mc-hero__title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(64px, 10.4vw, 164px);
  line-height: .96;
  letter-spacing: -.012em;
  color: var(--navy);
  background: linear-gradient(100deg, var(--navy) 18%, var(--primary) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .06em;
  animation: mc-rise 1.1s var(--ease) .35s both;
}
@keyframes mc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Schedule head: title, date and the time bar */
.mc-schedule { position: relative; z-index: 3; }
.mc-panel {
  position: relative;
  margin-top: clamp(-96px, -6vw, -44px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 40px;
  padding: clamp(24px, 3.2vw, 44px) clamp(22px, 3.4vw, 52px) calc(clamp(24px, 3.2vw, 44px) + 46px);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--white);
  border-radius: 28px;
  box-shadow: 0 24px 60px -34px rgba(0, 112, 143, .3);
}
.mc-panel::before { content: ""; position: absolute; top: -1px; left: clamp(22px, 3.4vw, 52px); width: 72px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--primary), var(--aqua)); }
.mc-panel__title { font-family: var(--sans); font-weight: 300; font-size: clamp(34px, 4.1vw, 60px); line-height: 1.06; letter-spacing: -.018em; color: var(--navy); }
.mc-date { display: inline-flex; align-items: center; gap: 15px; padding: 7px 26px 7px 7px; color: var(--navy); background: var(--white); border: 1px solid var(--ice-line); border-radius: 999px; box-shadow: var(--shadow-soft); }
.mc-date__day { display: grid; place-items: center; padding-top: 5px; width: 60px; height: 60px; border-radius: 50%; color: var(--white); background: linear-gradient(140deg, var(--primary), var(--primary-deep)); box-shadow: 0 8px 18px -8px rgba(0, 142, 180, .7); font-family: var(--sans); font-size: 29px; font-weight: 300; line-height: 1; }
.mc-date__rest { padding-top: 5px; font-family: var(--sans); font-size: clamp(21px, 2vw, 26px); font-weight: 300; letter-spacing: -.005em; white-space: nowrap; }

.mc-rail { position: sticky; top: 12px; z-index: 40; margin-block: -46px; }
.mc-rail__list {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%),
    linear-gradient(115deg, #006d8d, #007fa1 50%, #006d8d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 26px 50px -22px rgba(0, 112, 143, .8), 0 6px 16px -8px rgba(0, 112, 143, .45);
}
.mc-rail__link {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 19px 12px 16px; border-radius: 999px;
  color: var(--white); font-size: clamp(15px, 1.5vw, 21px); line-height: 1.1; letter-spacing: .01em; white-space: nowrap;
  transition: color .3s, background .3s, box-shadow .3s;
}
.mc-rail__link::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: -3px; border-radius: 50%; border: 1.5px solid #9fe1ef; transition: background .3s, border-color .3s, box-shadow .3s; }
.mc-rail__link:hover { background: rgba(255, 255, 255, .14); }
.mc-rail__link[aria-current="true"], .mc-rail__link[aria-current="true"]:hover {
  color: var(--navy); font-weight: 600;
  background: linear-gradient(180deg, var(--white), #eef8fb);
  box-shadow: inset 0 -2px 0 var(--gold), 0 10px 22px -12px rgba(0, 40, 60, .55);
}
.mc-rail__link[aria-current="true"]::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 142, 180, .18); }
.mc-rail + .mc-slot { padding-top: calc(clamp(46px, 5.4vw, 84px) + 46px); }
.mc-slot:last-of-type { padding-bottom: clamp(84px, 7vw, 110px); }

/* Time slots */
.mc-slot { position: relative; padding-block: clamp(46px, 5.4vw, 84px); }
.mc-slot:nth-of-type(odd) { background:
  radial-gradient(50% 58% at 96% 2%, rgba(0, 142, 180, .07), transparent 70%),
  radial-gradient(44% 40% at 0% 98%, rgba(201, 169, 120, .1), transparent 72%), var(--white); }
.mc-slot:nth-of-type(even) { background:
  radial-gradient(52% 62% at 2% 0%, rgba(0, 142, 180, .09), transparent 70%),
  radial-gradient(46% 44% at 100% 100%, rgba(79, 195, 221, .12), transparent 72%), var(--ice-soft); }
.mc-slot__head { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-bottom: clamp(24px, 2.8vw, 40px); }
.mc-slot__time { flex: none; display: flex; align-items: center; gap: 15px; font-family: var(--sans); font-weight: 300; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.016em; font-variant-numeric: lining-nums; color: var(--navy); }
.mc-slot__dot { flex: none; width: .3em; height: .3em; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 .13em rgba(0, 142, 180, .16); }
.mc-slot__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0, 142, 180, .6), rgba(201, 169, 120, .5) 45%, rgba(201, 169, 120, 0)); }

.mc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); grid-auto-rows: auto; }

/* Session card */
.mc-card {
  position: relative;
  display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(33, 50, 97, .08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.mc-card::after { content: ""; position: absolute; inset: auto 24px 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--primary), var(--aqua)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.mc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(0, 142, 180, .22); }
.mc-card:hover::after { transform: scaleX(1); }
.mc-card__media { position: relative; margin: 10px 10px 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; background: var(--ice); }
.mc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mc-card:hover .mc-card__media img { transform: scale(1.045); }
.mc-tbc { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--sans); font-weight: 300; font-size: clamp(50px, 5vw, 70px); letter-spacing: .02em; color: var(--primary-text); background: radial-gradient(70% 90% at 16% 8%, rgba(79, 195, 221, .28), transparent 70%), radial-gradient(70% 90% at 90% 100%, var(--gold-soft), transparent 72%), var(--ice-soft); }
.mc-room { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--navy); background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 16px -8px rgba(33, 50, 97, .5); }
.mc-room::before { content: ""; width: 6px; height: 6px; margin-top: -4px; border-radius: 50%; background: var(--primary); }
.mc-card__title { padding: 20px 22px 0; }
.mc-card__label { font-size: 14.5px; font-weight: 600; letter-spacing: .03em; color: var(--primary-text); }
.mc-card__name { margin-top: 7px; font-family: var(--sans); font-weight: 300; font-size: clamp(21px, 1.62vw, 23.5px); line-height: 1.24; letter-spacing: -.006em; color: var(--navy); }
.mc-card__time { padding: 16px 22px 0; }
.mc-time { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 6px 10px; border-radius: 10px; font-size: 15.5px; color: var(--primary-deep); background: var(--ice); white-space: nowrap; }
.mc-time svg { flex: none; margin-top: -3px; color: var(--primary); }
.mc-time b { font-weight: 600; }
.mc-card__speakers { padding: 18px 22px 0; }
.mc-card__speakers > p { margin-bottom: 11px; font-size: 14.5px; font-weight: 600; letter-spacing: .03em; color: var(--mute); padding-top: 16px; border-top: 1px solid var(--line); }
.mc-speaker { display: flex; align-items: center; gap: 13px; }
.mc-speaker + .mc-speaker { margin-top: 11px; }
.mc-speaker img { flex: none; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--ice); box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px rgba(0, 142, 180, .35); }
.mc-speaker__name { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.mc-speaker__from { display: block; font-size: 15px; line-height: 1.35; color: var(--mute); }
.mc-card__cta { padding: 20px 22px 22px; align-self: end; }
.mc-learn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 18px 11px; border: 1px solid var(--primary); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--primary-deep); background: var(--white); transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.mc-learn svg { flex: none; margin-top: -3px; transition: transform .3s var(--ease); }
button.mc-learn:hover { color: var(--white); border-color: var(--primary-text); background: linear-gradient(115deg, var(--primary-deep), var(--primary-text)); box-shadow: 0 10px 22px -12px rgba(0, 112, 143, .8); }
button.mc-learn:hover svg { transform: translateX(3px); }
.mc-learn[aria-disabled="true"] { cursor: default; color: var(--mute); border-color: var(--line); background: rgba(33, 50, 97, .025); }

/* Learning objective dialog */
.mc-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: 24px; color: var(--navy); background: var(--white); box-shadow: 0 40px 100px -30px rgba(0, 60, 80, .5); overflow: hidden; }
.mc-dialog[open] { display: flex; flex-direction: column; animation: mc-dialog-in .38s var(--ease); }
.mc-dialog::backdrop { background: rgba(20, 40, 80, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: mc-fade .3s ease; }
@keyframes mc-dialog-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes mc-fade { from { opacity: 0; } to { opacity: 1; } }
.mc-dialog__head { position: relative; padding: clamp(24px, 4vw, 38px) clamp(56px, 8vw, 72px) clamp(20px, 3vw, 26px) clamp(22px, 4.4vw, 42px); background: radial-gradient(70% 120% at 4% 0%, rgba(79, 195, 221, .22), transparent 70%), radial-gradient(60% 120% at 100% 100%, rgba(201, 169, 120, .16), transparent 72%), var(--ice-soft); border-bottom: 1px solid var(--ice-line); }
.mc-dialog__head::before { content: ""; position: absolute; top: 0; left: clamp(22px, 4.4vw, 42px); width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--primary), var(--aqua)); }
.mc-dialog__num { font-size: 15px; font-weight: 600; letter-spacing: .03em; color: var(--primary-text); }
.mc-dialog__title { margin-top: 7px; font-family: var(--sans); font-weight: 300; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.18; letter-spacing: -.012em; }
.mc-dialog__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--navy); background: var(--white); box-shadow: 0 6px 18px -8px rgba(33, 50, 97, .4); transition: background .2s, color .2s; }
.mc-dialog__close:hover { background: var(--primary-text); color: var(--white); }
.mc-dialog__body { overflow-y: auto; padding: clamp(22px, 3.4vw, 32px) clamp(22px, 4.4vw, 42px) clamp(26px, 4vw, 40px); font-size: 17px; line-height: 1.55; color: var(--slate); }
.mc-dialog__label { margin-bottom: 12px; font-weight: 600; font-size: 16.5px; color: var(--navy); }
.mc-dialog__body p + p, .mc-dialog__body ul + p, .mc-dialog__body ol + p { margin-top: 14px; }
.mc-dialog__body ul, .mc-dialog__body ol { margin-top: 16px; display: grid; gap: 10px; }
.mc-dialog__label + .mc-objective > ul, .mc-dialog__label + .mc-objective > ol { margin-top: 0; }
.mc-dialog__body ul > li { position: relative; padding-left: 24px; }
.mc-dialog__body ul > li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(0, 142, 180, .14); }
.mc-dialog__body ol { counter-reset: mc; }
.mc-dialog__body ol > li { position: relative; padding-left: 34px; counter-increment: mc; }
.mc-dialog__body ol > li::before { content: counter(mc); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12.5px; font-weight: 600; color: var(--white); background: var(--primary-text); }
.mc-dialog__body b { font-weight: 600; color: var(--navy); }

/* Back to top */
.mc-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--white); background: linear-gradient(140deg, var(--primary), var(--primary-deep)); box-shadow: 0 12px 26px -10px rgba(0, 112, 143, .75); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, filter .2s; }
.mc-top.is-on { opacity: 1; visibility: visible; transform: none; }
.mc-top:hover { filter: brightness(.9); }

/* Soft reveal. The class is only added by script, so without it everything is simply visible. */
.mc-js .mc-reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.mc-js .mc-reveal.is-in { opacity: 1; transform: none; }
.mc-js .mc-card.mc-reveal.is-in { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), opacity .8s var(--ease); }

/* Tablet and small laptop */
@media (max-width: 1240px) {
  .mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .mc-hero__title { font-size: clamp(64px, 9.2vw, 110px); }
}

/* Phone */
@media (max-width: 720px) {
  html { scroll-padding-top: 40px; }
  .mc-hero { height: 456px; background: var(--white); }
  .mc-hero__img { height: 318px; object-position: 84% 18%; }
  .mc-hero::after { inset: 190px 0 auto; height: 180px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white) 70%); }
  .mc-hero__inner { align-items: flex-end; padding-bottom: 66px; }
  .mc-hero__title { font-size: clamp(58px, 17.6vw, 88px); }
  .mc-panel { grid-template-columns: 1fr; margin-top: -52px; margin-inline: 0; padding: 22px 20px 52px; gap: 16px; border-radius: 22px; }
  .mc-panel::before { left: 20px; }
  .mc-date__day { width: 50px; height: 50px; font-size: 24px; }
  .mc-date { gap: 12px; padding-right: 20px; justify-self: start; }
  .mc-rail { top: 8px; margin-block: -30px; }
  .mc-rail__list { display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mc-rail__list::-webkit-scrollbar { display: none; }
  .mc-rail__list li { flex: 0 0 auto; }
  .mc-rail__link { padding: 15px 17px 12px; font-size: 16.5px; gap: 9px; }
  .mc-slot__head { gap: 12px; }
  .mc-slot__time { font-size: clamp(28px, 8.4vw, 36px); gap: 11px; white-space: nowrap; }
  .mc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mc-card { display: flex; flex-direction: column; }
  .mc-card__name { font-size: 23px; }
  .mc-card__cta { margin-top: auto; align-self: stretch; }
  .mc-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .mc-js .mc-reveal { opacity: 1; transform: none; }
}
