/* ==========================================================
   RedTango — Brand Tokens
   Colors sampled directly from client artwork
   ========================================================== */

@font-face {
  font-family: 'RedTangoDisplay';
  src: url('../fonts/CAPOLRG_.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown-deep: #6f3a15;
  --brown-circle: #9d521d;
  --cream: #fae2b4;
  --blue: #14b0e7;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--brown-deep);
  color: var(--cream);
  font-family: 'RedTangoDisplay', 'Trebuchet MS', sans-serif;
  overflow: hidden;
  height: 100%;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.page {
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

.canvas {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: var(--brown-deep);
  overflow: hidden;
  container-type: inline-size;
}

/* ---------- Section 1: background ellipses ---------- */

.ellipse {
  position: absolute;
  background: var(--brown-circle);
  z-index: 0;
}
.ellipse-tl {
  left: 0%;
  top: 0%;
  width: 26%;
  height: 42%;
  border-radius: 0 0 100% 0;
}
.ellipse-br {
  right: 0%;
  bottom: 0%;
  width: 40%;
  height: 60%;
  border-radius: 100% 0 0 0;
}

/* ---------- Section 2: cat silhouette ---------- */

.cat-silhouette {
  position: absolute;
  z-index: 3;
  left: 0%;
  top: 9%;
  width: 42%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Section 3: header (welcome text + wordmark) ---------- */

.welcome-text {
  position: absolute;
  z-index: 1;
  left: 40.3%;
  top: 3.3%;
  font-size: 3.4cqw;
  line-height: 1.15;
  letter-spacing: 0.05em;
  color: var(--cream);
  white-space: nowrap;
  margin: 0;
}

.wordmark-img {
  position: absolute;
  z-index: 1;
  left: 43%;
  top: 11.5%;
  width: 58%;
  height: auto;
}

/* ---------- Section 4: hero media window ---------- */

.hero-frame {
  position: absolute;
  z-index: 1;
  left: 32.8%;
  top: 36.4%;
  width: 34.1%;
  height: 48.3%;
  border-radius: 3.5cqw;
  border: 3px solid var(--cream);
  overflow: hidden;
  background: #271d14;
  box-shadow: 0 1.5cqw 3cqw rgba(0,0,0,0.35);
}
.hero-frame video,
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Section 5: tiles ---------- */

.tile {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 1.6cqw;
  border: 2px solid var(--cream);
  overflow: hidden;
  background: #271d14;
  box-shadow: 0 0.6cqw 1.4cqw rgba(0,0,0,0.35);
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.22s ease, z-index 0s;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile:hover,
.tile:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 1cqw 2cqw rgba(0,0,0,0.45);
  z-index: 5;
}
.tile:active { transform: scale(0.98); }
.tile:focus-visible { outline: 0.3cqw solid var(--blue); outline-offset: 0.2cqw; }

.shop-tile-1    { left: 77.2%; top: 42%;   width: 9%; height: 15%; }
.shop-tile-2    { left: 84%;   top: 50%;   width: 9%; height: 15%; }
.instagram-tile { left: 68%;   top: 73.7%; width: 9%; height: 15%; }
.portfolio-tile { left: 78%;   top: 68.5%; width: 9%; height: 15%; }
.radio-tile     { left: 89%;   top: 73.9%; width: 9%; height: 15%; }

/* ---------- Section 6: labels ---------- */

.label {
  position: absolute;
  z-index: 1;
  font-size: 1.85cqw;
  line-height: 1.2;
  color: var(--cream);
  text-align: center;
  letter-spacing: 0.02em;
}

.shop-label      { left: 76%;   top: 58.5%; width: 7%;  }
.instagram-label { left: 68%;   top: 90.5%; width: 10%; }
.portfolio-label { left: 77.0%; top: 85.5%; width: 12%; }
.radio-label     { left: 86.5%; top: 90.5%; width: 12%; }

/* ---------- Mobile: same composition, scaled down (no stacking) ---------- */

@media (max-width: 720px) {
  .page::before,
  .page::after {
    content: '';
    position: absolute;
    background: var(--brown-circle);
    z-index: 0;
  }
  .page::before {
    left: 0; top: 0;
    width: 44%; height: 30%;
    border-radius: 0 0 100% 0;
  }
  .page::after {
    right: 0; bottom: 0;
    width: 55%; height: 40%;
    border-radius: 100% 0 0 0;
  }

  .ellipse { display: none; }

  .welcome-text { font-size: clamp(10px, 3.4cqw, 20px); }
  .label        { font-size: clamp(8px, 1.85cqw, 14px); }
  .hero-frame   { border-width: 2px; }
  .tile         { border-width: 1.5px; }
}