/* Organic, informal fantasy — inspired by an artist's workshop, never cartoonish */
:root {
  --ink: #241c17;
  --forest: #29463a;
  --green: #647b64;
  --copper: #bd6845;
  --cream: #f4ead8;
  --paper: #f8f3e9;
  --line: #cbbda9;
  --muted: #746b62;
  --saffron: #d9a848;
  --plum: #766272;
  --mist: #c6d2c5;
  --shadow: 0 24px 70px rgba(61, 43, 31, .13);
}

html, body, button, input { font-family: "Vazirmatn", Tahoma, sans-serif; }
body { background: var(--paper); }
h1, h2, h3, b, strong { font-family: "Vazirmatn", Tahoma, sans-serif !important; }
.grain { opacity: .055; mix-blend-mode: multiply; }

/* Calm, atelier-like navigation */
.site-header {
  height: 84px;
  padding: 0 clamp(24px, 5vw, 76px);
  background: rgba(248, 243, 233, .9);
  border-bottom: 1px solid rgba(36, 28, 23, .16);
  backdrop-filter: blur(18px);
}
.brand strong { font-size: 1.45rem; font-weight: 850; letter-spacing: -.04em; }
.brand small { letter-spacing: 0; font-weight: 400; }
.site-header nav a { font-weight: 520; }
.site-header nav a:after { background: var(--copper); }
.cart-btn, .profile-btn { border-radius: 999px; padding-inline: 18px; }
.profile-btn { background: var(--forest); }

/* Hero: cinematic but warm, with quiet surreal details */
.hero {
  height: calc(100vh - 84px);
  min-height: 650px;
  border-radius: 0 0 0 15vw;
}
.hero img { filter: saturate(.78) sepia(.08); }
.hero-shade { background: linear-gradient(90deg, rgba(16,13,11,.03), rgba(16,13,11,.06) 36%, rgba(20,15,12,.7) 76%, rgba(20,15,12,.94)); }
.hero-content { right: clamp(28px, 8vw, 130px); max-width: 620px; }
.hero h1, .page-title h1 {
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .98;
  text-shadow: none;
}
.hero h1 em, .page-title h1 em, .academy-banner h2 em {
  color: #d59a62;
  font-style: normal;
  font-weight: 400;
}
.eyebrow { color: #e2b88b; letter-spacing: .04em; }
.eyebrow span { width: 42px; }
.hero-copy { font-size: 1.03rem; font-weight: 350; }
.btn { border-radius: 999px; padding-inline: 28px; }
.btn.primary { background: var(--copper); }
.play { background: rgba(244,234,216,.1); }
.hero-note { border-right-color: #d7ad7f; }
.hero-stamp {
  position: absolute;
  left: 5%; top: 10%;
  width: 132px; height: 132px;
  border: 1px solid rgba(244, 234, 216, .62);
  border-radius: 50%;
  color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.35;
  transform: rotate(-8deg);
  backdrop-filter: blur(8px);
  background: rgba(32, 25, 20, .18);
}
.hero-stamp:before, .hero-stamp:after { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(244,234,216,.35); border-radius: 50%; }
.hero-stamp:after { inset: -9px; border-style: solid; opacity: .25; }
.hero-stamp span { font-size: .62rem; }
.hero-stamp b { font-size: .96rem; font-weight: 500; }
.hero-doodles i { position: absolute; z-index: 2; color: #d7ad7f; font-style: normal; font-size: 1.2rem; opacity: .65; animation: drift 7s ease-in-out infinite; }
.hero-doodles i:nth-child(1) { right: 4%; top: 17%; }
.hero-doodles i:nth-child(2) { right: 45%; top: 14%; color: #b8a5b5; font-size: 2.2rem; animation-delay: -2s; }
.hero-doodles i:nth-child(3) { left: 24%; bottom: 14%; color: #a9c2b5; transform: rotate(24deg); }
.hero-doodles i:nth-child(4) { left: 8%; top: 38%; color: #d2a764; animation-delay: -4s; }
@keyframes drift { 50% { transform: translateY(-10px) rotate(7deg); opacity: .9; } }

/* Editorial story section */
.intro { position: relative; overflow: hidden; }
.intro:before {
  content: "";
  position: absolute; width: 240px; height: 420px; right: -130px; top: 12%;
  border: 1px solid rgba(41,70,58,.18); border-radius: 55% 45% 63% 37%; transform: rotate(18deg);
}
.intro h2, .section-head h2, .academy-banner h2 { font-weight: 620; letter-spacing: -.045em; }
.section-kicker { letter-spacing: .05em; font-weight: 600; color: var(--copper); }
.wood-ring { border-color: #a9957b; opacity: .88; }
.wood-ring span { border-radius: 50%; }
.link-btn { border-bottom-color: var(--copper); }

/* Work gallery: irregular, but restrained */
.featured { padding-top: 70px; }
.product-grid { gap: clamp(20px, 3vw, 44px); align-items: start; }
.product-card { position: relative; }
.product-card:nth-child(2) { margin-top: 74px; }
.product-card:nth-child(3) { margin-top: 18px; }
.product-art { border-radius: 48% 52% 6px 6px / 18% 22% 6px 6px; min-height: 440px; }
.product-card:nth-child(2) .product-art { border-radius: 6px 6px 48% 52% / 6px 6px 19% 16%; }
.tag { border-radius: 999px; background: rgba(248,243,233,.9); backdrop-filter: blur(8px); }
.quick-add { border-radius: 50%; background: rgba(248,243,233,.94); }

/* Workshop techniques, taking the casual structure of the reference site */
.craft-paths {
  margin: 20px max(6vw,28px) 130px;
  display: grid;
  grid-template-columns: .82fr 1fr 1fr;
  gap: clamp(22px, 3vw, 52px);
  align-items: center;
  position: relative;
}
.craft-paths:before {
  content: ""; position: absolute; width: 78%; height: 74%; left: -8%; top: 12%; z-index: -1;
  background: #e6dcc9; border-radius: 43% 57% 49% 51% / 58% 38% 62% 42%; transform: rotate(-3deg);
}
.paths-head { padding: 30px 0; }
.paths-head h2 { font-size: clamp(2.45rem,4.3vw,5rem); font-weight: 620; letter-spacing: -.055em; line-height: 1.17; margin: 25px 0; }
.paths-head h2 em { font-style: normal; color: var(--copper); font-weight: 350; }
.paths-head>p:last-child { color: var(--muted); line-height: 2; }
.path-card { min-height: 560px; padding: 36px 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.chip-card { background: #b2bea9; border-radius: 50% 50% 8px 8px / 15% 17% 8px 8px; transform: translateY(-22px); }
.relief-card { background: #88717f; color: #fff9ee; border-radius: 8px 8px 48% 52% / 8px 8px 17% 15%; transform: translateY(38px); }
.path-no { align-self: flex-start; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: .72rem; opacity: .8; }
.path-card h3 { font-size: 1.75rem; font-weight: 570; margin: 12px 0 4px; }
.path-card p { margin: 0 0 24px; line-height: 1.9; opacity: .8; }
.path-card button { align-self: flex-start; margin-top: auto; border: 0; border-bottom: 1px solid currentColor; color: inherit; background: transparent; padding: 8px 0; font-weight: 550; }
.path-illustration { height: 270px; margin: 8px 0 16px; display: grid; place-items: center; position: relative; }
.chip-illustration i { position: absolute; width: 108px; height: 108px; background: #70462f; transform: rotate(45deg); box-shadow: 18px 18px 45px rgba(50,35,25,.18); }
.chip-illustration i:nth-child(2) { width: 72px; height: 72px; background: #d0a875; transform: rotate(21deg); }
.chip-illustration i:nth-child(3) { width: 38px; height: 38px; background: #516d5a; transform: none; }
.chip-illustration i:nth-child(4) { width: 10px; height: 160px; background: #e9dfcc; transform: rotate(-39deg) translate(86px,-32px); border-radius: 60% 30% 12% 12%; }
.relief-illustration:before { content: ""; position: absolute; width: 226px; height: 226px; border-radius: 47% 53% 45% 55%; background: #6e422c; box-shadow: inset 0 0 0 12px #9b6444, 18px 22px 45px rgba(32,20,15,.25); transform: rotate(-8deg); }
.relief-illustration i { position: relative; z-index: 1; color: #d7ad79; font-style: normal; font-size: 7rem; opacity: .8; }

.academy-banner {
  background: #2b493c;
  margin: 0 max(2vw,14px) 36px;
  border-radius: 46% 54% 0 0 / 12% 16% 0 0;
  padding-top: 120px;
}
.academy-banner:after { opacity: .55; }
.section-kicker.light { color: #d8ab7d; }
.btn.cream { background: #e9decb; }

/* Shop and events retain the handmade mood without decorative gimmicks */
.inner-page { background: linear-gradient(180deg,#f8f3e9 0,#f2eadc 100%); }
.page-title { position: relative; }
.page-title:after { content: ""; position: absolute; left: 7%; bottom: -42px; width: 150px; height: 90px; border: 1px solid rgba(41,70,58,.22); border-radius: 50%; transform: rotate(-11deg); }
.page-title h1 { color: var(--forest); }
.filter-row { border-color: rgba(36,28,23,.16); }
.filters button, .event-tabs button { border-radius: 999px; }
.filters button.active, .event-tabs button.active { background: var(--forest); }
.shop-grid { gap: 28px; }
.store-item { border-radius: 90px 90px 4px 4px; padding-top: 52px; box-shadow: 0 18px 50px rgba(59,40,27,.11); }
.store-item:nth-child(even) { margin-top: 46px; border-radius: 4px 4px 90px 90px; }
.event-list { display: grid; gap: 13px; }
.event-list article { border: 0; background: rgba(255,255,255,.58); border-radius: 0 42px 42px 42px; box-shadow: 0 14px 35px rgba(55,40,31,.07); }
.event-list article:nth-child(2) { margin-right: 4vw; background: rgba(220,225,211,.7); }
.event-list article:nth-child(3) { margin-left: 4vw; background: rgba(230,216,204,.72); }
.event-register { border-radius: 999px; }

/* Product UI stays legible and calm */
.dashboard-page, .dash-main { background: #f4efe5 !important; }
.dash-side { background: #29463a; }
.dash-side nav button { border-radius: 999px; }
.dash-side nav button.active { background: rgba(255,255,255,.13); }
.dash-top { background: rgba(248,243,233,.9); }
.stat-grid>div, .panel { border: 0; border-radius: 18px; box-shadow: 0 14px 35px rgba(55,40,31,.07); }
.stat-grid>div:nth-child(1) { background: #e7ded7; }
.stat-grid>div:nth-child(2) { background: #dde5dc; }
.stat-grid>div:nth-child(3) { background: #ece1c7; }
.stat-grid>div:nth-child(4) { background: #e2d9e0; }
.chat-fab { border-radius: 999px; background: var(--copper); }

@media(max-width:1000px) {
  .craft-paths { grid-template-columns: 1fr 1fr; }
  .paths-head { grid-column: 1 / 3; max-width: 680px; }
}

@media(max-width:760px) {
  .site-header { height: 70px; padding: 0 18px; }
  .hero { height: calc(100svh - 70px); border-radius: 0 0 0 74px; }
  .hero h1 { font-size: 3.9rem; }
  .hero-shade { background: linear-gradient(90deg,#1113,#1113 20%,#17110ee8 92%); }
  .hero-stamp { display: none; }
  .hero-doodles i:nth-child(2), .hero-doodles i:nth-child(3) { display: none; }
  .product-card:nth-child(2), .product-card:nth-child(3) { margin-top: 20px; }
  .craft-paths { grid-template-columns: 1fr; margin-bottom: 90px; }
  .paths-head { grid-column: auto; }
  .craft-paths:before { width: 110%; height: 80%; left: -22%; }
  .path-card { min-height: 510px; transform: none; }
  .chip-card { border-radius: 90px 90px 8px 8px; }
  .relief-card { border-radius: 8px 8px 90px 90px; }
  .academy-banner { border-radius: 70px 70px 0 0; padding-top: 80px; }
  .store-item:nth-child(even) { margin-top: 0; }
  .event-list article:nth-child(2), .event-list article:nth-child(3) { margin: 0; }
}
