
:root {
  --ink: #111314;
  --muted: #64686d;
  --paper: #f4f3ee;
  --card: #ffffff;
  --line: rgba(17, 19, 20, .10);
  --blue: #3848d8;
  --blue-dark: #2532a6;
  --blue-soft: #e9ebff;
  --purple: #8d57ff;
  --purple-soft: #efe8ff;
  --dark: #16191d;
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(20, 24, 34, .08);
  --shell: 1420px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(56,72,216,.08), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.topbar { position: sticky; top: 0; z-index: 60; padding: 14px 0 8px; }
.nav-shell {
  position:relative;
  width:min(calc(100% - 40px),var(--shell));
  height:66px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:7px 10px 7px 30px;
  border:1px solid rgba(17,19,20,.08);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 32px rgba(20,24,34,.055);
}
.brand { display:inline-flex; align-items:center; gap:10px; width:max-content; margin-left:10px; font-family:Lexend, Inter, sans-serif; font-size:14px; font-weight:700; letter-spacing:.05em; }
.brand img { width:28px; height:34px; object-fit:contain; }
.nav { position:absolute; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:6px; }
.nav-link {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  color:#52565c;
  transition:.2s ease;
}
.nav a.nav-link:hover,
.nav-link--button:hover,
.nav-item:hover > .nav-link--button,
.nav-item.is-open > .nav-link--button { color:var(--ink); background:rgba(17,19,20,.05); }
.nav-link--button { border:0; background:transparent; cursor:pointer; }
.nav-item::after { content:""; position:absolute; left:0; right:0; top:100%; height:14px; }
.nav-caret { position:relative; top:-1px; width:6px; height:6px; flex:0 0 6px; border-right:1.9px solid currentColor; border-bottom:1.9px solid currentColor; transform:rotate(45deg); transform-origin:center; transition:transform .18s ease, top .18s ease; }
.nav-item { position:relative; }
.nav-item.is-open .nav-caret,
.nav-item:focus-within .nav-caret,
.nav-item:hover .nav-caret { top:1px; transform:rotate(-135deg); }
.dropdown-menu {
  position:absolute;
  top:calc(100% + 4px);
  left:50%;
  min-width:220px;
  padding:8px;
  display:grid;
  gap:3px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 48px rgba(20,24,34,.10);
  transform:translate(-50%, 6px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.18s ease;
}
.dropdown-menu a { padding:12px 14px; border-radius:14px; font-size:14px; font-weight:600; color:#4f545b; }
.dropdown-menu--socials { min-width:220px; }
.dropdown-menu a:hover { background:#f5f4ef; color:var(--ink); }
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu,
.nav-item.is-open > .dropdown-menu { opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%, 0); }
.nav-cta { margin-left:auto; min-width:152px; }
.nav-toggle { display:none; }

.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:54px; padding:0 22px; border-radius:999px; border:1px solid transparent; font-size:14px; font-weight:700; transition:transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform:translateY(-2px); }
.button--small { min-height:46px; padding:0 18px; }
.button--dark { color:#fff; background:var(--dark); box-shadow:0 10px 25px rgba(0,0,0,.12); }
.button--primary { color:#fff; background:var(--blue); box-shadow:0 13px 28px rgba(56,72,216,.23); }
.button--primary:hover { background:var(--blue-dark); }
.button--ghost { border-color:var(--line); background:rgba(255,255,255,.55); }
.button--light { background:#fff; color:#17191d; }

.arrow-icon {
  display:inline-block;
  width:18px;
  height:18px;
  flex:0 0 18px;
  background-color:currentColor;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:18px 18px;
  mask-size:18px 18px;
  transition:transform .2s ease;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 9H14' stroke='black' stroke-width='1.85' stroke-linecap='round'/%3E%3Cpath d='M10 5L14 9L10 13' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 9H14' stroke='black' stroke-width='1.85' stroke-linecap='round'/%3E%3Cpath d='M10 5L14 9L10 13' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.arrow-icon--small { width:15px; height:15px; flex-basis:15px; -webkit-mask-size:15px 15px; mask-size:15px 15px; }
.arrow-icon--down {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 5H12.5V12.5' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.5 12.5L12.5 5.5' stroke='black' stroke-width='1.85' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 5H12.5V12.5' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.5 12.5L12.5 5.5' stroke='black' stroke-width='1.85' stroke-linecap='round'/%3E%3C/svg%3E");
}
.arrow-icon--external {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 13L13 5' stroke='black' stroke-width='1.85' stroke-linecap='round'/%3E%3Cpath d='M7 5H13V11' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 13L13 5' stroke='black' stroke-width='1.85' stroke-linecap='round'/%3E%3Cpath d='M7 5H13V11' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.button:hover .arrow-icon,
.circle-link:hover .arrow-icon { transform:translateX(2px); }
.visual-caption a:hover .arrow-icon--down { transform:translate(1px,1px); }
.button:hover .arrow-icon--external { transform:translate(1px,-1px); }

.live-dot {
  position:relative;
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:currentColor;
}
.live-dot::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:1px solid currentColor;
  opacity:.45;
  animation:pulse-ring 1.8s infinite ease-out;
}
.live-dot--blue { color:var(--blue); }
.live-dot--green { color:#a6ffb3; }
.live-dot--pink { color:#ff5e93; }
@keyframes pulse-ring {
  0% { transform:scale(1); opacity:.45; }
  70% { transform:scale(2.5); opacity:0; }
  100% { transform:scale(2.5); opacity:0; }
}

.hero { padding-top: 24px; }
.hero-card { min-height: 720px; display:grid; grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr); gap:18px; padding:18px; background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.9); border-radius:var(--radius-xl); box-shadow:var(--shadow); }
.hero-copy { min-width:0; display:flex; flex-direction:column; justify-content:center; padding: clamp(38px, 5vw, 76px); }
.eyebrow { display:inline-flex; align-items:center; gap:9px; width:max-content; padding:8px 11px; border-radius:999px; background:var(--blue-soft); color:#303a99; font-size:12px; font-weight:700; letter-spacing:.02em; }
.hero h1 { margin:26px 0 22px; font-family:Lexend, Inter, sans-serif; font-size:clamp(52px,6vw,92px); line-height:.97; letter-spacing:-.055em; font-weight:600; }
.hero h1 span { color:var(--blue); }
.hero-copy > p { max-width:650px; margin:0; color:var(--muted); font-size:clamp(17px,1.55vw,21px); line-height:1.65; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:32px; }
.hero-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:56px 0 0; padding-top:24px; border-top:1px solid var(--line); }
.hero-meta div { display:grid; gap:7px; }
.hero-meta span { color:#85898e; font-size:11px; text-transform:uppercase; letter-spacing:.09em; font-weight:700; }
.hero-meta strong { font-size:14px; font-weight:600; }

.hero-visual { position:relative; overflow:hidden; min-height:680px; border-radius:calc(var(--radius-xl) - 10px); background:#292d34; }
.hero-visual > img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; transform:scale(1.015); transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-card:hover .hero-visual > img { transform:scale(1.04); }
.visual-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(9,13,20,.18) 0%,rgba(9,13,20,.02) 43%,rgba(9,13,20,.72) 100%); }
.visual-topline { position:absolute; top:25px; left:26px; right:26px; display:flex; justify-content:space-between; align-items:center; color:#fff; font-size:11px; font-weight:700; letter-spacing:.08em; }
.status-pill { display:inline-flex; align-items:center; gap:8px; padding:9px 11px; border:1px solid rgba(255,255,255,.25); border-radius:999px; background:rgba(20,23,28,.22); backdrop-filter:blur(10px); letter-spacing:0; text-transform:none; }
.visual-caption { position:absolute; left:28px; right:28px; bottom:28px; display:flex; align-items:flex-end; justify-content:space-between; gap:22px; color:#fff; }
.visual-caption p { max-width:520px; margin:0; font-family:Lexend, Inter, sans-serif; font-size:clamp(30px,3vw,48px); line-height:1.04; letter-spacing:-.035em; }
.visual-caption a { flex:0 0 56px; width:56px; height:56px; display:grid; place-items:center; border-radius:50%; border:1px solid rgba(255,255,255,.44); background:rgba(255,255,255,.13); backdrop-filter:blur(10px); color:#fff; transition:background .2s ease,color .2s ease,transform .2s ease; }
.visual-caption a .arrow-icon { width:19px; }
.visual-caption a:hover { background:#fff; color:var(--ink); transform:scale(1.04); }

.statement { padding:150px 0 135px; display:grid; grid-template-columns: minmax(120px,.35fr) 1.65fr; column-gap:60px; row-gap:30px; align-items:start; }
.section-kicker { margin:8px 0 0; color:#74787d; font-size:12px; text-transform:uppercase; letter-spacing:.12em; font-weight:700; }
.statement h2 { max-width:1020px; margin:0; font-family:Lexend, Inter, sans-serif; font-size:clamp(42px,5.2vw,76px); line-height:1.06; letter-spacing:-.045em; font-weight:500; }
.statement-copy { grid-column:2; max-width:720px; margin:8px 0 0; color:var(--muted); font-size:18px; line-height:1.7; }

.bento { padding-bottom:140px; }
.section-heading { display:flex; justify-content:space-between; gap:30px; align-items:flex-end; margin-bottom:32px; }
.section-heading h2 { margin:10px 0 0; font-family:Lexend, Inter, sans-serif; font-size:clamp(36px,4vw,60px); line-height:1.08; letter-spacing:-.04em; font-weight:500; }
.text-link { display:inline-flex; align-items:center; gap:10px; padding-bottom:5px; border-bottom:1px solid var(--ink); font-size:14px; font-weight:700; white-space:nowrap; }
.bento-grid { display:grid; grid-template-columns:1.1fr .9fr; grid-auto-rows:330px; gap:16px; }
.tile { position:relative; overflow:hidden; padding:30px; border-radius:var(--radius-lg); border:1px solid var(--line); background:#fff; }
.tile--large { grid-row:span 2; }
.tile--wide { grid-column:2; }
.tile--image { color:#fff; border:0; background:#292d34; }
.tile--image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.tile--image:hover img { transform:scale(1.035); }
.tile-overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(10,14,20,.06),rgba(10,14,20,.76)); }
.tile-overlay--soft { background:linear-gradient(90deg,rgba(10,14,20,.68),rgba(10,14,20,.10)); }
.tile--blue { background:var(--blue); color:#fff; border:0; }
.tile--light { background:#e7e8e2; }
.tile--wiki {
  color:var(--ink);
  background:
    radial-gradient(circle at 90% 110%, rgba(56,72,216,.20), transparent 46%),
    linear-gradient(135deg,#f8f9ff 0%,#eef0ff 100%);
  border-color:rgba(56,72,216,.10);
}
.tile--wiki::before {
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-90px;
  bottom:-110px;
  border-radius:50%;
  background:rgba(56,72,216,.14);
  filter:blur(28px);
}
.tag--wiki { background:rgba(56,72,216,.10); color:var(--blue); }
.wiki-decoration {
  position:absolute;
  top:30px;
  right:32px;
  width:78px;
  height:92px;
  padding:18px 15px;
  display:grid;
  align-content:center;
  gap:8px;
  border:1px solid rgba(56,72,216,.12);
  border-radius:18px;
  background:rgba(255,255,255,.70);
  box-shadow:0 14px 30px rgba(56,72,216,.08);
  transform:rotate(6deg);
}
.wiki-decoration::before {
  content:"W";
  position:absolute;
  top:9px;
  left:13px;
  color:var(--blue);
  font:700 15px Lexend,Inter,sans-serif;
}
.wiki-decoration span {
  display:block;
  height:5px;
  border-radius:999px;
  background:rgba(56,72,216,.18);
}
.wiki-decoration span:nth-child(2) { width:72%; }
.wiki-decoration span:nth-child(3) { width:86%; }
.circle-link--blue { background:var(--blue); color:#fff; box-shadow:0 10px 26px rgba(56,72,216,.22); }
.circle-link--blue:hover { box-shadow:0 14px 32px rgba(56,72,216,.28); }
.tile-number { position:absolute; top:24px; right:26px; font-family:Lexend, sans-serif; font-size:12px; opacity:.62; }
.tile-content { position:relative; z-index:2; }
.tile-content--bottom { position:absolute; left:30px; right:30px; bottom:30px; }
.tile-content--row { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; }
.tile h3 { max-width:570px; margin:16px 0 12px; font-family:Lexend, Inter, sans-serif; font-size:clamp(25px,2.5vw,38px); line-height:1.08; letter-spacing:-.035em; font-weight:500; }
.tile p { max-width:560px; margin:0; font-size:15px; line-height:1.65; opacity:.82; }
.tag { display:inline-flex; align-items:center; width:max-content; padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.18); font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.tile--light .tag { background:rgba(17,19,20,.07); }
.tag--glass { border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(9px); }
.tile-link { display:inline-flex; gap:8px; align-items:center; margin-top:22px; font-size:13px; font-weight:700; }
.mini-stack { position:absolute; left:30px; top:26px; right:30px; display:flex; flex-wrap:wrap; gap:8px; }
.mini-stack span { padding:8px 10px; background:rgba(255,255,255,.65); border:1px solid rgba(17,19,20,.06); border-radius:10px; font-size:12px; font-weight:600; transform:rotate(-1deg); }
.mini-stack span:nth-child(2) { transform:rotate(1.4deg); }
.mini-stack span:nth-child(3) { transform:rotate(-.6deg); }
.mini-stack span:nth-child(4) { transform:rotate(1deg); }
.circle-link { flex:0 0 54px; width:54px; height:54px; display:grid; place-items:center; border-radius:50%; background:#fff; color:var(--ink); box-shadow:0 8px 24px rgba(0,0,0,.10); transition:transform .2s ease,box-shadow .2s ease; }
.circle-link:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,0,0,.14); }
.circle-link:hover .arrow-icon { transform:translateX(2px); }

.join { padding:0 0 140px; display:grid; grid-template-columns:.65fr 1.35fr; gap:70px; align-items:start; }
.join-intro { position:sticky; top:115px; }
.join-intro h2 { margin:14px 0 22px; font-family:Lexend, Inter, sans-serif; font-size:clamp(43px,4.4vw,68px); line-height:1.02; letter-spacing:-.045em; font-weight:500; }
.join-intro > p:last-child { max-width:420px; color:var(--muted); font-size:17px; line-height:1.65; }
.join-cards { display:grid; gap:16px; }
.join-card {
  position:relative;
  overflow:hidden;
  padding:34px;
  border-radius:var(--radius-lg);
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 35px rgba(20,24,34,.04);
}
.join-card::after {
  content:"";
  position:absolute;
  right:-68px;
  bottom:-82px;
  width:220px;
  height:220px;
  border-radius:50%;
  opacity:.55;
  filter:blur(34px);
  pointer-events:none;
}
.join-card > * { position:relative; z-index:1; }
.join-card--java::after { background:radial-gradient(circle, rgba(56,72,216,.64) 0%, rgba(56,72,216,.24) 42%, transparent 72%); }
.join-card--bedrock::after { background:radial-gradient(circle, rgba(141,87,255,.66) 0%, rgba(141,87,255,.25) 42%, transparent 72%); }
.join-card-head { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
.edition-icon {
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:grid;
  place-items:center;
  border-radius:16px;
  overflow:visible;
}
.edition-icon img { width:40px; height:40px; object-fit:contain; filter:drop-shadow(0 7px 9px rgba(17,19,20,.13)); }
.edition-icon--java { background:linear-gradient(145deg,#eff2ff,#e7ebff); }
.edition-icon--bedrock { background:linear-gradient(145deg,#f4efff,#ece4ff); }
.edition-icon--java img { width:41px; height:41px; }
.edition-icon--bedrock img { width:38px; height:38px; }
.join-card-head div:last-child { display:grid; gap:4px; }
.join-card-head span { color:#81868c; font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.join-card-head strong { font-size:16px; }
.address-box { display:grid; grid-template-columns:1fr auto; align-items:end; column-gap:18px; padding:23px; border-radius:20px; background:#f3f3ef; }
.address-box span { grid-column:1/-1; margin-bottom:7px; color:#85898d; font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.address-box strong { font-family:Lexend, monospace; font-size:clamp(23px,3vw,34px); letter-spacing:-.03em; }
.address-box button { align-self:center; border:0; padding:10px 13px; border-radius:999px; background:#fff; font:600 12px Inter, sans-serif; cursor:pointer; box-shadow:0 6px 16px rgba(17,19,20,.05); }
.address-box--java { background:linear-gradient(180deg, #eef1ff, #f4f5ff); }
.address-box--bedrock { background:linear-gradient(180deg, #f3edff, #f7f2ff); }
.join-card ol { list-style:none; margin:28px 0 0; padding:0; display:grid; }
.join-card li { display:grid; grid-template-columns:32px 1fr; gap:14px; align-items:start; padding:18px 0; border-top:1px solid var(--line); }
.join-card li > span { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:var(--blue-soft); color:var(--blue); font-size:11px; font-weight:700; }
.join-card--bedrock li > span { background:var(--purple-soft); color:var(--purple); }
.join-card li p { margin:2px 0 0; color:var(--muted); font-size:14px; line-height:1.55; }
.join-card li p strong { color:inherit; }

.community { width:min(calc(100% - 40px),1240px); padding-bottom:32px; }
.community-card { position:relative; overflow:hidden; min-height:330px; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr); align-items:center; gap:36px; padding:42px 48px; color:#fff; background:linear-gradient(118deg,#5865f2 0%,#4d58df 48%,#3b48cf 100%); border-radius:32px; box-shadow:0 24px 60px rgba(56,72,216,.16); }
.community-card::before { content:""; position:absolute; width:430px; height:430px; right:-160px; top:-250px; border-radius:50%; background:rgba(255,255,255,.12); filter:blur(1px); }
.community-copy { position:relative; z-index:3; max-width:660px; }
.discord-label { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.discord-label > img { width:25px; height:20px; object-fit:contain; }
.discord-label > strong { font-family:Lexend,Inter,sans-serif; font-size:17px; letter-spacing:-.01em; }
.discord-status { display:inline-flex; align-items:center; gap:4px; margin-left:4px; padding:6px 10px; border-radius:999px; background:rgba(22,26,74,.24); color:rgba(255,255,255,.92); font-size:11px; font-weight:700; }
.discord-count { letter-spacing:.01em; }
.discord-unit { opacity:.94; }
.community h2 { max-width:620px; margin:0 0 14px; font-family:Lexend,Inter,sans-serif; font-size:clamp(34px,3.25vw,48px); line-height:1.04; letter-spacing:-.04em; font-weight:600; }
.community p { max-width:590px; margin:0; color:rgba(255,255,255,.84); font-size:15px; line-height:1.6; }
.button--discord { min-height:48px; margin-top:24px; padding:0 19px; border-radius:10px; background:rgba(40,48,154,.72); color:#fff; box-shadow:0 10px 24px rgba(29,35,126,.18); }
.button--discord:hover { background:#303bba; }
.community-art { position:relative; z-index:2; align-self:stretch; min-height:246px; }
.community-photo { position:absolute; right:-22px; bottom:-74px; width:min(390px,34vw); height:280px; overflow:hidden; border:1px solid rgba(255,255,255,.18); border-radius:28px; box-shadow:0 24px 50px rgba(25,31,122,.28); transform:rotate(-5deg); background:#252c81; }
.community-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(88,101,242,.10),rgba(21,27,96,.52)); }
.community-photo img { width:100%; height:100%; object-fit:cover; transform:scale(1.08); }
.community-mark { position:absolute; right:235px; top:26px; width:112px; height:112px; display:grid; place-items:center; border-radius:30px; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(234,237,255,.92)); border:1px solid rgba(255,255,255,.82); box-shadow:0 20px 42px rgba(31,38,132,.24); transform:rotate(9deg); }
.community-mark img { position:relative; z-index:2; width:48px; height:auto; }
.community-mark-glow { position:absolute; inset:13px; border-radius:22px; background:radial-gradient(circle,rgba(88,101,242,.20),transparent 68%); }
.community-mini-mark { position:absolute; right:76px; top:34px; width:62px; height:62px; display:grid; place-items:center; border-radius:18px; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(236,239,255,.92)); border:1px solid rgba(255,255,255,.82); box-shadow:0 16px 34px rgba(31,38,132,.20); transform:rotate(-14deg); }
.community-mini-mark img { position:relative; z-index:2; width:43px; height:auto; }
.community-mini-mark-glow { position:absolute; inset:8px; border-radius:12px; background:radial-gradient(circle,rgba(88,101,242,.12),transparent 72%); }

.footer { padding:26px 0 34px; }
.footer-main { display:grid; grid-template-columns:1.1fr 1fr; gap:60px; padding:70px 0; border-bottom:1px solid var(--line); }
.footer-brand > p { max-width:420px; margin:22px 0 0; color:var(--muted); font-size:14px; line-height:1.65; }
.footer-links { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.footer-links > div { display:grid; align-content:start; gap:12px; }
.footer-links span { margin-bottom:5px; color:#8a8e92; font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.footer-links a { width:max-content; font-size:14px; font-weight:600; }
.footer-links a:hover { color:var(--blue); }
.footer-bottom { display:flex; justify-content:space-between; gap:25px; padding-top:24px; color:#85898e; font-size:12px; }
.footer-bottom div { display:flex; gap:20px; }

.toast { position:fixed; z-index:100; left:50%; bottom:28px; transform:translate(-50%,24px); padding:12px 16px; border-radius:999px; background:#111314; color:#fff; font-size:12px; font-weight:600; opacity:0; pointer-events:none; transition:.25s ease; box-shadow:0 12px 30px rgba(0,0,0,.18); }
.toast.is-visible { opacity:1; transform:translate(-50%,0); }

@media (max-width: 1180px) {
  .nav { gap:2px; }
  .nav-link { padding:0 12px; }
  .nav-cta { min-width:136px; }
}

@media (max-width: 1100px) {
  .hero-card { grid-template-columns:1fr; }
  .hero-visual { min-height:620px; }
  .hero-copy { padding:55px 45px 35px; }
  .statement { grid-template-columns:1fr; }
  .statement-copy { grid-column:1; }
  .join { grid-template-columns:1fr; gap:40px; }
  .join-intro { position:static; }
  .footer-main { grid-template-columns:1fr; }
}

@media (max-width: 920px) {
  .nav-shell { padding-right:8px; }
  .nav-cta { display:none; }
}

@media (max-width: 820px) {
  .shell { width:min(calc(100% - 24px), var(--shell)); }
  .topbar { padding-top:8px; }
  .nav-shell { width:min(calc(100% - 24px),var(--shell)); height:60px; padding:7px 8px 7px 18px; }
  .brand { margin-left:6px; }
  .nav-toggle { margin-left:auto; width:44px; height:44px; display:grid; place-content:center; gap:6px; border:1px solid var(--line); border-radius:50%; background:#fff; cursor:pointer; }
  .nav-toggle span:not(.sr-only) { display:block; width:17px; height:1.5px; background:var(--ink); transition:.2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform:translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform:translateY(-3.75px) rotate(-45deg); }
  .nav {
    position:absolute;
    top:68px;
    left:0;
    right:0;
    transform:none;
    display:grid;
    gap:2px;
    padding:8px;
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 18px 50px rgba(20,24,34,.12);
    opacity:0;
    visibility:hidden;
    transition:.2s ease;
  }
  .nav.is-open { opacity:1; visibility:visible; }
  .nav-link, .nav-link--button { justify-content:space-between; width:100%; min-height:48px; padding:0 14px; }
  .nav-item { display:grid; gap:6px; }
  .nav-item::after { display:none; }
  .dropdown-menu {
    position:static;
    top:auto;
    left:auto;
    min-width:0;
    padding:6px;
    border:0;
    border-radius:18px;
    background:#f7f6f1;
    box-shadow:none;
    transform:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    display:none;
  }
  .nav-item.is-open > .dropdown-menu { display:grid; }
  .nav-item:hover > .dropdown-menu,
  .nav-item:focus-within > .dropdown-menu { transform:none; }
  .hero { padding-top:12px; }
  .hero-card { min-height:0; padding:10px; border-radius:30px; }
  .hero-copy { padding:38px 22px 30px; }
  .hero h1 { font-size:clamp(47px,14vw,72px); }
  .hero-copy > p { font-size:16px; }
  .hero-meta { grid-template-columns:1fr; gap:0; margin-top:38px; }
  .hero-meta div { padding:14px 0; grid-template-columns:1fr auto; align-items:center; border-top:1px solid var(--line); }
  .hero-meta div:first-child { border-top:0; }
  .hero-visual { min-height:500px; border-radius:23px; }
  .visual-caption p { font-size:30px; }
  .visual-topline { left:18px; right:18px; top:18px; }
  .visual-caption { left:20px; right:20px; bottom:20px; }
  .statement { padding:100px 8px 95px; row-gap:24px; }
  .statement h2 { font-size:clamp(39px,10vw,58px); }
  .statement-copy { font-size:16px; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .bento { padding-bottom:100px; }
  .bento-grid { grid-template-columns:1fr; grid-auto-rows:340px; }
  .tile--large { grid-row:span 2; }
  .tile--wide { grid-column:1; }
  .join { padding-bottom:100px; }
  .community { width:min(calc(100% - 24px),var(--shell)); }
  .community-card { grid-template-columns:1fr; gap:18px; min-height:500px; padding:34px 28px 0; border-radius:28px; }
  .community-copy { max-width:620px; }
  .community-art { min-height:230px; }
  .community-photo { width:360px; max-width:84vw; height:250px; right:-36px; bottom:-88px; }
  .community-mark { right:230px; top:24px; width:94px; height:94px; border-radius:25px; }
  .community-mark img { width:40px; }
  .community-mini-mark { right:82px; top:32px; width:56px; height:56px; border-radius:16px; }
  .community-mini-mark img { width:39px; }
  .footer-main { padding:55px 0; }
  .footer-links { grid-template-columns:repeat(3,1fr); }
  .footer-bottom { flex-direction:column; }
}

@media (max-width: 560px) {
  .hero-actions { display:grid; }
  .hero-actions .button { width:100%; }
  .hero-visual { min-height:430px; }
  .status-pill { display:none; }
  .visual-caption a { flex-basis:48px; width:48px; height:48px; }
  .tile { padding:22px; border-radius:24px; }
  .tile-content--bottom { left:22px; right:22px; bottom:22px; }
  .tile-content--row { align-items:flex-end; }
  .tile--large { min-height:590px; }
  .wiki-decoration { top:20px; right:22px; width:66px; height:78px; border-radius:16px; }
  .tile--wiki h3 { max-width:78%; }
  .join-card { padding:22px; border-radius:24px; }
  .address-box { grid-template-columns:1fr; align-items:start; }
  .address-box button { margin-top:14px; width:max-content; }
  .footer-links { grid-template-columns:1fr 1fr; row-gap:34px; }
  .community-card { min-height:520px; padding:30px 22px 0; }
  .discord-label { margin-bottom:17px; }
  .community h2 { font-size:38px; }
  .community p { font-size:14px; }
  .button--discord { width:100%; }
  .community-photo { width:300px; height:220px; right:-48px; bottom:-76px; }
  .community-mark { width:78px; height:78px; right:188px; top:36px; border-radius:21px; }
  .community-mark img { width:34px; }
  .community-mini-mark { right:68px; top:40px; width:48px; height:48px; border-radius:14px; }
  .community-mini-mark img { width:33px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
