/* Dene STEAM layout additions. Same pixel sunset theme: uses only the variables in styles.css */

/* Utility bar */
.utility { background: var(--night); color: rgba(255, 244, 230, 0.8); font-size: 0.85rem; border-bottom: 2px dashed rgba(255, 244, 230, 0.16); }
.utility-inner { display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; justify-content: center; padding: 0.4rem 0; }
.utility a { color: var(--gold); text-decoration: none; }
.utility a:hover { color: var(--cream); }
.utility-place, .utility-files { display: none; }
@media (min-width: 800px) {
  .utility-inner { justify-content: flex-end; }
  .utility-place { display: inline; margin-right: auto; font-family: var(--font-pixel); color: var(--gold); }
  .utility-files { display: inline; }
}

/* Highlighted nav button */
.nav { align-items: center; }
.nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav a.nav-cta { color: var(--night); background: var(--orange); padding: 0.35rem 0.8rem; box-shadow: var(--pixel-border), var(--pixel-drop); margin: var(--px); }
.nav a.nav-cta:hover { background: var(--gold); color: var(--night); }
@media (min-width: 800px) and (max-width: 940px) { .nav { gap: 0.8rem; } .nav a { font-size: 0.92rem; } }
.nav-mobile .nav-panel .nav-group { margin-top: 0.6rem; font-family: var(--font-pixel); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.nav-mobile .nav-panel .nav-group:first-child { margin-top: 0.2rem; }
.nav-mobile .nav-panel .nav-group + a { border-top: 0; }
.nav-mobile .nav-panel a.nav-panel-cta { margin-top: 0.6rem; padding: 0.6rem 0.8rem; text-align: center; color: var(--night); background: var(--orange); border-top: 0; box-shadow: var(--pixel-border); }

.hero-place { margin: 0.4rem 0 0; color: var(--cream); font-weight: 700; }

/* Real photos, framed with the same pixel border */
.photo { margin: var(--px); padding: 0; background: var(--night); box-shadow: var(--pixel-border), var(--pixel-drop); }
.photo picture, .photo img { display: block; width: 100%; height: auto; }
.photo img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo figcaption { padding: 0.55rem 0.8rem; font-size: 0.92rem; font-weight: 700; color: var(--cream); background: var(--navy); }
.photo-wide { margin-top: 2rem; }

/* Dillon through the seasons */
.seasons { background: var(--cream-soft); }
.gallery { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.gallery .photo img { aspect-ratio: 4 / 3; }
.gallery li:nth-child(3n+2) .photo { box-shadow: var(--pixel-border), var(--pixel-drop); }
.gallery li:nth-child(3n) .photo { box-shadow: var(--pixel-border), var(--pixel-drop); }
.gallery .photo figcaption { font-size: 0.85rem; padding: 0.45rem 0.6rem; }

/* Find your place: audience cards */
.find { background: var(--cream-soft); }
.aud-grid { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .aud-grid { grid-template-columns: repeat(5, 1fr); } }
.aud { display: flex; flex-direction: column; background: #fff; padding: 1.1rem 1.1rem 1.2rem; margin: var(--px); box-shadow: var(--pixel-border), var(--pixel-drop); }
.aud-1, .aud-4 { box-shadow: var(--pixel-border), var(--pixel-drop); }
.aud-2 { box-shadow: var(--pixel-border), var(--pixel-drop); }
.aud-label { display: inline-block; align-self: flex-start; padding: 0.15rem 0.5rem; margin-bottom: 0.7rem; font-family: var(--font-pixel); font-weight: 600; font-size: 1.1rem; color: var(--cream); background: var(--navy); }
.aud p { margin: 0 0 1rem; color: var(--muted); flex: 1; }
.aud-link, .card-link { font-family: var(--font-body); font-weight: 800; color: var(--purple); text-decoration-thickness: 2px; }
.aud-link::after, .card-link::after { content: " >"; }
.aud-link:hover, .card-link:hover { color: var(--navy); }

/* People and community */
.people { background: var(--cream-soft); }
.people-split, .how-split { display: grid; gap: 1.5rem; margin-top: 1.25rem; align-items: center; }
@media (min-width: 860px) { .people-split, .how-split { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.why-help, .how-steps-title { margin: 1.25rem 0 0.4rem; font-family: var(--font-body); font-weight: 800; font-size: 1.3rem; }
.facts { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { display: flex; flex-direction: column; gap: 0.6rem; background: var(--night); color: var(--cream); padding: 1.5rem 1.4rem 1.6rem; margin: var(--px); box-shadow: var(--pixel-border), var(--pixel-drop); }
.fact strong { font-family: var(--font-body); font-weight: 800; font-size: clamp(2.9rem, 12vw, 3.5rem); line-height: 1; letter-spacing: 0.01em; color: var(--gold); text-shadow: none; }
.fact span { font-size: 1.2rem; font-weight: 700; line-height: 1.4; color: #fff; }
.facts-source { margin: 1.25rem 0 0; max-width: 60rem; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }

/* Program cards: six */
@media (min-width: 980px) { .cards.six { grid-template-columns: repeat(3, 1fr); } }
.cards.six .card { display: flex; flex-direction: column; }
.cards.six .card p { flex: 1; margin-bottom: 0.9rem; }
.cards.six .card:nth-child(3n+2) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.cards.six .card:nth-child(3n) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.status-tag, .for-tag { display: inline-block; align-self: flex-start; margin: 0 0.4rem 0.5rem 0; padding: 0.1rem 0.45rem; font-family: var(--font-pixel); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night); background: var(--gold); }
.for-tag { background: var(--cream); color: var(--night); box-shadow: var(--pixel-border); }
.section-actions { margin-top: 2rem; }

/* How we work */
.how { background: var(--cream-soft); }
.pillars { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: #fff; padding: 1.1rem 1.2rem; margin: var(--px); box-shadow: var(--pixel-border), var(--pixel-drop); }
.pillar-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 0.6rem; font-family: var(--font-pixel); font-weight: 700; color: var(--night); background: var(--orange); box-shadow: var(--pixel-border); }
.pillar h3 { margin: 0 0 0.35rem; font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; }
.pillar p { margin: 0; color: var(--muted); }
.how-split { margin-top: 2.25rem; }
.how-steps { margin: 0.5rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.how-steps li { counter-increment: s; position: relative; padding: 0.6rem 0 0.6rem 2.8rem; font-weight: 700; border-top: 2px dashed rgba(27, 23, 69, 0.18); }
.how-steps li:first-child { border-top: 0; }
.how-steps li::before { content: counter(s); position: absolute; left: 0; top: 0.45rem; width: 2rem; height: 2rem; display: grid; place-items: center; font-family: var(--font-pixel); color: var(--cream); background: var(--navy); }

/* Updates */
.update-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .update-list { grid-template-columns: repeat(3, 1fr); } }
.update { display: flex; flex-direction: column; background: #fff; padding: 1.1rem 1.2rem 1.2rem; margin: var(--px); box-shadow: var(--pixel-border), var(--pixel-drop); }
.update-date { font-family: var(--font-pixel); font-size: 0.9rem; color: var(--purple); }
.update h3 { margin: 0.3rem 0 0.4rem; font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; line-height: 1.25; }
.update p { margin: 0 0 0.9rem; color: var(--muted); flex: 1; }
.update a { font-family: var(--font-body); font-weight: 800; color: var(--purple); text-decoration-thickness: 2px; }
.team-actions { margin-top: 1.5rem; }

/* On this page */
.on-page { background: var(--navy); padding: 1rem 0 1.1rem; border-bottom: var(--px) solid var(--gold); }
.on-page-title { margin: 0 0 0.6rem; font-family: var(--font-pixel); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { display: inline-block; padding: 0.35rem 0.7rem; margin: 2px; font-family: var(--font-pixel); font-size: 0.95rem; color: var(--night); background: var(--cream); text-decoration: none; box-shadow: 0 0 0 2px var(--night), 3px 3px 0 2px var(--night); }
.chip:hover { background: var(--gold); }

/* Program detail sections */
.prog { background: var(--cream); }
.prog-alt { background: var(--cream-soft); }
.prog h2 { margin-top: 0.2rem; }
.prog h3 { margin: 1.25rem 0 0.35rem; font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; }
.prog-body { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .prog-body.has-scene { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; } }
.prog-list { margin: 0; padding-left: 1.2rem; }
.prog-list li { margin: 0.3rem 0; }

/* Footer columns */
.foot-cols { display: grid; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px dashed rgba(255, 244, 230, 0.2); }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .foot-cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.foot-name { margin: 0 0 0.4rem; font-family: var(--font-pixel); font-weight: 700; font-size: 1.4rem; color: var(--cream); }
.foot-about p { margin: 0 0 0.4rem; }
.foot-title { margin: 0 0 0.5rem; font-family: var(--font-pixel); font-weight: 600; font-size: 1.05rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0.3rem 0; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }

/* Transparency */
.transparency { background: var(--cream); }
.t-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .t-grid { grid-template-columns: repeat(4, 1fr); } }
.t-item { background: #fff; padding: 1.1rem 1.2rem 1.2rem; margin: var(--px); box-shadow: var(--pixel-border), var(--pixel-drop); }
.t-item h3 { margin: 0 0 0.4rem; font-family: var(--font-body); font-weight: 800; font-size: 1.25rem; }
.t-item p { margin: 0; color: var(--muted); }

/* Form note for youth under 18 */
.form-under18 { max-width: 40rem; margin: 0 0 1.25rem; padding: 0.8rem 1rem; font-weight: 700; background: var(--cream-soft); box-shadow: var(--pixel-border); }
.form-under18 a, .form-note a { color: var(--purple); }

/* Privacy page */
.privacy { background: var(--cream-soft); }
.priv-item { background: #fff; padding: 1.1rem 1.25rem 0.4rem; margin: 0 var(--px) 1.4rem; box-shadow: var(--pixel-border), var(--pixel-drop); }
.priv-item:nth-child(3n+2) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.priv-item:nth-child(3n) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.priv-item h2 { margin: 0 0 0.5rem; font-family: var(--font-body); font-weight: 800; font-size: 1.35rem; }
.priv-item p { margin: 0 0 0.8rem; }
.priv-item a { color: var(--purple); }

/* Dene language plan */
.lang-band { background: var(--cream-soft); }
.lang-mini { margin: 1rem 0 0; padding-left: 1.6rem; max-width: 40rem; font-size: 1.12rem; font-weight: 700; }
.lang-mini li { margin: 0.45rem 0; }
.lang-mini li::marker { font-family: var(--font-pixel); color: var(--purple); }
.lang { background: var(--cream-soft); }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.l-step { background: #fff; padding: 1.2rem 1.25rem 1.1rem; margin: var(--px); box-shadow: var(--pixel-border), var(--pixel-drop); }
.l-step:nth-child(2) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.l-step:nth-child(3) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.l-step:nth-child(4) { box-shadow: var(--pixel-border), var(--pixel-drop); }
.l-num { display: inline-block; margin: 0 0.5rem 0.5rem 0; padding: 0.1rem 0.5rem; font-family: var(--font-pixel); font-weight: 700; color: var(--cream); background: var(--navy); }
.l-step h3 { margin: 0.2rem 0 0.5rem; font-family: var(--font-body); font-weight: 800; font-size: 1.4rem; line-height: 1.25; }
.l-step .photo { margin-top: 1rem; }
.small-note { margin: 1.5rem 0 0; font-size: 0.9rem; color: var(--muted); }
.ocap-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .ocap-grid { grid-template-columns: repeat(2, 1fr); } }
.ocap-item { padding: 1rem 1.1rem; background: rgba(255, 244, 230, 0.06); border-top: var(--px) solid var(--gold); }
.ocap-item h3 { margin: 0 0 0.35rem; font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; color: var(--gold); }
.ocap-item p { margin: 0; color: rgba(255, 244, 230, 0.9); }
.ocap-note { margin: 1.25rem 0 0; font-size: 0.9rem; color: rgba(255, 244, 230, 0.86); }
