:root {
  color-scheme: dark;
  --ink: #050706;
  --panel: #0b0e0c;
  --panel-2: #101512;
  --line: #263029;
  --muted: #a4ada7;
  --paper: #f3f6f2;
  --green: #66ff6e;
  --gold: #d7aa49;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
main, footer { position: relative; z-index: 1; }
.feather-field { position: fixed; inset: 0; z-index: 8; overflow: hidden; pointer-events: none; }
.feather-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.feather-field span { position: absolute; left: -12vw; width: clamp(30px, 3.7vw, 56px); color: rgba(102,255,110,.42); filter: drop-shadow(0 0 12px rgba(102,255,110,.3)); animation: feather-drift 24s linear infinite; }
.feather-field span svg { display: block; width: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feather-field span:nth-of-type(1) { top: 9%; animation-duration: 25s; animation-delay: -4s; transform: rotate(-14deg); }
.feather-field span:nth-of-type(2) { top: 25%; animation-duration: 32s; animation-delay: -20s; transform: rotate(19deg) scale(.72); color: rgba(102,255,110,.34); }
.feather-field span:nth-of-type(3) { top: 43%; animation-duration: 28s; animation-delay: -11s; transform: rotate(-23deg) scale(1.12); }
.feather-field span:nth-of-type(4) { top: 60%; animation-duration: 35s; animation-delay: -27s; transform: rotate(13deg) scale(.82); color: rgba(102,255,110,.36); }
.feather-field span:nth-of-type(5) { top: 76%; animation-duration: 30s; animation-delay: -16s; transform: rotate(-18deg) scale(1.04); }
.feather-field span:nth-of-type(6) { top: 89%; animation-duration: 38s; animation-delay: -7s; transform: rotate(16deg) scale(.66); color: rgba(102,255,110,.34); }
@keyframes feather-drift {
  0% { translate: 0 5vh; rotate: -5deg; }
  50% { translate: 62vw -5vh; rotate: 12deg; }
  100% { translate: 124vw -12vh; rotate: -8deg; }
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--green); color: #000; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(to bottom, rgba(0,0,0,.68), transparent);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; text-decoration: none; font-family: var(--display); font-size: 1.2rem; font-weight: 900; letter-spacing: .08em; }
.brand-logo { width: 52px; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(215,170,73,.8); border-radius: 9px; box-shadow: 0 0 22px rgba(102,255,110,.18); }
nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
nav a, .header-cta { font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
nav a { color: #e2e8e3; }
nav a:hover, nav a:focus-visible { color: var(--green); }
.header-cta { justify-self: end; border: 1px solid rgba(255,255,255,.42); padding: .65rem 1rem; }
.header-cta:hover, .header-cta:focus-visible { background: var(--green); border-color: var(--green); color: #000; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; background: #070a08; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,4,3,.96) 0%, rgba(2,4,3,.74) 34%, rgba(2,4,3,.12) 67%), linear-gradient(0deg, rgba(2,4,3,.9) 0%, transparent 44%, rgba(0,0,0,.22) 100%); }
.hero::after { content: ""; position: absolute; left: clamp(1.25rem, 5vw, 5rem); top: 22%; bottom: 9%; width: 2px; background: linear-gradient(var(--green), transparent); opacity: .8; }
.hero-content { width: min(780px, 80vw); margin: 0 clamp(1.25rem, 9vw, 9rem) clamp(4rem, 10vh, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; color: var(--green); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: .84; letter-spacing: -.035em; text-transform: uppercase; }
h1 { margin-bottom: 1.4rem; font-size: clamp(4.9rem, 11vw, 10.5rem); }
h1 em, h2 em, h2 span { color: var(--green); font-style: normal; }
.hero-copy { max-width: 560px; margin-bottom: 2rem; color: #d7ded9; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem; min-height: 52px; padding: .85rem 1.2rem; border: 1px solid transparent; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.button-primary { background: var(--green); color: #030504; }
.button-primary:hover, .button-primary:focus-visible { background: #fff; }
.button-ghost { border-color: rgba(255,255,255,.45); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--green); color: var(--green); }
.market-tag { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: clamp(2rem, 6vh, 5rem); display: grid; padding: 1.15rem 1.4rem; min-width: 175px; border-left: 3px solid var(--gold); background: rgba(4,6,5,.83); backdrop-filter: blur(10px); }
.market-tag span, .market-tag small { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .17em; }
.market-tag strong { font-family: var(--display); font-size: 2.5rem; line-height: 1.05; color: var(--gold); }

.ticker { overflow: hidden; border-block: 1px solid #1a221c; background: var(--green); color: #050706; }
.ticker div { width: max-content; display: flex; align-items: center; gap: 1.4rem; padding: .7rem 0; animation: ticker 26s linear infinite; }
.ticker span { font-family: var(--display); font-size: .9rem; font-weight: 900; letter-spacing: .14em; }
.ticker b { font-size: .55rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem); }
.section-label { margin-bottom: 2.5rem; color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.intro { display: grid; grid-template-columns: minmax(100px, .35fr) 1.3fr .85fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.kicker { margin-bottom: 1rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.intro h2, .traits h2 { font-size: clamp(3.8rem, 7.2vw, 7.4rem); }
.body-copy { max-width: 680px; margin-top: 2rem; color: #b8c1bb; }
.stat-grid { border-top: 1px solid var(--line); }
.stat-grid article { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.stat-grid strong { font-family: var(--display); font-size: 2.2rem; color: var(--green); }
.stat-grid span { color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.token { padding-top: 0; }
.token-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 8rem); align-items: end; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid #314037; background: linear-gradient(120deg, #101612, #070a08 68%); }
.token-panel::after { content: "CA"; position: absolute; right: -1rem; top: -3.2rem; color: rgba(102,255,110,.045); font-family: var(--display); font-size: 19rem; font-weight: 900; line-height: 1; pointer-events: none; }
.token-copy, .ca-box, .copy-status { position: relative; z-index: 1; }
.token-copy h2 { margin-bottom: 1.4rem; color: var(--green); font-size: clamp(4.5rem, 9vw, 8rem); }
.token-benefits { display: flex; flex-wrap: wrap; gap: .55rem; margin: -.25rem 0 1.35rem; }
.pair-badge { display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .52rem .75rem; border: 1px solid rgba(102,255,110,.35); color: #c5cec8; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pair-badge span { width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(102,255,110,.7); }
.pair-badge strong { color: var(--green); }
.rewards-badge { border-color: rgba(215,170,73,.46); }
.rewards-badge span { display: grid; width: 14px; color: var(--gold); background: none; border-radius: 0; box-shadow: none; font-size: .55rem; }
.rewards-badge strong { color: var(--gold); }
.token-copy > p:last-child { max-width: 520px; margin-bottom: 0; color: var(--muted); }
.ca-box { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.ca-box > div { min-width: 0; }
.ca-box span { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.ca-box code { display: block; overflow: hidden; color: var(--paper); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(.85rem, 1.4vw, 1rem); text-overflow: ellipsis; white-space: nowrap; }
.copy-ca { flex: 0 0 auto; min-width: 92px; min-height: 46px; border: 0; background: var(--green); color: #050706; font: 800 .72rem/1 var(--body); letter-spacing: .1em; cursor: pointer; }
.copy-ca:disabled { background: #202822; color: #7c8780; cursor: not-allowed; }
.copy-status { grid-column: 2; margin: -1.2rem 0 0; color: #7f8b83; font-size: .74rem; }

.pack { background: var(--paper); color: #080b09; }
.section-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 3.2rem; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(4.4rem, 8vw, 8rem); }
.section-heading > p { max-width: 410px; margin-bottom: .45rem; color: #4b554e; }
.pack .section-label { margin-bottom: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #bfc7c1; border: 1px solid #bfc7c1; }
.dog-card { position: relative; margin: 0; overflow: hidden; background: #121713; aspect-ratio: .84; }
.dog-card-wide { grid-column: span 2; aspect-ratio: 1.68; }
.dog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.dog-card:hover img { transform: scale(1.035); filter: saturate(1.08); }


.traits { background: #090c0a; }
.traits-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); }
.trait-list { border-top: 1px solid var(--line); }
.trait-list article { display: grid; grid-template-columns: 48px 1fr 1.2fr; gap: 1.25rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.trait-list article:hover { padding-inline: .8rem; background: var(--panel-2); }
.trait-list span { color: var(--green); font-family: var(--display); font-weight: 800; }
.trait-list h3 { margin: 0; font-family: var(--display); font-size: 1.4rem; letter-spacing: .03em; text-transform: uppercase; }
.trait-list p { margin: 0; color: var(--muted); font-size: .86rem; }

.life { background: var(--paper); color: #080b09; }
.life .section-label { margin-bottom: 1rem; }
.life .section-heading > p { color: #4b554e; }
.life-heading-side { display: grid; justify-items: end; gap: 1.1rem; }
.life-heading-side p { margin: 0; }
.life-controls { display: flex; gap: .55rem; }
.life-arrow { width: 48px; aspect-ratio: 1; border: 1px solid #939e96; background: transparent; color: #080b09; font: 800 1.25rem var(--display); cursor: pointer; transition: background .2s ease, color .2s ease; }
.life-arrow:hover, .life-arrow:focus-visible { background: #080b09; color: var(--green); }
.life-gallery { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-behavior: auto; scroll-snap-type: none; scrollbar-color: #171c18 #d7ddd8; scrollbar-width: thin; overscroll-behavior-inline: contain; cursor: grab; }
.life-gallery.is-auto-paused { scroll-behavior: smooth; }
.life-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.life-card { position: relative; flex: 0 0 min(82vw, 860px); margin: 0; overflow: hidden; aspect-ratio: 1.65; background: #101512; scroll-snap-align: start; }
.life-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.life-card:hover img { transform: scale(1.025); filter: saturate(1.08); }
.life-card figcaption { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; background: rgba(4,7,5,.82); color: #fff; font-family: var(--display); font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(8px); }
.life-card figcaption span { color: var(--green); }

.final-cta { position: relative; padding: clamp(6rem, 14vw, 13rem) 1.25rem; overflow: hidden; text-align: center; background: #030403; }
.final-cta::before { content: "MAD DOGZ"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); white-space: nowrap; color: rgba(102,255,110,.04); font-family: var(--display); font-size: 29vw; font-weight: 900; line-height: 1; }
.final-cta > * { position: relative; }
.final-cta > p { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.final-cta h2 { margin-bottom: 2rem; font-size: clamp(5rem, 13vw, 12rem); }
.social-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); background: #030403; }
footer p, .footer-links a { margin: 0; color: var(--muted); font-size: .72rem; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-content { width: min(860px, calc(100vw - 2.5rem)); margin-left: clamp(1.25rem, 9vw, 7rem); }
  .market-tag { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro > .section-label { margin-bottom: 0; }
  .stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .stat-grid article { display: flex; flex-direction: column; gap: 0; padding-right: 1rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .traits-layout { grid-template-columns: 1fr; }
  .token-panel { grid-template-columns: 1fr; }
  .copy-status { grid-column: 1; }
}
@media (max-width: 640px) {
  .site-header { height: 72px; padding-inline: 1rem; }
  .header-cta { display: none; }
  .brand-logo { width: 42px; }
  .hero { min-height: 780px; }
  .hero-image { object-position: 63% 50%; }
  .hero-shade { background: linear-gradient(0deg, rgba(2,4,3,.98) 4%, rgba(2,4,3,.65) 58%, rgba(0,0,0,.18) 100%); }
  .hero::after { display: none; }
  .hero-content { margin: 0 1.25rem 3.2rem; }
  h1 { font-size: clamp(4.2rem, 22vw, 6.8rem); }
  .hero-copy { max-width: 92%; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .social-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 4.5rem 1.25rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1.2rem; }
  .intro h2, .traits h2 { font-size: clamp(3.6rem, 17vw, 5.6rem); }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid article { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .dog-card, .dog-card-wide { grid-column: span 1; aspect-ratio: .82; }
  .dog-card:last-child { grid-column: 1 / -1; aspect-ratio: 1.55; }
  .trait-list article { grid-template-columns: 36px 1fr; }
  .trait-list p { display: none; }
  .ca-box { align-items: stretch; flex-direction: column; }
  .copy-ca { width: 100%; }
  .life-heading-side { justify-items: start; }
  .life-card { flex-basis: calc(100vw - 3rem); aspect-ratio: 1.35; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  .feather-field span { animation: none; display: none; }
  .dog-card img { transition: none; }
  .life-card img { transition: none; }
}
