:root {
  --bg: #060f0a;
  --bg-2: #0b1f14;
  --panel: rgba(9, 24, 16, 0.93);
  --panel-2: rgba(14, 34, 22, 0.96);
  --line: rgba(126, 255, 90, 0.45);
  --line-hot: rgba(255, 106, 46, 0.78);
  --ink: #020611;
  --ink-soft: rgba(3, 8, 20, 0.9);
  --text: #f6f8ff;
  --muted: #c2d8c6;
  --accent: #ff622c;
  --accent-2: #95ff3e;
  --ok: #a9ff75;
  --shadow: 0 22px 44px rgba(2, 4, 12, 0.62);
  --panel-shadow: 0 0 0 2px rgba(1, 6, 15, 0.82), 0 20px 32px rgba(0, 0, 0, 0.45);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 106, 46, 0.2) 0%, transparent 34%),
    radial-gradient(circle at 86% 9%, rgba(149, 255, 62, 0.2) 0%, transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(44, 82, 25, 0.25) 0%, transparent 62%),
    linear-gradient(180deg, #040a07 0%, #07190f 52%, #0b2415 100%);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
}

.bg-noise,
.bg-halftone,
.bg-glow,
.bg-reef,
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-noise {
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.8px, transparent 0.8px);
  background-size: 3px 3px;
}

.bg-halftone {
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(149, 255, 62, 0.58) 1px, transparent 1px),
    radial-gradient(circle at 70% 68%, rgba(255, 106, 46, 0.4) 1px, transparent 1px);
  background-size: 8px 8px, 10px 10px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 88%, transparent);
}

.bg-glow {
  width: 46vw;
  height: 46vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  filter: blur(95px);
}

.bg-glow--left {
  left: -18vw;
  top: -22vw;
  background: rgba(255, 106, 46, 0.22);
}

.bg-glow--right {
  left: auto;
  right: -16vw;
  top: -20vw;
  background: rgba(149, 255, 62, 0.2);
}

.bg-reef {
  z-index: 0;
  opacity: 0.5;
  background-repeat: no-repeat;
  background-position: bottom center;
}

.bg-reef--far {
  background-image:
    radial-gradient(ellipse at bottom, rgba(8, 26, 58, 0.72) 0%, rgba(8, 26, 58, 0) 66%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 56%, rgba(6, 17, 38, 0.78) 100%);
  transform: translate3d(0, 0, 0) scale(1.02);
  animation: reefDriftFar 28s ease-in-out infinite alternate;
}

.bg-reef--near {
  opacity: 0.38;
  background-image:
    radial-gradient(ellipse at 24% 100%, rgba(255, 106, 46, 0.26) 0%, rgba(255, 106, 46, 0) 54%),
    radial-gradient(ellipse at 72% 100%, rgba(149, 255, 62, 0.28) 0%, rgba(149, 255, 62, 0) 56%);
  transform: translate3d(0, 0, 0) scale(1.04);
  animation: reefDriftNear 18s ease-in-out infinite alternate;
}

.bg-grain {
  z-index: 1;
  opacity: 0.1;
  background-image: repeating-radial-gradient(
    circle at 0 0,
    rgba(255, 255, 255, 0.22) 0,
    rgba(255, 255, 255, 0.22) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: soft-light;
}

.layout,
.gallery-section {
  position: relative;
  z-index: 2;
}

.project-contract {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 12px auto 0;
  min-height: clamp(620px, 44vw, 760px);
  padding: 22px 22px 24px;
  border: 2px solid rgba(255, 120, 92, 0.52);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(5, 12, 6, 0.1), rgba(5, 12, 6, 0.72)),
    url("/assets/cleawbeach.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: var(--panel-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.project-contract::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 110, 78, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(18, 6, 6, 0.28), rgba(10, 4, 4, 0.9));
  pointer-events: none;
}

.project-contract > * {
  position: relative;
  z-index: 1;
}

.project-contract__copy {
  max-width: 860px;
}

.project-contract__copy h3 {
  margin: 0 0 6px;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 2.9vw, 2.8rem);
  letter-spacing: 0.05em;
  color: #fff3ef;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.project-contract__copy p {
  margin: 0;
  color: #ffe7dd;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.project-contract__ca {
  width: min(1240px, 100%);
  align-self: center;
  margin-top: auto;
  text-align: center;
  border: 1px solid rgba(255, 152, 126, 0.8);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(28, 8, 8, 0.76), rgba(18, 6, 6, 0.84));
  color: #f4ffe9;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.project-contract__ca:hover:not(:disabled) {
  border-color: rgba(255, 184, 160, 0.95);
  transform: translateY(-2px);
  background: linear-gradient(145deg, rgba(36, 10, 10, 0.82), rgba(22, 7, 7, 0.88));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.project-contract__ca:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.project-contract__caLabel {
  color: #ffd3c2;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.project-contract__caValue {
  font-family: "IBM Plex Mono", "PT Mono", monospace;
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.2;
  color: #f9fff1;
  font-weight: 700;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.eligibility-banner {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 12px auto 0;
  min-height: clamp(460px, 34vw, 620px);
  padding: 22px;
  border: 2px solid rgba(255, 120, 92, 0.56);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(7, 5, 5, 0.12), rgba(7, 5, 5, 0.8)),
    url("/assets/clawgraffiti.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 460px);
  gap: 16px;
  align-items: end;
}

.eligibility-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 32%, rgba(255, 125, 74, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(16, 6, 6, 0.2), rgba(8, 4, 4, 0.9));
  pointer-events: none;
}

.eligibility-banner > * {
  position: relative;
  z-index: 1;
}

.eligibility-banner__copy h3 {
  margin: 0 0 8px;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 2.9vw, 3rem);
  letter-spacing: 0.05em;
  color: #fff4ef;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.62);
}

.eligibility-banner__copy p {
  margin: 0;
  color: #ffe7dc;
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  line-height: 1.5;
  max-width: 980px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.56);
}

.eligibility-banner__amountWrap {
  justify-self: end;
  width: 100%;
  border: 1px solid rgba(255, 166, 130, 0.84);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(35, 10, 10, 0.78), rgba(21, 6, 6, 0.86));
  padding: 14px 16px;
  backdrop-filter: blur(2px);
  display: grid;
  gap: 8px;
}

.eligibility-banner__label {
  margin: 0;
  color: #ffd3c3;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}

.eligibility-banner__amount {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  color: #fff6f2;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.58);
}

.copy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2200;
  max-width: min(520px, calc(100vw - 36px));
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.96rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 120ms ease, transform 120ms ease;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast.is-success {
  color: #113310;
  border: 1px solid rgba(126, 255, 90, 0.8);
  background: linear-gradient(180deg, rgba(227, 255, 205, 0.98), rgba(205, 245, 179, 0.98));
}

.copy-toast.is-error {
  color: #3f1307;
  border: 1px solid rgba(255, 140, 88, 0.8);
  background: linear-gradient(180deg, rgba(255, 229, 214, 0.98), rgba(255, 205, 179, 0.98));
}

.site-hero {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 14px auto 0;
  border: 2px solid rgba(126, 255, 90, 0.34);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
  background: linear-gradient(180deg, rgba(9, 24, 16, 0.96), rgba(11, 29, 19, 0.96));
}

.site-hero__imageWrap {
  position: relative;
  min-height: 430px;
  max-height: 580px;
}

.site-hero__image {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center 34%;
  display: block;
  filter: saturate(1.06) contrast(1.08);
}

.site-hero__imageWrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(149, 255, 62, 0.25), transparent 45%),
    linear-gradient(180deg, rgba(8, 24, 10, 0.12), rgba(8, 24, 10, 0.8));
  pointer-events: none;
}

.site-hero__overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.site-hero__copy {
  display: grid;
  gap: 8px;
  align-content: end;
  order: 2;
  justify-self: end;
  text-align: right;
}

.site-hero__title {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: 2.9rem;
  letter-spacing: 0.04em;
  color: #f9fff2;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.site-hero__title a {
  color: #ffd9cf;
  text-decoration: underline;
  text-decoration-color: rgba(255, 149, 112, 0.9);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.site-hero__title a:hover {
  color: #ffe9e2;
}

.site-hero__statsPanel {
  width: 100%;
  order: 1;
  justify-self: start;
}

.site-hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.site-hero__stat {
  border: 1px solid rgba(171, 255, 136, 0.42);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(8, 20, 10, 0.8), rgba(10, 28, 13, 0.82));
  padding: 11px 12px;
  display: grid;
  gap: 6px;
}

.site-hero__statLabel {
  color: #c7e9c4;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.site-hero__statValue {
  color: #f3ffe7;
  font-size: 2rem;
  line-height: 1.1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(165, 255, 139, 0.2);
  backdrop-filter: blur(10px);
  background:
    linear-gradient(180deg, rgba(6, 15, 10, 0.96) 0%, rgba(5, 12, 9, 0.9) 100%);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 106, 46, 0.55), rgba(149, 255, 62, 0.55));
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand:visited {
  color: inherit;
}

.brand__logo {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(149, 255, 62, 0.65);
  box-shadow: 0 0 0 2px rgba(13, 31, 14, 0.82), 0 0 26px rgba(149, 255, 62, 0.28);
}

.brand h1 {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: 3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6fff1;
  text-shadow: 0 2px 10px rgba(149, 255, 62, 0.2);
}

.brand p {
  margin: 0;
  font-size: 1rem;
  color: #c6f7aa;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar__status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar__status--error {
  color: #ff9fae;
}

.layout {
  max-width: 1640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 20px 12px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 30, 19, 0.96), rgba(8, 20, 14, 0.97));
  box-shadow: var(--panel-shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.14) 0%, transparent 34%),
    linear-gradient(330deg, rgba(149, 255, 62, 0.14) 0%, transparent 30%);
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: radial-gradient(circle, rgba(176, 255, 120, 0.45) 1px, transparent 1px);
  background-size: 10px 10px;
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 100%);
}

.hero__imageWrap {
  position: relative;
  min-height: 500px;
  background: linear-gradient(120deg, rgba(30, 95, 26, 0.54), rgba(196, 74, 29, 0.36));
}

.hero__imageWrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0) 0%, rgba(3, 8, 20, 0.84) 100%);
  pointer-events: none;
}

.hero__imageWrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__meta {
  position: relative;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.hero__meta::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(167, 255, 131, 0.26);
  border-radius: 12px;
  pointer-events: none;
}

.eyebrow {
  position: relative;
  width: fit-content;
  margin: 0;
  padding: 6px 11px;
  color: #e9ffd7;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  border: 1px solid rgba(149, 255, 62, 0.7);
  border-radius: 999px;
  background: rgba(10, 28, 11, 0.84);
}

.hero h2 {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: 2.9rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(2, 7, 18, 0.9);
}

.hero .meta,
.hero .description {
  margin: 0;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.45;
}

.agent-note {
  margin: 0;
  color: #ecf5ff;
  font-size: 1.65rem;
  line-height: 1.48;
  border-left: 4px solid rgba(255, 106, 46, 0.72);
  padding-left: 10px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(153, 255, 110, 0.36);
  background: rgba(9, 21, 12, 0.82);
  color: #ecffda;
  font-size: 0.96rem;
  font-weight: 600;
}

.gallery-section {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 20px 24px;
  border: 2px solid rgba(126, 255, 90, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(10, 24, 16, 0.9), rgba(8, 18, 12, 0.9));
  box-shadow: var(--panel-shadow);
}

.gallery-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 12px 0;
}

.gallery-section h3 {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: 1.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ebffdc;
  text-shadow: 2px 2px 0 rgba(2, 8, 20, 0.84);
}

.gallery-section__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.gallery-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

#pageIndicator {
  font-size: 0.84rem;
  color: #e3ffd2;
  letter-spacing: 0.05em;
}

.button {
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(168, 255, 137, 0.44);
  background: linear-gradient(180deg, rgba(17, 40, 20, 0.92), rgba(9, 23, 12, 0.94));
  color: var(--text);
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--line-hot);
}

.button:disabled {
  opacity: 0.5;
  cursor: default;
}

.button--ghost {
  min-width: 68px;
}

.gallery-grid {
  margin-top: 12px;
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 12px;
}

.roadmap-section {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 18px auto 18px;
  padding: 16px 16px 18px;
  border: 2px solid rgba(168, 255, 137, 0.36);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(10, 22, 14, 0.9), rgba(8, 16, 10, 0.92));
  box-shadow: var(--panel-shadow);
}

.roadmap-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.roadmap-section__head h3 {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecffdf;
}

.roadmap-section__head p {
  margin: 0;
  color: #c5dbbf;
  font-size: 1.2rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.roadmap-card {
  border: 1px solid rgba(171, 255, 136, 0.34);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(10, 24, 14, 0.86), rgba(9, 20, 12, 0.88));
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.roadmap-card__phase {
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(171, 255, 136, 0.62);
  background: rgba(11, 32, 14, 0.84);
  color: #edffd9;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
}

.roadmap-card h4 {
  margin: 0 0 8px;
  color: #f6ffe9;
  font-size: 1.7rem;
  line-height: 1.25;
}

.roadmap-card__list {
  margin: 0;
  padding-left: 18px;
  color: #c5dbbf;
  font-size: 1.24rem;
  line-height: 1.45;
}

.roadmap-card__list li + li {
  margin-top: 7px;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  border-top: 1px solid rgba(34, 57, 28, 0.2);
  background:
    linear-gradient(180deg, rgba(245, 255, 240, 0.96) 0%, rgba(228, 248, 220, 0.96) 100%);
  color: #173015;
}

.site-footer__inner {
  max-width: 1640px;
  margin: 0 auto;
  padding: 16px 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__brand {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(23, 48, 21, 0.86);
}

.card {
  position: relative;
  border: 2px solid rgba(167, 255, 127, 0.5);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(17, 35, 20, 0.94), rgba(9, 20, 12, 0.96)) padding-box,
    linear-gradient(145deg, rgba(149, 255, 62, 0.88), rgba(255, 106, 46, 0.86)) border-box;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(5, 9, 20, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateZ(0);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 45% 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 12%,
    rgba(255, 255, 255, 0.16) 38%,
    rgba(255, 255, 255, 0) 52%
  );
  opacity: 0.24;
}

.card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(176, 255, 127, 0.26);
  border-radius: 10px;
  pointer-events: none;
}

.card:hover {
  box-shadow: 0 18px 32px rgba(5, 9, 20, 0.72), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transform: translateY(-4px) rotate(-0.3deg);
}

.card:focus-visible {
  outline: 2px solid rgba(149, 255, 62, 0.9);
  outline-offset: 2px;
}

.card__art {
  position: relative;
  margin: 8px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(167, 255, 127, 0.35);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #102715, #2f5a1f);
  filter: saturate(1.08) contrast(1.04);
}

.card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(165, 255, 118, 0.72);
  background: rgba(11, 30, 13, 0.84);
  color: #ebffd8;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__body {
  padding: 5px 10px 11px;
  display: grid;
  gap: 6px;
}

.card__set {
  margin: 0;
  color: #c9ffac;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.card__title {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.25;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.card__source {
  color: #9affd4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.65rem;
  font-weight: 800;
}

.card__time {
  color: #d6e6c8;
  font-size: 0.68rem;
  white-space: nowrap;
}

.lightbox {
  border: none;
  padding: 0;
  width: min(1260px, calc(100vw - 22px));
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(2, 4, 10, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox__content {
  position: relative;
  border: 2px solid rgba(165, 255, 116, 0.52);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
  background: linear-gradient(160deg, rgba(10, 24, 14, 0.98), rgba(8, 18, 12, 0.97));
  box-shadow: var(--panel-shadow);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 1px solid rgba(168, 255, 137, 0.56);
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.84);
  color: var(--text);
  padding: 9px 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox__image-wrap {
  min-height: 420px;
  background: #050915;
}

.lightbox__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox__meta {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.lightbox__meta .eyebrow {
  font-size: 1.12rem;
}

.lightbox__meta h4 {
  margin: 0;
  font-family: "Bangers", "Space Grotesk", sans-serif;
  font-size: 2.45rem;
  letter-spacing: 0.05em;
  line-height: 1.08;
  text-shadow: 2px 2px 0 rgba(2, 7, 18, 0.9);
}

.lightbox__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.42rem;
  line-height: 1.5;
}

.lightbox__prompt {
  border-left: 3px solid rgba(149, 255, 62, 0.72);
  padding-left: 12px;
  color: #edffd9;
}

.lightbox__log {
  border: 1px solid rgba(171, 255, 136, 0.3);
  border-radius: 11px;
  background: rgba(8, 20, 11, 0.82);
  padding: 12px;
  white-space: pre-wrap;
}

.lightbox__meta a {
  color: var(--accent-2);
  font-size: 1.34rem;
}

.empty-state {
  border: 1px dashed rgba(168, 255, 137, 0.34);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
  background: rgba(8, 18, 12, 0.55);
}

@keyframes reefDriftFar {
  0% {
    transform: translate3d(-1.5%, 0, 0) scale(1.02);
  }
  100% {
    transform: translate3d(1.5%, -1%, 0) scale(1.04);
  }
}

@keyframes reefDriftNear {
  0% {
    transform: translate3d(1%, 0, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-1.2%, -1.2%, 0) scale(1.07);
  }
}

@media (max-width: 1180px) {
  .project-contract {
    min-height: 520px;
    padding: 16px 16px 18px;
  }

  .project-contract__copy h3 {
    font-size: 1.7rem;
  }

  .project-contract__copy p {
    font-size: 1.02rem;
  }

  .project-contract__ca {
    padding: 14px 12px;
  }

  .project-contract__caLabel {
    font-size: 0.84rem;
  }

  .project-contract__caValue {
    font-size: 1.06rem;
    line-height: 1.35;
  }

  .eligibility-banner {
    min-height: 380px;
    padding: 14px;
    grid-template-columns: 1fr;
    align-items: end;
  }

  .eligibility-banner__amountWrap {
    justify-self: start;
    width: min(560px, 100%);
  }

  .eligibility-banner__copy h3 {
    font-size: 1.8rem;
  }

  .eligibility-banner__copy p {
    font-size: 1.02rem;
  }

  .eligibility-banner__amount {
    font-size: 1.7rem;
  }

  .site-hero {
    margin-top: 10px;
  }

  .site-hero__imageWrap {
    min-height: 340px;
  }

  .site-hero__title {
    font-size: 2rem;
  }

  .site-hero__overlay {
    inset: auto 14px 14px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-hero__statsPanel {
    width: min(360px, 100%);
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__imageWrap {
    min-height: 340px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .hero .meta,
  .hero .description,
  .agent-note {
    font-size: 1.12rem;
  }

  .lightbox__content {
    grid-template-columns: 1fr;
  }

  .lightbox__meta h4 {
    font-size: 2rem;
  }

  .lightbox__meta p {
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .button {
    transition: none;
  }

  .bg-reef--far,
  .bg-reef--near {
    animation: none;
  }
}
