/* Strong Start homepage (approved design preview). Loaded only on "/".
   Uses the brand tokens from app.css; every rule is scoped to .home. */
.home { background: var(--ivory-soft); flex: 1 0 auto; width: 100%; overflow-x: hidden; }
.home img { max-width: 100%; height: auto; display: block; }
.home .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.home .center { text-align: center; justify-content: center; }
.home .flash-wrap { padding-top: 16px; }
.home .flash-wrap .alert { margin: 0; }

/* Shared homepage buttons */
.home .btn { min-height: 48px; padding: .6rem 1.4rem; font-size: 1rem; }
.home .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.home .btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.home .btn-large { min-height: 56px; padding: .8rem 2rem; font-size: 1.1rem; }
.home .text-link { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.home .actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

/* Hero */
.home .hero { position: relative; background: var(--navy); color: var(--ivory); overflow: hidden; padding: 64px 0 96px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%); }
.home .hero-dots { position: absolute; right: -60px; top: -96px; width: 490px; max-width: none; opacity: .36; }
/* artwork has ~32% transparent margin on the left once mirrored, ~5% below */
.home .hero-geo { position: absolute; left: -119px; bottom: -10px; width: 375px; max-width: none; opacity: .45; transform: scaleX(-1); }
.home .hero-grid { position: relative; display: grid; grid-template-columns: 1.28fr .72fr; gap: 24px; align-items: center; }
/* Business name first: the official logo artwork is the hero headline */
.home .hero-logo { margin: 0 0 18px; }
.home .hero-logo img { width: 100%; max-width: 760px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.home .mission { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--orange); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; margin: 0; letter-spacing: .01em; }
.home .lead { font-size: 1.12rem; line-height: 1.6; max-width: 36rem; color: #dfe7ea; margin: 14px 0 26px; }
.home .hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.home .sunburst { position: absolute; width: 112%; max-width: none; top: 2%; left: 50%; transform: translateX(-50%); }
.home .mascot { position: relative; width: min(100%, 440px); }

/* Sections */
.home .section { padding: 80px 0; position: relative; }
.home .ivory { background: var(--ivory-soft); }
.home .section-head { margin-bottom: 40px; }
.home .section-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; }
.home .sub { font-size: 1.15rem; max-width: 40rem; margin: 10px auto 0; text-wrap: balance; }
.home .brush { display: inline-block; position: relative; padding: 0 12px 22px; }
/* Teal brush swash under the heading (navy text on ivory stays legible) */
.home .brush::before { content: ""; position: absolute; left: -6%; right: -6%; bottom: -18px; height: 56px; background: url(brand/stroke-teal.png) center / 100% 100% no-repeat; z-index: 0; }
.home .brush span { position: relative; }

/* Pillars */
.home .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home .pillar { background: #fff; border-radius: 14px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center; border-top: 5px solid var(--deep-teal); }
.home .pillar img { margin: 0 auto 14px; width: 88px; height: 88px; }
.home .pillar h3 { font-size: 1.9rem; font-weight: 700; text-transform: uppercase; line-height: 1.02; }
.home .pillar p { margin: 0; }

/* Programs */
.home .programs-section { background: #fff; padding-bottom: 150px; overflow: hidden; }
/* peaks.png: base of the mountains is 78.5% down the image; the rest is transparent.
   bottom = -(21.5% of height) puts the base on the section edge, against the teal band. */
.home .peaks { position: absolute; bottom: -107px; left: 50%; transform: translateX(-50%); width: 1000px; max-width: none; opacity: .12; }
.home .programs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; position: relative; }
/* Progression track behind the emblems: early movement → athletic development */
.home .programs::before { content: ""; position: absolute; left: 6%; right: 6%; top: 62px; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--viking-teal), var(--deep-teal) 30%, var(--navy) 55%, var(--copper) 78%, var(--orange)); }
.home .program { position: relative; display: flex; flex-direction: column; --c: var(--deep-teal); }
.home .program + .program::before { content: ""; position: absolute; left: -41px; top: 50px; width: 52px; height: 32px; border-radius: 8px; background: #fff url(brand/chevron-copper.png) center / 80% auto no-repeat; z-index: 2; }
.home .program-top { display: grid; place-items: center; height: 132px; position: relative; }
.home .program-top img { width: 104px; height: 104px; padding: 12px; background: #fff; border-radius: 50%; border: 5px solid var(--c); box-shadow: var(--shadow); position: relative; }
.home .program-body { flex: 1; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 22px 20px 20px; border-top: 6px solid var(--c); display: flex; flex-direction: column; }
.home .program h3 { font-size: 1.85rem; font-weight: 800; text-transform: uppercase; line-height: 1.02; color: var(--c-ink, var(--c)); }
.home .age { display: inline-block; align-self: flex-start; background: var(--c); color: #fff; font: 700 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px 5px; border-radius: 6px; margin: 2px 0 12px; }
.home .mode { font-size: .85rem; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.home .focus { font-size: .95rem; margin: 0 0 16px; flex: 1; }
.home .program a { font-weight: 800; font-size: .92rem; text-decoration: none; color: var(--deep-teal); }
.home .program a::after { content: " →"; }
.home .p1 { --c: var(--viking-teal); }
.home .p2 { --c: var(--deep-teal); }
.home .p3 { --c: var(--navy); }
.home .p4 { --c: var(--copper); --c-ink: #8c5534; }
.home .p5 { --c: var(--orange); --c-ink: #b9581c; }
.home .p5 .age, .home .p4 .age { color: var(--navy); }

/* Messaging band */
.home .band { background: var(--deep-teal); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.home .band-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.home .band-axes { width: 64px; margin-bottom: 14px; }
.home .big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1; margin: 0; }
.home .big .hl { color: var(--orange); }
.home .band-side { display: grid; gap: 18px; }
.home .statement { display: flex; align-items: center; gap: 16px; margin: 0; background: rgba(9,43,57,.35); border-radius: 14px; padding: 18px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.home .statement img { width: 52px; height: 52px; flex: none; background: var(--ivory-soft); border-radius: 50%; padding: 7px; }

/* Closing call to action */
.home .closing { padding-top: 150px; }
.home .cta-panel { position: relative; background: var(--navy); border-radius: 24px; padding: 104px 32px 56px; text-align: center; max-width: 880px; margin: 0 auto; }
.home .cta-mascot { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% - 80px); width: 300px; }
.home .closing-line { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; margin: 0 0 28px; }

/* Tablet */
@media (max-width: 1100px) {
  /* Programs become a vertical age path (tablet and phone) */
  .home .programs { grid-template-columns: 1fr; gap: 0; max-width: 640px; margin: 0 auto; }
  .home .programs::before { display: none; }
  .home .program { flex-direction: row; gap: 18px; align-items: flex-start; padding-bottom: 34px; }
  .home .program-top { height: auto; width: 88px; flex: none; }
  .home .program-top img { width: 88px; height: 88px; padding: 10px; border-width: 4px; }
  .home .program + .program::before { display: block; left: 18px; top: -30px; width: 52px; height: 28px; transform: rotate(90deg); background-color: transparent; }
}
@media (max-width: 960px) {
  .home .hero-grid { grid-template-columns: 1fr; }
  .home .hero { padding: 96px 0 84px; } /* room for the dot pattern above the stacked logo */
  .home .hero-dots { width: 380px; right: -50px; top: -80px; }
  .home .hero-art { min-height: 0; max-width: 420px; margin: 0 auto; }
  .home .band-grid { grid-template-columns: 1fr; }
  .home .pillars { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
/* Phone */
@media (max-width: 640px) {
  .home .wrap { padding-left: 16px; padding-right: 16px; }
  .home .hero { padding: 60px 0 72px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
  .home .hero-dots { width: 280px; right: -36px; top: -70px; }
  .home .hero-geo { width: 210px; left: -67px; bottom: -6px; opacity: .4; }
  .home .sub .br-wide { display: none; }
  .home .mission { font-size: 1.6rem; }
  .home .lead { font-size: 1.05rem; }
  .home .actions .btn { flex: 1 1 100%; }
  .home .text-link { margin: 4px auto 0; }
  .home .hero-art { max-width: 300px; margin-top: 8px; }
  .home .section { padding: 56px 0; }
  .home .program { gap: 14px; }
  .home .program-top { width: 76px; }
  .home .program-top img { width: 76px; height: 76px; padding: 8px; }
  .home .program + .program::before { left: 12px; }
  .home .program h3 { font-size: 1.6rem; }
  .home .programs-section { padding-bottom: 90px; }
  .home .peaks { width: 620px; bottom: -67px; }
  .home .band { padding: 52px 0; }
  .home .statement { font-size: 1.3rem; padding: 14px 16px; }
  .home .closing { padding-top: 120px; }
  .home .cta-panel { padding: 80px 18px 36px; }
  .home .cta-mascot { width: 220px; bottom: calc(100% - 58px); }
}
