/* Age-stage pages (baby, toddler, school-age, pre-teen, teen): photo hero, five risks, topic tiles, feature cards, reminder band. */
.st { --teal: #0f5f59; --sea: #1d5b79; --sand: #8a6338; --tile: #f3f4f6; --ink: #0b1f24; --mute: #4b5563; }
.st a { text-decoration: none; }

/* Hero: full-bleed photo, title bottom-left */
.st-hero { position: relative; isolation: isolate; min-height: clamp(400px, 64vh, 640px); display: flex; color: #fff; overflow: hidden; background: #1f2a2c; }
.st-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.st-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,20,22,.30) 0%, rgba(5,20,22,0) 26%, rgba(5,20,22,0) 42%, rgba(5,20,22,.55) 70%, rgba(5,20,22,.82) 100%); }
.st-hero-in { width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 22px; padding-bottom: clamp(30px, 5vw, 60px); }
.st-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.st-pill:hover { background: #f1f5f4; }
.st-pill svg { width: 16px; height: 16px; }
.st-hero h1 { font-family: var(--font); font-weight: 250; font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em; color: #fff; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.st-hero h1 span { display: block; font-weight: 250; opacity: .82; font-size: .5em; letter-spacing: -0.02em; margin-top: .25em; }
.st-hero p { max-width: 36ch; margin-top: 16px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.45; color: rgba(255,255,255,.94); }

/* Sections */
.st-sec { padding: clamp(44px, 6vw, 80px) 0; }
.st-sec + .st-sec { padding-top: 0; }
.st-h2 { font-family: var(--font); font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin: 0 0 10px; }
.st-lead { max-width: 62ch; color: var(--mute); font-size: 1.04rem; margin: 0 0 26px; }
.st-src { font-size: .8rem; color: #6b7280; margin-top: 18px; line-height: 1.55; }
.st-src a { color: #0f5f59; text-decoration: underline; text-underline-offset: 2px; }

/* Five risks: five cards in a row on wide screens, a list on phones */
.st-risks { list-style: none; counter-reset: r; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; }
.st-risks li { counter-increment: r; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.st-risks li::before { content: counter(r); width: 30px; height: 30px; border-radius: 50%; background: #e6f1ef; color: var(--teal); font-weight: 700; font-size: .88rem; display: grid; place-items: center; margin-bottom: 6px; }
.st-risks b { font-size: 1.06rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.st-risks .room { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--teal); }
.st-risks .fix { font-size: .92rem; color: var(--mute); line-height: 1.5; }
@media (max-width: 1000px) { .st-risks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) {
  .st-risks { grid-template-columns: 1fr; gap: 0; border-top: 1px solid #e5e7eb; }
  .st-risks li { display: grid; grid-template-columns: 30px minmax(0,1fr); column-gap: 12px; row-gap: 2px; border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0; padding: 14px 0; }
  .st-risks li::before { grid-row: span 3; margin: 0; }
}

/* Topic tiles: square, soft grey, line icon, bold label */
.st-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.st-tile { aspect-ratio: 1 / 1; background: var(--tile); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 14px; text-align: center; color: var(--ink); transition: background .15s, transform .15s; }
.st-tile:hover { background: #e7f0ee; transform: translateY(-2px); }
.st-tile svg { width: 54px; height: 54px; color: #0f766e; stroke-width: 1.5; }
.st-tile span { font-weight: 700; font-size: .98rem; line-height: 1.25; letter-spacing: -0.01em; }
@media (max-width: 600px) {
  .st-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .st-tile { gap: 10px; }
  .st-tile svg { width: 44px; height: 44px; }
  .st-tile span { font-size: .92rem; }
}
.st-rule { border: 0; border-top: 1px solid #e5e7eb; margin: 0; }

/* Feature cards: photo on top, solid colour panel below */
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.st-card { display: flex; flex-direction: column; color: #fff; border-radius: 4px; overflow: hidden; }
.st-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.st-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease, ease); }
.st-card:hover .ph img { transform: scale(1.03); }
.st-card .pn { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 24px 30px; }
.st-card h3 { font-family: var(--font); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -0.025em; color: #fff; margin: 0 0 12px; }
.st-card p { font-size: .98rem; font-weight: 500; line-height: 1.5; color: rgba(255,255,255,.95); margin: 0 0 22px; max-width: 30ch; }
.st-card .btn-o { margin-top: auto; display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 2px solid #fff; border-radius: 4px; color: #fff; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s; }
.st-card:hover .btn-o { background: #fff; color: var(--ink); }
.st-card.teal .pn { background: var(--teal); }
.st-card.sea .pn { background: var(--sea); }
.st-card.sand .pn { background: var(--sand); }
@media (max-width: 860px) { .st-cards { grid-template-columns: 1fr; gap: 16px; } .st-card .ph { aspect-ratio: 16 / 9; } }

/* Reminder band */
.st-band { background: #efe4d2; padding: clamp(44px, 6vw, 76px) 0; }
.st-band-in { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 32px; align-items: center; }
.st-band h2 { font-family: var(--font); font-weight: 300; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 12px; }
.st-band p { color: #3f3a33; font-size: 1.04rem; max-width: 48ch; margin: 0; }
.st-band-box { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 10px 30px rgba(60,40,10,.10); display: flex; flex-direction: column; gap: 12px; }
.st-band-box svg { width: 40px; height: 40px; color: #0f766e; }
.st-band-box strong { font-size: 1.05rem; color: var(--ink); }
.st-band-box span { font-size: .92rem; color: var(--mute); }
.st-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 650; font-size: 1rem; }
.st-go:hover { background: #0b4a45; }
.st-go-2 { font-size: .92rem; color: var(--teal); font-weight: 600; text-align: center; }
.st-go-2:hover { text-decoration: underline; }
@media (max-width: 760px) { .st-band-in { grid-template-columns: 1fr; gap: 22px; } }

/* Emergency numbers: the only red on the page */
.st-sos { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--mute); margin-top: 18px; }
.st-sos a { color: #b91c1c; font-weight: 700; }
