:root {
  --ink: #11100f;
  --ink-soft: #1a1816;
  --gold: #ffc84b;
  --gold-light: #ffe39a;
  --pink: #f47cae;
  --cream: #fff7e8;
  --muted: #aaa49a;
  --line: rgba(255, 255, 255, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  width: min(1400px, calc(100% - 64px)); margin: auto; height: 92px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 11px; align-items: center; font: 900 12px/1 "Arial Black", Impact, sans-serif; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink); background: var(--pink); border-radius: 50% 50% 44% 44%; font-size: 15px; }
nav { display: flex; gap: 42px; margin-left: auto; margin-right: 42px; }
nav a { color: #c7c2b9; font-size: 13px; font-weight: 600; transition: color .2s; }
nav a:hover { color: var(--gold); }

.button { min-height: 53px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button:focus-visible, .social-link:focus-visible, nav a:focus-visible, .copy-button:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.button-gold { color: #15110b; background: var(--gold); box-shadow: 0 0 0 rgba(255, 200, 75, 0); }
.button-gold:hover { box-shadow: 0 10px 35px rgba(255, 200, 75, .28); background: #ffd66f; }
.button-small { min-height: 42px; padding: 0 19px; font-size: 11px; }
.button-ghost { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.03); }
.button-ghost:hover { border-color: var(--gold); background: rgba(255,200,75,.07); }

.hero { min-height: 850px; height: 100svh; max-height: 1050px; position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; overflow: hidden; padding: 112px max(32px, calc((100vw - 1400px)/2)) 48px; background: radial-gradient(circle at 73% 44%, rgba(255,193,61,.18), transparent 29%), linear-gradient(120deg, #141311 0%, #11100f 56%, #181510 100%); }
.hero::before { content: "SWORD"; position: absolute; left: -1.5vw; bottom: -5vw; color: rgba(255,255,255,.018); font: 900 clamp(100px, 19vw, 290px)/.8 "Arial Black", Impact, sans-serif; letter-spacing: -.1em; }
.hero-copy { z-index: 2; padding-top: 25px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.eyebrow span { width: 35px; height: 2px; background: var(--pink); }
h1, h2 { margin: 0; font-family: "Arial Black", Impact, sans-serif; text-transform: uppercase; letter-spacing: -.065em; }
h1 { position: relative; z-index: 4; font-size: clamp(61px, 7.25vw, 118px); line-height: .88; }
h1 em, .community h2 em { color: var(--gold); font-style: normal; text-shadow: 0 0 45px rgba(255,200,75,.18); }
.ticker-row { margin: 29px 0 34px; display: flex; align-items: center; gap: 18px; }
.ticker-row strong { padding: 8px 12px; color: #211209; background: var(--pink); font: 900 11px "Arial Black", Impact, sans-serif; transform: rotate(-2deg); }
.ticker-row span { color: #c1bcb3; font-size: 17px; font-weight: 500; }
.hero-actions { display: flex; gap: 12px; }

.hero-visual { min-width: 0; position: absolute; z-index: 1; top: 0; right: 0; width: 57%; height: 100%; }
.image-frame { position: absolute; inset: 8.5% 0 0 5%; overflow: hidden; clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 13%); }
.image-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 25%), linear-gradient(0deg, var(--ink) 0%, transparent 18%); pointer-events: none; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.9) contrast(1.06); }
.sun { position: absolute; z-index: -1; width: 520px; height: 520px; left: 22%; top: 24%; border-radius: 50%; background: var(--gold); filter: blur(120px); opacity: .16; }
.orbit { position: absolute; z-index: 2; border: 1px solid rgba(255,213,113,.45); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 520px; height: 520px; top: 27%; left: 20%; }
.orbit-two { width: 635px; height: 635px; top: 19%; left: 12%; border-color: rgba(244,124,174,.2); }
.spark { position: absolute; z-index: 3; color: var(--gold-light); text-shadow: 0 0 16px var(--gold); animation: shimmer 2.5s ease-in-out infinite; }
.spark-one { top: 22%; left: 19%; font-size: 26px; }
.spark-two { right: 8%; bottom: 26%; font-size: 18px; animation-delay: -1s; }
.battle-tag { position: absolute; z-index: 4; right: 3%; bottom: 8%; padding: 10px 14px; border-left: 1px solid var(--gold); color: #bdb6aa; font-size: 9px; letter-spacing: .18em; background: rgba(17,16,15,.7); backdrop-filter: blur(8px); }
.battle-tag span { color: var(--gold); }
.scroll-cue { position: absolute; left: max(32px, calc((100vw - 1400px)/2)); bottom: 28px; display: flex; align-items: center; gap: 12px; color: #77726b; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.scroll-cue span { width: 45px; height: 1px; background: #77726b; }

.section-pad { padding: 130px max(32px, calc((100vw - 1200px)/2)); }
.about { position: relative; background: #f3ead9; color: var(--ink); }
.about::after { content: "✦"; position: absolute; right: 6%; top: 18%; color: var(--pink); font-size: 28px; }
.about .section-kicker { color: #a2681a; margin-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10%; align-items: end; }
.about h2 { font-size: clamp(42px, 6.4vw, 86px); line-height: .98; }
.about h2 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.about-copy { max-width: 500px; border-left: 1px solid rgba(17,16,15,.22); padding-left: 30px; }
.about-copy p:first-child { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; color: #514b43; }
.signature { margin: 24px 0 0; color: #b35b82; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.contract { background: var(--ink); }
.contract-card { max-width: 1060px; margin: auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 46px 80px; align-items: end; padding: 55px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,200,75,.025)); box-shadow: 0 40px 100px rgba(0,0,0,.18); }
.contract h2 { font-size: clamp(27px, 3vw, 45px); line-height: 1.05; }
.address-box { height: 72px; display: flex; align-items: center; justify-content: space-between; padding-left: 25px; border: 1px solid rgba(255,200,75,.25); background: #0d0c0b; }
.address-box code { overflow: hidden; color: #d5cfc5; font: 500 14px Inter, "Segoe UI", Arial, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.copy-button { align-self: stretch; min-width: 110px; border: 0; color: #625d56; background: #201e1b; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.copy-button:not(:disabled) { color: var(--ink); background: var(--gold); }
.copy-button:disabled { cursor: not-allowed; opacity: .65; }
.copy-icon { display: inline-block; width: 12px; height: 14px; margin-right: 9px; border: 1px solid currentColor; vertical-align: -2px; }
.copy-status { grid-column: 2; margin: -33px 0 0; color: #77716a; font-size: 11px; letter-spacing: .06em; }

.community { padding-top: 80px; background: radial-gradient(circle at 50% 50%, rgba(244,124,174,.1), transparent 38%), #181513; text-align: center; }
.community-card { position: relative; max-width: 1100px; margin: auto; padding: 85px 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crossed-swords { margin-bottom: 25px; color: var(--gold); font-size: 44px; filter: drop-shadow(0 0 14px rgba(255,200,75,.3)); }
.community h2 { margin-top: 18px; font-size: clamp(49px, 7.3vw, 102px); line-height: .91; }
.community-card > p:not(.section-kicker) { margin: 26px 0 36px; color: var(--muted); font-size: 16px; }
.community-actions { display: flex; justify-content: center; gap: 12px; }
.social-link { min-width: 220px; height: 62px; display: flex; align-items: center; gap: 15px; padding: 0 20px; color: var(--ink); background: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: transform .2s, filter .2s; }
.social-link:hover { transform: translateY(-3px) rotate(-1deg); filter: brightness(1.08); }
.social-link span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; font-size: 15px; }
.social-link b { margin-left: auto; }
.social-pink { background: var(--pink); }

footer { min-height: 105px; padding: 30px max(32px, calc((100vw - 1400px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #77716a; background: #0c0b0a; font-size: 11px; letter-spacing: .06em; }
footer .brand { color: var(--cream); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes shimmer { 0%,100% { transform: scale(.8) rotate(0); opacity: .45; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 36px); height: 74px; }
  nav { display: none; }
  .hero { min-height: 800px; height: auto; grid-template-columns: 1fr; align-items: start; padding: 110px 18px 40px; }
  .hero-copy { z-index: 4; padding-top: 0; }
  h1 { font-size: clamp(54px, 14.3vw, 96px); }
  .hero-visual { position: relative; order: 2; width: calc(100% + 36px); height: min(112vw, 650px); margin: -16px -18px 0; }
  .image-frame { inset: 0; clip-path: none; }
  .image-frame::after { background: linear-gradient(180deg, var(--ink) 0%, transparent 20%), linear-gradient(0deg, var(--ink) 0%, transparent 13%); }
  .image-frame img { object-position: center 43%; }
  .orbit-one { width: 76vw; height: 76vw; left: 12%; }
  .orbit-two { width: 92vw; height: 92vw; left: 4%; }
  .battle-tag { right: 18px; }
  .scroll-cue { display: none; }
  .about-grid, .contract-card { grid-template-columns: 1fr; }
  .copy-status { grid-column: auto; margin: -30px 0 0; }
}

@media (max-width: 600px) {
  .brand > span:last-child { max-width: 95px; line-height: 1.2; }
  .button-small { padding: 0 14px; }
  .hero { padding-top: 102px; }
  .eyebrow { font-size: 9px; }
  .ticker-row { flex-wrap: wrap; margin: 23px 0 27px; gap: 13px; }
  .ticker-row span { font-size: 15px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1; min-width: 0; padding: 0 13px; gap: 8px; font-size: 11px; }
  .section-pad { padding: 90px 20px; }
  .about-grid { gap: 38px; }
  .about h2 { font-size: clamp(37px, 11vw, 54px); }
  .about h2 span { -webkit-text-stroke-width: 1px; }
  .about-copy { padding-left: 20px; }
  .contract-card { padding: 32px 20px; gap: 30px; }
  .address-box { height: 62px; padding-left: 16px; }
  .copy-button { min-width: 86px; }
  .community { padding-left: 12px; padding-right: 12px; }
  .community-card { padding: 65px 8px; }
  .community h2 { font-size: clamp(41px, 13vw, 62px); }
  .community-actions { flex-direction: column; }
  .social-link { width: 100%; }
  footer { flex-direction: column; text-align: center; padding: 40px 20px; }
  footer .brand > span:last-child { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
