/* Our Story: the homepage palette, photography, and layered portrait cards. */
.story-masthead {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-deep);
    color: var(--ivory);
    padding-block: 5rem 4.5rem;
}
.story-hero-photo { position: absolute; inset: 0; z-index: -2; }
.story-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.story-masthead::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #0b2033f5 0%, #0f2a44eb 32%, #0f2a449c 62%, #0f2a442b 100%);
}
.story-hero-inner > .eyebrow { color: #e2e5df; font-size: .75rem; margin-bottom: 2rem; }
.story-hero-inner > .eyebrow::after { background: var(--accent); }
.story-masthead h1 { max-width: 730px; font-size: clamp(3rem, 4.7vw, 4.5rem); margin-bottom: 1.75rem; }
.story-masthead .story-founders { color: #eee9dc; }
.story-masthead .story-jump-links { margin-top: 1.75rem; }
.story-masthead .story-jump-links a { color: var(--ivory); border-bottom-color: var(--accent); }
.story-masthead .story-jump-links a:hover { color: #f1d3b5; }
.story-introduction { background: var(--ivory); padding-block: 3rem; border-bottom: 1px solid var(--line); }
.story-introduction .story-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--width);
    font-size: 1.0625rem;
    line-height: 1.9;
    padding-top: 0;
}
.story-introduction .story-overview > p { margin: 0; }
.story-shared { background: var(--linen); color: var(--navy); border-bottom: 1px solid #d1c5b2; }
.story-shared .eyebrow { color: #755642; }
.story-shared-copy { color: #4c5a50; border-left: 2px solid var(--accent); padding-left: 2.5rem; }
.story-john-wrap { background: var(--navy); color: var(--ivory); }
.story-john-wrap .story-person-heading > .eyebrow { color: #e0e6de; }
.story-john-wrap .story-person-heading > .eyebrow::after { background: var(--accent); }
.story-john-wrap .story-role { color: #d6e0d5; }
.story-john-wrap .story-person-bio { color: #e4e9e1; }
.story-john-wrap .story-portrait-note { color: #d5dfd4; }
.story-john-wrap .story-art-card {
    background: var(--paper);
    border-color: #d9c7a9;
    box-shadow: 13px 16px 0 #081b2a80;
}
.story-jessica-wrap { background: var(--sage-soft); border-color: var(--sage-line); }
.story-person-jessica .story-person-heading > .eyebrow { color: #4e604b; }
.story-person-jessica .story-role { color: #50644e; }
.story-person-jessica .story-person-bio { color: #374c3d; }
.story-person-jessica .story-portrait-note { color: #50634f; }
.story-person-jessica .story-art-card {
    background: var(--paper);
    border-color: #c8bca6;
    box-shadow: 13px 16px 0 var(--sage-shadow);
}
.story-person-bio > p:first-child { font-size: 1.0625rem; }
.story-practice-grid > div { border-top: 2px solid var(--accent); }
.story-practice-grid > div:nth-child(2) { border-top-color: var(--navy); }
.story-practice-grid > div:nth-child(3) { border-top-color: var(--sage); }
.story-practice-icon { padding: .75rem; background: var(--sage-soft); color: #53684e; }
.story-practice-grid > div:nth-child(2) .story-practice-icon { background: var(--navy-soft); color: var(--navy); }
.story-practice-grid > div:first-child .story-practice-icon { background: var(--rust-soft); color: #865a41; }
@media (max-width: 900px) {
    .story-masthead { padding-block: 4rem 3.5rem; }
    .story-masthead h1 { max-width: 620px; font-size: 3.5rem; }
    .story-masthead::before { background: linear-gradient(90deg, #0b2033f5 0%, #0f2a44dc 50%, #0f2a446b 100%); }
    .story-introduction .story-overview { gap: 2.5rem; }
    .story-shared-copy { padding-left: 1.75rem; }
}
@media (max-width: 680px) {
    .story-masthead { padding-block: 3rem; }
    .story-hero-photo img { object-position: 58% center; }
    .story-masthead::before { background: #0b2339df; }
    .story-hero-inner > .eyebrow { font-size: .6875rem; line-height: 1.8; margin-bottom: 1.6rem; }
    .story-masthead h1 { font-size: 2.625rem; line-height: 1.2; margin-bottom: 1.5rem; }
    .story-introduction { padding-block: 2.25rem; }
    .story-introduction .story-overview { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; font-size: 1rem; }
    .story-shared-copy { padding-left: 1.25rem; }
    .story-john-wrap .story-art-card,
    .story-person-jessica .story-art-card { box-shadow: 7px 9px 0 #091b2a40; }
    .story-person-jessica .story-art-card { box-shadow: 7px 9px 0 var(--sage-shadow); }
    .story-person-bio > p:first-child { font-size: 1rem; }
}
@media print {
    .story-hero-photo, .story-masthead::before { display: none; }
    .story-masthead, .story-shared, .story-john-wrap, .story-jessica-wrap { background: white; color: black; }
    .story-masthead { padding-block: 0 1rem; }
    .story-masthead .story-founders,
    .story-hero-inner > .eyebrow,
    .story-john-wrap .story-person-heading > .eyebrow,
    .story-john-wrap .story-role,
    .story-john-wrap .story-person-bio { color: black; }
    .story-introduction { padding-block: 1rem; }
    .story-introduction .story-overview { display: block; font-size: 11pt; }
    .story-introduction .story-overview > p { margin-bottom: 1rem; }
    .story-shared-copy { border: 0; padding: 0; }
    .story-john-wrap .story-art-card,
    .story-person-jessica .story-art-card { box-shadow: none; }
}
