:root{
  --ink:#17141f;
  --paper:#f8f3ee;
  --cream:#fffaf6;
  --rose:#e7b1bd;
  --rose-deep:#cc7f94;
  --lav:#c8b9e8;
  --sky:#bdd5e7;
  --sage:#cdd8bd;
  --line:rgba(23,20,31,.14);
  --shadow:0 22px 70px rgba(37,28,47,.12);
  --serif:"Playfair Display",Georgia,serif;
  --sans:"DM Sans",system-ui,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 12% 0%,rgba(231,177,189,.22),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(200,185,232,.24),transparent 28%),
    var(--paper);
  font-family:var(--sans);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:99; opacity:.22;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

.site-header{
  width:min(1180px,calc(100% - 40px));
  height:86px; margin:auto;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.03em}
.brand>span:last-child span,.footer-brand span{font-family:var(--serif);font-style:italic;font-weight:600}
.brand-mark{font-size:18px}
.nav{display:flex;gap:28px;font-size:14px;font-weight:600}
.nav a{opacity:.72;transition:.2s}
.nav a:hover{opacity:1}

.button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 22px;
  border:1px solid var(--ink);border-radius:999px;
  background:var(--ink);color:#fff;font-weight:700;font-size:14px;
  cursor:pointer;transition:.2s ease;
}
.button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(23,20,31,.13)}
.button-small{min-height:40px;padding:0 17px;font-size:13px}
.button-ghost{background:transparent;color:var(--ink);gap:10px}
.copy-icon{font-size:16px}

.hero{
  width:min(1180px,calc(100% - 40px));
  min-height:690px;margin:auto;
  display:grid;grid-template-columns:1.04fr .96fr;gap:70px;align-items:center;
  padding:72px 0 86px;
}
.eyebrow,.section-label{
  font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
}
.eyebrow{display:flex;align-items:center;gap:9px;margin-bottom:24px}
.pulse{width:8px;height:8px;border-radius:50%;background:var(--rose-deep);box-shadow:0 0 0 6px rgba(204,127,148,.12)}

h1,h2,h3,p{margin-top:0}
h1{
  margin-bottom:26px;font-size:clamp(65px,8vw,112px);line-height:.86;
  letter-spacing:-.065em;font-weight:700;
}
h1 em,h2 em{font-family:var(--serif);font-weight:600}
.hero-lead{
  max-width:600px;font-size:18px;line-height:1.72;color:rgba(23,20,31,.70);
}
.hero-actions{display:flex;gap:12px;margin-top:32px}
.micro-note{
  max-width:600px;margin-top:22px;font-size:11px;line-height:1.55;color:rgba(23,20,31,.46)
}

.hero-art{position:relative;min-height:510px;display:grid;place-items:center}
.halo{position:absolute;border-radius:50%;filter:blur(2px)}
.halo-one{width:430px;height:430px;background:rgba(231,177,189,.35)}
.halo-two{width:325px;height:325px;background:rgba(200,185,232,.38);transform:translate(80px,-35px)}

.card-stack{position:relative;width:340px;height:430px}
.card{
  position:absolute;inset:0;border-radius:26px;border:1px solid rgba(23,20,31,.12);
  box-shadow:var(--shadow);
}
.card-back{background:var(--sky);transform:rotate(-10deg) translate(-34px,18px)}
.card-mid{background:var(--sage);transform:rotate(8deg) translate(30px,18px)}
.card-main{
  background:linear-gradient(160deg,#fffaf6 0%,#f6e3e6 100%);
  padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;
}
.stars{width:100%;text-align:right;letter-spacing:.22em;opacity:.7}
.hat{width:185px;height:190px;position:relative;margin-top:5px}
.pom{
  width:52px;height:52px;border-radius:50%;background:var(--rose-deep);
  position:absolute;top:-4px;left:66px;box-shadow:inset -10px -8px 0 rgba(0,0,0,.06)
}
.hat-top{
  width:178px;height:130px;position:absolute;left:3px;top:35px;
  background:linear-gradient(90deg,#df9aad,#efc5cf,#dca4b2);
  border-radius:58% 58% 18% 18% / 52% 52% 18% 18%;
  overflow:hidden;
  box-shadow:inset 0 -12px 0 rgba(0,0,0,.035);
}
.hat-top span{
  display:inline-block;width:22%;height:100%;margin-left:2%;
  border-left:2px solid rgba(255,255,255,.28);
  border-right:2px solid rgba(137,67,87,.12);
}
.hat-band{
  position:absolute;left:0;bottom:0;width:185px;height:54px;
  background:#fff7f7;border:3px solid #d995a8;border-radius:12px;
  display:grid;place-items:center;box-shadow:0 8px 0 rgba(204,127,148,.08);
}
.hat-band span{font-weight:900;letter-spacing:.12em;font-size:17px}
.card-copy{text-align:center;display:flex;flex-direction:column;gap:5px}
.card-copy strong{font-family:var(--serif);font-size:30px;letter-spacing:-.03em}
.tiny{font-size:9px;font-weight:800;letter-spacing:.22em}

.ticker-strip{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  overflow:hidden;background:rgba(255,255,255,.3)
}
.ticker-track{
  min-width:max-content;display:flex;gap:56px;padding:17px 0;
  font-size:12px;font-weight:800;letter-spacing:.16em;
  animation:ticker 24s linear infinite;
}
@keyframes ticker{to{transform:translateX(-50%)}}

.section{width:min(1180px,calc(100% - 40px));margin:auto;padding:125px 0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:90px}
.section-label{margin-bottom:26px;opacity:.62}
h2{
  font-size:clamp(48px,6.4vw,82px);line-height:.98;letter-spacing:-.055em;
}
.body-copy{padding-top:45px}
.body-copy p,.large-copy{
  font-size:19px;line-height:1.75;color:rgba(23,20,31,.68);max-width:590px
}
.body-copy p+p{margin-top:24px}

.features{
  width:min(1180px,calc(100% - 40px));margin:auto;
  display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:24px;overflow:hidden
}
.feature-card{min-height:280px;padding:32px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;background:rgba(255,255,255,.32)}
.feature-card:last-child{border-right:0}
.feature-card.feature-accent{background:linear-gradient(160deg,rgba(231,177,189,.44),rgba(200,185,232,.38))}
.feature-number{font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:auto;opacity:.56}
.feature-card h3{font-family:var(--serif);font-size:36px;margin-bottom:9px}
.feature-card p{line-height:1.55;color:rgba(23,20,31,.64);max-width:260px}

.token-section{padding-bottom:70px}
.token-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:start}
.token-grid h2{font-size:clamp(80px,10vw,140px)}
.token-card{border-top:1px solid var(--ink)}
.token-row{display:flex;justify-content:space-between;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}
.token-row span{font-size:13px;opacity:.62}
.token-row strong{font-size:14px}
.text-button{background:none;border:0;padding:0;font-weight:800;font-size:12px;cursor:pointer}

.era-section{
  width:min(1180px,calc(100% - 40px));margin:70px auto 0;
  border-radius:32px;background:var(--ink);color:#fff;padding:80px;
  position:relative;overflow:hidden
}
.era-section:after{
  content:"✦";position:absolute;right:-40px;top:-105px;
  font-size:330px;line-height:1;color:rgba(255,255,255,.03)
}
.era-section h2{max-width:720px}
.era-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:70px;background:rgba(255,255,255,.12)}
.era-grid article{background:var(--ink);padding:28px;min-height:220px}
.era-grid span{font-size:10px;font-weight:800;letter-spacing:.16em;opacity:.48}
.era-grid h3{font-family:var(--serif);font-size:28px;margin:55px 0 8px}
.era-grid p{font-size:13px;line-height:1.55;opacity:.58}

.cta{text-align:center;padding:150px 20px 145px}
.cta-star{font-size:34px;margin-bottom:25px}
.cta h2{margin-bottom:18px}
.cta p{font-size:18px;opacity:.62}
.cta-actions{display:flex;gap:12px;justify-content:center;margin-top:32px}
.button-dark{background:var(--ink)}
.button-outline-dark{background:transparent;color:var(--ink)}

footer{
  width:min(1180px,calc(100% - 40px));margin:auto;padding:36px 0 46px;
  border-top:1px solid var(--line);
  display:grid;grid-template-columns:1fr 2fr auto;gap:45px;align-items:start
}
.footer-brand{font-weight:900}
footer p{font-size:10px;line-height:1.55;opacity:.45;max-width:680px}
.footer-end{font-size:10px;opacity:.45;white-space:nowrap}

.toast{
  position:fixed;left:50%;bottom:26px;transform:translate(-50%,30px);
  padding:12px 18px;border-radius:999px;background:var(--ink);color:#fff;
  font-size:12px;font-weight:700;opacity:0;pointer-events:none;
  transition:.25s;z-index:120
}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:900px){
  .nav{display:none}
  .hero{grid-template-columns:1fr;padding-top:55px}
  .hero-art{order:-1;min-height:430px}
  .card-stack{transform:scale(.84)}
  .split,.token-grid{grid-template-columns:1fr;gap:35px}
  .body-copy{padding-top:0}
  .features{grid-template-columns:1fr}
  .feature-card{border-right:0;border-bottom:1px solid var(--line);min-height:230px}
  .feature-card:last-child{border-bottom:0}
  .era-section{padding:55px 28px}
  .era-grid{grid-template-columns:1fr 1fr}
  footer{grid-template-columns:1fr}
}

@media (max-width:560px){
  .site-header{width:min(100% - 24px,1180px)}
  .site-header .button-small{display:none}
  .hero,.section,.features,.era-section,footer{width:min(100% - 24px,1180px)}
  .hero{padding-top:36px}
  .hero-art{min-height:350px}
  .card-stack{transform:scale(.69)}
  h1{font-size:60px}
  .hero-actions,.cta-actions{flex-direction:column}
  .button{width:100%}
  .era-grid{grid-template-columns:1fr}
  .era-grid article{min-height:170px}
}


/* --- Uploaded image integration --- */
.photo-hero{
  position:relative;
  min-height:560px;
  display:block;
}

.photo-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(8px);
  z-index:0;
}
.photo-glow-one{
  width:390px;height:390px;
  right:75px;top:40px;
  background:rgba(231,177,189,.36);
}
.photo-glow-two{
  width:300px;height:300px;
  left:40px;bottom:5px;
  background:rgba(200,185,232,.28);
}

.photo-card{
  position:absolute;
  margin:0;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(23,20,31,.12);
  box-shadow:var(--shadow);
  background:#fff;
  z-index:2;
}
.photo-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.photo-card figcaption{
  position:absolute;
  left:18px;
  bottom:350px;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,250,246,.84);
  backdrop-filter:blur(12px);
  border:1px solid rgba(23,20,31,.10);
}
.photo-card figcaption span{
  font-size:9px;
  font-weight:800;
  letter-spacing:.18em;
}
.photo-card figcaption strong{
  font-family:var(--serif);
  font-size:18px;
  letter-spacing:-.03em;
}

.photo-card-primary{
  width:360px;
  height:430px;
  right:26px;
  top:18px;
  transform:rotate(2.5deg);
}
.photo-card-secondary{
  width:220px;
  height:220px;
  left:10px;
  bottom:20px;
  transform:rotate(-5deg);
  border-radius:24px;
}

.hero-badge{
  position:absolute;
  right:12px;
  bottom:15px;
  z-index:3;
  width:160px;
  padding:14px 16px;
  border-radius:18px;
  background:var(--ink);
  color:#fff;
  font-size:12px;
  line-height:1.35;
  box-shadow:0 16px 34px rgba(23,20,31,.18);
  transform:rotate(-2deg);
}
.hero-badge em{
  font-family:var(--serif);
  font-size:15px;
}

.image-pair-section{
  width:min(1180px,calc(100% - 40px));
  margin:130px auto 10px;
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:80px;
  align-items:center;
}
.image-pair-copy h2{
  margin-bottom:24px;
}
.image-pair-copy p{
  max-width:460px;
  font-size:17px;
  line-height:1.72;
  color:rgba(23,20,31,.66);
}
.image-pair-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.pair-card{
  margin:0;
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 18px 45px rgba(37,28,47,.10);
}
.pair-card img{
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
.pair-card figcaption{
  padding:18px 20px 20px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
}
.pair-card figcaption span{
  font-family:var(--serif);
  font-style:italic;
  font-weight:600;
}

@media (max-width:900px){
  .photo-hero{min-height:520px}
  .photo-card-primary{
    width:330px;height:395px;right:8%;top:15px;
  }
  .photo-card-secondary{
    width:205px;height:205px;left:7%;bottom:8px;
  }
  .hero-badge{right:6%;bottom:0}
  .image-pair-section{
    grid-template-columns:1fr;
    gap:35px;
    margin-top:90px;
  }
}

@media (max-width:560px){
  .photo-hero{min-height:420px}
  .photo-card-primary{
    width:255px;height:305px;right:4%;top:5px;
  }
  .photo-card-secondary{
    width:155px;height:155px;left:2%;bottom:10px;
  }
  .hero-badge{
    width:135px;
    right:2%;
    bottom:6px;
    font-size:10px;
  }
  .image-pair-section{
    width:min(100% - 24px,1180px);
    margin-top:80px;
  }
  .image-pair-grid{gap:10px}
  .pair-card{border-radius:18px}
  .pair-card figcaption{padding:14px;font-size:11px}
}
