* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--midnight-blue);
    font-family: Plain, sans-serif;
    overflow-x: clip;
}

button,
input,
select {
    font: inherit;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

.prototype-controls {
    min-height: 42px;
    padding: 8px 2.7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    background: white;
}

.prototype-controls__label {
    display: flex;
    gap: 8px;
    align-items: center;
}

.prototype-controls__select {
    padding: 3px;
}

.prototype__page {
    position: relative;
}

.navigation {
    position: relative;
    z-index: 10;
    background: var(--nav-bg);
    color: var(--nav-text);
    padding: 16px 0 0;
    font-family: Fugue, sans-serif;
}

.navigation__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navigation__brand {
    display: block;
    color: var(--nav-accent);
    flex-shrink: 0;
}

.icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    fill: currentColor;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon--logo {
    width: 160px;
    height: 34.45px;
    display: block;
}

.icon--chevron {
    width: 23px;
    height: 15px;
}

.navigation__utilities {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation__utility {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    border: 0;
    background: none;
    padding: 0 28px 0 0;
    font-size: 18px;
    line-height: 26px;
    border-right: 2px solid #ffffff55;
}

.navigation__basket-count {
    position: absolute;
    top: -3px;
    left: 13px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 18px;
    min-width: 17px;
    height: 17px;
    background: var(--nav-accent);
    color: var(--midnight-blue);
    text-align: center;
}

.navigation__sign-in,
.hero__cta {
    background: var(--nav-accent);
    color: var(--midnight-blue);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 18px;
    line-height: 26px;
    text-decoration: none;
}

.navigation__items {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 2px 0 0;
}

.navigation__item {
    padding: 0 20px;
    position: relative;
}

.navigation__item:first-child {
    padding-left: 0;
}

.navigation__item + .navigation__item::before {
    content: "";
    position: absolute;
    height: 26px;
    width: 2px;
    background: #ffffff55;
    left: 0;
    top: 12px;
}

.navigation__trigger {
    color: inherit;
    background: none;
    border: 0;
    padding: 12px 0 20px;
    font-size: 18px;
    line-height: 26px;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.navigation__panel {
    display: grid;
    grid-template-columns: 1fr 1fr 512px;
    gap: 32px;
    margin: 0;
    padding: 28px 0 36px;
    background: var(--nav-bg);
    position: relative;
}

.navigation__primary-links,
.navigation__secondary-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.navigation__link,
.navigation__promo {
    text-decoration: none;
}

.navigation__link:hover,
.navigation__promo:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.navigation__link--primary {
    font-size: 24px;
    line-height: 28px;
}

.navigation__link--secondary {
    font-size: 18px;
    line-height: 26px;
}

.navigation__promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.navigation__promo {
    font-size: 18px;
    line-height: 26px;
}

.navigation__promo-image {
    background: #f2f6ff;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
    margin-bottom: 18px;
    overflow: hidden;
}

.navigation__promo-image.navigation__promo-image--moty {
    background: #8cbfff;
    display: grid;
    place-items: center;
}

.navigation__promo-asset {
    width: 60%;
    height: 85%;
    object-fit: contain;
}

.navigation__promo-image--placeholder {
    color: var(--midnight-blue);
    display: grid;
    place-items: center;
    padding: 20px;
    font-family: Plain, sans-serif;
    font-size: 14px;
    background: var(--periwinkle);
}

.navigation__search {
    padding: 32px 0 8px;
    max-width: 700px;
}

.navigation__search-label {
    display: block;
    font-size: 26px;
    margin-bottom: 14px;
}

.navigation__search-row {
    display: flex;
    gap: 12px;
}

.navigation__search-input {
    min-width: 0;
    flex: 1;
    padding: 14px;
}

.navigation__search-submit {
    border: 0;
    background: var(--nav-accent);
    color: var(--midnight-blue);
    padding: 14px 24px;
}

.hero {
    min-height: 700px;
    padding: 100px max(24px, calc((100% - 1374px) / 2));
    position: relative;
    background: var(--cedar-wood-finish);
    color: var(--navajo-white);
}

.hero__copy {
    max-width: 560px;
}

.hero__text {
    font-size: 18px;
    line-height: 26px;
}

.hero__title,
.content__title {
    font-family: Fugue, sans-serif;
    font-weight: normal;
}

.hero__title {
    font-size: 50px;
    line-height: 55px;
    margin: 30px 0;
}

.hero__cta {
    display: inline-flex;
    gap: 32px;
    margin-top: 20px;
    font-size: 20px;
}

.hero__image-note {
    position: absolute;
    bottom: 20px;
    right: 3%;
    font-size: 12px;
}

.content {
    padding: 80px 24px;
    max-width: 1422px;
    margin-inline: auto;
}

.content__title {
    font-size: 36px;
    line-height: 44px;
    margin: 15px 0;
}

.content__text,
.content__eyebrow {
    font-size: 18px;
    line-height: 26px;
    max-width: 800px;
}

.content__eyebrow {
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 0.1em;
}

.prototype--overlay .navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
}

.prototype--overlay .navigation.navigation--open {
    background: var(--nav-bg);
}

.prototype--overlay .hero {
    padding-top: 280px;
    min-height: 900px;
}

.prototype__skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px;
    background: white;
    color: var(--midnight-blue);
}

.prototype__skip-link:focus {
    top: 10px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* Live artfund.org measurements, checked 16 October 2026.
   Header content: 1422px outer width including 24px gutters.
   New utility labels and mega-menu have no direct live equivalent. */
:root {
    --container-width: 1422px;
    --page-gutter: 24px;
}

.navigation__container {
    width: 100%;
    max-width: var(--container-width);
    padding-inline: var(--page-gutter);
    margin-inline: auto;
}

body {
    font-size: 18px;
    line-height: 26px;
}

.prototype-controls {
    padding-inline: max(24px, calc((100% - 1374px) / 2));
}

.navigation__top {
    min-height: 42px;
}

.icon:not(.icon--logo):not(.icon--chevron) {
    width: 20px;
    height: 24px;
}

.icon--chevron {
    width: 18px;
    height: 12px;
}

.navigation__item:last-child {
    padding-right: 0;
}

.navigation__trigger {
    gap: 12px;
}

.navigation__utilities {
    gap: 24px;
}

.navigation__utility {
    gap: 10px;
    padding-right: 24px;
}

.navigation__sign-in {
    line-height: 26px;
}

.hero__cta {
    font-family: Fugue, sans-serif;
    font-size: 18px;
    line-height: 26px;
    padding: 12px 28px;
}

/* Start the closing background fade with the panel collapse. */
.navigation {
    transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.navigation--open {
    transition-duration: 180ms;
    transition-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
    .navigation,
    .icon--chevron {
        transition: none;
    }
}

.icon__symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.prototype__pages {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
    font-family: Fugue, sans-serif;
}

.prototype__page-link {
    text-underline-offset: 6px;
}

.prototype__page-link[aria-current="page"] {
    text-decoration-thickness: 3px;
}

.prototype__notice,
.prototype__loading {
    padding: 16px 24px;
    background: var(--white);
    color: var(--midnight-blue);
}

.hero--home {
    background-image: url("../assets/images/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Homepage National Art Pass overlay. */
.prototype--overlay .hero--home {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 200px;
    padding-bottom: 72px;
}

.hero--home .hero__copy {
    width: 480px;
    max-width: 100%;
}

.hero__pass {
    display: block;
    width: 376px;
    max-width: 100%;
    height: auto;
    margin-bottom: 64px;
}

.hero--home .hero__title {
    margin: 0 0 24px;
    font-size: 48px;
    line-height: 1.15;
}

.hero--home .hero__text {
    margin: 0;
    color: var(--white);
    font-size: 18px;
    line-height: 28px;
}

.hero--home .hero__cta {
    gap: 24px;
    align-items: center;
    margin-top: 36px;
    padding: 16px 24px;
    border-radius: 0;
    background: var(--white);
}

.hero__cta-icon {
    width: 18px;
    height: 12px;
    fill: currentColor;
    transform: rotate(-90deg);
}

/* Match the live navigation's 400ms sliding underline. */
.navigation__trigger {
    position: relative;
    overflow: hidden;
}

.navigation__trigger::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--nav-accent);
    transform: translateX(-101%);
    transition: transform 400ms ease;
}

.navigation__trigger:focus-visible::after,
.navigation__trigger--current::after {
    transform: translateX(0);
}

.navigation__trigger:hover::after {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .navigation__trigger::after {
        transition: none;
    }
}

.prototype--pass {
    --nav-bg: var(--medium-red-violet);
    --nav-accent: var(--teal-2);
}

.prototype--pass .hero__title {
    color: var(--nav-accent);
}

.prototype--pass .hero__cta {
    background: var(--white);
}

.prototype--explore {
    --nav-bg: var(--teal-2);
    --nav-accent: var(--purple-heart);
    --nav-text: var(--midnight-blue);
}

.prototype--explore .navigation__sign-in,
.prototype--explore .navigation__basket-count {
    color: var(--white);
}

.prototype--explore .hero__title {
    color: var(--teal-2);
}

.prototype--explore .hero__cta {
    background: var(--white);
}

/* Explore retains its solid mint navigation over the hero. */
.prototype--explore .navigation {
    background-color: var(--nav-bg);
}

/* Menu themes are scoped to navigation; the page hero keeps its own colours. */
.navigation[data-menu-theme="purple-mint"] {
    --nav-bg: var(--medium-red-violet);
    --nav-accent: var(--teal-2);
    --nav-text: var(--white);
    --nav-action-text: var(--midnight-blue);
}

.navigation[data-menu-theme="mint-purple"] {
    --nav-bg: var(--teal-2);
    --nav-accent: var(--purple-heart);
    --nav-text: var(--midnight-blue);
    --nav-action-text: var(--white);
}

.navigation[data-menu-theme] .navigation__sign-in,
.navigation[data-menu-theme] .navigation__basket-count {
    color: var(--nav-action-text);
}

.colour-controls {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 14px 20px;
    border: 1px solid var(--blue-haze);
    border-radius: 12px;
    background: var(--white);
    color: var(--midnight-blue);
    box-shadow: 0 4px 24px #00286426;
    font-family: Plain, sans-serif;
}

.colour-controls__label {
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    font-size: 16px;
}

.colour-controls__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.colour-controls__switch {
    display: block;
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 24px;
    background: var(--slate-gray);
}

.colour-controls__switch::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: var(--white);
    transition: transform 180ms ease;
}

.colour-controls__input:checked + .colour-controls__switch {
    background: var(--blue-ribbon);
}

.colour-controls__input:checked + .colour-controls__switch::after {
    transform: translateX(20px);
}

.colour-controls__input:focus-visible + .colour-controls__switch {
    outline: 3px solid var(--midnight-blue);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .colour-controls__switch::after {
        transition: none;
    }
}

/* One background surface avoids competing header/submenu colour fades. */
.navigation__panel {
    background: transparent;
}

.navigation {
    transition: background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
        color 620ms ease;
}

.navigation--open {
    transition-duration: 620ms;
    transition-timing-function: ease;
}

.navigation__brand,
.navigation__sign-in,
.navigation__basket-count,
.navigation__search-submit {
    transition: color 620ms ease, background-color 620ms ease;
}

.navigation__trigger::after {
    transition: transform 400ms ease, background-color 620ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .navigation,
    .navigation__brand,
    .navigation__sign-in,
    .navigation__basket-count,
    .navigation__search-submit,
    .navigation__trigger::after {
        transition: none;
    }
}

.hero__cta {
    background-color: var(--white);
}

/* Explore's header occupies space; its dropdown overlays the hero below. */
.prototype--explore .navigation__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 28px max(24px, calc((100% - 1374px) / 2)) 36px;
    background-color: var(--nav-bg);
    transition: background-color 620ms ease;
}

.prototype--explore .hero--home {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 800px;
    padding-top: 72px;
    padding-bottom: 72px;
}

@media (prefers-reduced-motion: reduce) {
    .prototype--explore .navigation__panel {
        transition: none;
    }
}

.navigation[data-menu-theme="navy-mint"] {
    --nav-bg: var(--midnight-blue);
    --nav-accent: var(--teal-2);
    --nav-text: var(--white);
    --nav-action-text: var(--midnight-blue);
}

.navigation[data-menu-theme="purple-peach"] {
    --nav-bg: var(--purple-heart);
    --nav-accent: var(--navajo-white);
    --nav-text: var(--white);
    --nav-action-text: var(--midnight-blue);
}

.navigation[data-menu-theme="green-mint"] {
    --nav-bg: var(--camarone);
    --nav-accent: var(--teal-2);
    --nav-text: var(--white);
    --nav-action-text: var(--camarone);
}

.navigation[data-menu-theme="blue-peach"] {
    --nav-bg: var(--blue-ribbon);
    --nav-accent: var(--navajo-white);
    --nav-text: var(--white);
    --nav-action-text: var(--midnight-blue);
}

/* Additional section demonstration pages. */
.prototype--purpose {
    --nav-bg: var(--blue-ribbon);
    --nav-accent: var(--navajo-white);
    --nav-text: var(--white);
}
.prototype--donate {
    --nav-bg: var(--purple-heart);
    --nav-accent: var(--navajo-white);
    --nav-text: var(--white);
}
.prototype--teachers {
    --nav-bg: var(--camarone);
    --nav-accent: var(--teal-2);
    --nav-text: var(--white);
}
.prototype--professionals {
    --nav-bg: var(--midnight-blue);
    --nav-accent: var(--teal-2);
    --nav-text: var(--white);
}
.prototype--teachers .navigation__sign-in {
    color: var(--camarone);
}
.prototype--section .navigation__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 28px max(24px, calc((100% - 1374px) / 2)) 36px;
    background-color: var(--nav-bg);
    transition: background-color 620ms ease;
}
.prototype--section .hero--home {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 800px;
    padding-top: 72px;
    padding-bottom: 72px;
}
.prototype--section .hero__title {
    color: var(--nav-accent);
}
@media (prefers-reduced-motion: reduce) {
    .prototype--section .navigation__panel {
        transition: none;
    }
}

.navigation__trigger .icon--chevron {
    transition: none;
}

.navigation__trigger[aria-expanded="true"] .icon--chevron {
    transform: rotate(180deg);
}

/* Soft separator between the primary row and the expanded submenu. */
.navigation__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 8px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgb(0 0 0 / 5%), transparent);
    pointer-events: none;
}

.navigation__utility:disabled,
.navigation__sign-in:disabled {
    cursor: default;
}
