:root {
  --ink: #253747;
  --muted: #5e6d70;
  --paper: #f0f3ec;
  --white: #fffefa;
  --green: #527261;
  --lime: #c3d18a;
  --line: #dce3d8;
  --shadow: 0 15px 38px rgba(39, 55, 61, 0.09);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

html,
body {
  background: var(--paper);
  color: var(--ink);
}

body::before {
  background: linear-gradient(145deg, #f2f4ee 0%, #edf1e9 55%, #e6ece6 100%);
}

.site-3d-shell {
  opacity: .28;
}

.site-3d-vignette {
  background: linear-gradient(180deg, transparent 35%, #f0f3ec55 100%);
}

header.topbar {
  background: rgba(248, 249, 244, .96) !important;
  border-color: #e4e9df !important;
  box-shadow: 0 10px 28px rgba(38, 53, 59, .08) !important;
}

.brand-mark {
  background: linear-gradient(145deg, #728a78, #526e60);
}

.links a[aria-current="location"] {
  background: #e6ecdf;
  color: #344d42;
}

.hero h1,
.section-head h2,
.manifesto h2,
.minecraft-copy h2 {
  color: #253747;
}

.hero h1 em,
.minecraft-copy h2 em {
  color: #5b7868;
}

.hero .lead,
.section-head p,
.idea p,
.promise p,
.minecraft-copy p {
  color: #58686c;
}

.btn-dark,
.social-btn,
.play-float {
  background: #3f6253;
  color: #fff;
}

.btn-light,
.stats,
.section-head,
.person,
.idea,
.promise,
.voice,
.poster-card,
.minecraft-facts div,
.minecraft-step {
  background: #fffefa;
  border-color: #e1e7de;
  box-shadow: 0 8px 24px rgba(47, 62, 64, .07);
}

.hero-art {
  border: 3px solid rgba(255, 255, 255, .92);
  box-shadow: 0 24px 52px rgba(52, 69, 76, .17);
}

.person,
.idea,
.promise,
.voice,
.poster-card,
.manifesto-art {
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(47, 62, 64, .07) !important;
}

.person-photo {
  background: #e8ede6;
}

.person-photo::before {
  display: none !important;
}

.person-copy {
  border-top: 1px solid #edf0e9;
}

#ideas {
  background: #e9eee6 !important;
}

#ideas .idea:nth-child(n),
#ideas .idea:hover {
  background: #fffefa !important;
  color: var(--ink) !important;
}

.idea .icon {
  background: #edf1e8;
  border: 0;
  color: #4f6d5e;
}

#speeches,
#speeches .section-head {
  background: transparent !important;
  color: var(--ink) !important;
}

#speeches .section-head h2,
.voice-top b,
.voice details p {
  color: #253747 !important;
}

#speeches .section-head p {
  color: #5e6d70 !important;
}

.voice,
.voice:nth-child(n),
.voice:hover {
  background: #fffefa !important;
  border: 0 !important;
  color: var(--ink) !important;
  box-shadow: 0 8px 24px rgba(47, 62, 64, .07) !important;
}

.voice-top span,
.voice details summary::after {
  color: #68816f !important;
}

.poster-card {
  overflow: hidden;
  border-radius: 18px;
  transform: rotate(-.35deg);
}

.poster-card:nth-child(even) {
  transform: rotate(.35deg);
}

.poster-card img {
  border: 0 !important;
}

.poster-card span {
  background: #fffefa;
  border: 0;
  color: #33474a;
}

.manifesto {
  background: #e9eee6 !important;
}

.manifesto-art {
  border: 0 !important;
  padding: 0;
}

.minecraft-section {
  background: #e8ede7 !important;
  border-block: 1px solid #dce4da;
}

.minecraft-server {
  background: #3f6253;
  box-shadow: 0 7px 0 #c4d0c4, 0 14px 28px rgba(45, 68, 58, .12);
}

.minecraft-stage {
  border: 2px solid rgba(255, 255, 255, .75);
  box-shadow: 0 20px 45px rgba(43, 62, 54, .17);
}

footer {
  background: #f0f3ec !important;
  border-top: 1px solid #dbe3d7 !important;
  box-shadow: none !important;
  color: #253747 !important;
}

footer a,
footer .footer-note,
footer .footer-intro p {
  color: #465c60 !important;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #809779;
  transform: scaleX(0);
  transform-origin: left center;
}

.play-float {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  box-shadow: 0 7px 0 #b5c3b4, 0 14px 28px rgba(42, 64, 54, .2);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  animation: float-gently 3.8s ease-in-out infinite;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}

.play-float:hover,
.play-float:focus-visible {
  background: #314f42;
  box-shadow: 0 4px 0 #a7b8a7, 0 18px 34px rgba(42, 64, 54, .23);
  transform: translateY(-4px);
  animation-play-state: paused;
}

.play-float-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-size: 17px;
}

.back-to-top {
  position: fixed;
  right: clamp(21px, 3.4vw, 39px);
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 99;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d8e1d7;
  border-radius: 50%;
  background: #fffefa;
  color: #3f6253;
  box-shadow: 0 5px 15px rgba(40, 58, 52, .1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes float-gently {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 760px) {
  .play-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 49px;
    padding-inline: 15px;
    font-size: 13px;
  }

  .back-to-top {
    right: 22px;
    bottom: calc(75px + env(safe-area-inset-bottom));
  }

  .person,
  .idea,
  .promise,
  .voice,
  .poster-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .play-float { animation: none; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* Crisp manifesto and image details: keep the depth in shadows and framing, not blur. */
.manifesto {
  isolation: isolate;
  background: #e9eee6 !important;
}

.manifesto .eyebrow,
.manifesto h2,
.manifesto .promise,
.manifesto .promise b,
.manifesto .promise p,
.manifesto-art,
.manifesto-art img {
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.manifesto .promise {
  color: #253747 !important;
  background: #fffefa !important;
}

.manifesto .promise p {
  color: #526268 !important;
}

.manifesto-art img {
  display: block;
  width: 100%;
  height: auto;
  transform: perspective(1000px) rotateY(-1.2deg) rotateZ(.45deg) scale(1.015);
  transition: transform .7s var(--ease);
}

.manifesto-art:hover img {
  transform: perspective(1000px) rotateY(0) rotateZ(0) scale(1.035);
}

.person-photo {
  perspective: 900px;
}

.person-photo img {
  filter: none !important;
  transform: perspective(900px) rotateZ(-.8deg) scale(1.035) !important;
  transition: transform .65s var(--ease), filter .65s var(--ease) !important;
}

.person:nth-child(even) .person-photo img {
  transform: perspective(900px) rotateZ(.8deg) scale(1.035) !important;
}

.person:hover .person-photo img {
  transform: perspective(900px) rotateZ(0) scale(1.09) !important;
  filter: saturate(1.06) contrast(1.02) !important;
}

.poster-card img {
  filter: none !important;
  transition: transform .65s var(--ease) !important;
}

.poster-card:hover img {
  transform: scale(1.045) rotateZ(-.4deg);
}

/* Keep all five Minecraft instructions within their column at every width. */
.minecraft-grid > *,
.minecraft-copy,
.minecraft-step {
  min-width: 0;
}

.minecraft-steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)) !important;
  align-items: stretch;
}

.minecraft-step {
  height: auto;
  min-height: 104px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.minecraft-step span {
  display: block;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* The play action stays attached to the viewport, including after the Minecraft section. */
.play-float {
  position: fixed !important;
  z-index: 9999 !important;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  pointer-events: auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .minecraft-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .minecraft-step {
    min-height: 82px;
  }

  .play-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .minecraft-steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-art img,
  .person-photo img,
  .poster-card img {
    transition: none !important;
    transform: none !important;
  }
}


/* Final hosting pass: crisp surfaces, light motion and a dedicated TikTok feature. */
body::before, body::after { display:none !important; filter:none !important; animation:none !important; }
header.topbar { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; background:#f5f6f0 !important; }
.site-3d-vignette { display:none !important; }
.site-3d-shell { opacity:.14 !important; }
.site-3d-shell:before, .site-3d-shell:after { filter:none !important; }
.minecraft-glow { filter:none !important; opacity:.25; }
.person,.idea,.promise,.voice,.poster-card,.poster-preview,.manifesto-art,.idea-bot { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; will-change:auto !important; }
.person:nth-child(odd) { transform:perspective(1100px) rotateZ(-1.6deg); }
.person:nth-child(even) { transform:perspective(1100px) rotateZ(1.6deg); }
.person:hover { transform:perspective(950px) translateY(-5px) rotateX(1.2deg) rotateY(-1deg) rotateZ(0) !important; }
.person-photo img { filter:none !important; transition:transform .7s cubic-bezier(.2,.75,.25,1) !important; }
.person:nth-child(odd) .person-photo img { transform:scale(1.025) rotateZ(-1.2deg) !important; }
.person:nth-child(even) .person-photo img { transform:scale(1.025) rotateZ(1.2deg) !important; }
.person:hover .person-photo img { transform:scale(1.07) rotateZ(0) !important; }
.poster-card:nth-child(odd) { transform:perspective(1000px) rotateZ(-.65deg); }
.poster-card:nth-child(even) { transform:perspective(1000px) rotateZ(.65deg); }
.poster-card:hover { transform:perspective(950px) translateY(-7px) rotateX(1.2deg) rotateY(-1deg) rotateZ(0) !important; }
.video-section { position:relative; overflow:hidden; background:#e9eee6 !important; }
.video-section-head { margin-bottom:34px; }
.video-feature { display:grid; grid-template-columns:minmax(260px, .8fr) minmax(280px, 1fr); align-items:center; gap:clamp(30px,6vw,86px); width:min(100%,1000px); margin:0 auto; padding:clamp(18px,3vw,34px); border:1px solid #d9e2d7; border-radius:30px; background:#fdfdf8; box-shadow:0 18px 42px rgba(39,55,61,.09); }
.video-frame { position:relative; width:min(100%,390px); aspect-ratio:9/16; min-height:0; max-height:620px; overflow:hidden; justify-self:center; border-radius:24px; background:#18221f; box-shadow:0 17px 32px rgba(23,36,33,.2); transform:perspective(1100px) rotateY(-2deg) rotateZ(-1deg); transition:transform .6s cubic-bezier(.2,.75,.25,1),box-shadow .6s; }
.video-feature:hover .video-frame { transform:perspective(1100px) rotateY(0) rotateZ(0) translateY(-3px); box-shadow:0 24px 42px rgba(23,36,33,.23); }
.video-frame iframe,.video-frame video { display:block; width:100%; height:100%; border:0; object-fit:cover; }
.video-placeholder { display:grid; place-items:center; width:100%; height:100%; padding:24px; color:#f5f6f0; text-align:center; font-weight:700; background:linear-gradient(145deg,#233a31,#16211e); }
.video-copy { min-width:0; padding:clamp(4px,1vw,18px); }
.video-count,.video-credit { color:#63746b; font-size:12px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.video-copy h3 { margin:18px 0 12px; color:#253747; font-size:clamp(25px,3vw,38px); line-height:1.15; letter-spacing:-.04em; }
.video-support { max-width:470px; margin:0 0 24px; color:#485853; font-size:clamp(16px,1.6vw,19px); line-height:1.6; }
.video-open,.video-next { display:inline-flex; align-items:center; justify-content:center; min-height:46px; margin:0 8px 12px 0; padding:0 18px; border:1px solid #3f6253; border-radius:999px; background:#3f6253; color:#fff; font:700 14px/1.2 inherit; cursor:pointer; transition:transform .2s ease,background .2s ease; }
.video-next { background:#fffefa; color:#253747; border-color:#d7e0d5; }
.video-open:hover,.video-next:hover { transform:translateY(-2px); }
.video-next:disabled { opacity:.55; cursor:default; transform:none; }
.video-credit { margin-top:10px; letter-spacing:0; text-transform:none; font-weight:500; line-height:1.5; }
.minecraft-section.is-coming-soon .minecraft-server,
.minecraft-section.is-coming-soon .minecraft-facts,
.minecraft-section.is-coming-soon .minecraft-steps { display:none !important; }
.minecraft-section.is-coming-soon .minecraft-copy { max-width:600px; }
@media(max-width:760px) {
  .person:nth-child(n) { transform:none; }
  .person-photo img { transform:scale(1.02) rotateZ(-1deg) !important; }
  .video-feature { grid-template-columns:1fr; gap:22px; padding:14px; border-radius:24px; }
  .video-frame { width:min(100%,360px); max-height:none; transform:perspective(900px) rotateZ(-.55deg); }
  .video-copy { padding:8px 6px 12px; }
  .video-copy h3 { margin-top:12px; }
  .video-open,.video-next { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) {
  .person,.poster-card,.video-frame { transform:none !important; transition:none !important; }
}

body,body *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
