/* ==========================================================
   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-x: hidden;
}

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;
}
.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: 2%;*/
/*  top: 13%;*/
/*  width: 40%;*/
/*  height: 100%;*/
/*  object-fit: cover;*/
/*}*/

/*.cat-silhouette {*/
/*  position: absolute;*/
/*  z-index: 3;*/
/*  left: 0%;*/
/*  right: 0%;*/
/*  top: 11%;*/
/*  width: 50%;*/
/*  height: 100%;*/
/* object-fit: contain;*/
/*  object-position: bottom left;*/
/*}*/

.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%; }

/* ---------- Responsive: stack for small screens ---------- */

@media (max-width: 720px) {
  .page { padding: 0; align-items: flex-start; }

  .canvas {
    aspect-ratio: auto;
    height: auto;
    min-height: 100vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 20px 40px;
    container-type: normal;
  }

  .ellipse { display: none; }

  .cat-silhouette {
    position: static;
    width: 46%;
    height: auto;
    order: 1;
  }

  .welcome-text {
    position: static;
    font-size: 20px;
    order: 0;
  }

  .wordmark-img {
    position: static;
    width: 84%;
    order: 0;
    margin-top: -8px;
  }

  .hero-frame {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-width: 4px;
    border-radius: 16px;
    order: 2;
  }

  .tile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .shop-tile-1, .shop-tile-2,
  .instagram-tile, .portfolio-tile, .radio-tile {
    position: static;
    width: 110px;
    height: 110px;
    border-width: 3px;
    border-radius: 14px;
    margin-top: 6px;
  }

  .label {
    position: static;
    font-size: 14px;
    width: auto;
  }
}
