/* Epic Nooblet Crafts — from the "Talea's Trinkets redesign" Claude Design export */

:root {
  --bg: #06070b;
  --text: #f4f0e6;
  --muted: #b7b4c4;
  --muted-2: #a4a7b2;
  --muted-3: #6f6c7d;
  --nav: #d8d5e6;
  --blue: #8fa8c9;
  --blue-deep: #5d7ca6;
  --purple: #c67bdc;
  --purple-light: #dba4ea;
  --gold: #c9a46c;
  --rose: #c98aa0;
  --rose-light: #e8c9c2;
  --serif: "Cormorant Garamond", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --card: radial-gradient(circle at top left, #241f30 0, #121118 60%);
  --card-alt: radial-gradient(circle at top left, #211d2b 0, #121118 60%);
  --hairline: rgba(255, 255, 255, 0.06);
  --page-glow: #1c2032;
}

.theme-trinkets { --page-glow: #241f30; }
.theme-beyond { --page-glow: #2b2020; }

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

html, body { margin: 0; background-color: var(--bg); }

body {
  font-family: var(--sans);
  color: var(--text);
  overflow-x: hidden;
  background-image: radial-gradient(circle at top, var(--page-glow) 0%, var(--bg) 55%);
  background-repeat: no-repeat;
  background-size: 100% 100vh;
  background-attachment: fixed;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-light); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.theme-beyond .eyebrow { color: var(--rose); }

.grad-text {
  font-style: italic;
  background: linear-gradient(90deg, #e7b9f2, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text);
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; cursor: pointer;
}
.btn:hover { color: var(--text); border-color: var(--purple); }
.btn--primary { background: linear-gradient(135deg, rgba(198, 123, 220, 0.35), rgba(93, 124, 166, 0.28)); }
.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.8rem; letter-spacing: 0.08em; white-space: nowrap; }
.btn--rose:hover { border-color: var(--rose); }
.btn img { width: 16px; height: 16px; }

.text-link { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.text-link:hover { color: var(--text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(6, 7, 11, 0.92), rgba(6, 7, 11, 0.55));
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  max-width: 1180px; margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__moon { font-size: 1.4rem; line-height: 1; }
.brand__text { display: flex; flex-direction: column; gap: 0.05rem; }
.brand__name {
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text); white-space: nowrap;
}
.brand__tag { font-size: 0.72rem; letter-spacing: 0.05em; color: var(--muted-2); }

.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-desktop a, .nav-mobile a {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nav);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--purple-light); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; padding: 0.4rem; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 999px; background: var(--text); }

.nav-mobile {
  flex-direction: column; gap: 1rem; padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--hairline);
}
.nav-mobile:not([hidden]) { display: flex; }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .brand__tag { display: none; }
  .site-header__inner { gap: 0.75rem; padding: 0.9rem 1rem; }
  .brand__name { font-size: 0.9rem; letter-spacing: 0.08em; }
}
@media (max-width: 560px) {
  .site-header__actions .btn { display: none; }
}
@media (min-width: 881px) { .nav-mobile { display: none !important; } }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 1.75rem 1.5rem 2.25rem; }
.site-footer__inner {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem; color: var(--muted-2);
}
.site-footer__links { display: flex; align-items: center; gap: 1.25rem; }
.site-footer__links a { color: var(--muted-2); }
.site-footer__links a:hover { color: var(--text); }

/* Photo placeholders (TODO: replace with real <img>) */
.slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-width: 0; padding: 0.75rem;
  border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.16);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 12px, rgba(255,255,255,0.015) 12px 24px);
  color: var(--muted-3); font-size: 0.78rem; letter-spacing: 0.04em;
}
.slot--rect { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.h-110 { width: 110px; height: 110px; flex-shrink: 0; border-radius: 14px; }
.h-120 { height: 120px; } .h-140 { height: 140px; } .h-160 { height: 160px; }
.h-220 { height: 220px; } .h-260 { height: 260px; } .h-320 { height: 320px; }
.span-2 { grid-column: span 2; }

/* Generic sections */
.section { padding: 4rem 1.5rem; }
.section__inner { max-width: 1180px; margin: 0 auto; }
.section-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 1.75rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
@media (min-width: 881px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lead { color: var(--muted); line-height: 1.75; }
.card {
  background: var(--card); border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3); overflow: hidden;
}
.badge {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(93, 124, 166, 0.5); color: var(--blue);
}
.badge--gold { border-color: rgba(201, 164, 108, 0.5); color: var(--gold); }

/* Home */
.hero { max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 1.5rem 3.5rem; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.08; letter-spacing: 0.01em; margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.05rem; max-width: 34rem; margin-bottom: 2rem; }
.hero__slots { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; }
.hero__slots > div { display: grid; gap: 1rem; min-width: 0; }
@media (min-width: 881px) { .hero .split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); } }

.band--trinkets { background: radial-gradient(circle at 20% 0%, #241f30 0%, #0d0a12 60%); }
.band--beyond { background: radial-gradient(circle at 80% 0%, #2b2020 0%, #100d0d 60%); }
.band h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.05; margin-bottom: 1rem; }
.band .lead { max-width: 30rem; margin-bottom: 1.75rem; }
.band--beyond h2 { color: var(--rose-light); }
.band .collage--tight { gap: 0.9rem; }
.band .btn { padding: 0.75rem 1.6rem; font-size: 0.82rem; }
@media (min-width: 881px) { .band--beyond .order-1 { order: 1; } .band--beyond .order-2 { order: 2; } }

.closing { max-width: 780px; margin: 0 auto; padding: 4.5rem 1.5rem; text-align: center; }
.closing h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 0.9rem; }
.closing p { color: var(--muted-2); line-height: 1.7; margin-bottom: 2rem; }
.closing__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Talea's Trinkets */
.page-hero { max-width: 900px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.02; margin-bottom: 1.2rem; }
.page-hero .lead { font-size: 1.05rem; max-width: 34rem; margin: 0 auto 2rem; }
.page-hero .btn { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4); }

.collections { max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.collection-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 881px) { .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collection { display: flex; flex-direction: column; }
.collection__body { padding: 1.5rem 1.5rem 1.75rem; }
.collection h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.collection p { color: var(--muted); line-height: 1.7; }
.collection__foot { padding: 0 1.5rem 1.5rem; margin-top: auto; }

.shape-band { background: radial-gradient(circle at 30% 0%, #1a1622 0%, var(--bg) 60%); padding: 4rem 1.5rem; }
.piece-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (min-width: 881px) { .piece-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.piece-featured { box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); }
.piece-featured__body { padding: 1.75rem 1.75rem 2rem; }
.piece-featured__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; }
.piece-featured h3 { font-size: 1.4rem; }
.piece-featured p { color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
.piece-featured a { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.piece-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.piece-mini {
  display: flex; gap: 1rem; padding: 1rem; background: var(--card-alt);
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.piece-mini > div { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.piece-mini__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.piece-mini h3 { font-size: 1.05rem; }
.piece-mini p { color: var(--muted-2); font-size: 0.88rem; line-height: 1.55; }
.status { font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.status--soon { color: var(--blue-deep); }
.status--sold { color: #7d7a8c; }
.fine { font-size: 0.8rem; color: var(--muted-3); line-height: 1.6; margin-top: 0.25rem; }

/* Beyond the Trinkets */
.beyond-hero h1 { color: var(--rose-light); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1.2rem; }
.beyond-hero .lead { font-size: 1.05rem; max-width: 32rem; }
@media (min-width: 881px) { .beyond-hero .split { grid-template-columns: 1.2fr 1fr; } }

.areas { max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.areas__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 881px) { .areas__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area {
  background: radial-gradient(circle at top left, #2b2426 0, #14100f 60%);
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); padding: 1.25rem;
}
.area h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.area p { color: var(--muted-2); font-size: 0.88rem; line-height: 1.6; }

.projects-band { background: radial-gradient(circle at 70% 0%, #1e1a24 0%, var(--bg) 60%); padding: 4rem 1.5rem; }
.project-list { display: flex; flex-direction: column; gap: 1.5rem; }
.project {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.25rem;
  background: radial-gradient(circle at top left, #221d28 0, #121118 60%);
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
@media (min-width: 881px) { .project { grid-template-columns: 240px 1fr; } }
.project h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.project p { color: var(--muted); line-height: 1.65; margin-bottom: 0.75rem; }
.project a, .project__note { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.project__note { color: var(--blue); }

/* About */
.about { max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 4.5rem; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 881px) { .about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.about h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin-bottom: 1.5rem; }
.about p.lead { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.1rem; }
.about__quote {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-radius: 16px;
  background: rgba(244, 240, 230, 0.04); border: 1px solid rgba(244, 240, 230, 0.08);
}
.about__quote p { color: #e8dfc9; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.6; }
.about__slots { display: flex; flex-direction: column; gap: 1rem; }
.about__slots .slot { border-radius: 18px; }

.collection__img { display: block; width: 100%; height: 220px; object-fit: cover; }
