@font-face { font-family: "ArmaghanArtDisplay"; src: url("../fonts/mikhak/Mikhak-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }
.armaghan-public-site .am-history-page { width: min(1160px, calc(100% - 64px)); margin-inline: auto; padding-block: 25px 66px; background: #fff; color: var(--brand-ink); }
.am-history-document { min-width: 0; }
.am-history-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 44px; margin-block-end: 23px; color: var(--brand-muted); font-size: .75rem; }
.am-history-breadcrumb a { padding-block: 10px; color: var(--brand-text); text-decoration: none; }
.am-history-breadcrumb > span[aria-hidden] { color: #afc8be; }
.am-history-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 64px; padding-block: 3px 40px; border-block-end: 1px dashed #d9e7df; }
.am-history-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; color: var(--brand-text); font-size: .8rem; font-weight: 600; }
.am-history-eyebrow > span { width: 9px; height: 13px; flex: 0 0 9px; background: var(--brand-gradient); border-radius: 70% 30% 65% 35%; transform: rotate(-25deg); }
.am-history-page .am-page-title { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; position: relative; width: fit-content; max-width: 100%; margin: 0 0 23px; padding-block-end: 13px; color: var(--brand-ink); font-size: clamp(2.3rem, 3.6vw, 3.1rem); font-weight: 900; line-height: 1.65; }
.am-history-page .am-page-title::after { content: ''; position: absolute; inset-inline-start: 2px; bottom: 0; width: min(255px, 75%); height: 8px; border-block-end: 3px solid #1abc9c80; border-radius: 50%; transform: rotate(-2deg); }
.am-history-lead { max-width: 640px; margin: 0 0 17px; color: var(--brand-muted); font-size: 1.05rem; line-height: 2.2; }
.am-history-start { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: var(--brand-text); font-size: .84rem; font-weight: 600; text-decoration: none; }
.am-history-start i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #d7e9df; border-radius: 50%; background: #f7fbf8; font-size: .7rem; }
.am-history-start:hover { color: var(--brand-ink); }
.am-history-art { width: 100%; max-width: 300px; justify-self: center; }
.am-history-art svg { display: block; width: 100%; height: auto; }
.am-history-art > p { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; margin: 8px 0 0; color: var(--brand-text); font-size: 1.1rem; font-weight: 900; line-height: 1.8; text-align: center; transform: rotate(-3deg); }
.am-history-layout { display: grid; grid-template-columns: minmax(0, 1fr) 235px; align-items: start; gap: 48px; margin-block-start: 45px; }
.am-history-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.am-history-timeline { min-width: 0; }
.am-history-timeline .am-page-rich-text { position: relative; color: #536f78; font-size: 1rem; line-height: 2.2; }
.am-history-timeline .am-page-rich-text:has(.am-history-step)::before { content: ''; position: absolute; inset-inline-start: 109px; top: 20px; bottom: 22px; width: 1px; border-inline-start: 1px dashed #bdd9cc; }
.am-history-step { position: relative; padding-inline-start: 143px; padding-block-end: 36px; scroll-margin-block-start: calc(var(--header-height) + 32px); }
.am-history-step:last-child { padding-block-end: 0; }
.am-history-marker { position: absolute; inset-inline-start: 0; top: 5px; width: 91px; text-align: start; }
.am-history-marker::before { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; content: attr(data-period); display: block; width: fit-content; max-width: 100%; padding: 2px 8px; border: 1px solid #d9e9df; border-radius: 14px 4px 14px 4px; background: #f5faf6; color: var(--brand-text); font-family: var(--armaghan-font); font-size: 1rem; font-weight: 900; line-height: 1.8; white-space: nowrap; }
.am-history-marker::after { content: ''; position: absolute; inset-inline-start: 104px; top: 10px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #19ac98; box-shadow: 0 0 0 1px #a6d6c3, 0 0 0 6px #f0f8f3; }
.am-history-step:nth-of-type(2) .am-history-marker::before { border-color: #d8e8f1; background: #f3f8fc; color: #277da8; }
.am-history-step:nth-of-type(2) .am-history-marker::after { background: #3498db; box-shadow: 0 0 0 1px #bfd8e8, 0 0 0 6px #f2f8fc; }
.am-history-step:nth-of-type(3) .am-history-marker::before { background: #fffdf5; border-color: #ece4cd; color: #8c7541; }
.am-history-page .am-page-rich-text .am-history-step-title { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; margin: 0 0 18px; color: var(--brand-ink); font-size: 1.55rem; font-weight: 900; line-height: 1.9; text-wrap: balance; }
.am-history-source-period { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.am-history-step p { margin: 0 0 22px; text-align: start; }
.am-history-step > :last-child { margin-block-end: 0; }
.am-history-step :is(h3, h4) { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; color: var(--brand-ink); font-weight: 900; }
.am-history-step img { border-radius: 26px 7px 26px 7px; }
.am-history-page .am-page-rich-text blockquote { position: relative; margin: 29px 0 8px; padding: 23px 25px; padding-inline-start: 51px; border: 1px solid #eae3cf; border-radius: 29px 7px 29px 7px; background: #fffdf6; color: var(--brand-text); font-size: 1.03rem; line-height: 2.2; }
.am-history-page .am-page-rich-text blockquote::before { content: '“'; position: absolute; inset-inline-start: 14px; top: 12px; color: #a7c8b4; font: 3.8rem/1.3 Georgia, serif; }
.am-history-page .am-page-rich-text blockquote p:last-child { margin-block-end: 0; }
.am-history-index { position: sticky; top: calc(var(--header-height) + 24px); min-width: 0; padding: 24px 16px 15px; border: 1px solid #dfeae4; border-radius: 30px 8px 30px 8px; background: #fff; box-shadow: 0 8px 24px #163d4805; }
.am-history-index::before { content: ''; position: absolute; left: 37%; top: -9px; width: 61px; height: 18px; background: #eee6d6ad; transform: rotate(-7deg); }
.am-history-index-eyebrow { margin: 0 5px 3px; color: var(--brand-muted); font-size: .7rem; }
.am-history-index > h2 { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; margin: 0 5px 18px; color: var(--brand-ink); font-size: 1.18rem; font-weight: 900; line-height: 1.9; }
.am-history-index nav { display: grid; gap: 7px; }
.am-history-index nav > a { display: grid; grid-template-columns: minmax(0, 1fr) 13px; align-items: center; gap: 2px 9px; min-height: 72px; padding: 9px 11px; border: 1px solid transparent; border-radius: 18px 5px 18px 5px; color: var(--brand-muted); text-decoration: none; }
.am-history-index-period { grid-column: 1; color: var(--brand-text); font-size: .77rem; font-weight: 700; line-height: 1.8; }
.am-history-index-label { grid-column: 1; font-size: .79rem; line-height: 1.9; }
.am-history-index nav > a > i { grid-column: 2; grid-row: 1 / 3; color: #9cb6aa; font-size: .66rem; }
.am-history-index nav > a:hover { color: var(--brand-ink); background: #fafcfb; }
.am-history-index nav > a[aria-current] { border-color: #deede3; background: #f2f9f4; color: var(--brand-ink); }
.am-history-index nav > a[aria-current] > i { color: var(--brand-text); }
.am-history-invitation { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-block-start: 45px; padding-block-start: 32px; border-block-start: 1px dashed #d9e7df; }
.am-history-invitation h2 { --armaghan-font: "ArmaghanArtDisplay", "ArmaghanIranSansX", sans-serif; margin: 0 0 10px; color: var(--brand-ink); font-size: 1.6rem; font-weight: 900; line-height: 1.8; }
.am-history-invitation > div > p:last-child { margin: 0; color: var(--brand-muted); font-size: .86rem; line-height: 2.1; }
.am-history-invitation-actions { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; gap: 11px; }
.am-history-invitation-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 11px 18px; border: 1px solid #d3e6db; border-radius: 25px 7px 25px 7px; background: #fff; color: var(--brand-text); font-size: .8rem; font-weight: 600; text-decoration: none; }
.am-history-invitation-actions a:first-child { border-color: transparent; background: var(--brand-gradient); color: #fff; }
.am-history-invitation-actions a:first-child:hover { background: var(--brand-gradient-hover); }
.am-history-invitation-actions a:last-child:hover { background: #f6faf7; }
.am-history-page a:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 4px; }
.am-history-step:focus { outline: none; }
.am-history-step:focus-visible { outline: 2px solid #b0d9c8; outline-offset: 8px; border-radius: 6px; }
[dir="ltr"] .am-history-page .fa-arrow-left { transform: rotate(180deg); }
@media (max-width: 1100px) {
    .am-history-hero { gap: 32px; grid-template-columns: minmax(0, 1fr) 260px; }
    .am-history-layout { gap: 30px; grid-template-columns: minmax(0, 1fr) 215px; }
    .am-history-layout--single { grid-template-columns: minmax(0, 860px); }
    .am-history-step { padding-inline-start: 125px; }
    .am-history-timeline .am-page-rich-text:has(.am-history-step)::before { inset-inline-start: 96px; }
    .am-history-marker { width: 81px; }
    .am-history-marker::before { font-size: .87rem; padding-inline: 6px; }
    .am-history-marker::after { inset-inline-start: 91px; }
    .am-history-invitation { flex-wrap: wrap; }
}
@media (max-width: 1023px) {
    .am-history-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-block-start: 33px; }
    .am-history-index { position: relative; top: auto; order: -1; padding: 20px 17px 15px; }
    .am-history-index > h2 { margin-block-end: 12px; }
    .am-history-index nav { display: flex; gap: 8px; max-width: 100%; padding: 4px 3px 9px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c0dacc transparent; }
    .am-history-index nav > a { flex: 0 0 163px; scroll-snap-align: start; }
    .am-history-index::before { left: 42%; }
}
@media (max-width: 699px) {
    .am-history-hero { gap: 12px; grid-template-columns: minmax(0, 1fr); padding-block-end: 31px; }
    .am-history-art { max-width: 230px; }
    .am-history-art > p { font-size: 1rem; margin-block-start: 1px; }
    .am-history-page .am-page-title { font-size: 2.35rem; }
    .am-history-lead { font-size: 1rem; }
}
@media (max-width: 599px) {
    .armaghan-public-site .am-history-page { width: calc(100% - 40px); padding-block: 17px 45px; }
    .am-history-breadcrumb { gap: 8px; margin-block-end: 23px; font-size: .7rem; }
    .am-history-eyebrow { font-size: .75rem; }
    .am-history-page .am-page-title { margin-block-end: 20px; font-size: 2.15rem; }
    .am-history-lead { font-size: .95rem; line-height: 2.15; margin-block-end: 12px; }
    .am-history-start { font-size: .8rem; }
    .am-history-art { max-width: 210px; }
    .am-history-index { padding: 18px 12px 10px; border-radius: 24px 7px 24px 7px; }
    .am-history-index > h2 { font-size: 1.1rem; }
    .am-history-index nav > a { flex-basis: 152px; min-height: 78px; }
    .am-history-index-label { font-size: .77rem; }
    .am-history-layout { gap: 31px; margin-block-start: 28px; }
    .am-history-timeline .am-page-rich-text { font-size: 1rem; line-height: 2.2; }
    .am-history-timeline .am-page-rich-text:has(.am-history-step)::before { inset-inline-start: 4px; top: 22px; bottom: 24px; }
    .am-history-step { padding-inline-start: 28px; padding-block-end: 36px; }
    .am-history-marker { position: relative; top: auto; width: auto; margin-block-end: 13px; }
    .am-history-marker::before { font-size: .95rem; padding-inline: 10px; }
    .am-history-marker::after { inset-inline-start: -29px; top: 10px; }
    .am-history-page .am-page-rich-text .am-history-step-title { font-size: 1.4rem; line-height: 1.95; margin-block-end: 17px; }
    .am-history-step p { margin-block-end: 21px; }
    .am-history-page .am-page-rich-text blockquote { padding: 22px 19px; padding-block-start: 46px; font-size: 1rem; }
    .am-history-page .am-page-rich-text blockquote::before { inset-inline-start: 18px; top: 3px; font-size: 3.5rem; }
    .am-history-invitation { gap: 20px; margin-block-start: 34px; padding-block-start: 27px; }
    .am-history-invitation h2 { font-size: 1.4rem; text-wrap: balance; }
    .am-history-invitation-actions { width: 100%; gap: 10px; }
    .am-history-invitation-actions a { flex: 1 1 145px; font-size: .76rem; padding-inline: 13px; }
}
