.hero {
  background-image: linear-gradient(90deg, rgba(6,8,9,.97) 0%, rgba(6,8,9,.82) 38%, rgba(6,8,9,.06) 75%), url('assets/hero-chef.webp');
}

.token-sign {
  display: flex;
  align-items: center;
  gap: 15px;
}

.token-sign img {
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(245,165,36,.22);
}

.token-sign p { margin: 0; }
.token-sign-small { margin-bottom: 26px; }

.brand-token {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,165,36,.48);
  box-shadow: 0 0 24px rgba(245,165,36,.16);
  object-fit: cover;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.token-price {
  min-width: 154px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,13,14,.58);
  backdrop-filter: blur(12px);
  transition: border-color .2s, background .2s;
}

.token-price:hover { border-color: rgba(245,165,36,.65); background: rgba(24,20,14,.78); }
.price-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: price-pulse 2s infinite; }
.token-price.offline .price-dot { background: #777; box-shadow: none; animation: none; }
.price-copy { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; line-height: 1.1; }
.price-copy small { grid-column: 1 / -1; color: #777a77; font: 500 .52rem 'DM Mono'; letter-spacing: .12em; margin-bottom: 3px; }
.price-copy strong { color: var(--cream); font: 500 .78rem 'DM Mono'; white-space: nowrap; }
.price-copy em { color: #767874; font: 400 .5rem 'DM Mono'; font-style: normal; white-space: nowrap; }
@keyframes price-pulse { 50% { opacity: .45; transform: scale(.75); } }

.why-bad {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 55%, rgba(245,165,36,.12), transparent 35%), #0a0c0d;
}

.why-bad::before {
  content: "$BAD";
  position: absolute;
  top: 70px;
  right: -25px;
  color: rgba(255,255,255,.018);
  font-size: clamp(10rem, 24vw, 28rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}

.why-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .7fr);
  align-items: end;
  gap: 7vw;
  margin-bottom: 70px;
}

.why-hero h2 { margin: 12px 0 0; font-size: clamp(3rem, 5.7vw, 6.2rem); }
.why-lead { padding-bottom: 10px; }
.why-lead p { color: #b8b7af; font-size: 1.04rem; margin: 0 0 28px; }

.thesis-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.thesis-card { padding: 34px 30px 38px; background: #101315; }
.thesis-card span { color: var(--amber); font: 500 .62rem 'DM Mono'; }
.thesis-card strong { display: block; margin: 42px 0 16px; font-size: 1.25rem; line-height: 1.25; }
.thesis-card p { margin: 0; color: var(--muted); font-size: .86rem; }

.conviction-strip {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid #5d4525;
  background: linear-gradient(100deg, #24190d, #111313 70%);
}

.conviction-strip img { border-radius: 50%; box-shadow: 0 0 35px rgba(245,165,36,.22); }
.conviction-strip small { display: block; color: var(--amber); font: 500 .6rem 'DM Mono'; letter-spacing: .16em; margin-bottom: 6px; }
.conviction-strip strong { font-size: clamp(1rem, 2vw, 1.55rem); }
.conviction-strip > span { color: rgba(245,165,36,.22); font-size: clamp(3rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.08em; }

.investment-warning {
  max-width: 920px;
  margin: 26px 0 0;
  color: #777873;
  font: 400 .62rem/1.7 'DM Mono';
}

.investment-warning b { color: #c9a05e; font-weight: 500; }

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project {
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  justify-content: flex-start;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.project-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #151515;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,11,12,.8));
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s;
}

.project:hover .project-image img { transform: scale(1.045); }

.project-image .status {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  padding: 8px 11px;
  background: rgba(9,11,12,.78);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(10px);
}

.status.soon { color: var(--cyan); }

.project-body {
  padding: 30px 34px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-body p { margin: 0 0 28px; }
.project-body b { margin-top: auto; }

.project-wide {
  grid-column: 1 / -1;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
}

.project-wide .project-image { aspect-ratio: auto; min-height: 440px; }
.project-wide .project-body { justify-content: center; padding: clamp(35px, 5vw, 72px); }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 0; }
  .project-wide { grid-column: auto; display: flex; }
  .project-wide .project-image { aspect-ratio: 3 / 2; min-height: 0; }
  .why-hero { grid-template-columns: 1fr; }
  .thesis-grid { grid-template-columns: repeat(2, 1fr); }
  .cookdex-button { display: none; }
  .token-price { min-width: 136px; }
}

@media (max-width: 560px) {
  .token-sign img { width: 42px; height: 42px; }
  .token-sign { gap: 10px; }
  .project-body { padding: 24px; }
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-card strong { margin-top: 24px; }
  .conviction-strip { grid-template-columns: auto 1fr; padding: 22px; }
  .conviction-strip img { width: 58px; height: 58px; }
  .conviction-strip > span { display: none; }
  .brand > span:last-child { display: none; }
  .token-price { min-width: 122px; height: 42px; padding: 6px 9px; }
  .price-copy strong { font-size: .68rem; }
  .price-copy em { display: none; }
}

.site-footer {
  display: block;
  padding: 0 7vw;
  font-size: .72rem;
  color: var(--muted);
  background: #070909;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  padding: 72px 0 58px;
}

.footer-brand { max-width: 370px; }
.footer-brand .brand { color: var(--cream); margin-bottom: 22px; }
.footer-brand .brand img { border-radius: 50%; box-shadow: 0 0 28px rgba(245,165,36,.15); }
.footer-brand > p { line-height: 1.75; margin: 0 0 22px; }
.footer-mail { color: var(--cream); border-bottom: 1px solid #3f4141; padding-bottom: 3px; }
.footer-mail:hover { color: var(--amber); border-color: var(--amber); }

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column > span {
  margin-bottom: 7px;
  color: #696b69;
  font: 500 .62rem 'DM Mono';
  letter-spacing: .17em;
}

.footer-column a { color: #c3c2bb; transition: color .2s, transform .2s; }
.footer-column a:hover { color: var(--amber); transform: translateX(3px); }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 1.5fr) 1fr;
  align-items: center;
  gap: 35px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font: 400 .58rem 'DM Mono';
  letter-spacing: .04em;
}

.footer-bottom p { margin: 0; }
.footer-bottom .risk { max-width: none; text-align: center; line-height: 1.6; }
.footer-bottom .risk b { color: var(--amber); font-weight: 500; }
.footer-bottom > a { justify-self: end; color: #b8b7b0; letter-spacing: .1em; }
.footer-bottom > a:hover { color: var(--amber); }

@media (max-width: 900px) {
  .site-footer { text-align: left; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
  .footer-brand .brand { justify-content: flex-start; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-bottom .risk { grid-column: 1 / -1; grid-row: 1; text-align: left; }
}

@media (max-width: 560px) {
  .site-footer { padding-inline: 6vw; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 38px 24px; padding: 55px 0 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-column:last-child > span { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; gap: 17px; }
  .footer-bottom .risk { grid-column: auto; grid-row: auto; }
  .footer-bottom > a { justify-self: start; }
}

/* CookDEX presale — first stage below the fixed header */
.presale-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 48px;
  min-height: 900px;
  padding: 130px 7vw 70px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid #171717;
}

.presale-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  top: 14%;
  width: 54vw;
  height: 54vw;
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 165, 36, .12), rgba(245, 165, 36, 0) 68%);
  pointer-events: none;
}

.presale-intro {
  width: 100%;
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}

.presale-intro .eyebrow { justify-content: center; }

.presale-intro h2 {
  margin: 24px 0 25px;
  color: var(--cream);
  font-size: clamp(3.5rem, 7vw, 7.7rem);
  line-height: .88;
  letter-spacing: -.075em;
}

.presale-intro h2 em {
  color: var(--amber);
  font-style: normal;
}

.presale-intro > p:last-child {
  max-width: 470px;
  margin: 0 auto;
  color: #a4a49f;
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.75;
}

.presale-shell {
  place-self: center;
  width: min(100%, 720px);
  margin-inline: auto;
  overflow: hidden;
  background: #000;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}

.presale-shell iframe {
  display: block;
  width: 100%;
  margin-inline: auto;
  border: 0;
  border-radius: inherit;
  background: #000;
  color-scheme: dark;
}

@media (max-width: 900px) {
  .presale-feature {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 115px;
  }

  .presale-intro { text-align: center; margin-inline: auto; }
  .presale-intro .eyebrow { justify-content: center; }
  .presale-intro > p:last-child { margin-inline: auto; }
  .presale-shell { justify-self: center; }
}

@media (max-width: 560px) {
  .presale-feature {
    gap: 36px;
    padding: 105px 4vw 45px;
  }

  .presale-intro h2 { font-size: clamp(3rem, 16vw, 5rem); }
  .presale-shell { border-radius: 16px; }
}

.socials a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.socials a img,
.footer-socials a img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.socials a img {
  width: 22px;
  height: 22px;
}

.footer-socials a img {
  width: 17px;
  height: 17px;
}
