/* A paper-collage language for the homepage introduction. Public data and routes stay native. */
@font-face {
    font-family: "ArmaghanArtDisplay";
    src: url("../fonts/mikhak/Mikhak-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}
.am-art-home :is(#home-hero-title, #home-support-title, #home-about-title, .am-hero-note,
    .am-hero-impact dd, .am-about-fact dd, .am-about-quote p, .am-support-index) {
    --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif;
}
body.am-art-home .modern-header { background: #ffffffed; border-block-end: 1px solid #edf3f2; box-shadow: none; }
body.am-art-home .modern-header.is-scrolled { box-shadow: 0 4px 20px #163d4808; }
body.am-art-home .header-container { max-width: 1320px; }
body.am-art-home .modern-header .nav-link { font-size: .87rem; padding-inline: 14px; }
body.am-art-home .modern-header .nav-link.active::after { width: 23px; height: 4px; bottom: -5px; border-radius: 50%; transform: translateX(50%) rotate(-7deg); }
body.am-art-home .site-header-tools { border: 1px solid #e7f0ee; border-radius: 60px; background: #f8fbfa; padding: 5px 10px; gap: 12px; }
body.am-art-home .site-language-header { border: 0; background: transparent; }

/* Hero: expressive type, real photographs, and small hand-drawn details on white. */
.am-art-home .am-home-hero { padding-top: 58px; background: #fff; }
.am-art-home .am-hero-container { width: min(1240px, calc(100% - 80px)); }
.am-art-home .am-hero-main { grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 90px); padding-block-end: 56px; }
.am-art-home .am-home-hero .am-hero-eyebrow { border: 0; padding: 0; margin-block-end: 24px; border-radius: 0; background: none; font-size: .83rem; }
.am-art-home .am-hero-eyebrow > span { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-25deg); }
.am-art-home .am-home-hero .am-hero-institution { font-size: .8rem; margin-block-end: 12px; }
.am-art-home .am-home-hero #home-hero-title { position: relative; font-size: clamp(2.8rem, 5.2vw, 4.6rem); font-weight: 900; line-height: 1.45; letter-spacing: -.035em; margin-block-end: 29px; }
.am-art-home .am-title-top, .am-art-home .am-title-accent { display: block; }
.am-art-home .am-title-accent { position: relative; width: fit-content; max-width: 100%; padding-block-end: 9px; color: var(--brand-text); background: var(--brand-gradient); background-clip: text; -webkit-text-fill-color: transparent; }
.am-art-home .am-title-stroke { position: absolute; inset-inline: 0; bottom: -3px; width: 100%; height: 19px; overflow: visible; pointer-events: none; fill: none; stroke: #1abc9c70; stroke-width: 4; stroke-linecap: round; }
.am-art-home .am-home-hero .am-hero-description { font-size: .91rem; line-height: 2.15; max-width: 520px; }
.am-art-home .am-hero-actions { margin-block-start: 26px; gap: 16px; }
.am-art-home .am-home-hero .am-hero-actions a { border-radius: 50px; min-height: 50px; padding-inline: 23px; font-size: .85rem; }
.am-art-home .am-home-hero .am-hero-secondary { background: #fff; border-color: #dbe9e7; }
.am-art-home .am-hero-impact { margin-block-start: 32px; padding-block-start: 0; border: 0; gap: 20px; }
.am-art-home .am-hero-impact > div + div { border: 0; padding-inline-start: 0; }
.am-art-home .am-hero-impact dd { font-size: 2.25rem; font-weight: 900; line-height: 1.5; }
.am-art-home .am-hero-impact dt { font-size: .72rem; }
.am-art-home .am-hero-visual { isolation: isolate; padding: 12px 0 25px; }
.am-art-home .am-hero-visual::before { z-index: -2; inset: 16px -16px 10px 3px; border: 0; border-radius: 46% 54% 39% 61% / 37% 43% 57% 63%; background: #edf9f4; transform: rotate(8deg); }
.am-art-home .am-hero-visual::after { content: ''; position: absolute; z-index: -1; width: 90px; height: 85px; inset-inline-start: -15px; bottom: 5px; background-image: radial-gradient(#3498db 1.5px, transparent 1.5px); background-size: 13px 13px; opacity: .32; }
.am-art-home .am-hero-photo { aspect-ratio: 1 / 1.08; border: 7px solid #fff; border-radius: 45% 49% 18% 23% / 33% 40% 15% 21%; transform: rotate(-4deg); box-shadow: 0 18px 45px #163d4812; }
.am-art-home .am-hero-photo > img { transform: rotate(4deg) scale(1.13); }
.am-art-home .am-hero-photo::after { background: linear-gradient(transparent, #163d4826); }
.am-art-home .am-hero-photo-caption { bottom: 25px; inset-inline: 22px; padding: 12px 14px; border: 0; border-radius: 6px 18px 8px 15px; background: #fffffff5; transform: rotate(4deg); }
.am-art-home .am-hero-photo-caption strong { font-size: .79rem; }
.am-art-home .am-hero-photo-caption div > span { font-size: .68rem; }
.am-art-home .am-hero-caption-icon { width: 34px; height: 34px; flex-basis: 34px; }
.am-art-home .am-hero-note { inset-inline-end: -16px; top: 4px; padding: 12px 19px; border: 1px solid #e9e5d4; border-radius: 5px 6px 20px 6px; background: #fffcf2; transform: rotate(-9deg); box-shadow: 0 7px 20px #163d4808; }
.am-art-home .am-hero-note::before { content: ''; position: absolute; width: 48px; height: 13px; top: -7px; left: 30%; background: #e7ebd8b3; transform: rotate(4deg); }
.am-art-home .am-hero-note > i { color: var(--brand-start); font-size: 1.7rem; }
.am-art-home .am-hero-note > span { font-size: .84rem; }
.am-art-home .am-hero-note strong { font-size: 1rem; }
.am-art-home .am-hero-spark { inset-inline-start: -10px; bottom: 20px; font-size: 4.1rem; color: var(--brand-end); transform: rotate(12deg); }
.am-art-home .am-hero-doodle { position: absolute; z-index: 2; inset-inline-start: -47px; top: -9px; width: 105px; height: 125px; fill: none; stroke: var(--brand-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); pointer-events: none; }
.am-art-home .am-hero-story { position: absolute; z-index: 3; inset-inline-end: -20px; bottom: -15px; width: 163px; padding: 7px 7px 10px; background: #fff; border: 1px solid #e8eeeb; box-shadow: 0 10px 22px #163d4814; transform: rotate(8deg); color: var(--brand-ink); }
.am-art-home .am-hero-story::before { content: ''; position: absolute; top: -8px; left: 33%; width: 51px; height: 15px; background: #e8ecd9c2; transform: rotate(-3deg); }
.am-art-home .am-hero-story img { display: block; width: 100%; height: 96px; object-fit: cover; }
.am-art-home .am-hero-story span { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-block-start: 8px; font-size: .62rem; font-weight: 600; }
.am-art-home .am-hero-story:hover { color: var(--brand-text); }
.am-art-home .am-hero-paths { border: 0; gap: 18px; padding-block: 16px 8px; }
.am-art-home .am-hero-paths > a { padding: 17px 20px; border: 1px solid #e8efed; border-radius: 30px 12px 30px 12px; background: #fff; gap: 12px; transition: border-color .2s, transform .2s; }
.am-art-home .am-hero-paths > a + a { margin-inline-start: 0; }
.am-art-home .am-hero-paths > a:hover { border-color: var(--brand-line); transform: translateY(-3px); }
.am-art-home .am-hero-path-icon { background: #f0f9f5; border-radius: 50% 45% 50% 30%; }
.am-art-home .am-hero-paths > a:nth-child(2) .am-hero-path-icon { background: #f0f7fc; color: var(--brand-end); }
.am-art-home .am-hero-paths strong { font-size: .8rem; }
.am-art-home .am-hero-paths small { font-size: .65rem; }
.am-art-home .am-hero-path-arrow { margin-inline-end: 0; }

/* Support: photo prints, imperfect contours, and an intentionally staggered rhythm. */
.am-art-home .am-support { position: relative; padding-block: 85px 65px; overflow: clip; }
.am-art-home .am-support-heading { margin-block-end: 43px; }
.am-art-home .am-support-heading h2, .am-art-home .am-about-copy h2 { font-weight: 900; font-size: clamp(2rem, 3.3vw, 2.9rem); line-height: 1.65; }
.am-art-home .am-support-heading h2 { position: relative; display: inline-block; }
.am-art-home .am-support-heading h2::after { content: ''; position: absolute; bottom: 4px; right: 3px; width: 70%; height: 8px; border-bottom: 3px solid #1abc9c50; border-radius: 50%; transform: rotate(-3deg); }
.am-art-home .am-support-grid { align-items: flex-start; gap: 26px; }
.am-art-home .am-support-card { position: relative; border: 0; border-radius: 0; overflow: visible; flex-basis: calc((100% - 52px) / 3); }
.am-art-home .am-support-card:hover { box-shadow: none; transform: none; }
.am-art-home .am-support-card:not(.am-support-card--compact):nth-child(2) { margin-block-start: 36px; }
.am-art-home .am-support-card:not(.am-support-card--compact):nth-child(3) { margin-block-start: 8px; }
.am-art-home .am-support-image { position: relative; overflow: visible; aspect-ratio: 3 / 2; padding: 7px; border: 1px solid #e2eeea; border-radius: 54px 18px 28px 18px; background: #fff; box-shadow: 0 9px 22px #163d480b; transform: rotate(-2deg); }
.am-art-home .am-support-image::before { content: ''; position: absolute; z-index: 2; top: -8px; left: 41%; width: 64px; height: 19px; background: #f0e9d9b8; transform: rotate(7deg); }
.am-art-home .am-support-image { flex: none; min-height: 0; }
.am-art-home .am-support-image img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 47px 12px 21px 12px; }
.am-art-home .am-support-card:nth-child(2) .am-support-image { border-radius: 40% 40% 20px 20px; transform: rotate(2deg); }
.am-art-home .am-support-card:nth-child(2) .am-support-image img { border-radius: 40% 40% 14px 14px; }
.am-art-home .am-support-card:nth-child(3) .am-support-image { border-radius: 18px 55px 18px 30px; transform: rotate(-1.5deg); }
.am-art-home .am-support-card:nth-child(3) .am-support-image img { border-radius: 12px 48px 12px 23px; }
.am-art-home .am-support-card:hover .am-support-image img { transform: none; }
.am-art-home .am-support-index { position: absolute; z-index: 2; bottom: -13px; inset-inline-start: 16px; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #d4eae3; border-radius: 49% 51% 44% 56%; background: #f1faf5; color: var(--brand-text); font-size: 1.2rem; transform: rotate(7deg); }
.am-art-home .am-support-body { padding: 27px 8px 12px; }
.am-art-home .am-support-body h3 { font-size: 1.18rem; margin-block-end: 12px; }
.am-art-home .am-support-description { min-height: 5.7em; margin-block-end: 19px; font-size: .85rem; }
.am-art-home .am-support-footer { border-block-start: 1px dashed #dce9e4; padding-block-start: 16px; }
.am-art-home .am-support-action { border-radius: 40px; padding-inline: 19px; }
.am-art-home .am-support-card--compact { flex-basis: calc((100% - 26px) / 2); border: 1px solid #e5eee9; border-radius: 30px 10px 30px 10px; background: #fff; margin-block-start: 10px; }
.am-art-home .am-support-card--compact .am-support-body { padding: 19px 22px; }
.am-art-home .am-support-card--compact h3 { font-size: .97rem; margin: 0; }
.am-art-home .am-support-card--compact .am-support-description { min-height: 0; margin: 0; font-size: .75rem; }
.am-art-home .am-support-card--compact .am-support-footer { padding: 0; border: 0; }
.am-art-home .am-support-note { margin-block-start: 24px; }

/* About: a small collection of ink stamps instead of identical statistic boxes. */
.am-art-home .am-about { overflow: clip; }
.am-art-home .am-about-container { border-block-start: 1px dashed #deebe6; padding-block: 67px 70px; }
.am-art-home .am-about-main { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 72px; }
.am-art-home .am-about-copy h2 { max-width: 590px; margin-block-end: 20px; }
.am-art-home .am-about-description { font-size: .93rem; }
.am-art-home .am-about-actions a { border-radius: 40px; }
.am-art-home .am-about-overview { position: relative; isolation: isolate; }
.am-art-home .am-about-overview::before { content: ''; position: absolute; z-index: -1; inset: 30px -18px -10px; border: 1px dashed #d6e9e1; border-radius: 48% 52% 43% 57%; transform: rotate(-11deg); }
.am-art-home .am-about-overview h3 { text-align: center; margin-block-end: 24px; }
.am-art-home .am-about-facts { gap: 18px; }
.am-art-home .am-about-fact { padding: 27px 24px; border: 1px solid #dcebe3; border-radius: 44% 56% 47% 53% / 44% 42% 58% 56%; background: #f2faf5; transform: rotate(3deg); }
.am-art-home .am-about-fact:nth-child(2) { border-radius: 50% 44% 53% 47% / 43% 50% 44% 57%; background: #f3f8fc; border-color: #e0eaf4; transform: rotate(-4deg); }
.am-art-home .am-about-fact:nth-child(3) { background: #fff; border: 1px dashed #81bdaa; transform: rotate(-2deg); }
.am-art-home .am-about-fact:nth-child(4) { border-radius: 49% 51% 44% 56%; background: #fffcf3; border-color: #ece8d8; transform: rotate(4deg); }
.am-art-home .am-about-fact dt { align-items: center; justify-content: center; min-height: 28px; font-size: .75rem; }
.am-art-home .am-about-fact dt i { display: none; }
.am-art-home .am-about-fact dd { text-align: center; font-size: 2.7rem; font-weight: 900; line-height: 1.5; margin-block-start: 4px; }
.am-art-home .am-about-quote { border-block-start-style: dashed; margin-block-start: 43px; padding-block-start: 28px; }
.am-art-home .am-about-quote p { font-size: 1.28rem; font-weight: 900; line-height: 1.8; }
.am-art-home .am-about-quote-icon { background: none; border: 1px solid #cce6dc; border-radius: 50% 45% 50% 35%; transform: rotate(-10deg); }

@media (min-width: 1500px) { .am-art-home .am-home-hero { padding-top: 70px; } }
@media (max-width: 1100px) {
    .am-art-home .modern-header .user-name { display: none; }
    .am-art-home .am-hero-container { width: calc(100% - 56px); }
    .am-art-home .am-hero-main { gap: 45px; }
    .am-art-home .am-home-hero #home-hero-title { font-size: 3.3rem; }
    .am-art-home .am-hero-story { width: 139px; inset-inline-end: -6px; bottom: -5px; }
    .am-art-home .am-hero-story img { height: 78px; }
    .am-art-home .am-hero-doodle { inset-inline-start: -35px; width: 78px; }
    .am-art-home .am-hero-paths > a { padding: 16px 13px; gap: 9px; }
    .am-art-home .am-about-main { gap: 40px; }
    .am-art-home .am-about-fact { padding-inline: 15px; }
}
@media (max-width: 1023px) {
    .am-art-home .am-support-card { flex-basis: calc((100% - 26px) / 2); }
    .am-art-home .am-support-card:not(.am-support-card--compact):nth-child(3) { margin-block-start: 18px; }
    .am-art-home .am-support-card--compact { flex-basis: calc((100% - 26px) / 2); align-self: center; }
}
@media (max-width: 900px) {
    .am-art-home .am-about-main { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .am-art-home .am-about-copy h2 { max-width: none; }
    .am-art-home .am-about-overview { max-width: 620px; width: 100%; margin-inline: auto; }
    .am-art-home .am-about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-art-home .am-about-fact dt { min-height: 28px; }
}
@media (max-width: 850px) {
    body.am-art-home .site-header-tools { padding: 3px 6px; gap: 8px; }
    .am-art-home .am-home-hero { padding-top: 35px; }
    .am-art-home .am-hero-container { width: min(640px, calc(100% - 40px)); }
    .am-art-home .am-hero-main { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-block-end: 36px; }
    .am-art-home .am-title-accent { margin-inline: auto; }
    .am-art-home .am-home-hero #home-hero-title { text-align: center; font-size: 3.5rem; }
    .am-art-home .am-home-hero .am-hero-institution { text-align: center; }
    .am-art-home .am-home-hero .am-hero-description { text-align: center; margin-inline: auto; }
    .am-art-home .am-hero-actions { justify-content: center; }
    .am-art-home .am-hero-impact { max-width: 440px; width: 100%; margin-inline: auto; }
    .am-art-home .am-hero-visual { width: min(430px, calc(100% - 32px)); padding-bottom: 30px; }
    .am-art-home .am-hero-photo { aspect-ratio: 1.05 / 1; }
    .am-art-home .am-hero-doodle { inset-inline-start: -22px; }
    .am-art-home .am-hero-paths { gap: 10px; padding-block-start: 3px; }
    .am-art-home .am-hero-paths > a { padding: 15px 18px; border-radius: 28px 10px 28px 10px; }
    .am-art-home .am-hero-paths > a + a { border-block-start: 1px solid #e8efed; }
}
@media (max-width: 767px) {
    .am-art-home .am-support { padding-block: 56px 46px; }
    .am-art-home .am-support-heading { margin-block-end: 30px; }
    .am-art-home .am-support-heading h2, .am-art-home .am-about-copy h2 { font-size: 2.05rem; }
    .am-art-home .am-support-card--compact .am-support-body { padding: 17px 18px; }
    .am-art-home .am-support-card--compact h3 { margin-block-end: 10px; }
    .am-art-home .am-support-card--compact .am-support-description { margin-block-end: 17px; }
    .am-art-home .am-support-card--compact .am-support-footer { margin-block-start: auto; }
    .am-art-home .am-about-container { padding-block: 48px 50px; }
    .am-art-home .am-about-description { font-size: .88rem; }
    .am-art-home .am-about-fact { padding: 24px 18px; }
    .am-art-home .am-about-quote { margin-block-start: 32px; }
    .am-art-home .am-about-quote p { font-size: 1.1rem; }
}
@media (max-width: 599px) {
    .am-art-home .am-support-grid { gap: 30px; }
    .am-art-home .am-support-card { flex-basis: 100%; }
    .am-art-home .am-support-card:not(.am-support-card--compact):nth-child(n) { margin-block-start: 0; }
    .am-art-home .am-support-image { aspect-ratio: 3 / 2; margin-inline: 5px; }
    .am-art-home .am-support-description { min-height: 0; }
    .am-art-home .am-support-card--compact { margin: 0; border-radius: 25px 9px 25px 9px; }
    .am-art-home .am-about-facts { gap: 14px; }
    .am-art-home .am-about-fact { padding-inline: 12px; }
    .am-art-home .am-about-fact dt { font-size: .72rem; min-height: 3.6em; }
    .am-art-home .am-about-fact dd { font-size: 2.35rem; }
}
@media (max-width: 480px) {
    .am-art-home .am-home-hero #home-hero-title { font-size: 2.65rem; line-height: 1.5; margin-block-end: 24px; }
    .am-art-home .am-title-stroke { height: 14px; }
    .am-art-home .am-home-hero .am-hero-eyebrow { font-size: .71rem; margin-block-end: 18px; }
    .am-art-home .am-home-hero .am-hero-institution { font-size: .73rem; }
    .am-art-home .am-home-hero .am-hero-description { font-size: .84rem; }
    .am-art-home .am-hero-actions { gap: 9px; }
    .am-art-home .am-home-hero .am-hero-actions a { min-height: 47px; padding-inline: 15px; font-size: .76rem; gap: 8px; }
    .am-art-home .am-hero-impact { margin-block-start: 27px; gap: 8px; }
    .am-art-home .am-hero-impact dd { font-size: 2rem; }
    .am-art-home .am-hero-impact dt { font-size: .67rem; }
    .am-art-home .am-hero-visual { width: calc(100% - 30px); }
    .am-art-home .am-hero-note { top: 3px; inset-inline-end: -8px; padding: 9px 13px; }
    .am-art-home .am-hero-note > span { font-size: .76rem; }
    .am-art-home .am-hero-note strong { font-size: .9rem; }
    .am-art-home .am-hero-story { width: 128px; bottom: 0; inset-inline-end: -10px; }
    .am-art-home .am-hero-story img { height: 76px; }
    .am-art-home .am-hero-story span { font-size: .53rem; }
    .am-art-home .am-hero-photo-caption { inset-inline: 13px; bottom: 25px; padding: 10px; gap: 8px; }
    .am-art-home .am-hero-photo-caption strong { font-size: .66rem; }
    .am-art-home .am-hero-photo-caption div > span { font-size: .57rem; }
    .am-art-home .am-hero-caption-icon { width: 28px; height: 28px; flex-basis: 28px; font-size: .9rem; }
    .am-art-home .am-hero-doodle { width: 66px; height: 95px; inset-inline-start: -21px; top: -4px; }
    .am-art-home .am-hero-spark { font-size: 3rem; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .am-art-home .am-hero-paths > a, .am-art-home .am-hero-actions a { transition: none; }
}
