:root {
  color-scheme: light;
  --bg: #f7f3ec;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf9;
  --ink: #241d17;
  --muted: #6e655d;
  --line: rgba(57, 44, 31, 0.12);
  --gold: #c79a3b;
  --gold-deep: #9f7722;
  --shadow: 0 24px 80px rgba(39, 28, 17, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 154, 59, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(111, 92, 74, 0.1), transparent 22%),
    linear-gradient(180deg, #fbf8f2 0%, #f4efe7 45%, #f8f5ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1220px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.topbar,
.hero-panel,
.content-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 22px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5d694, #b18121);
  color: #fffdf8;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-kicker,
.eyebrow,
.card-label,
.product-type {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-block h1,
.hero-copy h2,
.panel-heading h2,
.cta-panel h2,
.collection-card h3,
.product-card h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
}

.brand-block h1 {
  font-size: 1.8rem;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-cta,
.primary-btn,
.secondary-btn,
.product-footer button,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-cta,
.primary-btn,
.product-footer button,
.filter-pill.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fffaf1;
  box-shadow: 0 16px 28px rgba(159, 119, 34, 0.18);
}

.secondary-btn,
.filter-pill {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.product-footer button:hover,
.filter-pill:hover {
  transform: translateY(-2px);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 30px;
  margin-top: 18px;
  padding: 34px;
  border-radius: 34px;
}

.hero-copy h2,
.panel-heading h2,
.cta-panel h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.95;
}

.hero-copy p,
.cta-panel p,
.collection-card p,
.product-card p,
.workflow-card li {
  color: var(--muted);
}

.hero-copy p {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions,
.metric-row,
.section-row,
.dashboard-grid,
.product-grid,
.collection-grid,
.admin-story {
  display: grid;
  gap: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.metric-card,
.floating-card,
.collection-card,
.product-card,
.insight-card,
.story-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 50px rgba(33, 24, 18, 0.06);
}

.metric-card {
  padding: 18px;
  border-radius: 22px;
}

.metric-card strong,
.insight-card strong,
.price-row strong,
.product-footer strong {
  display: block;
  color: var(--ink);
  font-size: 1.5rem;
}

.metric-card span,
.insight-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.floating-card {
  position: absolute;
  border-radius: 28px;
  padding: 22px;
}

.spotlight-card {
  top: 18px;
  left: 0;
  right: 72px;
  background: linear-gradient(160deg, #2d2218, #815d2d);
  color: #fff9ee;
}

.spotlight-card p,
.spotlight-card .card-label,
.spotlight-card .price-row span {
  color: rgba(255, 250, 238, 0.78);
}

.spotlight-card h3,
.note-card h3,
.collection-card h3,
.product-card h3,
.workflow-card h3 {
  font-size: 2rem;
}

.price-row,
.cart-line,
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.note-card {
  top: 198px;
  right: 0;
  width: 260px;
}

.note-card ul,
.workflow-card ol {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.checkout-card {
  left: 54px;
  right: 92px;
  bottom: 22px;
}

.cart-line.muted {
  margin-top: 10px;
  color: var(--muted);
}

.content-panel {
  margin-top: 18px;
  padding: 28px;
  border-radius: 30px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.collection-grid,
.product-grid,
.dashboard-grid,
.admin-story {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card,
.insight-card,
.story-card {
  padding: 22px;
  border-radius: 24px;
}

.collection-card.warm { background: linear-gradient(160deg, rgba(199, 154, 59, 0.18), rgba(255,255,255,0.92)); }
.collection-card.floral { background: linear-gradient(160deg, rgba(208, 125, 158, 0.16), rgba(255,255,255,0.92)); }
.collection-card.fresh { background: linear-gradient(160deg, rgba(108, 159, 183, 0.16), rgba(255,255,255,0.92)); }

.panel-heading.compact h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.product-card {
  overflow: hidden;
  border-radius: 24px;
}

.product-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.product-type {
  color: var(--gold-deep);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-grid {
  margin-top: 22px;
}

.insight-card {
  border-radius: 22px;
}

.admin-story {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 18px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  min-height: 220px;
  margin-top: 16px;
}

.bar-chart span {
  display: block;
  width: 100%;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #d4ae58, #8e6722);
}

.workflow-card ol {
  display: grid;
  gap: 10px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

@media (max-width: 1080px) {
  .topbar,
  .hero-panel,
  .split-layout,
  .collection-grid,
  .product-grid,
  .dashboard-grid,
  .admin-story,
  .metric-row,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .topbar,
  .cta-panel {
    display: grid;
  }

  .hero-stage {
    min-height: 720px;
  }

  .spotlight-card,
  .note-card,
  .checkout-card {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: 14px;
  }

  .topnav,
  .filter-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 18px, 1220px);
    padding-bottom: 28px;
  }

  .topbar,
  .hero-panel,
  .content-panel {
    border-radius: 22px;
    padding: 18px;
  }

  .hero-copy h2,
  .panel-heading h2,
  .cta-panel h2 {
    font-size: 2.35rem;
  }

  .product-card img {
    height: 220px;
  }

  .product-footer,
  .price-row,
  .cart-line,
  .section-row,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stage {
    min-height: auto;
  }
}