.academy-modern {
    --am-ink: #172821;
    --am-muted: #52615a;
    --am-line: #cfd9d2;
    --am-paper: #fbfcf8;
    --am-white: #fff;
    --am-forest: #163c2e;
    --am-tint: #e8f1e8;
    --am-accent: #dbef93;
    --primary: var(--am-forest);
    --secondary: #39644f;
    --accent: var(--am-accent);
    --brand-primary: var(--am-forest);
    --brand-secondary: #39644f;
    margin: 0;
    background: var(--am-paper);
    color: var(--am-ink);
    font: 400 1rem/1.6 "Red Hat Text", system-ui, sans-serif;
}

.academy-modern *, .academy-modern *::before, .academy-modern *::after { box-sizing: border-box; }
.academy-modern [hidden] { display: none !important; }
.academy-modern :focus-visible { outline: 3px solid #418461; outline-offset: 4px; }
.academy-modern h1, .academy-modern h2, .academy-modern h3 {
    font-family: "Red Hat Display", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
    overflow-wrap: anywhere;
}
.academy-modern a { text-underline-offset: .2em; }
.am-container { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.am-skip { position: fixed; top: 1rem; left: 1rem; z-index: 1200; padding: .65rem 1rem; background: #fff; color: #172821; transform: translateY(-200%); }
.am-skip:focus { transform: translateY(0); }
.am-preview { margin: 0; padding: .4rem 1rem; background: var(--am-tint); text-align: center; font-size: .86rem; color: var(--am-ink); }
.am-header { background: var(--am-white); }
.am-header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.am-brand { color: var(--am-ink); display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; font-size: 1.1rem; text-decoration: none; min-width: 0; }
.am-brand img { height: 44px; width: auto; max-width: min(100%, 13rem); object-fit: contain; object-position: left; }
.am-brand span { overflow-wrap: anywhere; }
.am-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.55rem; }
.am-navigation a { color: var(--am-ink); font-weight: 650; text-decoration: none; }
.am-navigation a:hover, .am-brand:hover { color: var(--am-forest); text-decoration: underline; }
.am-nav-group { position: relative; }
.am-nav-group summary { color: var(--am-ink); font-weight: 650; cursor: pointer; padding-block: .45rem; }
.am-submenu {
    position: absolute; z-index: 20; top: 100%; inset-inline-end: 0;
    width: max-content; max-width: min(18rem, 90vw); margin: 0; padding: .35rem;
    list-style: none; background: var(--am-white); border: 1px solid var(--am-line); border-radius: 4px;
}
.am-submenu a { display: block; padding: .45rem .7rem; overflow-wrap: anywhere; }
.am-navigation .am-portal, .am-menu-toggle {
    padding: .6rem .95rem; border: 1px solid var(--am-ink); border-radius: 4px;
    color: var(--am-ink); background: var(--am-white); font: inherit; font-weight: 700; cursor: pointer;
}
.am-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 34rem; color: #fff; background: var(--am-forest); }
.am-hero::after { content: ""; position: absolute; inset: 0; background: rgb(8 28 21 / 66%); z-index: -1; }
.am-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.am-hero-content { padding-block: 5rem; }
.am-hero h1 { font-size: 4.8rem; margin: 0 0 1.1rem; max-width: 17ch; color: #fff; }
.am-hero p { max-width: 36ch; margin: 0 0 1.9rem; font-size: 1.25rem; color: #fff; }
.am-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.45rem; align-items: center; }
.am-button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: 4px; background: var(--am-accent); color: var(--am-ink); text-decoration: none; font-weight: 800; }
.am-button:hover { color: var(--am-ink); background: #eff8c6; }
.am-button-dark { background: var(--am-forest); color: #fff; }
.am-button-dark:hover { background: #255440; color: #fff; }
.am-hero-link { color: #fff; font-weight: 700; }
.am-hero-link:hover { color: var(--am-accent); }
.am-hero :focus-visible, .am-footer :focus-visible { outline-color: var(--am-accent); }
.am-section { padding-block: 3.75rem; }
.am-section h2 { font-size: 2.65rem; margin: 0; color: inherit; }
.am-section p, .am-page-intro p { max-width: 54ch; margin: 1rem 0; }
.am-section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.am-section-heading p:last-child { margin-bottom: 0; }
.am-text-link { color: var(--am-forest); font-weight: 800; text-decoration: none; }
a.am-text-link:hover, .am-course:hover .am-text-link { text-decoration: underline; }
.am-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding: 0; margin: 1.65rem 0 0; list-style: none; }
.am-course-grid > li { display: flex; }
.am-course { display: block; width: 100%; background: #fff; border: 1px solid var(--am-line); border-radius: 6px; overflow: hidden; color: var(--am-ink); text-decoration: none; }
.am-course:hover { border-color: var(--am-forest); color: var(--am-ink); }
.am-course img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--am-tint); }
.am-course-body { padding: 1.15rem; }
.am-course-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; color: var(--am-muted); font-size: .875rem; }
.am-course h3 { margin: .55rem 0 .85rem; font-size: 1.4rem; }
.am-empty { color: var(--am-muted); }
.am-learning { background: var(--am-tint); }
.am-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.am-feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.am-admission { background: var(--am-accent); }
.am-page-intro { background: var(--am-tint); padding-block: 3.5rem; }
.am-page-intro h1 { font-size: 3.4rem; margin: .3rem 0 0; }
.am-page-intro p { margin-bottom: 0; }
.am-category-list { list-style: none; padding: 0; margin: 0; max-width: 55rem; }
.am-category-list a { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--am-line); padding: 1rem .25rem; font-weight: 800; font-size: 1.35rem; color: var(--am-ink); text-decoration: none; }
.am-category-list a:hover { color: var(--am-forest); text-decoration: underline; }
.am-contact { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2.5rem 5rem; }
.am-contact address { font-style: normal; overflow-wrap: anywhere; }
.am-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.am-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.am-form input:not([type="checkbox"]), .am-form textarea, .am-form select { display: block; width: 100%; border: 1px solid #85968a; border-radius: 4px; background: #fff; padding: .65rem .8rem; color: var(--am-ink); font: inherit; }
.am-form textarea { resize: vertical; }
.am-form button { justify-self: start; font: inherit; font-weight: 800; cursor: pointer; }
.am-form [aria-invalid="true"] { border-color: #a52628; }
.am-field-error { color: #a52628; }
.am-feedback { padding: .75rem 1rem; background: var(--am-tint); }
.am-feedback-error { background: #fff0ee; color: #872526; }
.am-feedback-error ul { margin-bottom: 0; }
.am-field-note { color: var(--am-muted); font-size: .9rem; }
.am-form-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.am-form-wide { grid-column: 1 / -1; }
.am-form .am-check { display: flex; align-items: baseline; gap: .6rem; }
.am-check input { accent-color: var(--am-forest); }
.am-form button:disabled, .am-form select:disabled { opacity: .65; cursor: not-allowed; }
.am-stack { display: grid; align-content: start; gap: 2rem; min-width: 0; }
.am-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: 2rem 3rem; align-items: start; }
.am-aside { background: var(--am-tint); padding: 1.5rem; }
.am-aside h2, .am-stack h2, .am-directory h2, .am-media-item h2 { font-size: 1.6rem; }
.am-aside p, .am-stack p, .am-directory p, .am-media-item p { margin: .6rem 0 0; }
.am-aside .am-text-link { display: inline-block; margin-top: .8rem; }
.am-facts { margin: .85rem 0 1.25rem; }
.am-facts div { display: grid; grid-template-columns: 1fr 1.1fr; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--am-line); }
.am-facts dt { font-weight: 700; }
.am-facts dd { margin: 0; overflow-wrap: anywhere; }
.am-course-art { display: block; width: 100%; height: auto; }
.am-prose { overflow-wrap: anywhere; overflow-x: auto; }
.am-prose img { max-width: 100%; height: auto; }
.am-prose h2 { margin-bottom: .8rem; }
.am-steps { max-width: 57ch; padding-inline-start: 1.4rem; }
.am-steps li + li { margin-top: .75rem; }
.am-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
.am-directory li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--am-line); }
.am-directory img { flex: none; object-fit: contain; background: var(--am-white); }
.am-profile { display: grid; grid-template-columns: 11.25rem minmax(0, 1fr); align-items: center; gap: 1.25rem 2.25rem; }
.am-profile img { width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: contain; background: var(--am-tint); }
.am-profile .am-button { margin-top: 1rem; }
.am-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.am-media-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.am-media-item h2 { margin-top: .7rem; }
.am-gallery-link { display: block; }
.am-gallery-dialog { width: min(90vw, 64rem); padding: 1rem; border: 0; background: var(--am-forest); color: #fff; }
.am-gallery-dialog::backdrop { background: rgb(13 27 21 / 82%); }
.am-gallery-dialog form { display: flex; justify-content: end; margin-bottom: .75rem; }
.am-gallery-dialog img { display: block; max-width: 100%; max-height: 70vh; margin: auto; object-fit: contain; }
.am-video { margin: 0; max-width: 56rem; }
.am-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--am-forest); }
.am-video figcaption { margin-top: .6rem; color: var(--am-muted); }
.am-footer { background: var(--am-forest); color: #fff; padding: 3rem 0 1rem; }
.am-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 1.5rem 2.1rem; }
.am-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .6rem; }
.am-footer p, .am-footer a { margin: 0 0 .45rem; overflow-wrap: anywhere; }
.am-footer a { display: block; color: #e0ede3; text-decoration: none; }
.am-footer a:hover { color: #fff; text-decoration: underline; }
.am-footer-end { border-top: 1px solid #618171; margin-top: 2rem; padding-top: .75rem; color: #e0ede3; font-size: .875rem; }

@media (max-width: 62rem) {
    .am-header-inner { flex-wrap: wrap; padding-block: .75rem; min-height: 4.25rem; }
    .am-navigation { width: 100%; padding-bottom: .25rem; }
    .am-submenu { inset-inline-end: auto; inset-inline-start: 0; }
    .am-hero h1 { font-size: 3.7rem; }
    .am-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 38rem) {
    .am-container { width: calc(100% - 2rem); }
    .am-brand { flex: 1; }
    .am-navigation { align-items: stretch; flex-direction: column; gap: 0; }
    .am-navigation a { min-height: 44px; display: flex; align-items: center; }
    .am-nav-group summary { padding-block: .6rem; }
    .am-submenu { position: static; width: 100%; max-width: none; padding: 0 0 0 .8rem; border: 0; }
    .am-navigation .am-portal { align-self: start; }
    .am-hero { min-height: 28rem; }
    .am-hero-content { padding-block: 3rem; }
    .am-hero h1 { font-size: 2.65rem; }
    .am-hero p { font-size: 1.1rem; }
    .am-page-intro { padding-block: 2.4rem; }
    .am-page-intro h1, .am-section h2 { font-size: 2rem; }
    .am-section { padding-block: 2.5rem; }
    .am-feature, .am-course-grid, .am-contact, .am-detail, .am-directory, .am-form-columns, .am-media-grid { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
    .am-profile { grid-template-columns: minmax(0, 1fr); }
    .am-profile img { max-width: 11.25rem; }
    .am-footer-grid { gap: 1.5rem 1rem; }
    .am-footer-grid > div:first-child { grid-column: 1 / -1; }
}
.am-form [data-portal-required] {
    color: #a8271e;
}
