@font-face {
  font-family: 'Neue Haas';
  src: url('../fonts/Neue Haas Grotesk/NeueHaasGrotText-55Roman.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas';
  src: url('../fonts/Neue Haas Grotesk/NeueHaasGrotText-65Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas';
  src: url('../fonts/Neue Haas Grotesk/NeueHaasGrotText-75Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Haas';
  src: url('../fonts/Neue Haas Grotesk/NeueHaasGrotText-56Italic.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Minion Pro';
  src: url('../fonts/Minion/MinionPro-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Minion Pro';
  src: url('../fonts/Minion/MinionPro-It.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Minion Pro';
  src: url('../fonts/Minion/MinionPro-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --blue: #0758a8;
  --blue-deep: #0b2452;
  --navy: #0b1e45;
  --ink: #14264b;
  --white: #fff;
  --pale: #f3f6fa;
  --accent: #a9c9eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Neue Haas', Arial, sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  min-height: 125px;
  padding: 20px clamp(24px, 6.7vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--white);
}
.tec-brand { display: block; flex: 0 1 200px; }
.tec-brand img { width: 100%; max-width: 200px; height: auto; }
.program-brand { display: block; flex: 0 1 100px; }
.program-brand img { width: 100%; max-width: 100px; height: auto; }

.hero, .overview {
  color: var(--white);
  background: linear-gradient(112deg, var(--blue) 0%, var(--blue-deep) 85%);
}
.hero { position: relative; z-index: 1; min-height: 420px; padding-top: 1px; }
.hero-intro { position: static; min-height: 205px; padding: 28px clamp(26px, 6.8vw, 96px) 30px; }
.intro-copy { position: relative; z-index: 3; max-width: 650px; }
.eyebrow { margin: 0 0 5px; color: var(--white); font-family: 'Minion Pro', Georgia, serif; font-size: 22px; font-style: italic; font-weight: 400; }
.coordinator { margin: 0; font-size: 18px; }
.invitation { margin: 20px 0 0; font-size: clamp(23px, 2.5vw, 31px); font-weight: 700; }
.hero-photo-frame {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 2.6%;
  width: min(53vw, 640px);
  aspect-ratio: 1;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  transform: translateY(-22%);
}
.title-band {
  position: relative;
  z-index: 2;
  width: min(80%, 1120px);
  min-height: 190px;
  margin: 0 auto 0 0;
  padding: 24px clamp(26px, 6.8vw, 96px) 25px;
  border-radius: 0 42px 42px 0;
  background: var(--navy);
}
.title-band h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(27px, 3.25vw, 43px);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
}
.title-band p { max-width: 800px; margin: 8px 0 0; font-size: clamp(19px, 2.4vw, 29px); font-weight: 500; line-height: 1.2; text-transform: uppercase; }

.overview { position: relative; z-index: 0; margin-top: 0; padding: 45px clamp(26px, 6.8vw, 96px) 48px; }
.objective { position: relative; z-index: 2; width: min(72%, 1000px); min-height: 135px; margin: 0 auto 28px; display: grid; grid-template-columns: 205px 1fr; align-items: center; gap: 28px; }
.objective-label { position: relative; display: flex; align-items: center; width: 205px; height: 125px; }
.objective-label img { position: absolute; left: 0; top: 0; width: 125px; height: 125px; object-fit: contain; }
.objective-label h2 { position: relative; z-index: 1; width: 160px; margin-left: 0; color: var(--white); text-align: center; text-shadow: 0 1px 4px rgba(8,27,60,.35); }
.objective h2, .fact h2, .contact h2 { margin: 0; font-family: 'Minion Pro', Georgia, serif; font-size: 23px; font-weight: 700; text-transform: uppercase; }
.objective p { margin: 0; max-width: 770px; font-size: clamp(17px, 1.8vw, 22px); }

.course-facts { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 8vw, 120px); max-width: 960px; margin: 28px auto 24px; text-align: center; }
.fact { padding: 8px 18px; }
.fact h2 { display: inline-block; min-width: 200px; padding-bottom: 7px; border-bottom: 2px solid rgba(255,255,255,.45); }
.fact p { max-width: 390px; margin: 15px auto 0; font-size: 19px; }
.date-row { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 16px; margin: 25px auto 22px; }
.date-row img { width: 54px; height: 54px; object-fit: contain; }
.date-row p { margin: 0; font-size: clamp(18px, 2vw, 23px); }
.future { position: relative; z-index: 2; max-width: 1100px; margin: 20px auto 14px; padding: 11px 20px; border-radius: 12px; background: var(--navy); text-align: center; font-size: clamp(20px, 2.5vw, 30px); font-weight: 700; text-transform: uppercase; }
.brochure-button { position: relative; z-index: 2; display: flex; width: max-content; justify-content: center; align-items: center; gap: 12px; margin: 0 auto; padding: 11px 22px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 5px; color: var(--white); background: transparent; font-size: 17px; font-weight: 700; text-decoration: none; transition: color .2s ease, background .2s ease; }
.brochure-button:hover { color: var(--navy); background: var(--white); }

.registration { padding: 56px clamp(24px, 8vw, 112px) 45px; display: grid; grid-template-columns: minmax(230px, .75fr) 1.25fr; align-items: start; gap: 12px clamp(30px, 6vw, 80px); background: var(--pale); }
.registration-heading { grid-column: 1; grid-row: 1; }
.registration-heading .eyebrow { color: var(--blue); }
.registration-heading h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(29px, 3vw, 39px); line-height: 1.12; }
.registration-heading > p:last-child { margin: 0; font-size: 17px; }
.form-container { grid-column: 2; grid-row: 1 / span 2; min-height: 180px; padding: 24px; border-radius: 8px; background: var(--white); box-shadow: 0 12px 35px rgba(12,33,75,.09); }
.disclaimer { grid-column: 1; grid-row: 2; align-self: end; margin: 18px 0 0; padding-left: 13px; border-left: 3px solid var(--blue); color: #283955; font-size: 14px; line-height: 1.45; }

.site-footer { padding: 30px clamp(24px, 8vw, 112px) 18px; color: var(--white); background: #081b3c; text-align: center; }
.contact h2 { margin-bottom: 12px; }
.contact h2::after { content: ''; display: block; width: 160px; height: 1px; margin: 8px auto 0; background: rgba(255,255,255,.65); }
.contact p, .contact a { display: inline-block; margin: 0 14px; font-size: 17px; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.acknowledgement { margin: 18px 0 32px; color: #dce6f4; }
.footer-bottom { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.22); text-align: left; }
.ecsg-logo { width: 205px; }
.footer-right { text-align: right; }
.footer-right > p { margin: 0 0 7px; font-size: 11px; }
.social { display: flex; justify-content: end; align-items: center; gap: 10px; font-size: 13px; }
.social img { width: 17px; height: 17px; object-fit: contain; }

@media (min-width: 1200px) {
  .hero-photo-frame { right: 4%; width: min(53vw, 640px); }
  .objective { width: min(76%, 1050px); }
}

@media (max-width: 760px) {
  .site-header { min-height: 82px; padding: 10px 18px; gap: 14px; }
  .tec-brand { flex-basis: 155px; }
  .tec-brand img { max-width: 155px; }
  .program-brand { flex-basis: 92px; }
  .program-brand img { max-width: 92px; }
  .hero { min-height: 0; }
  .hero-intro { position: relative; display: block; min-height: 0; padding: min(88vw, 424px) 0 0; }
  .intro-copy { max-width: none; padding: 18px 24px 20px; }
  .eyebrow { font-size: 18px; }
  .coordinator { font-size: 15px; }
  .invitation { margin-top: 17px; font-size: 22px; }
  .hero-photo-frame { position: absolute; top: 0; right: 0; left: auto; width: 100%; height: min(88vw, 424px); aspect-ratio: auto; overflow: hidden; transform: none; }
  .hero-photo { position: absolute; top: 0; right: -10vw; left: auto; width: min(110vw, 530px); height: auto; border-radius: 0; object-fit: contain; object-position: center; transform: translateY(-20%); }
  .title-band { width: 88%; min-height: 0; padding: 20px 24px 22px; border-radius: 0 28px 28px 0; }
  .title-band h1 { font-size: clamp(24px, 5vw, 34px); }
  .title-band p { font-size: clamp(17px, 3.8vw, 22px); }
  .overview { padding: 34px 24px 38px; }
  .objective { width: 100%; grid-template-columns: 140px 1fr; gap: 15px; min-height: 110px; }
  .objective-label { width: 140px; height: 95px; }
  .objective-label img { width: 88px; height: 88px; }
  .objective-label h2 { width: 120px; font-size: 17px; }
  .objective p { font-size: 16px; }
  .course-facts { gap: 12px; }
  .fact { padding: 7px 3px; }
  .fact h2 { min-width: 0; width: 100%; font-size: 18px; }
  .fact p { font-size: 16px; }
  .registration { grid-template-columns: 1fr; gap: 18px; padding: 42px 24px; }
  .registration-heading, .form-container, .disclaimer { grid-column: 1; grid-row: auto; }
  .form-container { min-height: 140px; }
  .disclaimer { margin-top: 0; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
  .social { justify-content: center; }
}

@media (max-width: 480px) {
  .site-header { min-height: 70px; padding: 8px 14px; gap: 12px; }
  .tec-brand { flex-basis: 140px; }
  .tec-brand img { max-width: 140px; }
  .program-brand { flex-basis: 82px; }
  .program-brand img { max-width: 82px; }
  .intro-copy { padding: 21px 18px 25px; }
  .title-band { width: 93%; padding: 18px 18px 20px; }
  .title-band h1 { font-size: 23px; }
  .title-band p { font-size: 16px; }
  .objective { grid-template-columns: 1fr; gap: 8px; }
  .objective-label { height: 80px; }
  .objective-label img { width: 75px; height: 75px; }
  .objective-label h2 { font-size: 16px; }
  .objective p { padding-left: 4px; }
  .course-facts { grid-template-columns: 1fr; gap: 14px; }
  .date-row { gap: 10px; }
  .date-row img { width: 44px; height: 44px; }
  .date-row p { font-size: 16px; }
  .future { padding: 10px 12px; font-size: 18px; }
  .contact p, .contact a { display: block; margin: 7px 0; }
}
