:root {
    --navy: #123d5a;
    --navy-deep: #092b43;
    --blue: #1b6d93;
    --blue-soft: #eaf3f7;
    --slate: #526779;
    --ink: #182732;
    --muted: #657785;
    --line: #d9e2e8;
    --paper: #ffffff;
    --off-white: #f4f7f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.course-page {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.course-page h1, .course-page h2, .course-page h3, .course-page h4, .course-page p { margin-top: 0; }
.course-page h1, .course-page h2, .course-page h3, .course-page h4 {
    color: var(--navy-deep);
    font-family: bod, Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.15;
}

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .98); }
.header-inner, .section-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: flex-start; }
.brand { display: block; line-height: 0; }
.brand img { width: min(420px, 55vw); height: auto; }

.hero { min-height: 570px; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-deep); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("picture1.png") center 28% / cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(6, 30, 47, .96) 0%, rgba(6, 30, 47, .82) 42%, rgba(6, 30, 47, .12) 76%); }
.hero-content { position: relative; z-index: 1; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 68px; }
.eyebrow, .section-kicker, .day-header p, .session-time { color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #a7d5e8; margin-bottom: 16px; }
.hero h1 { max-width: 670px; margin-bottom: 20px; color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.025em; }
.hero-subtitle { max-width: 650px; margin-bottom: 36px; color: #dce8ee; font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.5; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span { border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; padding: 8px 14px; background: rgba(8, 39, 59, .45); color: #fff; font-size: .82rem; font-weight: 700; }

.outcomes { padding: 104px 0; }
.section-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: end; margin-bottom: 42px; }
.section-intro h2, .programme-heading h2, .contact-panel h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.02em; }
.section-intro > p:last-child { margin-bottom: 5px; color: var(--muted); }
.outcomes-heading { margin: 0 0 16px; padding-left: 17px; border-left: 4px solid var(--blue); color: var(--navy); font-size: clamp(1.45rem, 2.5vw, 1.8rem); }
.outcome-grid { columns: 2; column-gap: 36px; margin: 0; padding: 0; list-style: none; counter-reset: outcome; }
.outcome-grid li { display: inline-block; position: relative; width: 100%; min-height: 112px; padding: 27px 12px 25px 56px; border-top: 1px solid var(--line); break-inside: avoid; counter-increment: outcome; }
.outcome-grid li::before { content: counter(outcome, decimal-leading-zero); position: absolute; top: 27px; left: 0; color: var(--blue); font-size: .73rem; font-weight: 700; letter-spacing: .08em; }

.programme { padding: 98px 0 110px; background: var(--off-white); }
.programme-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 54px; }
.programme-heading .section-kicker { margin-bottom: 10px; }
.programme-heading > p { max-width: 360px; margin-bottom: 6px; color: var(--muted); }
.day-block + .day-block { margin-top: 70px; }
.day-header { display: flex; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 3px solid var(--navy); }
.day-number { display: grid; width: 68px; height: 68px; flex: 0 0 68px; place-items: center; background: var(--navy); color: #fff; font-family: bod, Georgia, serif; font-size: 1.6rem; }
.day-header p { margin-bottom: 4px; }
.day-header h3 { margin-bottom: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.session-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.session-card { min-height: 320px; padding: 38px 38px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.session-card:nth-child(n+3) { border-top: 12px solid var(--off-white); }
.session-card .session-time { margin-bottom: 13px; }
.session-card h4 { margin-bottom: 22px; font-size: 1.4rem; }
.session-card ul { margin: 0; padding: 0; list-style: none; }
.session-card li { position: relative; padding: 7px 0 7px 20px; color: #425563; }
.session-card li::before { content: ""; position: absolute; top: 17px; left: 0; width: 6px; height: 6px; background: var(--blue); }

.contact-panel { padding: 76px 0; background: var(--navy); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 52px; }
.contact-panel .section-kicker { margin-bottom: 10px; color: #a7d5e8; }
.contact-panel h2 { max-width: 650px; color: #fff; }
.contact-link { min-width: 290px; padding: 19px 22px; border: 1px solid rgba(255, 255, 255, .36); color: #fff !important; text-decoration: none; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.contact-link span { display: block; margin-bottom: 2px; color: #b7d8e6; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-link:hover, .contact-link:focus-visible { background: #fff; color: var(--navy-deep) !important; }
.contact-link:hover span, .contact-link:focus-visible span { color: var(--blue); }
.site-footer { padding: 24px; background: var(--navy-deep); text-align: center; }
.site-footer p { margin: 0; color: #acc0cc; font-size: .78rem; }

@media (max-width: 800px) {
    .header-inner { min-height: 86px; }
    .hero { min-height: 610px; }
    .hero-image { background-position: 39% center; }
    .hero-shade { background: rgba(6, 30, 47, .75); }
    .section-intro { grid-template-columns: 1fr; gap: 18px; }
    .section-intro .section-kicker { margin-bottom: 0; }
    .outcome-grid { columns: 1; }
    .session-grid { grid-template-columns: 1fr; }
    .session-card:nth-child(n+3) { border-top: 0; }
    .session-card:nth-child(3) { border-top: 12px solid var(--off-white); }
    .programme-heading, .contact-inner { align-items: flex-start; flex-direction: column; gap: 26px; }
    .contact-link { min-width: 0; width: 100%; }
}

@media (max-width: 520px) {
    .header-inner, .section-shell, .hero-content { width: min(100% - 30px, 1120px); }
    .brand img { width: 100%; max-width: 370px; }
    .hero { min-height: 640px; }
    .hero-content { padding-bottom: 44px; }
    .hero h1 { font-size: 2.65rem; }
    .hero-meta { gap: 7px; }
    .hero-meta span { padding: 7px 10px; font-size: .73rem; }
    .outcomes { padding: 72px 0; }
    .programme { padding: 70px 0 78px; }
    .day-header { align-items: flex-start; gap: 16px; }
    .day-number { width: 52px; height: 52px; flex-basis: 52px; font-size: 1.25rem; }
    .session-card { min-height: 0; padding: 30px 24px; }
    .contact-panel { padding: 58px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
