/* ─── Reset & base (mobile-first) ─────────────── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #08080c;
  --s1: #0e0e14;
  --s2: #14141c;
  --s3: #1b1b26;
  --s4: #242434;
  --t1: #f0eff4;
  --t2: #a8a6b8;
  --t3: #6b6980;
  --accent: #e8a846;
  --accent-dim: rgba(232, 168, 70, 0.1);
  --border: rgba(255, 255, 255, 0.06);
  --border-h: rgba(255, 255, 255, 0.1);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Space Grotesk", var(--font);
}

html {
  font-size: 16px;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ─── Grain overlay ───────────────────────────── */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 900;
}

/* ─── Ambient glow ────────────────────────────── */

body::before {
  content: "";
  position: fixed;
  top: -30%;
  left: 50%;
  translate: -50% 0;
  width: 140vw;
  height: 70vh;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(232, 168, 70, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ─── Layout shell ────────────────────────────── */

.shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 0.75rem 1.25rem;
}

/* ─── Top bar ─────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
  animation: fadeIn 600ms ease-out both;
}

.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t1);

}

/* ─── Construction banner ─────────────────────── */

.banner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(232, 168, 70, 0.15);
  background: rgba(232, 168, 70, 0.05);
  animation: fadeIn 600ms ease-out 50ms both;
}

.banner__title {
  margin: 0;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.banner__sub {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--t3);
}

.banner__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ─── Hero ────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

/* ─── Text card ───────────────────────────────── */

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--s1);
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--t1);
}

.headline {
  margin-top: 0.75rem;
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--t2);
}

.sub {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--t2);
  max-width: 48ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  list-style: none;
}

.tags li {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--t3);
  padding: 0.3rem 0.55rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--s2);
}

/* ─── Artwork card ────────────────────────────── */

.hero__art {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--s1);
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  background: var(--s2);
}

.hero__frame {
  aspect-ratio: 1 / 1;
}

.hero__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.hero__caption {
  padding: 0.6rem 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t3);
}

/* ─── Footer ──────────────────────────────────── */

.foot {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--t3);
  animation: fadeIn 600ms ease-out 300ms both;
}

.foot p {
  margin: 0;
}

/* ─── Animations ──────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── 560px+ ──────────────────────────────────── */

@media (min-width: 560px) {
  .shell {
    padding: 1rem 1.2rem 1.5rem;
  }

  .topbar {
    padding: 0.8rem 0;
    margin-bottom: 1rem;
  }

  .brand {
    font-size: 1.45rem;
  }

  .hero {
    gap: 1rem;
  }

  .hero__text {
    padding: 2rem 1.5rem;
  }



  .foot {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }
}

/* ─── 960px+ (side-by-side) ───────────────────── */

@media (min-width: 960px) {
  .shell {
    padding: 1.15rem 1.5rem 2rem;
  }

  .topbar {
    padding: 0.85rem 0;
    margin-bottom: 1.15rem;
  }

  .brand {
    font-size: 1.55rem;
  }

  .hero {
    flex-direction: row;
    gap: 1.15rem;
  }

  .hero__text {
    flex: 1.15;
    padding: 2.5rem 2rem;
  }

  h1 {
    font-size: clamp(2.8rem, 4.5vw, 4rem);
  }

  .sub {
    font-size: 0.92rem;
  }

  .hero__art {
    flex: 0.85;
  }

  .hero__frame {
    aspect-ratio: auto;
    flex: 1;
  }



  .foot {
    margin-top: 1.15rem;
    padding-top: 1rem;
    font-size: 0.72rem;
  }
}

/* ─── Reduced motion ──────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
