/* ==========================================================================
   ABUND TERRA ACADEMY · LAND STYLES (shared components)
   Warm sand light (from the About page) inside the aqua-teal world.
   ========================================================================== */
:root { --sand: #B4CD4A; --sand-hi: #eef5c8; --sand-deep: #6F9E22; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body.meet { min-height: 100vh; }
.meet .dw-sky { opacity: .7; }

/* ---------- header + land menu ---------- */
.bar {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 3vw, 40px) 0;
}
.bar__tools { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); flex-wrap: wrap; }
.return {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-hud); font-size: .74rem; letter-spacing: .1em; color: var(--text);
  border: 1px solid rgba(111, 158, 34, .45); background: rgba(111, 158, 34, .06);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.return:hover { border-color: var(--sea); box-shadow: 0 0 24px rgba(111, 158, 34, .3); }
.landnav {
  position: sticky; top: 0; z-index: 6; margin-top: 18px;
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; padding: 10px 12px;
  background: linear-gradient(180deg, rgba(5, 8, 4, .92), rgba(5, 8, 4, .7));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 205, 74, .18);
}
.landnav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-hud); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim);
  transition: color .3s ease, background .3s ease;
}
.landnav a:hover { color: var(--text); background: rgba(180, 205, 74, .08); }
.landnav a[aria-current="page"] { color: #1d1208; background: linear-gradient(180deg, var(--sand-hi), var(--sand)); }

/* ---------- layout ---------- */
.wrap { position: relative; z-index: 4; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.section { position: relative; z-index: 4; padding: clamp(100px, 15vh, 180px) 0; }
.kicker { font-family: var(--font-hud); font-size: .72rem; letter-spacing: .36em; text-transform: uppercase; color: var(--sand); }
.h1 {
  margin-top: 12px; font-family: var(--font-ancient); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: .04em;
  background: linear-gradient(180deg, #fff3e6 0%, var(--sand) 55%, var(--sand-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(180, 205, 74, .3));
}
.h2 { font-family: var(--font-ancient); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: .03em; color: var(--text); }
.h2 em { font-style: normal; color: var(--sand); }
.soul { font-family: var(--font-soul); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--mist); text-shadow: 0 0 16px rgba(111, 158, 34, .4); }
.lead { margin-top: 18px; max-width: 58ch; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--text-dim); }
.lead + .lead { margin-top: 16px; }
.lead { line-height: 1.75; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(40px, 6vh, 80px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--flip > :first-child { order: 2; }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center .ctas { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: #10200a; background: linear-gradient(180deg, var(--sand-hi), var(--sand) 60%, var(--sand-deep));
  box-shadow: 0 10px 30px rgba(180, 205, 74, .28); transition: transform .3s ease, box-shadow .3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(180, 205, 74, .4); }
.btn--ghost { color: var(--text); background: rgba(111, 158, 34, .06); border: 1px solid rgba(111, 158, 34, .5); box-shadow: none; }
.btn--ghost:hover { box-shadow: 0 0 26px rgba(111, 158, 34, .3); }
.btn span[aria-hidden] { transition: transform .3s ease; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

/* ---------- photo frames: an ancient arch with a glowing border ---------- */
.frame { position: relative; border-radius: 999px 999px 22px 22px; overflow: hidden; isolation: isolate; background: #070a05;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(180, 205, 74, .14); }
.frame::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: linear-gradient(160deg, var(--sand-hi), var(--sand) 30%, var(--sea) 65%, var(--mist));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.frame img { width: 100%; height: auto; display: block; }
.frame--soft { border-radius: 22px; }
.frame--tilt { transform: rotate(-2deg); }
.caption { margin-top: 12px; text-align: center; font-family: var(--font-hud); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }

/* ---------- glass cards and tiles ---------- */
.glass { padding: clamp(22px, 3vw, 34px); background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px;
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease; }
.glass:hover { border-color: rgba(180, 205, 74, .35); box-shadow: 0 0 40px rgba(180, 205, 74, .1); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(40px, 6vh, 64px); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(40px, 6vh, 64px); }
.tile h3 { font-family: var(--font-ancient); font-weight: 700; font-size: 1.08rem; letter-spacing: .03em; color: var(--sand-hi); }
.tile p { margin-top: 8px; font-size: .96rem; line-height: 1.65; color: var(--text-dim); }
.tile img { width: 100%; height: auto; border-radius: 16px; margin-bottom: 16px; display: block; }
.glyph { width: 30px; height: 30px; color: var(--sand); margin-bottom: 12px; }
.glyph path, .glyph circle { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 28px; color: var(--text-dim); }
.list li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, var(--sand-hi), var(--sand)); box-shadow: 0 0 10px rgba(180, 205, 74, .6); }

/* ---------- quote band ---------- */
.quote { position: relative; z-index: 4; max-width: 860px; margin: 0 auto; padding: clamp(80px, 14vh, 160px) 16px; text-align: center; }
.quote p { font-family: var(--font-soul); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.35; color: var(--mist); text-shadow: 0 0 22px rgba(111, 158, 34, .35); }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); }
.knot-divider { width: 46px; margin: 0 auto 18px; color: var(--sand); opacity: .8; }
.knot-divider path, .knot-divider circle { fill: none; stroke: currentColor; stroke-width: 3.5; }

/* ---------- testimonials ---------- */
.voice blockquote { font-style: italic; font-size: .98rem; line-height: 1.7; color: var(--text-dim); }
.voice footer { margin-top: 14px; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }

/* ---------- path cards (the three rooms) ---------- */
.room { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.room h3 { font-family: var(--font-ancient); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.room p { margin-top: 8px; color: var(--text-dim); font-size: .95rem; flex: 1; }
.room .go { margin-top: 18px; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.room:hover { transform: translateY(-4px); }

/* ---------- spots / waitlist note ---------- */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; border-color: rgba(180, 205, 74, .35); }
.notice .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 6px rgba(180, 205, 74, .18), 0 0 24px var(--sand); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 10px rgba(180, 205, 74, .06), 0 0 30px var(--sand); } }

.price { font-family: var(--font-ancient); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--sand-hi); }

/* ---------- footer ---------- */
.disclaimer { position: relative; z-index: 4; max-width: 860px; margin: 0 auto; padding: 0 16px 18px; text-align: center; font-size: .8rem; line-height: 1.6; color: var(--text-faint); }
.foot { position: relative; z-index: 4; text-align: center; padding: 0 16px 28px; font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em; color: var(--text-faint); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.dw-calm .reveal { transition-duration: .3s; transform: none; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .hero { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .ctas { justify-content: center; }
  .hero .frame { max-width: 360px; margin: 0 auto; }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .landnav a { font-size: .62rem; padding: 7px 10px; letter-spacing: .08em; }
}

/* ==========================================================================
   MEDIA SLOTS
   wide  = horizontal 16:9 on computers, vertical 4:5 on phones (2 files)
   tall  = vertical 4:5 everywhere (1 file)
   video = wide 16:9 (optional vertical 9:16 version for phones) or tall 9:16
   ========================================================================== */
.slot { position: relative; margin: 0; overflow: hidden; isolation: isolate; background: #0b1208; border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(180, 205, 74, .12); }
.slot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none;
  background: linear-gradient(160deg, var(--sand-hi), var(--sand) 30%, var(--sea) 65%, var(--mist));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.slot img, .slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slot--tall { aspect-ratio: 4 / 5; }
.slot--arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; }
.slot--wide { aspect-ratio: 16 / 9; }
.slot--vtall { aspect-ratio: 9 / 16; }
.slot--banner { width: min(1300px, calc(100% - 32px)); margin: 0 auto; }
@media (max-width: 719px) {
  .slot--wide { aspect-ratio: 4 / 5; }
  .slot--wide.slot--video.has-phone { aspect-ratio: 9 / 16; }
  .slot--wide.slot--video:not(.has-phone) { aspect-ratio: 16 / 9; }
}
/* empty slot: hidden on the live site, shown with its file name in preview (?slots) */
.slot.is-empty { display: none; }
.show-slots .slot.is-empty {
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(ellipse at 50% 35%, rgba(145, 181, 44, .16), transparent 60%), linear-gradient(160deg, #06201f, #030c0d);
}
.show-slots .slot.is-empty img, .show-slots .slot.is-empty video { display: none; }
.show-slots .slot.is-empty::after {
  content: attr(data-label); position: relative; z-index: 2; padding: 20px; white-space: pre-line;
  font-family: var(--font-hud); font-size: .74rem; line-height: 1.8; letter-spacing: .08em; color: var(--mist);
}
.slot__play {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%;
  display: grid; place-items: center; color: #1d1208; background: linear-gradient(180deg, var(--sand-hi), var(--sand));
  box-shadow: 0 0 0 10px rgba(180, 205, 74, .18), 0 0 40px rgba(180, 205, 74, .5); transition: transform .3s ease;
}
.slot__play:hover { transform: scale(1.06); }
.slot__play svg { width: 28px; height: 28px; margin-left: 4px; }
.slot.is-playing .slot__play { display: none; }
.vwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(40px, 6vh, 64px); }
.vwall figcaption { margin-top: 12px; text-align: center; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.media-cap { margin-top: 14px; text-align: center; font-family: var(--font-hud); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
@media (max-width: 900px) { .vwall { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; } }

/* ---------- join box (Community / Journal) ---------- */
.join { max-width: 560px; margin: 0 auto; }
.join .field { display: block; margin-top: 14px; text-align: left; }
.join .field span { display: block; font-family: var(--font-hud); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 7px; }
.join input[type=text], .join input[type=email] {
  width: 100%; padding: 13px 16px; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(0, 0, 0, .4); border: 1px solid rgba(180, 205, 74, .3); outline: none; transition: border-color .3s, box-shadow .3s;
}
.join input:focus { border-color: var(--sand); box-shadow: 0 0 0 3px rgba(180, 205, 74, .18); }
.join .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; text-align: left; font-size: .88rem; color: var(--text-dim); cursor: pointer; }
.join .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--sand); flex: none; }
.join .btn { width: 100%; justify-content: center; margin-top: 20px; border: 0; cursor: pointer; }
.join .msg { min-height: 1.4em; margin-top: 12px; text-align: center; font-size: .9rem; color: #ffb4a8; }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join__done { display: none; text-align: center; }
.join.is-done form { display: none; }
.join.is-done .join__done { display: block; }
.foot-social { position: relative; z-index: 4; padding: 0 16px 26px; }
.show-slots .slot.is-empty .slot__play { display: none; }
.slot-link { display: block; text-decoration: none; }
.ancestry { max-width: 860px; margin: 0 auto; }
.ancestry:has(.slot.is-empty) .media-cap { display: none; }
.show-slots .ancestry .media-cap { display: block; }

/* ---------- ancestral regions map ---------- */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(36px, 5vh, 56px); }
.region { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(180, 205, 74, .18); transition: border-color .4s, box-shadow .4s; }
.region:hover { border-color: rgba(180, 205, 74, .5); box-shadow: 0 0 30px rgba(180, 205, 74, .12); }
.region h3 { font-family: var(--font-hud); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.region ul { list-style: none; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.region li { padding: 4px 10px; border-radius: 12px; font-size: .86rem; color: var(--text); background: rgba(111, 158, 34, .1); border: 1px solid rgba(111, 158, 34, .22); }
.region--celtic { border-color: rgba(145, 181, 44, .45); box-shadow: 0 0 26px rgba(145, 181, 44, .12); }
.regions-count { font-family: var(--font-ancient); font-weight: 700; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; color: var(--sand-hi); text-shadow: 0 0 30px rgba(180, 205, 74, .4); }
@media (max-width: 1000px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } }

/* ==========================================================================
   ICON LANGUAGE · used across Civic Wellness, the Design Studios and more
   (icons: /assets/icons/*.webp, glowing aqua line art)
   ========================================================================== */
.ico { display: block; width: 64px; height: 64px; object-fit: contain; margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(180, 205, 74, .35)); }
.ico--sm { width: 40px; height: 40px; margin-bottom: 10px; }
.ico--lg { width: 92px; height: 92px; }
.center .ico, .ico--center { margin-left: auto; margin-right: auto; }
.svgi { display: block; width: 58px; height: 58px; margin-bottom: 16px; color: #e3efb4; filter: drop-shadow(0 0 10px rgba(180, 205, 74, .35)); }
.svgi * { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.svgi .fill { fill: currentColor; stroke: none; }
.center .svgi { margin-left: auto; margin-right: auto; }
/* section heading with an icon medallion */
.sec-ico { position: relative; width: 104px; height: 104px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 205, 74, .12), rgba(180, 205, 74, 0) 70%); }
.sec-ico::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(214, 232, 160, .28);
  box-shadow: 0 0 30px rgba(180, 205, 74, .16), inset 0 0 22px rgba(180, 205, 74, .08); }
.sec-ico::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(214, 232, 160, .16); animation: secspin 40s linear infinite; }
.dw-calm .sec-ico::after { animation: none; }
@keyframes secspin { to { transform: rotate(360deg); } }
.sec-ico .ico, .sec-ico .svgi { width: 60px; height: 60px; margin: 0; }
.split .sec-ico { margin-left: 0; }
@media (max-width: 900px) { .split .sec-ico { margin-left: auto; } }

/* icon chips (who we serve, topics, ideal for) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; }
.center .chips, .chips--center { justify-content: center; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; font-size: .92rem; color: var(--text);
  background: rgba(180, 205, 74, .06); border: 1px solid rgba(214, 232, 160, .2); }
.chips li img, .chips li .svgi { width: 26px; height: 26px; margin: 0; filter: drop-shadow(0 0 6px rgba(180, 205, 74, .35)); }
.chips--plain li { padding: 7px 14px; }
.chips--plain li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 8px var(--sand); }
.chip-label { margin-top: 22px; font-family: var(--font-hud); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.chip-label + .chips { margin-top: 10px; }

/* icon cards in a grid */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); margin-top: clamp(40px, 6vh, 64px); }
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vh, 56px); }
.icard { text-align: center; }
.icard .ico, .icard .svgi { margin-left: auto; margin-right: auto; }
.icard h3 { font-family: var(--font-ancient); font-weight: 700; font-size: 1.05rem; color: var(--sand-hi); }
.icard p { margin-top: 8px; font-size: .93rem; line-height: 1.6; color: var(--text-dim); }
.mini { padding: 18px 10px; text-align: center; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(214, 232, 160, .14); }
.mini .ico, .mini .svgi { width: 48px; height: 48px; margin: 0 auto 10px; }
.mini span { display: block; font-family: var(--font-hud); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* delivery cards: description, best for, benefits */
.dcard h3 { font-family: var(--font-ancient); font-weight: 700; font-size: 1.12rem; color: var(--sand-hi); }
.dcard p { margin-top: 10px; font-size: .95rem; line-height: 1.65; color: var(--text-dim); }
.dcard .meta { margin-top: 14px; font-size: .9rem; color: var(--text-dim); }
.dcard .meta strong { display: block; margin-bottom: 4px; font-family: var(--font-hud); font-weight: 500; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }

/* big doors (hub pages) */
.door { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; }
.door__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.door__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s ease; }
.door:hover .door__img img { transform: scale(1.05); }
.door__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 4, 0) 40%, rgba(5, 8, 4, .85)); }
.door__body { position: relative; padding: clamp(22px, 3vw, 34px); padding-top: 0; margin-top: -46px; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.door__body .ico, .door__body .svgi { width: 76px; height: 76px; padding: 12px; border-radius: 50%; background: rgba(1, 12, 16, .9); border: 1px solid rgba(214, 232, 160, .3); box-sizing: border-box; }
.door h3 { font-family: var(--font-ancient); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--text); }
.door p { margin-top: 10px; color: var(--text-dim); flex: 1; }
.door .go { margin-top: 20px; font-family: var(--font-hud); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.door:hover { transform: translateY(-5px); }

/* statistics */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(40px, 6vh, 64px); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-ancient); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--sand-hi); text-shadow: 0 0 26px rgba(180, 205, 74, .35); }
.stat h3 { margin-top: 10px; font-family: var(--font-hud); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.stat p { margin-top: 10px; font-size: .92rem; line-height: 1.6; color: var(--text-dim); }
.stat .vision { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; font-family: var(--font-hud); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); border: 1px dashed rgba(214, 232, 160, .4); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* numbered process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(40px, 6vh, 64px); counter-reset: st; }
.steps li { position: relative; padding: 26px 20px; text-align: center; border-radius: 20px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(214, 232, 160, .14); counter-increment: st; }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .3em; color: var(--sand); margin-bottom: 10px; }
.steps .ico, .steps .svgi { width: 52px; height: 52px; margin: 0 auto 12px; }
.steps h3 { font-family: var(--font-ancient); font-size: 1.02rem; color: var(--sand-hi); }
.steps p { margin-top: 8px; font-size: .9rem; line-height: 1.55; color: var(--text-dim); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* check lists with icons */
.checks { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checks li img { width: 26px; height: 26px; flex: none; margin-top: 1px; filter: drop-shadow(0 0 6px rgba(180, 205, 74, .4)); }
.checks--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 700px) { .checks--2 { grid-template-columns: 1fr; } }

/* contracting table */
.naics { width: 100%; margin-top: 18px; border-collapse: collapse; }
.naics td { padding: 12px 10px; border-bottom: 1px solid rgba(214, 232, 160, .12); vertical-align: top; color: var(--text-dim); }
.naics td:first-child { width: 110px; font-family: var(--font-hud); font-size: .95rem; letter-spacing: .08em; color: var(--sand-hi); white-space: nowrap; }
.reg { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.reg span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; font-family: var(--font-hud); font-size: .74rem; letter-spacing: .1em; color: var(--text); background: rgba(180, 205, 74, .06); border: 1px solid rgba(214, 232, 160, .22); }
.reg span.soon { color: var(--text-dim); border-style: dashed; }

/* frequently asked questions */
.faq { max-width: 860px; margin: clamp(36px, 5vh, 56px) auto 0; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(214, 232, 160, .14); transition: border-color .3s; }
.faq details[open] { border-color: rgba(214, 232, 160, .38); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 18px 22px; font-family: var(--font-ancient); font-weight: 700; font-size: 1rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary img { width: 30px; height: 30px; flex: none; }
.faq summary::after { content: '+'; margin-left: auto; font-family: var(--font-hud); font-size: 1.3rem; color: var(--sand); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px 66px; color: var(--text-dim); line-height: 1.7; }
@media (max-width: 560px) { .faq details p { padding-left: 22px; } }

/* program detail blocks */
.program { scroll-margin-top: 90px; }
.program .tag { display: inline-block; margin-top: 10px; font-family: var(--font-hud); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 50px rgba(180, 205, 74, .1); }
.photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: linear-gradient(160deg, var(--sand-hi), var(--sand) 35%, var(--sea) 70%, var(--mist));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* honest-practice notices (licensing, scope of services) */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; max-width: 900px; margin: 0 auto; padding: 22px 26px; border-radius: 20px;
  background: rgba(180, 205, 74, .04); border: 1px solid rgba(214, 232, 160, .25); }
.callout .svgi { width: 40px; height: 40px; margin: 0; }
.callout h3 { font-family: var(--font-hud); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
.callout p { margin-top: 8px; font-size: .92rem; line-height: 1.7; color: var(--text-dim); }
.band { position: relative; z-index: 4; padding: clamp(80px, 13vh, 150px) 16px; text-align: center; }
.band .lines { font-family: var(--font-soul); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.45; color: var(--mist); text-shadow: 0 0 22px rgba(111, 158, 34, .35); }
.join .field select, .join .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; font: inherit; color: var(--text); background: rgba(0, 0, 0, .4); border: 1px solid rgba(180, 205, 74, .3); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.portfolio-grid .slot { aspect-ratio: 4 / 3; }
.portfolio-grid .slot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } .portfolio-grid .slot:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }

/* ==========================================================================
   LAND THEMES · each land keeps the same layout with its own light
   ========================================================================== */
body.theme-civic   { --sand: #8fe3ff; --sand-hi: #e8fbff; --sand-deep: #3f8fb3; }
body.theme-studios { --sand: #8ff3ff; --sand-hi: #e2fdff; --sand-deep: #3aa7b8; }
body.theme-luminar { --sand: #7fd8ff; --sand-hi: #e0f6ff; --sand-deep: #3a6fd8; }
body.theme-legacy  { --sand: #e9c46a; --sand-hi: #fff1c9; --sand-deep: #a87d2a; }
body.theme-interior{ --sand: #ef8fa4; --sand-hi: #ffe1e7; --sand-deep: #a8455c; }
body[class*="theme-"] .glass:hover { border-color: rgba(214, 232, 160, .35); box-shadow: 0 0 40px rgba(180, 205, 74, .1); }
body[class*="theme-"] .landnav { border-bottom-color: rgba(214, 232, 160, .18); }
body[class*="theme-"] .landnav a:hover { background: rgba(214, 232, 160, .08); }
body[class*="theme-"] .btn { color: #06141a; box-shadow: 0 10px 30px rgba(180, 205, 74, .22); background: linear-gradient(180deg, var(--sand-hi), var(--sand) 60%, var(--sand-deep)); }
body.theme-legacy .btn, body.theme-interior .btn { color: #1d1208; }
body[class*="theme-"] .list li::before { background: radial-gradient(circle, var(--sand-hi), var(--sand)); box-shadow: 0 0 10px var(--sand); }
body[class*="theme-"] .h1 { filter: drop-shadow(0 0 22px rgba(180, 205, 74, .25)); }
body.theme-legacy .h1 { filter: drop-shadow(0 0 22px rgba(233, 196, 106, .3)); }
body.theme-interior .h1 { filter: drop-shadow(0 0 22px rgba(239, 143, 164, .3)); }
.kicker .svgi { display: inline-block; width: 22px; height: 22px; margin: 0 10px -6px 0; filter: none; }
.reg .svgi { width: 20px; height: 20px; margin: 0; filter: none; }
.door__art { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(180, 205, 74, .28), rgba(58, 111, 216, .12) 45%, rgba(5, 8, 4, 0) 75%), linear-gradient(160deg, #04161f, #020a0e); }
.door__art .svgi { width: 46%; height: auto; max-width: 150px; margin: 0; color: #e3efb4; filter: drop-shadow(0 0 22px rgba(180, 205, 74, .6)); }
.door__art .svgi * { stroke-width: .9; }
.dw-calm .door__art .svgi { animation: none; }
.door__art .svgi { animation: artpulse 5s ease-in-out infinite; }
@keyframes artpulse { 50% { filter: drop-shadow(0 0 34px rgba(180, 205, 74, .85)); } }
.hero:has(> .reveal > .slot.is-empty) { grid-template-columns: 1fr; text-align: center; }
.hero:has(> .reveal > .slot.is-empty) .lead { margin-left: auto; margin-right: auto; }
.hero:has(> .reveal > .slot.is-empty) .ctas { justify-content: center; }
.show-slots .hero:has(> .reveal > .slot.is-empty) { grid-template-columns: 1.1fr .9fr; text-align: left; }
[hidden] { display: none !important; }

/* ==========================================================================
   ANIMATED EMBLEMS · Media Hub, YouTube Channels, Children's Library
   (all motion pauses in Calm mode and for visitors who prefer less motion)
   ========================================================================== */
body.theme-media { --sand: #a8c4ff; --sand-hi: #eef3ff; --sand-deep: #5a74c9; }
body.theme-kids  { --sand: #ffd27a; --sand-hi: #fff4d6; --sand-deep: #e59a3a; }
body.theme-kids .btn { color: #2a1a05; }
body.theme-circle { --sand: #2fe0a0; --sand-hi: #dbfff1; --sand-deep: #13a874; }
body.theme-circle .btn { color: #03170f; }
.emblem { position: relative; width: min(320px, 72vw); aspect-ratio: 1; margin: 0 auto; }
.emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.emblem * { transform-box: fill-box; }
.em-line { fill: none; stroke: var(--ch, #8ff3ff); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.em-fill { fill: var(--ch, #8ff3ff); }
.em-glow { filter: drop-shadow(0 0 6px var(--ch, #8ff3ff)); }
/* broadcast */
.em-ring { transform-origin: center; animation: emRing 3.6s ease-out infinite; opacity: 0; }
.em-ring:nth-of-type(2) { animation-delay: 1.2s; } .em-ring:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes emRing { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }
.em-bar { transform-origin: 50% 100%; animation: emEq 1.1s ease-in-out infinite alternate; }
.em-bar:nth-of-type(2) { animation-delay: .2s; } .em-bar:nth-of-type(3) { animation-delay: .45s; } .em-bar:nth-of-type(4) { animation-delay: .1s; } .em-bar:nth-of-type(5) { animation-delay: .35s; }
@keyframes emEq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.em-spin { transform-origin: center; animation: emSpin 14s linear infinite; }
.em-spin--rev { animation-direction: reverse; animation-duration: 22s; }
@keyframes emSpin { to { transform: rotate(360deg); } }
.em-breathe { transform-origin: center; animation: emBreathe 6s ease-in-out infinite; }
.em-breathe:nth-of-type(2) { animation-delay: .5s; } .em-breathe:nth-of-type(3) { animation-delay: 1s; }
@keyframes emBreathe { 0%, 100% { transform: scale(.82); opacity: .35; } 50% { transform: scale(1.06); opacity: 1; } }
.em-rock { transform-origin: 50% 0%; animation: emRock 5s ease-in-out infinite; }
@keyframes emRock { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.em-twinkle { transform-origin: center; animation: emTwinkle 2.4s ease-in-out infinite; }
.em-twinkle:nth-of-type(2n) { animation-delay: .8s; } .em-twinkle:nth-of-type(3n) { animation-delay: 1.5s; }
@keyframes emTwinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
.em-rise { animation: emRise 4.5s ease-in infinite; opacity: 0; }
.em-rise:nth-of-type(2) { animation-delay: 1.5s; } .em-rise:nth-of-type(3) { animation-delay: 3s; }
@keyframes emRise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-70px) scale(1.1); opacity: 0; } }
.em-scan { animation: emScan 3s ease-in-out infinite alternate; }
@keyframes emScan { from { transform: translateY(-46px); } to { transform: translateY(46px); } }
.em-orbit { transform-origin: 100px 100px; transform-box: view-box; animation: emSpin 6s linear infinite; }
.em-orbit--b { animation-duration: 9s; animation-direction: reverse; }
.em-rung { transform-origin: center; animation: emHelix 3s ease-in-out infinite; }
@keyframes emHelix { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.em-pulse { transform-origin: center; animation: emPulse 2.2s ease-in-out infinite; }
@keyframes emPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
/* channel cards */
.channel { position: relative; overflow: hidden; }
.channel::before { content: ''; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ch) 28%, transparent), transparent 70%); pointer-events: none; }
.channel .emblem { width: 180px; margin: 0 0 18px; }
.channel h3 { font-family: var(--font-ancient); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--text); }
.channel .tagline { margin-top: 6px; font-family: var(--font-soul); font-size: 1.25rem; color: var(--ch); }
.channel p { margin-top: 12px; color: var(--text-dim); line-height: 1.7; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.topics li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: .88rem; color: var(--text);
  background: color-mix(in srgb, var(--ch) 10%, transparent); border: 1px solid color-mix(in srgb, var(--ch) 35%, transparent); transition: transform .3s, box-shadow .3s; }
.topics li .e { display: inline-block; font-size: 1.1em; transition: transform .4s; }
.topics li:hover { transform: translateY(-3px); box-shadow: 0 0 18px color-mix(in srgb, var(--ch) 40%, transparent); }
.topics li:hover .e { transform: rotate(-12deg) scale(1.3); }
.channel .btn { background: linear-gradient(180deg, #fff, var(--ch) 70%); color: #06141a; }
.channel-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.channel-row .emblem { width: 100%; margin: 0; }
@media (max-width: 860px) { .channel-row { grid-template-columns: 1fr; } .channel-row .emblem { width: 200px; margin: 0 auto; } }
/* the floating storybook characters */
.float { animation: floatY 5s ease-in-out infinite; }
.float--b { animation-duration: 6.5s; animation-delay: -2s; }
.float--c { animation-duration: 4.2s; animation-delay: -1s; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.wag { transform-origin: 70% 80%; animation: wag 2.6s ease-in-out infinite; }
@keyframes wag { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-6px); } }
.rise { animation: rise 12s linear infinite; }
@keyframes rise { 0% { transform: translateY(40px) rotate(-4deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-420px) rotate(5deg); opacity: 0; } }
.storyhero { position: relative; height: clamp(360px, 46vw, 540px); }
.storyhero img { position: absolute; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.storyhero .book { left: 50%; bottom: 4%; width: 62%; transform: translateX(-50%); }
.storyhero .book-wrap { position: absolute; left: 50%; bottom: 4%; width: 62%; transform: translateX(-50%); }
.storyhero .book-wrap img { position: static; width: 100%; }
.storyhero .s-drake { left: 0; bottom: 0; width: 34%; }
.storyhero .s-kofi { right: 0; bottom: 2%; width: 32%; }
.storyhero .s-josh { left: 36%; top: 0; width: 22%; }
.storyhero .s-balloon { right: 14%; top: 18%; width: 11%; }
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles i { position: absolute; width: 10px; height: 10px; background: radial-gradient(circle, #fff, var(--sand) 45%, transparent 70%); border-radius: 50%; animation: emTwinkle 2.6s ease-in-out infinite; }
.cover { perspective: 900px; }
.cover img { width: 100%; display: block; border-radius: 10px 16px 16px 10px; box-shadow: -8px 0 0 rgba(255, 255, 255, .06) inset, 0 24px 50px rgba(0, 0, 0, .55), 0 0 40px color-mix(in srgb, var(--sand) 25%, transparent);
  transform: rotateY(-14deg) rotateX(3deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cover:hover img { transform: rotateY(0) rotateX(0) scale(1.03); }
.badge-soon { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; font-family: var(--font-hud); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: #2a1a05; background: linear-gradient(180deg, var(--sand-hi), var(--sand)); animation: emPulse 2.4s ease-in-out infinite; }
.series { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 20px; }
.series li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid color-mix(in srgb, var(--sand) 22%, transparent); font-size: .9rem; color: var(--text-dim); transition: transform .3s, border-color .3s; }
.series li strong { display: block; color: var(--text); font-family: var(--font-ancient); font-size: .98rem; }
.series li .e { float: left; margin-right: 10px; font-size: 1.4rem; line-height: 1; transition: transform .4s; }
.series li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--sand) 60%, transparent); }
.series li:hover .e { transform: scale(1.35) rotate(-10deg); }
details.more summary { cursor: pointer; margin-top: 18px; font-family: var(--font-hud); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.char-peek { width: 120px; height: auto; margin: 0 auto 10px; display: block; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.interest { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.interest label { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 12px; font-size: .9rem; color: var(--text-dim); background: rgba(0, 0, 0, .3); border: 1px solid rgba(214, 232, 160, .18); cursor: pointer; }
.interest input { accent-color: var(--sand); width: 16px; height: 16px; }
.interest label:has(input:checked) { color: var(--text); border-color: var(--sand); box-shadow: 0 0 14px color-mix(in srgb, var(--sand) 30%, transparent); }
.langpick { display: flex; gap: 10px; margin-top: 10px; }
.langpick label { flex: 1; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid rgba(214, 232, 160, .2); cursor: pointer; color: var(--text-dim); }
.langpick input { position: absolute; opacity: 0; }
.langpick label:has(input:checked) { color: var(--text); border-color: var(--sand); background: color-mix(in srgb, var(--sand) 12%, transparent); }
@media (max-width: 520px) { .interest { grid-template-columns: 1fr; } }
.dw-calm .emblem *, .dw-calm .float, .dw-calm .wag, .dw-calm .rise, .dw-calm .sparkles i, .dw-calm .badge-soon { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .emblem *, .float, .wag, .rise, .sparkles i, .badge-soon { animation: none !important; } }
.emblem.em-sm { width: 130px; margin: 0 0 14px; }
.icard .emblem.em-sm { margin: 0 auto 14px; }
.grid2 .room .emblem.em-sm { width: 150px; }
