:root {
  --ink: #17120f;
  --paper: #fff5e6;
  --cream: #fffaf1;
  --shell: #f8d4c4;
  --rose: #e96b73;
  --sun: #f5b942;
  --sea: #25a7c8;
  --blue: #2d67d8;
  --moss: #5f8f72;
  --muted: #6d5c54;
  --line: rgba(23, 18, 15, 0.18);
  --soft-shadow: 0 24px 70px rgba(83, 45, 19, 0.14);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --script: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  --ui: "Avenir Next", Avenir, Arial, Helvetica, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(233, 107, 115, .14), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(37, 167, 200, .12), transparent 26%),
    var(--paper);
  font-family: var(--ui);
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 10px clamp(16px, 3vw, 44px);
  background: rgba(255, 245, 230, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  flex: 0 0 auto;
  font-family: var(--script);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: .82;
  color: var(--ink);
}

nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 680;
  text-transform: lowercase;
}
.icon-link {
  flex: 0 0 auto;
  width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-weight: 900;
  font-size: 12px;
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 78px) 42px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,245,230,.99) 0%, rgba(255,245,230,.93) 34%, rgba(255,245,230,.45) 66%, rgba(255,245,230,.1) 100%),
    url("./assets/babybossinova-organic-hero.png") center right / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(255,245,230,.72), transparent);
  pointer-events: none;
}
.hero-copy, .hero-status { position: relative; z-index: 1; }
.hero-signature {
  margin: 0 0 12px;
  max-width: 760px;
  color: rgba(23, 18, 15, .9);
  font-family: var(--script);
  font-size: clamp(50px, 9vw, 132px);
  font-weight: 500;
  line-height: .76;
}
h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 88px);
  font-style: normal;
  font-weight: 520;
  line-height: .96;
  letter-spacing: 0;
}
.hero-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(70, 56, 49, .92);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.36;
  font-weight: 520;
}
.hero-actions, .hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-status span {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, .82);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 680;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}
.button.primary { background: var(--ink); color: var(--cream); }
.button.secondary, .button.compact { background: rgba(255, 250, 241, .78); }
.button.compact { width: 100%; }

.studio-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(118px, 1fr));
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.studio-strip a {
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 720;
}

.section {
  padding: clamp(68px, 8vw, 108px) clamp(20px, 5vw, 78px);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 210px) minmax(0, 900px);
  gap: 28px;
  align-items: start;
  margin-bottom: 30px;
}
.section-heading p {
  margin: 8px 0 0;
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 70px);
  font-style: italic;
  font-weight: 540;
  line-height: .98;
}
h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 27px;
  font-style: italic;
  font-weight: 560;
  line-height: 1;
}
p { color: var(--muted); }

.profile-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  gap: 18px;
  padding: 46px clamp(20px, 5vw, 78px);
  background:
    linear-gradient(90deg, rgba(248,212,196,.42), transparent 45%),
    linear-gradient(270deg, rgba(37,167,200,.16), transparent 45%),
    var(--cream);
}
.profile-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 250, 241, .84);
  box-shadow: var(--soft-shadow);
}
.profile-orbit {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid rgba(255,250,241,.9);
  background:
    linear-gradient(140deg, rgba(255,245,230,.12), rgba(255,245,230,.78)),
    url("./assets/babybossinova-organic-hero.png") 72% 54% / 360% auto no-repeat;
  box-shadow: inset 0 0 0 1px rgba(23,18,15,.14), 0 16px 38px rgba(83,45,19,.12);
}
.profile-card h2 { font-size: clamp(34px, 4vw, 58px); margin-bottom: 8px; }
.profile-card p { margin: 0 0 16px; font-size: 19px; line-height: 1.35; color: var(--ink); font-weight: 560; }
.profile-card dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.profile-card dl div {
  min-width: 98px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.profile-card dt { color: var(--muted); font-size: 12px; font-weight: 900; }
.profile-card dd { margin: 0; font-size: 23px; font-weight: 780; }
.highlight-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.highlight-row span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 18%, rgba(233,107,115,.26), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(37,167,200,.2), transparent 32%),
    rgba(255, 250, 241, .86);
  font-weight: 720;
}

.grid-section, .store-section {
  background:
    radial-gradient(circle at 15% 8%, rgba(245,185,66,.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(37,167,200,.14), transparent 24%),
    #fff1df;
}
.work-grid, .store-grid, .journal-list, .links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.work-card, .product-card, .journal-list article, .links-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, .9);
  padding: 14px;
  box-shadow: var(--soft-shadow);
}
.work-card.large { grid-column: span 2; grid-row: span 2; }
.work-card.wide { grid-column: span 2; }
.work-art, .product-art {
  min-height: 210px;
  border-radius: 6px;
  border: 1px solid rgba(23,18,15,.12);
  margin-bottom: 14px;
  background-color: #fff2df;
  position: relative;
  overflow: hidden;
}
.large .work-art { min-height: 438px; }
.work-art::after, .product-art::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(23,18,15,.12);
  border-radius: 999px 999px 50% 50%;
  pointer-events: none;
}
.ink-a, .product-paper {
  background:
    radial-gradient(ellipse at 38% 68%, rgba(233,107,115,.56) 0 16%, transparent 16.6%),
    radial-gradient(ellipse at 54% 52%, rgba(245,185,66,.52) 0 13%, transparent 13.6%),
    repeating-radial-gradient(ellipse at 48% 52%, rgba(45,103,216,.36) 0 4px, transparent 5px 18px),
    linear-gradient(135deg, #ffdfc8, #fff5e6);
}
.ink-b, .product-painting {
  background:
    radial-gradient(ellipse at 22% 76%, rgba(255,250,241,.86) 0 22%, transparent 22.6%),
    radial-gradient(ellipse at 74% 26%, rgba(233,107,115,.34) 0 18%, transparent 18.5%),
    repeating-linear-gradient(96deg, rgba(245,185,66,.24) 0 12px, rgba(37,167,200,.17) 12px 24px, rgba(233,107,115,.2) 24px 36px),
    #fff5e6;
}
.ink-c, .product-digital {
  background:
    radial-gradient(ellipse at 72% 38%, rgba(233,107,115,.34), transparent 20%),
    radial-gradient(ellipse at 24% 72%, rgba(95,143,114,.26), transparent 24%),
    repeating-linear-gradient(132deg, rgba(45,103,216,.18) 0 8px, transparent 8px 20px),
    linear-gradient(135deg, #fff5e6, #dff8ff);
}
.ink-d, .product-object {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(95,143,114,.42) 0 18%, transparent 18.5%),
    radial-gradient(ellipse at 42% 52%, rgba(255,250,241,.9) 0 24%, transparent 24.5%),
    repeating-linear-gradient(20deg, rgba(23,18,15,.14) 0 2px, transparent 2px 28px),
    linear-gradient(135deg, #fff8d7, #d8f7ef);
}
.work-card p, .product-card p, .journal-list p { margin: 0; line-height: 1.5; }
.product-card { display: grid; gap: 12px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; font-weight: 740; }
.cart-panel {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,250,241,.82);
  padding: 12px;
}

.lab-section {
  background:
    linear-gradient(100deg, rgba(248,212,196,.4), transparent 46%),
    linear-gradient(260deg, rgba(37,167,200,.13), transparent 46%),
    var(--paper);
}
.lab-shell, .print-studio {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}
.tool-panel, .config-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,250,241,.86);
  padding: 16px;
}
label { display: grid; gap: 8px; font-size: 13px; font-weight: 900; }
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(23,18,15,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.74);
  padding: 10px;
  font: inherit;
}
canvas {
  width: 100%;
  aspect-ratio: 900 / 560;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
  touch-action: none;
}

.print-section {
  background:
    radial-gradient(circle at 16% 70%, rgba(37,167,200,.16), transparent 24%),
    radial-gradient(circle at 86% 20%, rgba(233,107,115,.14), transparent 28%),
    #f7fff8;
}
.object-stage {
  min-height: 500px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(23,18,15,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,18,15,.045) 1px, transparent 1px),
    #ecfff8;
  background-size: 40px 40px;
  perspective: 900px;
}
.print-object {
  width: 210px;
  height: 300px;
  border-radius: 43% 57% 38% 62% / 23% 25% 75% 77%;
  transform: rotateX(58deg) rotateZ(-28deg);
  animation: slow-spin 9s linear infinite;
  box-shadow: inset -28px -30px 52px rgba(0,0,0,.18), inset 20px 16px 38px rgba(255,255,255,.66), 0 36px 68px rgba(0,0,0,.18);
}
.print-object.matte { background: linear-gradient(135deg, #fff8e8, #d8d0bf); }
.print-object.cobalt { background: linear-gradient(135deg, #173ee4, #90b9ff); }
.print-object.coral { background: linear-gradient(135deg, #ff5f4e, #ffd1c8); }
.print-object.chrome { background: linear-gradient(135deg, #f8fafb, #8a95a0 45%, #ffffff 65%, #aeb6bd); }
.print-object.totem { border-radius: 26px 78px 44px 86px; }
.print-object.charm { width: 245px; height: 245px; border-radius: 50% 38% 55% 45%; }
@keyframes slow-spin { to { transform: rotateX(58deg) rotateZ(332deg); } }

.mural-section, .works-section, .links-section, .source-section {
  background:
    linear-gradient(90deg, rgba(255,245,230,.92), rgba(255,245,230,.76)),
    url("./assets/babybossinova-organic-hero.png") center / cover no-repeat;
}
.mural-marquee, .works-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.mural-marquee span, .works-ribbon span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,250,241,.86);
  padding: 9px 14px;
  font-weight: 950;
  text-transform: lowercase;
}
.mural-offer, .works-offer {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1fr);
  gap: 20px;
}
.mural-scale, .mural-copy, .works-card, .source-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,250,241,.9);
  box-shadow: var(--soft-shadow);
}
.mural-scale {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,245,230,.84), rgba(255,245,230,.2)),
    url("./assets/babybossinova-organic-hero.png") center / cover no-repeat;
}
.mural-wall {
  position: absolute;
  inset: 44px 30px 42px 92px;
  border: 3px solid rgba(23,18,15,.72);
  border-radius: 2px;
  background:
    radial-gradient(ellipse at 74% 34%, rgba(255,250,241,.5), transparent 22%),
    radial-gradient(ellipse at 28% 72%, rgba(245,185,66,.46), transparent 20%),
    repeating-linear-gradient(115deg, rgba(23,18,15,.14) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, rgba(233,107,115,.34), rgba(37,167,200,.4));
}
.mural-figure {
  position: absolute;
  left: 34px;
  bottom: 42px;
  width: 18px;
  height: 92px;
  border-radius: 20px 20px 4px 4px;
  background: var(--ink);
  z-index: 2;
}
.mural-figure::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  top: -26px;
  left: -5px;
}
.mural-copy, .works-card, .source-panel {
  padding: clamp(24px, 4vw, 46px);
}
.mural-copy h3, .works-card h3 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: .94;
}
.mural-copy p, .works-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}
.mural-copy dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.mural-copy dl div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  padding: 14px;
}
.mural-copy dt {
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.mural-copy dd { margin: 4px 0 0; font-size: 26px; font-weight: 950; }
.mural-note { font-size: 14px !important; font-weight: 800; }

.works-card {
  display: grid;
  align-content: center;
  gap: 18px;
}
.works-card strong {
  color: var(--ink);
  background: linear-gradient(transparent 58%, rgba(245,185,66,.65) 58%);
}
.parent-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}
.parent-card li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  padding: 10px 14px;
  font-weight: 900;
}

.links-grid a {
  min-height: 180px;
  display: grid;
  align-content: end;
  gap: 12px;
}
.links-grid span, .journal-list time {
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.links-grid strong {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(26px, 3vw, 42px);
  line-height: .9;
}

.commission-section {
  background:
    radial-gradient(circle at 80% 14%, rgba(233,107,115,.2), transparent 24%),
    #13100e;
  color: var(--cream);
}
.commission-section .section-heading p { color: var(--shell); }
.commission-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}
.commission-form label:nth-child(5), .commission-form output { grid-column: 1 / -1; }
.commission-form input, .commission-form select, .commission-form textarea {
  background: #28211e;
  color: var(--cream);
  border-color: rgba(255,255,255,.24);
}
#commission-output { min-height: 24px; color: #dcefd6; }

.journal-section { background: #fff7ea; }
.journal-list article { min-height: 172px; display: grid; align-content: start; gap: 10px; }
.source-panel { max-width: 980px; display: grid; gap: 20px; }
.source-panel p {
  margin: 0;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.25;
  color: var(--ink);
}
footer {
  min-height: 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(20px, 5vw, 78px);
  background: var(--cream);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header { gap: 12px; }
  .brand { font-size: 24px; max-width: 150px; }
  .studio-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-section, .profile-card, .section-heading, .lab-shell, .print-studio, .mural-offer, .works-offer, .mural-copy dl {
    grid-template-columns: 1fr;
  }
  .work-grid, .store-grid, .journal-list, .links-grid { grid-template-columns: 1fr; }
  .work-card.large, .work-card.wide { grid-column: auto; grid-row: auto; }
  .large .work-art { min-height: 260px; }
}

@media (max-width: 560px) {
  .site-header { gap: 10px; padding: 9px 12px; }
  .brand { flex: 1 1 auto; font-size: 22px; max-width: none; }
  nav {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 10px;
    overflow: visible;
  }
  nav a { display: none; font-size: 12px; }
  nav a[href="#store"], nav a[href="#murals"], nav a[href="#bianca-works"] { display: inline-flex; }
  .icon-link { width: 36px; min-height: 36px; }
  h1 { max-width: 340px; font-size: clamp(46px, 14vw, 62px); }
  .hero {
    min-height: calc(100vh - 62px);
    padding: 72px 20px 24px;
    background:
      linear-gradient(90deg, rgba(255,245,230,.99) 0%, rgba(255,245,230,.9) 48%, rgba(255,245,230,.45) 100%),
      url("./assets/babybossinova-organic-hero.png") 68% center / cover no-repeat;
  }
  .hero-signature { font-size: 34px; margin-bottom: 8px; }
  .hero-copy p { font-size: 16px; line-height: 1.32; }
  .button, .cart-panel .button { width: 100%; }
  .cart-panel { align-items: stretch; flex-direction: column; }
  .object-stage { min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .print-object { animation: none; }
}
