:root {
  --blue: #A8D5E5;
  --grey: #E8E9EB;
  --pink: #F4C6CC;
  --white: #FFFFFF;
  --text: #2E2E2E;
  --muted: #6B6B6B;
  --green: #D7EAD9;
  --gold: #FFE1B5;
  --shadow: 0 18px 48px rgba(46, 46, 46, 0.11);
  --soft-shadow: 0 10px 28px rgba(46, 46, 46, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(168, 213, 229, 0.95);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 380px) auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 26px rgba(46, 46, 46, 0.07);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 110px;
  min-width: 76px;
}

.brand-logo {
  width: 100%;
  max-height: 96px;
  border-radius: 12px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--text);
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #F7F9FA;
  border: 1px solid rgba(232, 233, 235, 0.9);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grey);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pink);
  font-size: 12px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--grey);
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

main {
  min-height: 68vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 48px) 34px;
  background: linear-gradient(135deg, #fff 0%, #F6FBFD 62%, rgba(168, 213, 229, 0.28) 100%);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5.8vw, 4.35rem);
  line-height: 1;
  font-weight: 700;
}

.intro-preview {
  display: -webkit-box;
  max-width: 760px;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.hero-visual img,
.detail-image img,
.artist-profile img,
.artist-card img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.button.primary {
  background: var(--pink);
}

.button.secondary {
  border: 1px solid rgba(46, 46, 46, 0.16);
  background: #fff;
}

.button.small {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
}

.button.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.eyebrow,
.chip {
  margin: 0 0 10px;
  color: #4B6C77;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section,
.page-hero,
.detail-layout,
.story-section,
.artist-profile,
.artist-grid,
.contact-wrap,
.cart-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 48px);
}

.page-hero {
  padding-top: clamp(26px, 4vw, 42px);
  padding-bottom: 18px;
}

.page-hero.compact {
  padding-bottom: 10px;
}

.results-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px clamp(18px, 4vw, 48px) clamp(30px, 5vw, 58px);
}

.results-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 48px) 10px;
}

.results-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.results-head p {
  margin: 0;
  color: var(--muted);
}

.artist-grid {
  padding-top: 16px;
}

.page-hero p {
  max-width: 860px;
  color: var(--muted);
}

.mission p {
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.story-section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.impact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 0 clamp(18px, 4vw, 48px);
}

.impact-strip span {
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--grey);
}

.category-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 124px;
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  background: #F8FBFC;
  box-shadow: var(--soft-shadow);
  text-align: left;
  cursor: pointer;
}

.category-card:nth-child(2n) {
  background: #FFF6F7;
}

.category-card:nth-child(3n) {
  background: #F3F7F3;
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius);
  background: #F7F9FA;
}

.filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.filters select,
.filters input[type="range"],
.contact-form input,
.contact-form textarea {
  width: 100%;
}

.filters select,
.contact-form input,
.contact-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(46, 46, 46, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-body h3 {
  margin: 0 0 6px;
  min-height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}

.product-body p {
  margin: 0 0 10px;
  color: var(--muted);
  min-height: 4.95em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.price,
.detail-price {
  display: block;
  margin: auto 0 6px;
  font-size: 1.2rem;
}

.product-body small,
.artist-line {
  color: var(--muted);
}

.product-body small {
  display: block;
  min-height: 4.95em;
  margin-top: auto;
}

.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.heart.is-liked,
[data-wishlist].is-liked {
  background: var(--pink);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.detail-image img {
  width: 100%;
}

.story-section {
  padding-top: 22px;
}

.story-section p {
  max-width: 840px;
  color: var(--muted);
}

.text-link,
.artist-line a {
  color: #356C7C;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.artist-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: start;
}

.support-note,
.thank-you {
  padding: 18px;
  border-radius: var(--radius);
  background: #FFF6F7;
  font-weight: 700;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.artist-card {
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.artist-card h2 {
  margin: 14px 0 4px;
  font-size: 1.2rem;
}

.artist-card p,
.artist-card small {
  margin: 0;
  color: var(--muted);
}

.steps > div {
  padding: 24px;
  border-radius: var(--radius);
  background: #F7F9FA;
}

.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  font-weight: 700;
}

.partner-band {
  background: linear-gradient(135deg, #fff, #F6FBFD);
}

.field-notes {
  background: #F7F9FA;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.field-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.field-card.wide {
  grid-column: span 3;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  align-items: center;
  padding: 18px;
}

.field-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.field-card.wide img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #F7F9FA;
}

.field-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.field-card p {
  margin: 0;
  color: var(--muted);
}

.contact-wrap {
  padding-top: 14px;
}

.film-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.film-item,
.field-photo {
  margin: 0;
  min-width: 0;
}

.film-item video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #171717;
  border-radius: 8px;
}

.field-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #F7F9FA;
  border-radius: 8px;
}

.film-item figcaption,
.field-photo figcaption {
  margin: 10px 0 18px;
  font-weight: 500;
}

.films-section > .button { margin-top: 24px; }
.contact-details { margin-bottom: 28px; }
.contact-details a { display: block; overflow-wrap: anywhere; margin: 8px 0; }
.site-footer a { overflow-wrap: anywhere; }
.hero-visual img { object-fit: contain; }

@media (max-width: 640px) {
  .film-grid,
  .photo-grid { grid-template-columns: 1fr; }
  .brand { width: 88px; }
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  padding: 24px;
  border-radius: var(--radius);
  background: #F7F9FA;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.form-error {
  margin: 0;
  color: #9b1c1c;
  font-weight: 700;
}

.cart-list {
  display: grid;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.cart-item img {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}

.cart-item h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--grey);
  cursor: pointer;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 20px;
  border-radius: var(--radius);
  background: #F7F9FA;
}

.empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: var(--radius);
  background: #F7F9FA;
  color: var(--muted);
}

.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 80;
  display: none;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-panel.open {
  display: block;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--blue);
}

.chat-head button {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-body {
  max-height: 260px;
  overflow: auto;
  padding: 14px;
}

.bot-message,
.user-message {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
}

.bot-message {
  background: #F7F9FA;
}

.user-message {
  margin-left: 28px;
  background: #FFF6F7;
}

.quick-questions {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--grey);
}

.quick-questions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background: var(--grey);
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  margin-top: 42px;
  padding: 42px clamp(18px, 4vw, 48px);
  background: var(--grey);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 10px;
}

.site-footer a {
  display: block;
  color: var(--muted);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.reveal,
.artist-card.reveal {
  opacity: 1;
  transform: none;
}

.artist-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .artist-profile,
  .filters,
  .steps,
  .field-grid,
  .field-card.wide {
    grid-template-columns: 1fr;
  }

  .field-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    width: 72px;
  }

  .hero {
    padding-top: 34px;
  }

  .product-grid,
  .category-grid,
  .artist-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 82px 1fr;
  }

  .cart-item img {
    width: 82px;
  }

  .quantity {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .cart-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
