:root {
  --p-bg: #f7f9fa; --p-surface: #ecf1f5; --p-ink: #183b5c; --p-muted: #526575;
  --p-accent: #245d80; --p-accent-ink: #f7f9fa; --p-action: #245d80; --p-action-ink: #f7f9fa;
  --p-inv-bg: #183b5c; --p-inv-surface: #274767; --p-inv-ink: #f7f9fa; --p-inv-muted: #c5dcef;
  --p-inv-accent: #f7f9fa; --p-inv-accent-ink: #183b5c; --p-inv-action: #f7f9fa; --p-inv-action-ink: #183b5c;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.012em;
  --display-tracking-xl: -0.016em;
  --ly-scale: 1.12;
}
/* The page uses the kit's grid, type, cards, motion and hero without overriding them. */
.tech-brand { font-family: var(--font-text); font-size: 20px; font-weight: 500; gap: var(--s-3); white-space: nowrap; }
.brand-symbol { display: block; position: relative; width: 40px; height: 40px; overflow: hidden; flex: none; }
.brand-symbol img { position: absolute; width: 168px; max-width: none; height: auto; left: -5px; top: -29px; }
.course-photo { --p-h: 232px; height: var(--p-h); flex: 0 0 var(--p-h); background: var(--g-alt); }
.course-photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 639px) {
  .tech-brand { font-size: 17px; gap: var(--s-2); }
  .course-photo { --p-h: 208px; }
}

.home-hero .hero__text { max-width: 660px; }
.presentation-video { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--p-inv-bg); }
.presentation-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.presentation-note { margin-top: var(--s-5); max-width: 48ch; line-height: 1.6; }
.course-entry .course-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); color: var(--ink); font-size: 14px; line-height: 1.5; }
.course-badge { display: inline-block; padding: 6px 10px; border-radius: var(--r-sm); background: var(--p-bg); max-width: 100%; }
.course-badge--price { flex-basis: 100%; padding: 10px 12px; background: #dceaf2; color: var(--p-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.home-footer { padding-block: var(--s-7); }
.home-footer .closing__links { padding-top: 0; }
.course-entry .course-photo { --p-h: 160px; }
.course-entry .card__link { min-height: 44px; font-size: 16px; }
@media (min-width: 1024px) and (max-width: 1279px) { .home-hero { --ly-h1-xl: 64px; } }
@media (max-width: 639px) { .home-hero { --photo: 36svh; } .course-entry .course-photo { --p-h: 208px; } }
@media (max-width: 359px) { .home-hero { --photo: 140px; --ly-h1-xl: 36px; } }

.hero-enrollment-note { margin-top: 16px; max-width: 48ch; color: var(--p-ink); font-size: 16px; line-height: 1.5; font-weight: 500; }

/* Client requested content-led spacing and the gallery from the existing site. */
body.home main > section.section:not(.hero) { height: auto; min-height: 0; padding-block: clamp(32px, 4vw, 56px); }
body.home main > section.section:not(.hero) > .wrap { height: auto; min-height: 0; flex: none; }
body.home main > section.section:not(.hero) .section-head { margin-bottom: 32px; }
.home-structure { border-top: 1px solid var(--line); }
.structure-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; }
.structure-copy > p { margin-top: 24px; max-width: 45ch; }
.structure-features { list-style: none; padding: 0; margin: 30px 0 0; }
.structure-features li { border-top: 1px solid var(--line); padding-block: 14px; font-size: 16px; }
.structure-carousel { min-width: 0; }
.structure-slide { margin: 0; }
.structure-photo { height: clamp(360px, 38vw, 500px); background: var(--surface); border-radius: var(--r-sm); overflow: hidden; }
.structure-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.structure-slide figcaption { display: flex; justify-content: space-between; gap: 16px; min-height: 82px; padding-block: 12px; font-size: 14px; }
.structure-slide figcaption strong { color: var(--ink); font-size: 18px; font-weight: 500; }
.structure-slide figcaption p { margin-top: 6px; font-size: 14px; }
.structure-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.structure-dots, .structure-actions { display: flex; gap: 8px; }
.structure-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 14px; cursor: pointer; transition: background-color 150ms, transform 150ms; }
.structure-controls button[aria-current="true"] { color: var(--p-action-ink); background: var(--p-action); border-color: var(--p-action); }
.structure-controls button:hover { border-color: var(--p-action); transform: translateY(-1px); }
.structure-controls button:active { transform: translateY(0); }
.structure-controls button:focus-visible { outline: 3px solid var(--p-action); outline-offset: 3px; }
.structure-controls [data-carousel-prev] svg { transform: rotate(180deg); }
.structure-slide[hidden], .structure-controls[hidden] { display: none; }
@media (max-width: 1023px) { .structure-layout { grid-template-columns: 1fr; gap: 28px; } .structure-photo { height: clamp(320px, 75vw, 480px); } }
@media (max-width: 639px) { body.home main > section.section:not(.hero) { padding-block: 32px; } .home-footer { padding-block: 32px; } .structure-controls { align-items: flex-start; } }

body.home main > section[id] { scroll-margin-top: 72px; }

