/*
 * Polish pass after Gene's review (footer bands, announcement bar, home video panel, Gantry 6 teaser).
 * Loads after gantryorg-gantry.css. Colours come from the tokens; every text/background pair here is
 * one already audited in includes/tokens.php (white on brand-green-dark, brand-chrome on green-soft,
 * on-dark on chrome, brand-green-soft on chrome).
 */

/* ---- Footer: only the teal footer block. Helium's own section band (#g-footer) and the particle's 10px margin
   showed as an extra dark band above the block and below the copyright row. ---- */
#g-page-surround .gs-full .g-content { margin: 0; }
#g-footer.gs-full { background: var(--chrome); padding: 0; margin: 0; }
#g-navigation.gs-full { background: var(--chrome); }

/* ---- Announcement bar: brand green, so it stands out from the dark header. White on #3C7A69 is the audited
   "button label on green-dark" pair; the version pill is chrome on green-soft ("version pill"). ---- */
.announce {
  background: var(--brand-green-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.announce a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { text-decoration-thickness: 2px; }
.announce .np { background: var(--brand-green-soft); color: var(--brand-chrome); }
.announce :focus-visible { outline-color: #fff; }

/* ---- Header nav items: centred in the bar; no list bullets in the mobile menu. ---- */
.nav .links li { display: inline-flex; align-items: center; }
.mobnav li { list-style: none; }
.nav .links a .gs-soon, .mobnav .gs-soon {
  display: inline-block; margin-left: 2px; padding: 3px 10px; border-radius: 100px;
  background: var(--brand-green); color: var(--text-ink);
  font-family: Inconsolata, "Inconsolata", monospace; font-size: 11px; font-weight: 700; line-height: normal;
  vertical-align: middle;
}
header.site .screen-reader-text, .mobnav .screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Home "Why Gantry": Gantry 6 demo video coming soon (no player, no fake file name). ---- */
a.videosoon, div.videosoon { text-align: center; color: var(--on-dark); padding: 28px; }
.videosoon::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--g6-grad); z-index: 2; }
.videosoon .vsoon-body { position: relative; z-index: 2; display: grid; gap: 16px; justify-items: center; max-width: 34ch; }
.videosoon .vsoon-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-green-soft); color: var(--brand-chrome); font-family: Inconsolata, monospace; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.videosoon .vsoon-title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--on-dark); }
.videosoon .vsoon-cta { font-weight: 700; font-size: 15px; color: var(--brand-green-soft); text-decoration: underline; text-underline-offset: 4px; }
a.videosoon { transition: transform .15s, border-color .15s; }
a.videosoon:hover { transform: translateY(-2px); border-color: var(--brand-green); }
a.videosoon:focus-visible { outline: 3px solid var(--brand-green-soft); outline-offset: 3px; }

/* ---- Gantry 6 teaser page ---- */
body.gantryorg-composed .g6page > .phead {
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.g6page .g6-hero .wrap { text-align: center; padding-top: 84px; padding-bottom: 72px; }
.g6page .g6-hero h1 { max-width: 28ch; margin: 0 auto; font-size: clamp(32px, 5vw, 64px); }
.g6page .g6-hero .sub { margin: 24px auto 0; max-width: 80ch; font-size: clamp(17px, 1.8vw, 21px); color: var(--on-dark-muted); }
.g6page .sec-head { max-width: 52rem; margin-bottom: 36px; }
.g6page .g6-hero .cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.g6page .btn svg { width: 16px; height: 16px; }
.g6page .screen-reader-text, .videosoon .screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.g6-plats { margin-top: 38px; display: grid; gap: 12px; justify-items: center; }
.g6-plats-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0; }
.g6-platlist { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.g6-platlist .plat { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: var(--on-dark); font-weight: 700; font-size: 15px; }
.g6-platlist .pd { width: 11px; height: 11px; border-radius: 50%; }
.g6-platlist .pd-wordpress { background: var(--wp); }
.g6-platlist .pd-joomla { background: var(--joomla); }
.g6-platlist .pd-grav { background: var(--grav); }

.g6-vcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g6-vcard { position: relative; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--brand-green); border-radius: var(--r-lg); padding: 28px 26px 30px; }
.g6-vcard:nth-child(2) { border-top-color: var(--brand-purple); }
.g6-vcard:nth-child(3) { border-top-color: var(--brand-teal); }
.g6-vnum { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--chrome); color: var(--on-dark); font-family: Inconsolata, monospace; font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.g6-vcard h3 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; }
.g6-vcard p { color: var(--muted); font-size: 16px; line-height: 1.6; }

.g6-packs { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.g6-packgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.g6-pack { border-radius: 18px; padding: 34px 32px 36px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.g6-pack::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.g6-pack h3 { font-size: 28px; margin: 4px 0 20px; letter-spacing: -.01em; }
.g6-note { font-family: Inconsolata, monospace; font-weight: 800; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.g6-pack-free { background: var(--brand-green-soft); border: 1px solid #C5E0D8; color: var(--text); }
.g6-pack-free::before { background: var(--brand-green); }
.g6-pack-free .g6-note { color: var(--brand-green-deep); }
.g6-pack-pro { background: var(--chrome); border: 1px solid var(--chrome-3); color: var(--on-dark); }
.g6-pack-pro::before { background: var(--g6-grad); }
.g6-pack-pro .g6-note { color: var(--brand-green-soft); }
.g6-pack-pro h3 { color: var(--on-dark); }
.g6-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; grid-auto-rows: 1fr; }
.g6-items li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.g6-pack-free .g6-items li { background: #fff; border: 1px solid #D5E8E2; }
.g6-pack-pro .g6-items li { background: var(--chrome-2); border: 1px solid var(--chrome-3); }
.g6-tick { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid currentColor; opacity: .85; position: relative; }
.g6-pack-free .g6-tick { color: var(--brand-green-deep); }
.g6-pack-pro .g6-tick { color: var(--brand-green-soft); }
.g6-tick::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.g6-item { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.g6-name { display: block; }
.g6-detail { display: block; margin-top: 4px; font-weight: 400; font-size: 15px; line-height: 1.5; }
.g6-pack-free .g6-detail { color: var(--muted); }
.g6-pack-pro .g6-detail { color: var(--brand-green-soft); }
.g6-planned { flex: none; margin-left: auto; font-family: Inconsolata, monospace; font-weight: 800; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; align-self: center; }
.g6-pack-free .g6-planned { background: var(--brand-green-soft); color: var(--brand-green-deep); border: 1px solid #C5E0D8; }
.g6-pack-pro .g6-planned { background: var(--brand-green-soft); color: var(--brand-chrome); }
.g6-flag { display: inline-block; margin-bottom: 6px; font-family: Inconsolata, monospace; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: var(--brand-green-deep); color: #fff; }
.g6-pack-pro .g6-flag { background: var(--brand-green-soft); color: var(--brand-chrome); }
.g6-name + .g6-detail { margin-top: 4px; }
.g6-flag + .g6-name { display: block; }
.g6-pack-free .g6-items li.g6-featured { background: var(--brand-green-soft); border: 2px solid var(--brand-green-deep); box-shadow: 0 6px 18px rgba(26, 107, 90, .14); }
.g6-pack-pro .g6-items li.g6-featured { border: 2px solid var(--brand-green-soft); }
.g6-bundle { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--chrome-3); font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--on-dark); }
.g6-works { margin: 24px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: 18px; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--brand-purple); }
.g6-works-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.g6-works h3 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
.g6-works p { margin: 0; }
.g6-works .g6-note { color: var(--brand-green-deep); margin: 0; }
.g6-works .g6-planned { background: var(--brand-green-soft); color: var(--brand-green-deep); border: 1px solid #C5E0D8; }
.g6-works .btn { flex: none; }
.g6-works-text > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 60ch; }
.g6-cartograph { margin: 24px 0 0; padding: 28px 30px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.g6-cartograph h2 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.01em; }
.g6-cartograph p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: none; }
.g6-cartograph h2 a { font-weight: 800; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.g6-cartograph-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; max-width: none; }
.g6-cartograph-points li { padding: 0 0 0 1.15em; position: relative; color: var(--muted); font-size: 16px; line-height: 1.55; }
.g6-cartograph-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-green); }
.g6-cartograph-learn { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--brand-green-deep); text-decoration: underline; text-underline-offset: 2px; }
.g6-disclaimer { margin: 28px auto 0; text-align: center; max-width: none; color: var(--muted); font-size: 15px; }


.g6-why-body { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.g6-why-block { max-width: none; margin: 0 0 40px; padding: 0; }
.g6-why-block:last-child { margin-bottom: 0; }
.g6-why-block .eyebrow { color: var(--brand-green-deep); margin: 0 0 8px; }
.g6-why-block h2 { font-size: 28px; margin: 0 0 12px; letter-spacing: -.01em; }
.g6-why-block p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.g6-why-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.g6-why-points li { padding-left: 1.15em; position: relative; color: var(--muted); font-size: 16px; line-height: 1.55; }
.g6-why-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-green); }
.g6-why-article { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--brand-green-soft); text-decoration: underline; text-underline-offset: 2px; }
.g6-ctacard .g6-why-article { color: var(--brand-green-soft); }


.g6-ctacard h2 { max-width: 28ch; margin: 0 auto; }
.g6page .ctacard p { max-width: 70ch; }
.g6-ctacard .btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--on-dark); }

@media (max-width: 900px) {
  .g6-vcards, .g6-packgrid, .g6-cartograph-points, .g6-why-points { grid-template-columns: 1fr; }
  .g6-works { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .g6-pack { padding: 28px 20px 30px; }
  .g6-items li { flex-wrap: wrap; }
  .g6-planned { margin-left: 32px; }
  .g6-works { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .g6-cartograph { padding: 22px 20px; }
  .g6-works .btn { width: 100%; justify-content: center; }
  .g6page .g6-hero .wrap { padding-top: 60px; padding-bottom: 52px; }
}
