/* The Earth 360: ocean navy, sky blue and leaf green from the logo, with a little sunlight gold */
:root {   /* green glass theme (26 Nov 2026): deep forest/emerald background, frosted glass cards */
  --bg: #03130d;
  --bg2: #0a2e20;
  --card: rgba(255, 255, 255, .06);
  --card-line: rgba(150, 255, 200, .2);
  --text: #effcf4;
  --muted: #a7c9b6;
  --blue: #4fe0b0;
  --blue2: #1fa67a;
  --green: #7ed957;
  --green2: #2fae5a;
  --sun: #ffc93c;
  --glass: rgba(255, 255, 255, .07);
  --glass-hi: rgba(255, 255, 255, .14);
  --radius: 18px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 17px/1.6 "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse 120% 70% at 50% -10%, #11563a 0%, var(--bg2) 40%, var(--bg) 75%) fixed, var(--bg);
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: "Poppins", "Nunito Sans", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .4em; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-weight: 700; }
.hi { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(4, 17, 31, .8); border-bottom: 1px solid var(--card-line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: "Poppins", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand b { color: var(--green); font-weight: 800; }
.brand i { font-style: normal; color: var(--blue); }
.nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.nav a:hover, .nav a.on { background: rgba(63, 180, 255, .14); text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--card-line); color: var(--text); border-radius: 10px; padding: 6px 12px; font: inherit; font-weight: 800; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: rgba(4, 17, 31, .97); border-bottom: 1px solid var(--card-line); }
  .nav.open { display: flex; }
}

/* buttons (.gold kept as the class name for the main call to action) */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.gold { color: #04210f; background: linear-gradient(160deg, #c8f59a, var(--green) 45%, var(--green2)); }
.btn.line { color: var(--text); background: transparent; box-shadow: inset 0 0 0 2px var(--card-line); }
.btn.sm { padding: 8px 16px; font-size: 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 36px; text-align: center; }
.hero .wrap { position: relative; z-index: 1; }
.hero img.logo { width: 140px; height: 140px; border-radius: 30px; margin: 0 auto 14px; box-shadow: 0 0 60px rgba(63, 180, 255, .45); }
.hero .kicker { font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 auto 10px; }
.hero h1 { font-size: clamp(30px, 5vw, 54px); }
.hero p { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 24px; }
.hero .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
          mask-image: linear-gradient(#000 82%, transparent); }
.page-head { padding: 48px 0 12px; }
.page-head p { color: var(--muted); max-width: 760px; font-size: 18px; }

section { padding: 30px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 800; }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); overflow: hidden; }
.tag { display: inline-block; font-size: 13px; font-weight: 800; color: #04210f; background: var(--green); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.vid .frame { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.vid .frame img { width: 100%; height: 100%; object-fit: cover; }
.vid .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: rgba(4, 17, 31, .82); border: 0; cursor: pointer; }
.play::after { content: ""; position: absolute; left: 27px; top: 14px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vid .frame:hover .play { background: #e33; }
.len { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 13px; font-weight: 700; padding: 1px 7px; border-radius: 6px; }
.vid .body { padding: 14px 16px 18px; }
.vid h3 { font-size: 18px; margin: 0 0 6px; }
.vid p { margin: 0; color: var(--muted); font-size: 15px; }
.shorts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.shorts .frame, .art-short .frame { aspect-ratio: 9 / 16; }
.shorts h3 { font-size: 15px; }
.ser { padding: 18px 20px; border-top: 3px solid var(--blue); }
.ser:nth-child(2n) { border-top-color: var(--green); }
.ser h3 { font-size: 19px; margin: 0 0 4px; }
.ser p { margin: 0; color: var(--muted); font-size: 15px; }

.acard a { color: var(--text); display: flex; flex-direction: column; height: 100%; }
.acard a:hover { text-decoration: none; }
.acard:hover { border-color: rgba(126, 217, 87, .55); }
.acard .pic { aspect-ratio: 16 / 9; background: #0a2540; overflow: hidden; }
.acard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.acard:hover .pic img { transform: scale(1.04); }
.acard .ph, .pimg .ph { height: 100%; min-height: 160px; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 22px; color: var(--green);
  background: radial-gradient(circle at 30% 30%, #1b5a8f, #0a2540); }
.acard .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.acard .body .tag { align-self: flex-start; }
.acard h3 { font-size: 19px; margin: 0; }
.acard p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.acard .more { color: var(--blue); font-weight: 800; font-size: 15px; margin-top: 6px; }

.promo { display: flex; gap: 22px; align-items: center; padding: 22px; flex-wrap: wrap; }
.promo > div { flex: 1 1 280px; }
.promo h2 { margin: 6px 0; } .promo p { color: var(--muted); margin: 0 0 14px; }
.pimg { flex: 0 1 460px; border-radius: 14px; overflow: hidden; line-height: 0; }
.pimg img { width: 100%; height: auto; }

.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 22px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--card-line); background: transparent; color: var(--text); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.chip.on { background: var(--green); color: #04210f; border-color: var(--green); }

/* ad slots: filled by AdSense once approved, see assets/site.js */
.ad { margin: 26px auto; text-align: center; min-height: 0; }
.ad.preview { min-height: 110px; display: grid; place-items: center; border: 2px dashed rgba(255, 201, 60, .45); border-radius: var(--radius); color: rgba(255, 201, 60, .85); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.grid > .ad { grid-column: 1 / -1; margin: 0; }
.ad.off { display: none; }

/* text pages and fact pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose p, .prose li { font-size: 18px; line-height: 1.75; }
.prose .lead { font-size: 21px; color: #dcecff; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 24px 0; }
.prose figure img, .prose figure svg { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--card-line); }
.prose figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
.note { font-size: 16px; color: var(--muted); border-left: 3px solid var(--sun); padding: 6px 12px; margin: 0 0 20px; }
.fact-box { margin: 22px 0; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(126, 217, 87, .12), rgba(63, 180, 255, .12)); border: 1px solid var(--card-line); }
.fact-box b { color: var(--green); }
.article { max-width: 780px; padding-top: 40px; }
.article h1 { font-size: clamp(28px, 4.4vw, 44px); }
.crumbs { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.art-video { margin-bottom: 8px; }
.art-short { width: min(300px, 70%); margin: 0 auto 22px; }
.art-short p { text-align: center; margin: 8px 0 0; }
@media (min-width: 900px) { .art-short { float: right; width: 240px; margin: 0 0 18px 26px; } }
.small { font-size: 14px; }
.sources li { font-size: 15px; }
.cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; margin: 34px 0 10px; clear: both; }
.cta h3 { margin: 0 0 4px; font-size: 21px; }
.cta p { margin: 0; color: var(--muted); }
.cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz details { margin: 10px 0; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--card-line); }
.quiz summary { cursor: pointer; font-weight: 800; }
.quiz details[open] summary { color: var(--green); }
.quiz details p { margin: 10px 0 0; }

/* share buttons + watch bar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 22px; }
.share span { color: var(--muted); font-weight: 700; font-size: 15px; margin-right: 2px; }
.sh { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; color: #fff; border: 0; cursor: pointer; }
.sh:hover { text-decoration: none; filter: brightness(1.1); }
.sh.wa { background: #25d366; color: #05220f; }
.sh.fb { background: #1877f2; }
.sh.x { background: #000; box-shadow: inset 0 0 0 1px #ffffff44; }
.sh.cp { background: transparent; box-shadow: inset 0 0 0 2px var(--card-line); color: var(--text); }
.share-ask { margin: 30px 0 6px; font-weight: 800; clear: both; }
.watchbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 0 26px; padding: 12px 16px;
  border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); color: var(--muted); font-size: 15px; font-weight: 700; }

/* Shorts pop-up player */
.sbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 8, 16, .88); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.sbox-in { position: relative; width: min(calc(100vw - 32px), calc(82vh * 9 / 16), 480px); display: flex; flex-direction: column; gap: 10px; }
.sbox-in iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 18px; background: #000; box-shadow: 0 20px 60px #000c; }
.sbox-x { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: #04210f; font-size: 22px; font-weight: 800; box-shadow: 0 6px 18px #0008; }
.sbox-yt { text-align: center; font-weight: 800; color: var(--blue); }
@media (max-width: 600px) { .sbox-x { top: 6px; right: 6px; } }

/* footer */
footer { margin-top: 40px; border-top: 1px solid var(--card-line); padding: 30px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.art-pic { margin: 0 0 22px; } .art-pic img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--card-line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair > div { position: relative; }
.pair img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--card-line); }
.pair span { position: absolute; left: 10px; top: 10px; font-weight: 800; font-size: 14px; padding: 3px 12px; border-radius: 999px; background: var(--green); color: #04210f; }
.pair span.pk { background: #ff7ab8; color: #2b0016; }
.pair figcaption { grid-column: 1 / -1; }

/* header: light bar so the full-colour logo (docs/logo.png, dark "The" lettering) shows as designed */
.top { background: rgba(247, 250, 253, .97); border-bottom: 1px solid #d5e3ef; box-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.top .wrap { height: 76px; }
.brand img { width: auto; height: 64px; border-radius: 0; }
.top .nav a { color: #0b2a4a; }
.top .nav a:hover, .top .nav a.on { background: #e3f0fb; color: #0b5fa8; }
.menu-btn { color: #0b2a4a; border-color: #c4d6e6; }
@media (max-width: 760px) {
  .top .wrap { height: 68px; }
  .brand img { height: 54px; }
  .nav { top: 68px; background: rgba(247, 250, 253, .99); border-bottom: 1px solid #d5e3ef; }
}

/* ---------- green glass look ---------- */
body { background:
  radial-gradient(ellipse 70% 50% at 85% 10%, rgba(79, 224, 176, .16), transparent 60%),
  radial-gradient(ellipse 60% 45% at 10% 60%, rgba(126, 217, 87, .10), transparent 60%),
  radial-gradient(ellipse 120% 70% at 50% -10%, #11563a 0%, var(--bg2) 40%, var(--bg) 75%) fixed, var(--bg); background-attachment: fixed; }
.top { background: rgba(240, 255, 246, .72); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 4px 24px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(47, 174, 90, .25); }
.top .nav a { color: #0c3b27; }
.top .nav a:hover, .top .nav a.on { background: rgba(47, 174, 90, .16); color: #0b6b3f; }
.menu-btn { color: #0c3b27; border-color: rgba(47, 174, 90, .35); }
@media (max-width: 760px) { .nav { background: rgba(240, 255, 246, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(47, 174, 90, .25); } }
.card, .watchbar, .quiz details, .cta, .promo {
  background: linear-gradient(145deg, var(--glass-hi), var(--glass) 40%, rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--card-line); box-shadow: 0 10px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14); }
.acard:hover, .ser:hover { border-color: rgba(126, 217, 87, .6); box-shadow: 0 14px 36px rgba(0, 0, 0, .3), 0 0 0 1px rgba(126, 217, 87, .25), inset 0 1px 0 rgba(255, 255, 255, .18); }
.ser { border-top: 3px solid var(--green); } .ser:nth-child(2n) { border-top-color: var(--blue); }
.acard .pic, .timg { background: #0a2e20; }
.acard .ph, .pimg .ph { background: radial-gradient(circle at 30% 30%, #1f7a52, #0a2e20); }
.btn.line { background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1.5px rgba(150, 255, 200, .35); }
.btn.gold { box-shadow: 0 8px 24px rgba(126, 217, 87, .3), inset 0 1px 0 rgba(255, 255, 255, .5); }
.chip { background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero img.logo { box-shadow: 0 0 60px rgba(79, 224, 176, .4); }
.prose .lead { color: #dcf7e6; }
.fact-box { background: linear-gradient(135deg, rgba(126, 217, 87, .16), rgba(79, 224, 176, .10)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.play { background: rgba(3, 19, 13, .78); }
.sbox { background: rgba(2, 12, 8, .85); }
.hi { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer { background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* header: transparent over the page; turns to dark frosted glass once you scroll (site.js adds .scrolled) */
.top { background: transparent; border-bottom: 1px solid transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .3s, border-color .3s, box-shadow .3s; }
.top.scrolled { background: rgba(3, 19, 13, .55); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: rgba(150, 255, 200, .18); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.brand img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 6px rgba(255, 255, 255, .55)); }   /* keeps the dark "The" readable on green */
.top .nav a { color: var(--text); }
.top .nav a:hover, .top .nav a.on { background: rgba(126, 217, 87, .16); color: #c8f59a; }
.menu-btn { color: var(--text); border-color: rgba(150, 255, 200, .35); background: rgba(255, 255, 255, .06); }
@media (max-width: 760px) { .nav { background: rgba(3, 19, 13, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(150, 255, 200, .18); } }
@media (max-width: 600px) { .hero .kicker { font-size: 12px; letter-spacing: .1em; } }
.hero { padding: 72px 0 64px; }
