/* 70 Years of St. Ann — 70-years.html
   Builds on the shared hub components in admissions.css. */

.sy-hero {
    background:
        radial-gradient(80% 100% at 85% 20%, rgba(240, 213, 138, .22) 0%, transparent 60%),
        linear-gradient(135deg, #162238 0%, #25344f 55%, #4a2430 100%);
    padding-bottom: 4.5rem;
}
.sy-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 1fr);
    gap: 3.5rem;
    align-items: center;
}
.sy-page #sy-title {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.1;
}
.sy-seventy {
    flex: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(5.5rem, 11vw, 8.5rem);
    line-height: .8;
    font-weight: 700;
    background: linear-gradient(160deg, #f8e6ad 0%, #d2a84f 55%, #a97e2f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sy-counter {
    display: inline-flex;
    align-items: baseline;
    gap: .75rem;
    margin: .25rem 0 1.75rem;
    padding: .7rem 1.1rem;
    border: 1px solid rgba(240, 213, 138, .45);
    border-radius: 12px;
    background: rgba(255, 253, 247, .06);
    color: rgba(255, 253, 247, .85);
}
.sy-counter strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.1rem;
    color: #f0d58a;
    font-variant-numeric: tabular-nums;
}

/* archival collage */
.sy-collage {
    position: relative;
    min-height: 470px;
}
.sy-photo {
    position: absolute;
    margin: 0;
    background: #fffdf7;
    padding: .6rem .6rem 0;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .4);
}
.sy-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(.15); }
.sy-photo figcaption {
    padding: .45rem .2rem .55rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    color: #3a2f14;
    text-align: center;
}
.sy-photo-a { width: 62%; left: 0; top: 0; transform: rotate(-3deg); z-index: 2; }
.sy-photo-a img { height: 210px; }
.sy-photo-b { width: 52%; right: 0; top: 40px; transform: rotate(4deg); z-index: 1; }
.sy-photo-b img { height: 180px; }
.sy-photo-c { width: 48%; left: 38%; bottom: 0; transform: rotate(1.5deg); z-index: 3; }
.sy-photo-c img { height: 160px; }

/* find your years */
.sy-yours {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}
.sy-yours h2 { margin-top: .1rem; }
.sy-find { margin-top: 1.5rem; }
.sy-find button { margin-top: 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.sy-result {
    background: #fffdf7;
    border: 1px solid var(--adm-line);
    border-top: 6px solid #d2a84f;
    border-radius: 16px;
    padding: 1.9rem 1.8rem;
    box-shadow: 0 16px 36px rgba(22, 34, 56, .1);
    outline: none;
}
.sy-result h3 { font-size: 1.9rem; margin: .1rem 0 .5rem; color: var(--adm-navy); }
.sy-result-age { font-weight: 700; font-size: 1.1rem; color: var(--adm-wine); margin: 0 0 1rem; }
.sy-result ul { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: .75rem; }
.sy-result li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.sy-result li::before {
    content: "";
    position: absolute;
    left: 0; top: .6em;
    width: .55rem; height: .55rem;
    border-radius: 50%;
    background: #d2a84f;
}

/* timeline */
.sy-line {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 920px;
    position: relative;
}
.sy-line::before {
    content: "";
    position: absolute;
    left: 5.5rem; top: .5rem; bottom: .5rem;
    width: 3px;
    background: linear-gradient(#d2a84f, #8c2332);
    border-radius: 3px;
}
.sy-mark {
    position: relative;
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 2.5rem;
    padding: 0 0 1.75rem;
}
.sy-mark::before {
    content: "";
    position: absolute;
    left: calc(5.5rem - 7px); top: .55rem;
    width: 17px; height: 17px;
    border-radius: 50%;
    background: #fffdf7;
    border: 3px solid #d2a84f;
}
.sy-mark-now::before { background: #d2a84f; box-shadow: 0 0 0 5px rgba(210, 168, 79, .25); }
.sy-year {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--adm-navy);
    text-align: right;
    line-height: 1.2;
}
.sy-mark-body {
    background: #fffdf7;
    border: 1px solid var(--adm-line);
    border-radius: 14px;
    padding: 1.3rem 1.5rem;
}
.sy-mark-photo .sy-mark-body { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
.sy-mark-body img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; }
.sy-mark-now .sy-mark-body img { object-position: 50% 60%; }
.sy-mark h3 { font-size: 1.3rem; margin: 0 0 .45rem; color: var(--adm-navy); }
.sy-mark p { margin: 0 0 .5rem; line-height: 1.65; color: var(--adm-muted); }

/* memory wall */
.sy-wall { columns: 3 280px; column-gap: 1.5rem; }
.sy-wall:empty { display: none; }
.sy-memory {
    break-inside: avoid;
    margin: 0 0 1.5rem;
    background: #fffdf7;
    border: 1px solid var(--adm-line);
    border-radius: 14px;
    overflow: hidden;
}
.sy-memory img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.sy-memory blockquote {
    margin: 0;
    padding: 1.4rem 1.5rem .6rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.5;
}
.sy-memory blockquote p { margin: 0 0 .6rem; }
.sy-memory figcaption { padding: 0 1.5rem 1.3rem; display: flex; flex-direction: column; }
.sy-memory figcaption strong { color: var(--adm-navy); }
.sy-memory figcaption span { color: var(--adm-muted); font-size: .92rem; }
.sy-wall-empty {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
    border: 2px dashed var(--adm-line);
    border-radius: 16px;
}
.sy-wall-empty i { font-size: 2rem; color: #d2a84f; }
.sy-wall-empty p { font-size: 1.1rem; line-height: 1.6; margin: .75rem 0 1.25rem; }

/* share */
.sy-share { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.sy-tips { padding-left: 1.2rem; display: grid; gap: .6rem; line-height: 1.6; }
.sy-count { margin: .3rem 0 0; text-align: right; font-size: .85rem; color: var(--adm-muted); }
.sy-page .adm-form label.sy-check {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    margin: .9rem 0 0;
    font-weight: 500;
    line-height: 1.5;
}
/* styles.css hides all checkboxes site-wide for its custom ones; show real ones here */
.sy-check input[type="checkbox"] {
    opacity: 1;
    position: static;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .2rem;
    flex: none;
    accent-color: var(--adm-navy);
}
.sy-check input[type="checkbox"]:focus-visible { outline: 3px solid #d2a84f; outline-offset: 2px; }
.sy-share .adm-submit { margin-top: 1.25rem; font: inherit; font-weight: 700; cursor: pointer; }
.sy-final .adm-hero-actions { justify-content: center; }

@media (max-width: 960px) {
    .sy-hero-grid, .sy-yours, .sy-share { grid-template-columns: 1fr; gap: 2.25rem; }
    .sy-collage { min-height: 430px; max-width: 520px; }
}
@media (max-width: 640px) {
    .sy-page #sy-title { gap: .8rem; }
    .sy-collage { min-height: 360px; }
    .sy-photo-a img { height: 150px; }
    .sy-photo-b img { height: 130px; }
    .sy-photo-c img { height: 115px; }
    .sy-photo figcaption { font-size: .85rem; }
    .sy-line::before { left: .55rem; }
    .sy-mark { grid-template-columns: 1fr; gap: .4rem; padding-left: 2.2rem; }
    .sy-mark::before { left: 0; top: .45rem; }
    .sy-year { text-align: left; font-size: 1.45rem; }
    .sy-mark-photo .sy-mark-body { grid-template-columns: 1fr; }
}
