
:root{
  --bg:#240705;
  --bg2:#3a0b08;
  --panel:#4a110d;
  --ink:#fff3d8;
  --muted:#d4b98b;
  --red:#811713;
  --red2:#a1261d;
  --gold:#d6a04a;
  --gold2:#f0c97c;
  --line:rgba(240,201,124,.24);
  --shadow:0 30px 70px rgba(20,0,0,.42);
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%}
body{
  background:
    radial-gradient(circle at 15% 15%,rgba(240,201,124,.08),transparent 25%),
    radial-gradient(circle at 84% 12%,rgba(160,38,29,.16),transparent 30%),
    linear-gradient(180deg,#2a0806 0%,#1c0504 100%);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.11) 0 1px,transparent 1.2px),
    radial-gradient(circle at 70% 55%,rgba(255,255,255,.06) 0 1px,transparent 1.4px);
  background-size:24px 24px,31px 31px;
  mix-blend-mode:soft-light;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit}

.page{
  width:100%;
  min-height:100dvh;
  display:grid;
  grid-template-rows:64px minmax(0,1fr) 152px 34px;
  gap:12px;
  padding:12px 16px 10px;
}

.topbar,
.footer{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  border:1px solid var(--line);
  background:rgba(32,6,5,.52);
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.topbar{padding:0 16px}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(240,201,124,.4);
  background:
    radial-gradient(circle at 35% 30%,#f7d891,#c89540 45%,#8a531f 100%);
  color:#31100a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:11px;
  font-weight:900;
  box-shadow:0 8px 22px rgba(0,0,0,.25);
}
.brand-text{
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  letter-spacing:.08em;
}
.nav{display:flex;align-items:center;gap:8px}
.nav a{
  min-width:82px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  text-align:center;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.14em;
  transition:.18s ease;
}
.nav a:hover{
  color:var(--ink);
  border-color:rgba(240,201,124,.24);
  background:rgba(255,255,255,.04);
}

.hero{
  position:relative;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(440px,.98fr);
  gap:24px;
  padding:clamp(24px,4vw,54px);
  border:1px solid var(--line);
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(25,4,3,.96) 0%,rgba(52,9,7,.82) 46%,rgba(52,9,7,.38) 100%),
    url("assets/sup-banner.png") center/cover no-repeat;
  box-shadow:var(--shadow);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent 22%,transparent 76%,rgba(0,0,0,.16)),
    radial-gradient(circle at 70% 32%,rgba(240,201,124,.06),transparent 24%);
}
.hero-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  max-width:720px;
}
.kicker{
  margin-bottom:18px;
  color:var(--gold2);
  font-size:10px;
  font-weight:900;
  letter-spacing:.24em;
}
.title-wrap{position:relative}
h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(68px,8vw,132px);
  line-height:.75;
  letter-spacing:-.055em;
  text-shadow:0 8px 34px rgba(0,0,0,.25);
}
h1 em{
  font-style:italic;
  color:#efc06c;
}
.ticker{
  margin-top:24px;
  width:max-content;
  padding:9px 13px;
  border-radius:999px;
  border:1px solid rgba(240,201,124,.26);
  background:rgba(18,2,2,.36);
  color:var(--gold2);
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  letter-spacing:.22em;
}
.tagline{
  margin:20px 0 0;
  color:#f7e6c6;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(18px,1.7vw,28px);
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.royal-btn{
  position:relative;
  min-width:108px;
  min-height:50px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:999px;
  border:1px solid rgba(240,201,124,.34);
  background:
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0)),
    rgba(34,5,4,.76);
  color:#f7e6c6;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 22px rgba(0,0,0,.18);
  transition:.18s ease;
}
.royal-btn::before{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.025);
  pointer-events:none;
}
.royal-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(240,201,124,.56);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 16px 30px rgba(0,0,0,.28);
}
.royal-btn-primary{
  color:#2d0c06;
  border-color:rgba(255,235,178,.44);
  background:
    linear-gradient(180deg,#f5cf85 0%,#d59a3d 68%,#9e6324 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 10px 26px rgba(214,160,74,.22);
}
.is-disabled{opacity:.34;cursor:default}

.contract{
  width:min(100%,560px);
  margin-top:18px;
  padding:14px 16px;
  border:1px solid rgba(240,201,124,.20);
  background:rgba(22,3,3,.44);
  backdrop-filter:blur(10px);
}
.contract-label{
  margin-bottom:9px;
  color:var(--muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.20em;
}
.contract-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.contract code{
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-family:inherit;
  color:#fff1d2;
  font-size:12px;
  font-weight:700;
}
.contract button{
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(240,201,124,.28);
  background:rgba(255,255,255,.05);
  color:var(--gold2);
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
  cursor:pointer;
}

.portrait-area{
  position:relative;
  z-index:3;
  display:grid;
  place-items:center;
}
.portrait-frame{
  position:relative;
  width:min(100%,560px);
  aspect-ratio:1/1;
  padding:18px;
  background:
    linear-gradient(145deg,#8b4d1f,#d49d4e 28%,#7f4218 62%,#d5a45c 100%);
  box-shadow:0 26px 54px rgba(0,0,0,.34);
}
.portrait-frame::before{
  content:"";
  position:absolute;
  inset:7px;
  border:2px solid rgba(40,14,5,.75);
  box-shadow:
    inset 0 0 0 3px rgba(255,224,161,.20),
    inset 0 0 24px rgba(0,0,0,.40);
}
.portrait-frame::after{
  content:"";
  position:absolute;
  inset:15px;
  border:1px solid rgba(255,234,186,.35);
  pointer-events:none;
}
.portrait-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border:7px solid #4b230d;
}
.frame-corner{
  position:absolute;
  width:36px;
  height:36px;
  border-color:#f0c97c;
  opacity:.72;
}
.frame-corner.tl{top:2px;left:2px;border-top:2px solid;border-left:2px solid}
.frame-corner.tr{top:2px;right:2px;border-top:2px solid;border-right:2px solid}
.frame-corner.bl{bottom:2px;left:2px;border-bottom:2px solid;border-left:2px solid}
.frame-corner.br{bottom:2px;right:2px;border-bottom:2px solid;border-right:2px solid}

.seal{
  position:absolute;
  right:-8px;
  bottom:24px;
  width:112px;
  height:112px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:2px solid rgba(255,231,173,.58);
  background:
    radial-gradient(circle at 35% 30%,#e6b45f,#8d4d18 66%,#5e2b0f 100%);
  color:#fff1d2;
  box-shadow:0 16px 34px rgba(0,0,0,.26);
}
.seal::before,
.seal::after{
  content:"";
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(255,240,199,.35);
}
.seal::before{inset:7px}
.seal::after{inset:13px}
.seal span{
  font-size:6px;
  font-weight:900;
  letter-spacing:.15em;
}
.seal strong{
  margin:4px 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
}

.banner-strip{
  position:relative;
  min-height:0;
  overflow:hidden;
  border:1px solid var(--line);
}
.banner-strip img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.banner-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(32,4,3,.56),rgba(32,4,3,.12) 50%,rgba(32,4,3,.40));
}
.banner-copy{
  position:absolute;
  inset:auto 18px 14px;
  display:flex;
  align-items:center;
  gap:12px;
}
.mini{
  font-size:8px;
  font-weight:900;
  letter-spacing:.16em;
}
.line{
  width:70px;
  height:1px;
  background:rgba(255,239,205,.50);
}

.footer{
  grid-template-columns:1fr auto 1fr;
  padding:0 14px;
  color:#bfa77e;
  font-size:7px;
  font-weight:900;
  letter-spacing:.14em;
}
.footer span:nth-child(2){justify-self:center}
.footer a{justify-self:end;color:var(--gold2)}

@media(max-width:1080px){
  .page{
    grid-template-rows:60px auto 132px 32px;
  }
  .hero{
    grid-template-columns:1fr;
    gap:24px;
  }
  .portrait-area{
    max-width:620px;
    justify-self:center;
  }
  .portrait-frame{width:min(100%,520px)}
}
@media(max-width:700px){
  .page{padding:8px;gap:8px}
  .nav a:not(:last-child){display:none}
  .brand-text{font-size:15px}
  .hero{padding:24px 18px}
  h1{font-size:64px}
  .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .royal-btn{min-width:0}
  .contract-row{grid-template-columns:1fr}
  .contract button{width:100%}
  .seal{width:92px;height:92px;right:4px}
  .footer span:nth-child(2){display:none}
  .footer{grid-template-columns:1fr auto}
}
