/* hello, please put code in here */
/* ============================================================
   CAREMAP MORRIS — Highlights Page Styles
   Tokens inherited from style.css
============================================================ */
.reveal-hero {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1),
              transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal-hero.visible { opacity: 1; transform: translateY(0); }
 
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1),
              transform .55s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
 
.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }
.delay-4 { transition-delay: .32s !important; }
/* ── PAGE HERO ── */
.page-hero {
    background: var(--ink);
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 6vw, 5rem);
    border-bottom: 3px solid var(--rust);
}

.page-hero::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 55%; height: 100%;
    background: repeating-linear-gradient(
        -60deg, transparent, transparent 38px,
        rgba(255,255,255,.025) 38px, rgba(255,255,255,.025) 39px
    );
    pointer-events: none;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rust);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--rust);
}

.page-hero h1 {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--cream);
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}
.page-hero h1 em { font-style: italic; color: var(--rust); }

.page-hero .subtitle {
    color: rgba(247,242,234,.6);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 480px;
}

/* ── FEATURED CARD (hero right side) ── */
.featured-card {
    background: rgba(247,242,234,.06);
    border: 1px solid rgba(247,242,234,.14);
    border-radius: 8px;
    padding: 1.6rem 1.75rem;
}

.featured-card-eyebrow {
    font-family: var(--ff-mono);
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.featured-card-eyebrow::before { content: '★'; font-size: .55rem; }

.featured-card h2 {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: .3rem;
}

.featured-card .fc-focus {
    font-family: var(--ff-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: .85rem;
}

.featured-card .fc-divider {
    height: 1px;
    background: rgba(247,242,234,.1);
    margin: .85rem 0;
}

.featured-card .fc-label {
    font-family: var(--ff-mono);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(247,242,234,.4);
    margin-bottom: .45rem;
}

.featured-card ul { list-style: none; }
.featured-card ul li {
    font-size: .85rem;
    color: rgba(247,242,234,.75);
    padding: .18rem 0 .18rem 1rem;
    position: relative;
    line-height: 1.4;
}
.featured-card ul li::before {
    content: '→';
    position: absolute; left: 0;
    color: var(--rust);
    font-size: .72rem;
    top: .22rem;
}

/* ── HIGHLIGHTS SECTION ── */
.highlights-section {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: var(--cream);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.section-label-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: .5rem;
}
.section-label-row::after {
    content: '';
    flex: 1; height: 1px;
    background: var(--border);
    max-width: 60px;
}

.section-heading {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: var(--bark);
    letter-spacing: -.01em;
    line-height: 1.15;
}

.section-hint {
    font-family: var(--ff-mono);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--warm-gray);
    padding: .35rem .75rem;
    border: 1px solid var(--border);
    border-radius: 2rem;
    white-space: nowrap;
}

/* ── HIGHLIGHTS GRID ── */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.1rem;
}

/* ── CARD ── */
.h-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .2s;
    box-shadow: 0 10000px 28px rgba(26,20,16,.05);
}
.h-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(26,20,16,.1);
    border-color: rgba(192,75,32,.35);
}
.h-card:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 3px;
}

.h-card-body {
    padding: 1.2rem 1.25rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.card-week {
    font-family: var(--ff-mono);
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.card-org {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--bark);
}

.card-location {
    font-family: var(--ff-mono);
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--warm-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-location svg { opacity: .6; }

.card-focus {
    display: inline-flex;
    margin-top: .25rem;
    font-size: .65rem;
    text-transform: uppercase;
    color: var(--rust);
    border: 1px solid rgba(192,75,32,.3);
    border-radius: 2rem;
    padding: .18rem .55rem;
    width: fit-content;
}

.card-why {
    font-size: .83rem;
    color: #5A4F45;
    line-height: 1.5;
    margin-top: auto;
    padding-top: .6rem;
}

.card-footer {
    padding: .85rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.card-cta {
    font-family: var(--ff-mono);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rust);
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* ── MODAL ── */
.modal-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(26,20,16,.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-backdrop.open { display: flex; }

.modal {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    max-width: 780px; width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 28px 72px rgba(26,20,16,.28);
    animation: popIn .25s cubic-bezier(.22,.68,0,1.2);
}

@keyframes popIn {
    from { transform: translateY(18px) scale(.96); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.6rem 1.75rem 1.1rem;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0;
    background: var(--cream);
    z-index: 2;
    gap: 1rem;
}

.modal-head-left {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.modal-week-label {
    font-family: var(--ff-mono);
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.modal-org-name {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--bark);
    line-height: 1.15;
}

.modal-location-text {
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--warm-gray);
}

.modal-focus-badge {
    display: inline-flex;
    font-family: var(--ff-mono);
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rust);
    border: 1px solid rgba(192,75,32,.3);
    border-radius: 2rem;
    padding: .2rem .65rem;
    margin-top: .25rem;
    width: fit-content;
}

.modal-close {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .45rem .9rem;
    font-size: .85rem;
    color: var(--warm-gray);
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.modal-close:hover {
    background: rgba(192,75,32,.1);
    color: var(--rust);
}

.modal-body {
    padding: 1.4rem 1.75rem 1rem;
}

.modal-section-label {
    font-family: var(--ff-mono);
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: .55rem;
    margin-top: 1.2rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--border);
}
.modal-section-label:first-child { margin-top: 0; }

.modal-list { list-style: none; }
.modal-list li {
    font-size: .9rem;
    color: #5A4F45;
    padding: .22rem 0 .22rem 1.1rem;
    position: relative;
    line-height: 1.45;
}
.modal-list li::before {
    content: '→';
    position: absolute; left: 0;
    color: var(--rust);
    font-size: .75rem;
    top: .28rem;
}

.modal-why {
    font-size: .875rem;
    color: var(--warm-gray);
    font-style: italic;
    line-height: 1.55;
    margin-top: 1.2rem;
    padding: 1rem 1.1rem;
    background: var(--paper);
    border-left: 3px solid var(--rust);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.modal-actions {
    padding: 1.1rem 1.75rem 1.6rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.modal-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: .65rem 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
    .page-hero-inner { grid-template-columns: 1fr; }
    .featured-card { display: none; }
}

@media (max-width: 560px) {
    .highlights-grid { grid-template-columns: 1fr; }
    .modal-head { padding: 1.25rem; }
    .modal-body { padding: 1rem 1.25rem .75rem; }
    .modal-actions { padding: 1rem 1.25rem 1.4rem; }
}
/* ── BTN SECONDARY (Directory link in modal) ── */
.btn-secondary {
    background: transparent;
    border: 1px solid var(--bark);
    color: var(--bark);
    padding: .65rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn-secondary:hover {
    background: var(--bark);
    color: var(--cream);
}