/* ═══════════════════════════════════════════════════════════════
   SEALED COLLECTOR — "The Seal of Approval · The Harbour Hoard"
   Concept: the seal's harbourside collection house. Cream sky,
   teal sea, amber crates, gold foil seals, deep navy ink.
   Type: Paytone One (display) · Rubik (body) · Sono (labels)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cream: #FAF1DE;
  --cream-deep: #F3E5C8;
  --ink: #14293D;
  --ink-soft: #3A506B;
  --teal: #57BBAE;
  --teal-deep: #2E8F82;
  --teal-drench: #1D7A6E;
  --sea-deep: #14514B;
  --navy: #132A3E;
  --navy-2: #1B3A54;
  --amber: #E8A33D;
  --amber-deep: #C87B22;
  --orange: #DD6B2F;
  --orange-deep: #C4571C;
  --foil: #F0B94B;
  --foil-deep: #B57F17;
  --blurple: #5865F2;
  --white: #FFFDF7;

  --font-display: "Paytone One", "Rubik", sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --font-label: "Sono", monospace;

  --shadow-pop: 0 3px 0 rgba(20, 41, 61, .18);
  --shadow-lift: 0 14px 34px -14px rgba(20, 41, 61, .35);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--navy); }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display);
  font-size: 1.02rem;
  text-decoration: none;
  padding: .78em 1.5em;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 0 var(--ink);
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-blurple { background: var(--blurple); color: #fff; font-size: 1.12rem; }
.btn-mini {
  font-family: var(--font-body); font-weight: 600; font-size: .84rem;
  padding: .5em 1.1em; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--amber); color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-mini:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn-mini:disabled { background: var(--cream-deep); color: var(--ink-soft); cursor: default; box-shadow: 0 2px 0 rgba(20,41,61,.35); }

/* ═══ TAPE TICKER ═══ */
.tape-ticker {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  padding: .44rem 0;
  border-bottom: 2.5px solid var(--ink);
}
.tape-track {
  display: flex; gap: 2.6rem; width: max-content;
  animation: tape-roll 36s linear infinite;
  font-family: var(--font-label);
  font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  white-space: nowrap;
}
.tape-track span { display: inline-flex; }
@keyframes tape-roll { to { transform: translateX(-33.333%); } }

/* ═══ HEADER ═══ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 2rem;
  padding: .7rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 54px; height: 54px; flex: none; }
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.04); }
.brand-word { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.02; display: flex; flex-direction: column; }
.brand-word b { color: var(--amber-deep); letter-spacing: .04em; }
.brand-word i { font-style: normal; color: var(--teal-deep); letter-spacing: .012em; font-size: .92em; }
.site-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .3em 0; border-bottom: 2.5px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav a:hover { border-color: var(--amber); color: var(--teal-drench); }
.nav-colony { color: var(--blurple) !important; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.nav-burger { display: none; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: min(90vh, 880px);
  display: flex;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 0;
  overflow: hidden;
  background: var(--cream);
}
.hero-art { position: absolute; inset: 0; z-index: 1; }
.hero-art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 100%;
  animation: art-breathe 12s ease-in-out infinite alternate;
  transform-origin: 70% 80%;
}
@keyframes art-breathe { to { transform: scale(1.035); } }
.art-bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255, 253, 247, .85);
  border: 2px solid rgba(20, 41, 61, .35);
  opacity: 0;
}
.ab1 { width: 18px; height: 18px; right: 12%; bottom: 30%; animation: bubble 5s ease-in infinite .4s; }
.ab2 { width: 12px; height: 12px; right: 9%; bottom: 26%; animation: bubble 5s ease-in infinite 2s; }
.ab3 { width: 9px; height: 9px; right: 15%; bottom: 22%; animation: bubble 5s ease-in infinite 3.4s; }
@keyframes bubble {
  0% { opacity: 0; transform: translateY(18px); }
  25% { opacity: .85; }
  70% { opacity: .5; }
  100% { opacity: 0; transform: translateY(-70px); }
}
.hero > .wave-front {
  position: absolute; left: -2%; bottom: -2px; width: 104%; height: 90px; z-index: 2;
  animation: swell 9s ease-in-out infinite alternate;
}
.hero > .wave-front path { fill: var(--sea-deep); }
@keyframes swell { to { transform: translateX(-16px) translateY(4px); } }
.hero-sky { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.cloud {
  position: absolute; background: var(--white); border-radius: 999px; opacity: .9;
  box-shadow: 2.2em -0.6em 0 -0.42em var(--white), -2em -0.5em 0 -0.5em var(--white);
}
.c1 { width: 120px; height: 38px; top: 14%; left: 8%; animation: drift 46s linear infinite; }
.c2 { width: 90px; height: 30px; top: 8%; left: 58%; animation: drift 62s linear infinite reverse; }
.c3 { width: 70px; height: 26px; top: 26%; left: 80%; animation: drift 54s linear infinite; }
@keyframes drift { 50% { transform: translateX(6vw); } }
.gull { position: absolute; font-size: 1.5rem; color: var(--ink-soft); opacity: .55; transform: rotate(-6deg); }
.g1 { top: 12%; right: 26%; }
.g2 { top: 20%; right: 14%; font-size: 1.1rem; }

.hero-copy { position: relative; z-index: 3; padding-bottom: clamp(8rem, 18vw, 11rem); max-width: 620px; }
.hero-copy::before {
  content: ""; position: absolute; inset: -3rem -4rem;
  background: radial-gradient(closest-side, rgba(250, 241, 222, .92), rgba(250, 241, 222, .55) 60%, transparent);
  z-index: -1; border-radius: 40px;
  filter: blur(6px);
}
.hero-flag {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-label); font-size: .78rem; letter-spacing: .16em; font-weight: 600;
  text-transform: uppercase;
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  padding: .4em 1em; box-shadow: var(--shadow-pop);
  margin-bottom: 1.3rem;
}
.flag-star { color: var(--foil-deep); }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  margin-bottom: 1.1rem;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal; color: var(--teal-deep); position: relative; display: inline-block;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; bottom: .04em; width: 96%; height: .16em;
  background: var(--amber); border-radius: 999px; z-index: -1;
}
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-facts { display: flex; gap: 2.2rem; list-style: none; }
.hero-facts li { font-size: .88rem; color: var(--ink-soft); display: flex; flex-direction: column; line-height: 1.3; }
.hero-facts b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }

/* ═══ BRAND STRIP ═══ */
.brand-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.4rem;
  background: var(--sea-deep);
  color: var(--cream);
  padding: 1.05rem clamp(1rem, 4vw, 3rem);
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
}
.brand-strip b { color: var(--foil); font-size: .7em; }

/* ═══ SECTION HEADS ═══ */
section { padding: clamp(3.6rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem); }
.section-head { max-width: 760px; margin: 0 auto 2.8rem; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: .7rem; font-size: 1.08rem; }
.demo-note { font-size: .82em; opacity: .75; }

/* ═══ THE HOARD ═══ */
.hoard { background: var(--cream); }
.hoard-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(12, 1fr);
  max-width: 1180px; margin: 0 auto;
}
.hoard-tile {
  position: relative;
  display: flex; flex-direction: column; gap: .5rem;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.5rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 5px 0 var(--ink);
  min-height: 210px;
}
.hoard-tile:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--ink); }
.tile-sealed { grid-column: span 7; background: var(--teal); color: var(--ink); }
.tile-graded { grid-column: span 5; background: var(--navy); color: var(--cream); }
.tile-raw { grid-column: span 5; background: var(--amber); color: var(--ink); }
.tile-protect { grid-column: span 7; background: var(--white); color: var(--ink); }
.hoard-tile h3 { font-size: 1.5rem; }
.hoard-tile p { max-width: 34ch; font-size: .98rem; opacity: .88; }
.tile-tag {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--font-label); font-size: .64rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  border-radius: 999px; padding: .35em .9em;
}
.tile-go { margin-top: auto; font-weight: 700; font-size: .95rem; }
.tile-art { position: absolute; right: 1.2rem; bottom: 1rem; display: flex; gap: .4rem; align-items: flex-end; }
.stack-crate {
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 8px;
  background: var(--amber); color: var(--ink);
  box-shadow: inset 0 6px 0 rgba(255, 255, 255, .3);
  font-size: .7rem;
}
.s1 { width: 44px; height: 38px; }
.s2 { width: 58px; height: 48px; background: var(--foil); }
.s3 { width: 38px; height: 30px; background: var(--cream); }
.tile-art.slab { right: 1.4rem; bottom: -0.6rem; }
.slab-card {
  display: block; width: 74px; height: 100px;
  background: linear-gradient(160deg, #E7F2EF, #BFD9D3);
  border: 2.5px solid var(--ink); border-radius: 8px;
  position: relative; transform: rotate(6deg);
}
.slab-card i {
  position: absolute; top: 6px; left: 6px; right: 6px;
  background: var(--foil); border: 1.5px solid var(--ink); border-radius: 4px;
  font-style: normal; font-family: var(--font-display); font-size: .78rem;
  text-align: center; color: var(--ink);
}

/* ═══ ARRIVALS ═══ */
.arrivals { background: var(--cream-deep); border-top: 2.5px solid var(--ink); }
.product-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 1.2rem;
  max-width: 1240px; margin: 0 auto 2.2rem;
}
.product-card {
  position: relative;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.15rem;
  display: flex; flex-direction: column; gap: .45rem;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--ink); }
/* shrink-wrap gloss sweep */
.product-card::after {
  content: ""; position: absolute; top: -20%; left: -80%; width: 55%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.product-card:hover::after { left: 130%; }
.p-seal {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  font-family: var(--font-label); font-size: .6rem; font-weight: 600; letter-spacing: .12em;
  background: radial-gradient(circle at 35% 30%, #FFDD8A, #E0A62F);
  border: 1.5px solid var(--foil-deep);
  color: var(--ink);
  border-radius: 999px; padding: .4em .85em;
  box-shadow: var(--shadow-pop);
}
.p-seal.sold { background: var(--navy); color: var(--cream); border-color: var(--ink); }
.p-img {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: var(--cream);
  display: grid; place-items: center;
  border: 1.5px solid rgba(20, 41, 61, .12);
}
.p-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.is-out .p-img img { filter: saturate(.35) opacity(.7); }
.product-card h3 { font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.p-meta { font-size: .8rem; color: var(--ink-soft); }
.p-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .5rem; }
.p-price { font-family: var(--font-display); font-size: 1.18rem; }
.arrivals-more { text-align: center; }

/* ═══ SEAL OF APPROVAL ═══ */
.approval {
  background: var(--navy);
  color: var(--cream);
  border-top: 2.5px solid var(--ink);
  position: relative;
}
.approval-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); }
.approval-head { align-self: start; }
.big-seal { display: block; width: clamp(110px, 12vw, 150px); margin-bottom: 1.4rem; animation: seal-spin 26s linear infinite; }
.big-seal svg { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
@keyframes seal-spin { to { transform: rotate(360deg); } }
.approval-head h2 { color: var(--foil); margin-bottom: 1rem; }
.approval-lede { color: #C8D6E2; font-size: 1.05rem; max-width: 42ch; }
.approval-lede b { color: var(--cream); }

.checks { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.check {
  border: 2px solid rgba(250, 241, 222, .25);
  border-radius: 14px;
  background: var(--navy-2);
  overflow: hidden;
  transition: border-color .2s ease;
}
.check[data-open="true"] { border-color: var(--foil); }
.check-btn {
  width: 100%;
  display: flex; align-items: center; gap: 1.1rem;
  background: none; border: none; color: inherit;
  padding: 1.05rem 1.3rem;
  text-align: left;
}
.stamp {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFDD8A, #D89A26);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  border: 2px dashed rgba(20, 41, 61, .55);
  transform: rotate(-8deg) scale(0);
  transition: transform .45s cubic-bezier(.2, 1.6, .4, 1);
}
html:not(.js) .stamp, .check.stamped .stamp { transform: rotate(-8deg) scale(1); }
.check-title { font-family: var(--font-display); font-size: clamp(1.05rem, 1.9vw, 1.3rem); }
.check-hint {
  margin-left: auto;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--foil);
  transition: transform .25s ease;
}
.check[data-open="true"] .check-hint { transform: rotate(45deg); }
.check-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.check[data-open="true"] .check-body { grid-template-rows: 1fr; }
.check-body > p {
  overflow: hidden;
  color: #C8D6E2;
  padding: 0 1.3rem;
  font-size: .98rem;
}
.check[data-open="true"] .check-body > p { padding-bottom: 1.2rem; }
html:not(.js) .check-body { grid-template-rows: 1fr; }
html:not(.js) .check-body > p { padding-bottom: 1.2rem; }

.spot-guide {
  grid-column: 1 / -1;
  margin-top: 1.6rem;
  background: var(--cream);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .35);
}
.spot-guide h3 { font-size: 1.3rem; margin-bottom: .9rem; }
.spot-guide ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.spot-guide li { padding-left: 1.5em; position: relative; }
.spot-guide li::before { content: "★"; position: absolute; left: 0; color: var(--foil-deep); }
.spot-close { margin-top: 1rem; font-style: italic; color: var(--ink-soft); }

/* ═══ LIVE ON TILT ═══ */
.live { background: var(--cream); }
.live-card {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 0 6px 0 var(--ink);
}
.live-dot {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  background: #E23B3B; margin-bottom: 1rem;
  box-shadow: 0 0 0 0 rgba(226, 59, 59, .5);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse { 70% { box-shadow: 0 0 0 14px rgba(226, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 59, 59, 0); } }
.live-left h2 { margin-bottom: .8rem; }
.live-left p { color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.6rem; }
.live-screen {
  position: relative;
  aspect-ratio: 4 / 5; max-width: 300px; margin: 0 auto;
  border-radius: 18px;
  border: 2.5px solid var(--ink);
  background:
    radial-gradient(120% 90% at 50% 8%, #2E8F82 0%, #14514B 70%),
    var(--sea-deep);
  padding: 1rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lift);
}
.live-badge {
  align-self: flex-start;
  font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  background: #E23B3B; color: #fff; border-radius: 6px; padding: .3em .7em;
}
.live-title { margin-top: auto; color: var(--cream); font-weight: 600; font-size: .95rem; padding-bottom: .8rem; }
.live-bars { display: flex; gap: 5px; align-items: flex-end; height: 34px; }
.live-bars i { width: 7px; background: var(--foil); border-radius: 4px 4px 0 0; animation: eq 1.1s ease-in-out infinite; }
.live-bars i:nth-child(1) { height: 40%; }
.live-bars i:nth-child(2) { height: 85%; animation-delay: .12s; }
.live-bars i:nth-child(3) { height: 55%; animation-delay: .28s; }
.live-bars i:nth-child(4) { height: 95%; animation-delay: .4s; }
.live-bars i:nth-child(5) { height: 60%; animation-delay: .55s; }
@keyframes eq { 50% { transform: scaleY(.45); } }

/* ═══ EVENTS ═══ */
.events { background: var(--cream-deep); border-top: 2.5px solid var(--ink); }
.event-rows { list-style: none; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; }
.event-row {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem);
  padding: 1.5rem .4rem;
  border-bottom: 2px dashed rgba(20, 41, 61, .3);
}
.event-row:first-child { border-top: 2px dashed rgba(20, 41, 61, .3); }
.ev-date {
  flex: none; width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop);
  text-align: center; line-height: 1.05;
}
.ev-date b { font-family: var(--font-display); font-size: 1.02rem; color: var(--teal-drench); }
.ev-date i { font-style: normal; font-size: .78rem; color: var(--ink-soft); }
.ev-info h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.ev-info p { color: var(--ink-soft); font-size: .96rem; max-width: 52ch; }
.ev-tag {
  margin-left: auto; flex: none;
  font-family: var(--font-label); font-size: .64rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase;
  background: var(--teal); border: 2px solid var(--ink); border-radius: 999px;
  padding: .4em 1em; color: var(--ink);
}
.events-follow { text-align: center; margin-top: 2rem; color: var(--ink-soft); }
.events-follow a { font-weight: 700; color: var(--teal-drench); }

/* ═══ THE COLONY (Discord) ═══ */
.colony {
  background:
    radial-gradient(90% 70% at 85% 10%, #2A3B8F 0%, transparent 60%),
    var(--blurple);
  color: #fff;
  border-top: 2.5px solid var(--ink);
}
.colony-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.colony-kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-label); font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase;
  color: #C9D1FF;
  margin-bottom: 1rem;
}
.colony h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; }
.colony-lede { color: #DDE2FF; font-size: 1.12rem; max-width: 46ch; margin-bottom: 1.5rem; }
.colony-perks { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.9rem; }
.colony-perks li { padding-left: 1.7em; position: relative; color: #DDE2FF; font-size: .99rem; }
.colony-perks li::before { content: "🦭"; position: absolute; left: 0; font-size: .95em; }
.colony-perks b { color: #fff; }
.btn-blurple { border-color: var(--ink); background: #fff; color: var(--blurple); }
.colony-count { margin-top: 1.1rem; font-size: .95rem; color: #C9D1FF; display: flex; align-items: center; gap: .55em; }
.colony-count b { color: #fff; font-size: 1.05em; }
.online-dot {
  width: 11px; height: 11px; border-radius: 50%; background: #3BA55D;
  box-shadow: 0 0 0 0 rgba(59, 165, 93, .55);
  animation: live-pulse 2s ease-out infinite;
}

.colony-panel {
  background: #313338;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .55);
  font-size: .92rem;
  transform: rotate(1.2deg);
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem 1.1rem;
  background: #1E1F22;
  color: #DBDEE1;
  font-weight: 600;
}
.panel-online { display: inline-flex; align-items: center; gap: .45em; font-size: .8rem; color: #B5BAC1; }
.panel-online i { width: 9px; height: 9px; border-radius: 50%; background: #3BA55D; }
.panel-chat { padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .85rem; }
.chat-msg { display: flex; gap: .7rem; align-items: flex-start; }
.chat-msg b { color: #F2F3F5; font-size: .86rem; font-weight: 600; }
.chat-msg p { color: #DBDEE1; font-size: .88rem; line-height: 1.45; }
.av {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .82rem; color: var(--ink);
  border: 2px solid rgba(0, 0, 0, .3);
  font-style: normal;
}
.av1 { background: var(--teal); }
.av2 { background: var(--amber); }
.av3 { background: var(--foil); }
.av4 { background: #F2A973; }
.av5 { background: #9BB8E8; }
.av6 { background: #C8A2E0; }
.role {
  font-style: normal; font-size: .62rem; font-weight: 700;
  border-radius: 5px; padding: .12em .5em; margin-left: .45em;
  letter-spacing: .04em; vertical-align: middle;
}
.role-elder { background: rgba(240, 185, 75, .22); color: #F0B94B; }
.role-collector { background: rgba(87, 187, 174, .2); color: #57BBAE; }
.role-staff { background: rgba(226, 59, 59, .22); color: #FF8B8B; }
.role-pup { background: rgba(155, 184, 232, .22); color: #9BB8E8; }
.chat-attach {
  background: #2B2D31; border: 1px solid #3F4147; border-radius: 6px;
  padding: .1em .55em; font-size: .82em; color: #9BB8E8;
}
.panel-members {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: .9rem 1.1rem 1.1rem;
  background: #2B2D31;
  border-top: 1px solid #1E1F22;
}
.member {
  display: inline-flex; align-items: center; gap: .45em;
  background: #313338; border: 1px solid #3F4147; border-radius: 999px;
  padding: .28em .8em .28em .3em;
  color: #DBDEE1; font-size: .78rem; font-weight: 500;
}
.member .av { width: 22px; height: 22px; font-size: .6rem; border-width: 1.5px; }
.member.more { padding: .28em .9em; color: #B5BAC1; }

/* ═══ LOGBOOK ═══ */
.logbook { background: var(--cream); }
.log-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem; max-width: 1180px; margin: 0 auto;
}
.log-card {
  text-decoration: none;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: .5rem;
}
.log-card:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--ink); }
.log-no { font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: var(--amber-deep); }
.log-card h3 { font-size: 1.18rem; }
.log-card p { color: var(--ink-soft); font-size: .93rem; }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--navy); color: var(--cream); position: relative; padding-top: 0; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 52px; }
.footer-wave path { fill: var(--cream); }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: 3.4rem clamp(1rem, 4vw, 3rem) 2.4rem;
}
.footer-badge { border-radius: 50%; }
.footer-word { font-family: var(--font-display); font-size: 1.25rem; margin-top: .8rem; }
.footer-word b { color: var(--foil); }
.footer-word i { font-style: normal; color: var(--teal); }
.footer-line { color: #A9BACB; font-size: .95rem; margin-top: .5rem; max-width: 34ch; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; }
.footer-nav a, .footer-social a {
  color: #C8D6E2; text-decoration: none; font-size: .98rem;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.footer-nav a:hover, .footer-social a:hover { color: var(--foil); border-color: var(--foil); }
.footer-legal {
  text-align: center; padding: 1.4rem 1rem 2rem;
  color: #7E93A8; font-size: .8rem;
  border-top: 1px solid rgba(250, 241, 222, .12);
  max-width: 900px; margin: 0 auto;
}

/* ═══ REVEAL ANIMATIONS (JS-gated so no-JS users see everything) ═══ */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .stamp { transform: rotate(-8deg) scale(1); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1080px) {
  .approval-inner { grid-template-columns: 1fr; }
  .colony-inner { grid-template-columns: 1fr; }
  .colony-panel { transform: none; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; align-items: center;
    background: var(--white); border: 2.5px solid var(--ink); border-radius: 12px;
    box-shadow: 0 3px 0 var(--ink);
  }
  .nav-burger span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 2.5px solid var(--ink);
    padding: .6rem clamp(1rem, 4vw, 3rem) 1rem;
  }
  .site-nav.open a { padding: .8em 0; border-bottom: 1px solid rgba(20, 41, 61, .12); font-size: 1.05rem; }

  .hero { min-height: 0; flex-direction: column; padding-bottom: 0; }
  .hero-copy { padding-bottom: 2rem; }
  .hero-art { position: relative; inset: auto; width: calc(100% + 2 * clamp(1rem, 4vw, 3rem)); margin: 0 calc(-1 * clamp(1rem, 4vw, 3rem)); height: clamp(260px, 62vw, 420px); }
  .hero-art img { object-position: 62% 78%; }
  .hero-copy::before { inset: -1.5rem -2rem; }
  .hoard-grid { grid-template-columns: 1fr; }
  .hoard-tile { grid-column: auto !important; min-height: 0; }
  .hero-facts { flex-wrap: wrap; }
  .live-card { grid-template-columns: 1fr; }
  .event-row { flex-wrap: wrap; }
  .ev-tag { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .brand-word { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero-facts { gap: 1.4rem; }
  .btn-blurple { font-size: 1rem; }
  .check-btn { gap: .8rem; padding: .95rem 1rem; }
  .stamp { width: 44px; height: 44px; font-size: .9rem; }
  .spot-guide { padding: 1.4rem 1.2rem; }
}
