/* ===== Tokens =====
   Cream   #FBF2DE  base
   Ink     #221806  text
   Gold    #D9A62E  primary brand
   Rust    #E45A2B  accent / CTA
   Chestnut#4A2F18  deep panels
*/

:root {
  --cream: #FBF2DE;
  --cream-2: #F3E4C4;
  --ink: #221806;
  --ink-soft: #4a3a24;
  --gold: #D9A62E;
  --gold-deep: #B4841D;
  --rust: #E45A2B;
  --rust-deep: #C2441C;
  --chestnut: #3B2712;

  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'Space Mono', monospace;

  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ===== Floating coin layer (signature element) ===== */
.coin-layer {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.floaty-coin {
  position: absolute;
  width: 64px;
  height: 64px;
  opacity: 0;
  will-change: transform, opacity;
  animation-name: coinBloom;
  animation-timing-function: cubic-bezier(.22,1,.36,1);
  animation-fill-mode: forwards;
  filter: drop-shadow(0 6px 14px rgba(59, 39, 18, 0.35));
}

@keyframes coinBloom {
  0%   { opacity: 0; transform: scale(0.2) rotate(-12deg); }
  12%  { opacity: 1; transform: scale(1) rotate(0deg); }
  78%  { opacity: 1; transform: scale(1) rotate(4deg); }
  100% { opacity: 0; transform: scale(0.35) rotate(10deg); }
}

/* Fast opening-burst variant: snappier in, snappier out */
.floaty-coin--burst {
  animation-name: coinBurst;
  animation-timing-function: cubic-bezier(.34,1.56,.64,1);
}

@keyframes coinBurst {
  0%   { opacity: 0; transform: scale(0.1) rotate(-16deg); }
  22%  { opacity: 1; transform: scale(1.05) rotate(2deg); }
  65%  { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0.5) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .floaty-coin { display: none; }
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(251, 242, 222, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 24, 6, 0.08);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav__coin {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover { background: var(--gold); transform: translateY(-1px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(180deg, var(--rust) 0%, var(--rust-deep) 100%);
  color: #FFF6E9;
  box-shadow: 0 8px 20px rgba(196, 68, 26, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(196, 68, 26, 0.45); }

.btn--ghost {
  background: rgba(251, 242, 222, 0.5);
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn--small {
  padding: 9px 18px;
  font-size: 14px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(180, 132, 29, 0.4);
}
.btn--small:hover { background: var(--gold-deep); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}

.hero__bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url('assets/bg-tile.png');
  background-repeat: repeat;
  background-size: 560px auto;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(251,242,222,0.55) 0%, rgba(251,242,222,0.86) 62%, rgba(251,242,222,0.96) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--rust-deep);
  background: rgba(228, 90, 43, 0.1);
  border: 1px solid rgba(228, 90, 43, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 148px);
  line-height: 0.95;
  margin: 0 0 18px;
  color: var(--ink);
  text-shadow: 4px 4px 0 var(--gold);
}

.hero__dollar {
  color: var(--rust);
}

.hero__sub {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}

.ca-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 10px 10px 10px 18px;
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  max-width: 100%;
}

.ca-pill__label {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.ca-pill__addr {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46vw;
}

.ca-pill__copy {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--body);
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  z-index: 2;
  width: 24px;
  height: 38px;
  border: 2px solid var(--ink-soft);
  border-radius: 14px;
  opacity: 0.6;
}
.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--ink-soft);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollDot 1.6s infinite ease-in-out;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===== Marquee strip ===== */
.strip {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

.strip__track {
  display: inline-flex;
  gap: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  animation: marquee 22s linear infinite;
  padding-left: 100%;
}

.strip__track span:nth-child(odd) { color: var(--gold); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ===== Gallery ===== */
.gallery {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 90px 24px;
  text-align: center;
}

.gallery__title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 46px);
  margin: 0 0 8px;
}

.gallery__sub {
  color: var(--ink-soft);
  margin: 0 0 44px;
  font-size: 16px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery__grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  aspect-ratio: 1 / 1;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.gallery__grid figure:nth-child(2n) { transform: rotate(1.5deg); }
.gallery__grid figure:nth-child(3n) { transform: rotate(-1.5deg); }
.gallery__grid figure:hover { transform: scale(1.04) rotate(0deg); z-index: 2; }

.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  z-index: 2;
  background: var(--chestnut);
  color: var(--cream);
  text-align: center;
  padding: 90px 24px;
}

.cta-band__coin {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin: 0 auto 22px;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 32px;
}

.hero__ctas--center { margin-bottom: 0; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 24px 30px;
  position: relative;
  z-index: 2;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 18px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.footer__coin { width: 28px; height: 28px; object-fit: contain; }

.footer__links {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 14px;
}
.footer__links a:hover { color: var(--gold); }

.footer__ca {
  max-width: 1100px;
  margin: 0 auto 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  word-break: break-all;
}

.footer__disclaimer {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(251, 242, 222, 0.55);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .ca-pill__addr { max-width: 50vw; }
}

@media (max-width: 520px) {
  .nav__brand span { display: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 90px; }
  .ca-pill__addr { max-width: 40vw; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}
