@font-face {
  font-family: Vazir;
  src: url(arabic.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: Vazir;
  src: url(latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
:root {
  --paper: #f7f3e7;
  --ink: #263b29;
  --green: #244a34;
  --red: #9c483c;
  --line: #d7d3c1;
  --muted: #626951;
  --surface: #ede9d9;
  --mast: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: var(--mast);
}
body {
  margin: 0;
  font-family: Vazir, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
.wrap {
  width: min(90%, 1280px);
  margin-inline: auto;
}
.mast {
  position: relative;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mast-inner,
.brand,
.main-nav,
.tools,
.basket,
.hero-actions,
.foot,
.mobile-nav {
  display: flex;
  align-items: center;
}
.mast-inner {
  height: var(--mast);
  gap: 5vw;
}
.brand {
  gap: 0.6rem;
  white-space: nowrap;
}
.brand img {
  mix-blend-mode: multiply;
  border-radius: 50%;
}
.brand b {
  font-size: 1.18rem;
}
.main-nav {
  gap: 2.2rem;
  font-size: 0.93rem;
}
.main-nav [aria-current],
.mobile-nav [aria-current] {
  color: var(--red);
}
.tools {
  margin-inline-start: auto;
  gap: 1rem;
}
.basket {
  gap: 0.35rem;
}
.preferences {
  position: relative;
}
.preferences summary {
  list-style: none;
  font-size: 0.9rem;
}
.preferences > div {
  background: var(--paper);
  box-shadow: 0 8px 25px #28321d21;
  border: 1px solid var(--line);
  border-radius: 9px;
  position: absolute;
  z-index: 9;
  inset-inline-end: 0;
  min-width: 135px;
  padding: 8px;
}
.preferences a {
  display: block;
  padding: 5px 10px;
}
.preferences a[aria-current] {
  background: var(--surface);
  border-radius: 3px;
}
.preferences hr {
  border: 0;
  border-top: 1px solid var(--line);
}
.mobile-nav {
  display: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.hero-story {
  background: radial-gradient(ellipse at 25% 40%, #e5dfc5 0, transparent 52%), var(--paper);
  position: relative;
}
.hero-story.animated {
  height: 185svh;
}
.hero-pin {
  min-height: 580px;
  height: calc(100svh - var(--mast));
  max-height: 1060px;
  display: grid;
  align-items: center;
  position: sticky;
  top: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.17fr;
  align-items: center;
  gap: 1vw;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.wordmark {
  font:
    600 0.83rem/1.3 Vazir,
    sans-serif;
  letter-spacing: 0.27em;
  color: var(--red);
  text-align: start;
  width: max-content;
  margin: 0 0 1.5rem;
}
.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(3rem, 6.8vw, 7.5rem);
  line-height: 1.14;
  letter-spacing: -0.055em;
  margin: 0.1em 0 0.2em;
  font-weight: 750;
}
.hero-copy h2 {
  font-size: clamp(2.4rem, 5.4vw, 6rem);
}
.hero-copy .intro-copy > p:last-child,
.inside-copy > p {
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.9;
}
.inside-copy {
  opacity: 0;
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
}
.hero-actions {
  gap: 1.3rem;
  flex-wrap: wrap;
  margin: 1.9rem 0 0;
}
.button,
button {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 0.76rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 650;
}
.button:hover,
button:hover {
  background: #356244;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
.text-link {
  color: var(--green);
  font-weight: 650;
  border-bottom: 1px solid var(--green);
  padding-bottom: 3px;
}
.stage {
  height: clamp(390px, 64svh, 730px);
  position: relative;
  isolation: isolate;
}
.stage:before {
  content: '';
  position: absolute;
  width: 48%;
  height: 5.5%;
  border-radius: 50%;
  background: #54452c26;
  filter: blur(16px);
  bottom: 8%;
  left: 26%;
}
.stage canvas,
.stage .poster {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  inset: 0;
}
.stage canvas {
  opacity: 0;
}
.stage.ready canvas {
  opacity: 1;
}
.stage.ready .poster {
  visibility: hidden;
}
.scroll-hint {
  position: absolute;
  inset-inline: 5%;
  bottom: 4%;
  color: var(--muted);
  font-size: 0.75rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
}
.animated .scroll-hint {
  display: flex;
}
.scroll-hint i {
  display: inline-block;
  height: 1.6rem;
  width: 1px;
  background: var(--red);
}
.section {
  padding-block: clamp(3rem, 7vw, 7rem);
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h2,
.page-head h1 {
  line-height: 1.3;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.8rem, 3.1vw, 3rem);
}
.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  margin: 0;
}
.page-head p,
.empty p,
.faq p {
  color: var(--muted);
}
.empty {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 1.5fr;
  background: var(--surface);
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
}
.empty > div {
  padding: clamp(1.3rem, 4vw, 4rem);
}
.empty img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
}
.empty h3 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}
.photo {
  border-radius: 8px;
  width: 100%;
  margin-top: 1.5rem;
}
.narrow {
  max-width: 800px;
}
.panel {
  display: grid;
  gap: 0.96rem;
  background: #fffdf5;
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border-radius: 8px;
}
.panel[hidden] {
  display: none;
}
label {
  display: grid;
  gap: 4px;
  font-size: 0.93rem;
}
.panel input,
.panel textarea,
.panel select,
.row input {
  width: 100%;
  background: #fffdf7;
  border: 1px solid #abae9c;
  padding: 9px 12px;
  border-radius: 4px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 75px;
}
.feedback {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.feedback:empty {
  display: none;
}
.feedback a {
  text-decoration: underline;
}
.faq {
  max-width: 820px;
  margin: 0 auto 5rem;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  font-weight: 650;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.product-grid img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
}
.product-grid h3 {
  margin: 0.6rem 0;
}
.rate {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.foot {
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 2.3rem;
}
.foot div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.foot small {
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
}
.row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.row input {
  width: 5rem;
}
.row button {
  padding: 0.4rem 0.8rem;
}
.row strong {
  flex: 1;
}
dl div {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem;
}
dd {
  margin: 0;
  font-weight: 650;
}
@media (max-width: 740px) {
  :root {
    --mast: 103px;
  }
  .mast-inner {
    height: 62px;
    gap: 0.8rem;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .brand b {
    font-size: 1rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
    gap: 1.3rem;
    justify-content: center;
    font-size: 0.8rem;
    border-top: 1px solid var(--line);
    height: 40px;
  }
  .hero-pin {
    height: calc(100svh - var(--mast));
    min-height: 560px;
    max-height: 820px;
    padding: 18px 0 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy {
    grid-row: 2;
  }
  .stage {
    grid-row: 1;
    height: clamp(205px, 34svh, 335px);
  }
  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }
  .hero-copy h2 {
    font-size: 2.5rem;
  }
  .wordmark {
    font-size: 0.66rem;
    margin: 0 0 0.6rem;
  }
  .hero-copy .intro-copy > p:last-child,
  .inside-copy > p {
    font-size: 0.94rem;
    margin: 0.45rem 0;
    line-height: 1.7;
  }
  .hero-actions {
    gap: 0.9rem;
    margin: 0.8rem 0;
  }
  .hero-actions a {
    font-size: 0.85rem;
  }
  .scroll-hint {
    bottom: 1.2%;
  }
  .split,
  .empty {
    grid-template-columns: 1fr;
  }
  .empty img {
    max-height: 230px;
  }
  .section {
    padding-block: 2.5rem;
  }
  .foot {
    gap: 0.8rem;
  }
  .foot div {
    font-size: 0.85rem;
  }
  .foot small {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-story {
    height: auto;
  }
  .scroll-hint {
    display: none !important;
  }
}
