@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

.bs-hero {
  --bs-cream: #fbf6ec;
  --bs-cream-deep: #f4ebdc;
  --bs-ink: #332c26;
  --bs-ink-soft: #6c6055;
  --bs-terra: #c47158;
  --bs-terra-deep: #9d4f39;
  --bs-sage: #9caf90;
  --bs-sage-deep: #718767;
  --bs-sage-soft: #e5ead9;
  --bs-blush: #eac8b7;
  --bs-butter: #f0cd8d;
  --bs-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --bs-font-latin: "Manrope", "Segoe UI", sans-serif;
  --bs-ease: cubic-bezier(.22, 1, .36, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(700px, 91vh, 940px);
  padding-block: clamp(48px, 7vw, 92px) clamp(76px, 10vw, 132px);
  background:
    radial-gradient(1100px 680px at 88% -12%, #fffaf1 0%, rgba(255, 250, 241, 0) 62%),
    radial-gradient(900px 680px at 2% 108%, #f2e6d3 0%, rgba(242, 230, 211, 0) 64%),
    var(--bs-cream);
  color: var(--bs-ink);
  font-family: var(--bs-font);
  direction: rtl;
  text-align: right;
}

.bs-hero *,
.bs-hero *::before,
.bs-hero *::after {
  box-sizing: border-box;
}

.bs-hero img {
  max-width: none;
}

.bs-hero .wp-block-image {
  margin: 0;
}

.bs-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(22px, 4.5vw, 54px);
}

/* ---------- background vectors ---------- */

.bs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bs-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: .5;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

.bs-deco {
  position: absolute;
  display: block;
  margin: 0;
  transform: translate3d(var(--bs-px, 0px), var(--bs-py, 0px), 0) rotate(calc(var(--bs-base-rot, 0deg) + var(--bs-pr, 0deg)));
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.bs-deco img {
  display: block;
  width: 100%;
  height: auto;
}

.bs-deco--field {
  inset: -7% -3%;
  width: 106%;
  height: 114%;
  z-index: 0;
  opacity: .96;
  --bs-parallax: .12;
}

.bs-deco--field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-deco--cloud-a {
  top: 8%;
  left: 3.5%;
  z-index: 2;
  width: clamp(190px, 19vw, 300px);
  --bs-base-rot: -2deg;
  --bs-parallax: .2;
  --bs-parallax-x: -26;
  --bs-parallax-rot: 2.2;
}

.bs-deco--cloud-b {
  top: 4%;
  right: 7%;
  z-index: 2;
  width: clamp(132px, 12vw, 196px);
  opacity: .8;
  --bs-base-rot: 3deg;
  --bs-parallax: .14;
  --bs-parallax-x: 20;
  --bs-parallax-rot: -2;
}

.bs-deco--cloud-a > img,
.bs-deco--cloud-b > img {
  animation: bs-bob 10s ease-in-out infinite;
}

.bs-deco--cloud-b > img {
  animation-duration: 13s;
  animation-delay: -4s;
}

.bs-floaty {
  animation: bs-bob var(--bs-float-dur, 10s) ease-in-out infinite;
  animation-delay: var(--bs-float-delay, 0s);
}

.bs-deco--cloud-b .bs-floaty {
  --bs-float-dur: 13s;
  --bs-float-delay: -4s;
}

/* ---------- copy ---------- */

.bs-hero__copy {
  position: relative;
  z-index: 4;
  max-width: 615px;
  margin-block: 0;
}

.bs-hero__copy > * {
  animation: bs-rise .85s var(--bs-ease) both;
}

.bs-hero__copy > :nth-child(1) { animation-delay: .08s; }
.bs-hero__copy > :nth-child(2) { animation-delay: .15s; }
.bs-hero__copy > :nth-child(3) { animation-delay: .24s; }
.bs-hero__copy > :nth-child(4) { animation-delay: .33s; }
.bs-hero__copy > :nth-child(5) { animation-delay: .41s; }

.bs-hero .bs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(112, 92, 73, .17);
  border-radius: 999px;
  background: rgba(255, 251, 243, .66);
  color: var(--bs-ink-soft);
  font-family: var(--bs-font);
  font-size: clamp(11.5px, 1vw, 13px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  box-shadow: 0 6px 20px -18px rgba(65, 51, 39, .6);
}

.bs-hero .bs-eyebrow::before {
  content: "";
  flex: none;
  width: 25px;
  height: 25px;
  background: url("../img/loop-icon.svg") center / contain no-repeat;
  filter: drop-shadow(0 3px 5px rgba(91, 59, 43, .16));
}

.bs-hero .bs-hero__title,
.bs-hero h1.bs-hero__title {
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: clamp(2.65rem, 4.8vw, 4.35rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.bs-hero__title strong {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: .1em;
  color: var(--bs-terra-deep);
  font-weight: inherit;
}

.bs-hero__title strong::after {
  content: "";
  position: absolute;
  inset-inline: -.06em;
  bottom: -.02em;
  height: .34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 28' preserveAspectRatio='none'%3E%3Cpath d='M3 19C44 10 84 9 123 15C165 22 208 21 297 9' fill='none' stroke='%23c47158' stroke-width='5' stroke-linecap='round' stroke-dasharray='1 11' opacity='.78'/%3E%3Cpath d='M5 25C48 18 90 17 126 21C166 26 214 24 294 16' fill='none' stroke='%23eac8b7' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.bs-hero .bs-hero__lede {
  max-width: 34rem;
  margin: 0 0 clamp(26px, 3.2vw, 36px);
  color: var(--bs-ink-soft);
  font-family: var(--bs-font);
  font-size: clamp(15.5px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 2.05;
  text-wrap: pretty;
}

.bs-hero .bs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 0 0 clamp(30px, 3.6vw, 40px);
}

.bs-hero__actions .wp-block-button {
  margin: 0;
}

.bs-hero .wp-block-button__link,
.bs-hero__actions a.bs-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--bs-font);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: transform .3s var(--bs-ease), box-shadow .3s var(--bs-ease), background-color .3s var(--bs-ease), color .3s var(--bs-ease);
}

.bs-hero .bs-btn--primary .wp-block-button__link,
.bs-hero__actions a.bs-btn--primary {
  padding-inline: 27px 22px;
  background: var(--bs-terra-deep);
  color: #fffaf0;
  box-shadow: 0 18px 34px -22px rgba(122, 57, 38, .85);
}

.bs-hero .bs-btn--primary .wp-block-button__link::after,
.bs-hero__actions a.bs-btn--primary::after {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--bs-ease);
}

.bs-hero .bs-btn--primary .wp-block-button__link:hover,
.bs-hero__actions a.bs-btn--primary:hover {
  background: #883f2b;
  transform: translateY(-2px);
  box-shadow: 0 23px 38px -22px rgba(122, 57, 38, .95);
}

.bs-hero .bs-btn--primary .wp-block-button__link:hover::after,
.bs-hero__actions a.bs-btn--primary:hover::after {
  transform: translateX(-4px);
}

.bs-hero .bs-btn--ghost .wp-block-button__link,
.bs-hero__actions a.bs-btn--ghost {
  min-height: 48px;
  padding: 10px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--bs-ink);
  font-weight: 600;
}

.bs-hero .bs-btn--ghost .wp-block-button__link::after,
.bs-hero__actions a.bs-btn--ghost::after {
  content: "";
  position: absolute;
  inset-inline: 6px;
  bottom: 7px;
  height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5C32 2 62 2 119 4' fill='none' stroke='%23c47158' stroke-width='2' stroke-linecap='round' stroke-dasharray='1 8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition: opacity .3s ease;
}

.bs-hero .bs-btn--ghost .wp-block-button__link:hover,
.bs-hero__actions a.bs-btn--ghost:hover {
  color: var(--bs-terra-deep);
  transform: translateY(-1px);
  box-shadow: none;
}

.bs-hero .wp-block-button__link:focus-visible,
.bs-hero__actions a.bs-btn:focus-visible {
  outline: 3px solid var(--bs-terra);
  outline-offset: 4px;
}

.bs-hero .bs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--bs-ink-soft);
  font-family: var(--bs-font);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.8;
}

.bs-hero .bs-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.bs-hero .bs-hero__meta li + li::before {
  content: "";
  width: 1px;
  height: 14px;
  margin-inline: 15px;
  background: rgba(105, 87, 68, .27);
  transform: rotate(16deg);
}

.bs-hero__meta svg {
  width: 14px;
  height: 14px;
  color: var(--bs-terra);
  flex: none;
}

/* ---------- visual composition ---------- */

.bs-hero__visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 458px;
  margin-inline: auto;
  isolation: isolate;
}

.bs-hero__visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -18px -14px -22px -18px;
  border-radius: 260px 260px 42px 42px;
  background-color: var(--bs-sage);
  background-image:
    radial-gradient(rgba(255, 255, 255, .19) 1px, transparent 1.3px),
    linear-gradient(152deg, #b4c4a8 0%, #9eb190 55%, #8ba07f 100%);
  background-size: 12px 12px, 100% 100%;
  outline: 1.5px dashed rgba(253, 249, 238, .67);
  outline-offset: -15px;
  transform: rotate(-5.2deg);
  box-shadow: 0 38px 70px -50px rgba(64, 80, 54, .9);
}

.bs-hero__visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8px -26px -6px 16px;
  border-radius: 250px 250px 38px 38px;
  background: var(--bs-blush);
  opacity: .82;
  transform: rotate(3.4deg);
}

.bs-hero__ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bs-hero__loops {
  position: absolute;
  left: -30%;
  top: -7%;
  z-index: 2;
  width: 82%;
  height: auto;
  margin: 0;
  opacity: .96;
  --bs-base-rot: -14deg;
  --bs-parallax: .05;
  --bs-parallax-x: -14;
  --bs-parallax-rot: 3.5;
  transform: translate3d(var(--bs-px, 0px), var(--bs-py, 0px), 0) rotate(calc(var(--bs-base-rot, 0deg) + var(--bs-pr, 0deg)));
  transform-origin: center;
  will-change: transform;
  filter: drop-shadow(0 18px 22px rgba(84, 60, 39, .16));
}

.bs-hero__yarn {
  position: absolute;
  left: -19%;
  bottom: -5%;
  z-index: 5;
  width: 45%;
  height: auto;
  margin: 0;
  --bs-base-rot: -7deg;
  --bs-parallax: .02;
  --bs-parallax-x: -26;
  --bs-parallax-rot: 9;
  transform: translate3d(var(--bs-px, 0px), var(--bs-py, 0px), 0) rotate(calc(var(--bs-base-rot, 0deg) + var(--bs-pr, 0deg)));
  transform-origin: center;
  will-change: transform;
  filter: drop-shadow(0 22px 26px rgba(105, 58, 43, .2));
}

.bs-hero__loops img,
.bs-hero__yarn img {
  display: block;
  width: 100%;
  height: auto;
}

.bs-hero__photo {
  position: relative;
  z-index: 3;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 9px solid #fffbf3;
  border-radius: 250px 250px 30px 30px;
  background: #e9e2d5;
  transform: rotate(1.4deg);
  box-shadow:
    0 30px 55px -35px rgba(77, 59, 43, .55),
    0 2px 0 rgba(255, 255, 255, .8) inset;
}

.bs-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(73, 56, 39, .08),
    inset 0 -90px 80px -70px rgba(66, 48, 32, .28);
}

.bs-hero__stamp {
  position: absolute;
  z-index: 7;
  top: 5%;
  right: -7.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0;
  padding: 12px;
  border: 1.5px dashed rgba(145, 73, 52, .65);
  border-radius: 50%;
  background: var(--bs-butter);
  color: #77402e;
  text-align: center;
  box-shadow: 0 16px 28px -20px rgba(102, 58, 38, .75);
  transform: rotate(-9deg);
  rotate: var(--bs-pr, 0deg);
  translate: var(--bs-px, 0px) var(--bs-py, 0px);
  animation: bs-stamp-float 9s ease-in-out infinite;
  --bs-parallax: .026;
  --bs-parallax-x: 9;
  --bs-parallax-rot: 1.4;
  will-change: transform, translate;
}

.bs-hero__stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(126, 62, 44, .22);
  border-radius: 50%;
}

.bs-hero__stamp .bs-stamp-small,
.bs-hero__stamp .bs-stamp-big,
.bs-hero__stamp .bs-stamp-tail {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--bs-font);
}

.bs-stamp-small {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.7;
  opacity: .85;
}

.bs-stamp-big {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.02em;
}

.bs-stamp-tail {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.7;
  opacity: .8;
}

.bs-hero__note {
  position: absolute;
  z-index: 6;
  right: -4%;
  bottom: -3.5%;
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(238px, 66%);
  margin: 0;
  padding: 12px 14px 12px 12px;
  border: 1px solid rgba(119, 96, 70, .14);
  border-radius: 17px;
  background: rgba(255, 251, 242, .94);
  color: var(--bs-ink);
  box-shadow: 0 20px 38px -28px rgba(81, 58, 38, .6);
  transform: rotate(-2.6deg);
  rotate: var(--bs-pr, 0deg);
  translate: var(--bs-px, 0px) var(--bs-py, 0px);
  animation: bs-note-float 11s ease-in-out infinite;
  --bs-parallax: .038;
  --bs-parallax-x: -10;
  --bs-parallax-rot: -1.2;
  backdrop-filter: blur(6px);
  will-change: transform, translate;
}

.bs-hero__note::before {
  content: "";
  flex: none;
  width: 42px;
  height: 42px;
  background: url("../img/loop-yarn-sage.svg") center / contain no-repeat;
}

.bs-hero__note p {
  margin: 0;
  font-family: var(--bs-font);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--bs-ink-soft);
}

.bs-hero__note strong {
  display: block;
  color: var(--bs-ink);
  font-size: 12.5px;
  font-weight: 700;
}

.bs-hero__badge {
  position: absolute;
  z-index: 8;
  left: -24px;
  top: 52%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, #5b7764 0%, #3f5a4b 58%, #344b3d 100%);
  box-shadow:
    0 18px 32px -20px rgba(38, 50, 40, .85),
    inset 0 0 0 1px rgba(255, 250, 238, .18);
  rotate: calc(6deg + var(--bs-pr, 0deg));
  translate: var(--bs-px, 0px) var(--bs-py, 0px);
  animation: bs-badge-float 10.5s ease-in-out infinite;
  --bs-parallax: .048;
  --bs-parallax-x: 12;
  --bs-parallax-rot: 1.8;
  will-change: transform, translate;
}

.bs-hero__badge::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 248, 235, .38);
  border-radius: 50%;
  pointer-events: none;
}

.bs-hero__badge .wp-block-image {
  position: relative;
  z-index: 1;
  margin: 0;
}

.bs-hero__badge img {
  display: block;
  width: 46px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(20, 30, 24, .28));
}

/* ---------- decorative details ---------- */

.bs-hero__stitch {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16%;
  width: clamp(80px, 9vw, 140px);
  color: var(--bs-terra);
  opacity: .45;
  pointer-events: none;
}

.bs-hero__spark {
  position: absolute;
  z-index: 2;
  color: var(--bs-terra);
  font-size: 21px;
  line-height: 1;
  opacity: .48;
  pointer-events: none;
}

/* ---------- slim banner variant ---------- */

.bs-hero--slim {
  min-height: 330px;
  padding-block: clamp(36px, 4.2vw, 58px);
}

.bs-hero--slim .bs-hero__inner {
  grid-template-columns: 1fr;
}

.bs-hero--slim .bs-hero__copy {
  max-width: 720px;
}

.bs-hero--slim .bs-eyebrow {
  margin-bottom: clamp(15px, 1.7vw, 20px);
}

.bs-hero--slim .bs-hero__title {
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  line-height: 1.45;
  margin-bottom: 13px;
}

.bs-hero--slim .bs-hero__lede {
  margin-bottom: 22px;
  max-width: 38rem;
}

.bs-hero--slim .bs-hero__actions {
  margin-bottom: 0;
}

.bs-hero--slim .bs-hero__visual {
  display: none;
}

.bs-hero--slim::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 4%;
  bottom: -6%;
  width: clamp(150px, 13vw, 200px);
  height: clamp(150px, 13vw, 200px);
  background: url("../img/loop-yarn-terracotta.svg") center / contain no-repeat;
  transform: rotate(-8deg);
  pointer-events: none;
  opacity: .92;
  filter: drop-shadow(0 18px 22px rgba(105, 58, 43, .16));
}

.bs-hero--slim .bs-deco--cloud-a {
  left: auto;
  right: 44%;
  top: 6%;
  opacity: .55;
}

.bs-hero--slim .bs-deco--cloud-b {
  left: 4%;
  right: auto;
  top: 12%;
}

/* ---------- fixed-image story section ---------- */

.bs-fixed {
  --bs-cream: #fbf6ec;
  --bs-ink: #332c26;
  --bs-ink-soft: #6c6055;
  --bs-terra: #c47158;
  --bs-terra-deep: #9d4f39;
  --bs-sage-deep: #3f5a4b;
  --bs-butter: #f0cd8d;
  --bs-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --bs-ease: cubic-bezier(.22, 1, .36, 1);

  position: relative;
  isolation: isolate;
  min-height: 192vh;
  margin: 0;
  padding: 0;
  background: #2f2a23;
  color: var(--bs-cream);
  font-family: var(--bs-font);
  direction: rtl;
  text-align: right;
}

.bs-fixed *,
.bs-fixed *::before,
.bs-fixed *::after {
  box-sizing: border-box;
}

.bs-fixed img {
  max-width: none;
}

.bs-fixed__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}

.bs-fixed__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  margin: 0;
}

.bs-fixed__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.bs-fixed__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(calc(1.08 + var(--bs-fixed-zoom, 0)));
  translate: 0 var(--bs-fixed-y, 0px);
  transform-origin: 50% 50%;
  will-change: transform, translate;
}

.bs-fixed__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(251, 246, 236, .34) 0%, rgba(251, 246, 236, 0) 27%, rgba(51, 44, 38, 0) 68%, rgba(51, 44, 38, .26) 100%);
  pointer-events: none;
}

.bs-fixed__sticky::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: clamp(20px, 5vw, 70px);
  bottom: 9%;
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 248, 235, .42);
  border-radius: 50%;
  background:
    url("../img/loop-icon.svg") center / 60% 60% no-repeat,
    radial-gradient(circle at 34% 24%, #5b7764 0%, #3f5a4b 58%, #344b3d 100%);
  rotate: calc(8deg + var(--bs-fixed-icon-r, 0deg));
  translate: 0 var(--bs-fixed-icon-y, 0px);
  box-shadow:
    0 18px 32px -18px rgba(38, 50, 40, .9),
    inset 0 0 0 5px rgba(255, 250, 238, .07);
  animation: bs-seal-float 12s ease-in-out infinite;
  pointer-events: none;
  will-change: translate, rotate;
}

.bs-fixed__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(88px, 17vh, 150px);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 27vh clamp(20px, 4.5vw, 54px) 16vh;
}

.bs-fixed__content > .wp-block-group,
.bs-fixed__intro > *,
.bs-fixed__panel > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.bs-fixed__intro {
  justify-self: start;
  max-width: 590px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(255, 250, 240, .55);
  border-radius: 30px;
  background: rgba(251, 246, 236, .88);
  box-shadow: 0 36px 76px -48px rgba(28, 23, 17, .9);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
}

.bs-fixed__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  padding: 6px 13px 6px 7px;
  border: 1px solid rgba(112, 92, 73, .2);
  border-radius: 999px;
  background: rgba(255, 251, 243, .72);
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px -22px rgba(18, 16, 12, .9);
}

.bs-fixed__kicker::before {
  content: "";
  flex: none;
  width: 25px;
  height: 25px;
  background: url("../img/loop-icon.svg") center / contain no-repeat;
  filter: drop-shadow(0 3px 5px rgba(20, 16, 12, .22));
}

.bs-fixed__title {
  margin: 0 0 clamp(18px, 2vw, 24px);
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: clamp(2.35rem, 4.6vw, 4.05rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 250, 240, .3);
}

.bs-fixed__title strong {
  color: var(--bs-terra-deep);
  font-weight: inherit;
}

.bs-fixed__lede {
  max-width: 35rem;
  margin: 0;
  color: #5b5046;
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 2.05;
  text-wrap: pretty;
  text-shadow: 0 1px 0 rgba(255, 250, 240, .22);
}

.bs-fixed__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 36px) !important;
  color: rgba(51, 44, 38, .66);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
}

.bs-fixed__hint::after {
  content: "";
  width: 26px;
  height: 26px;
  border: 1px solid rgba(51, 44, 38, .28);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23332c26' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15m-5.4-5.4L12 19l5.4-5.4'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  animation: bs-hint-bob 2.8s ease-in-out infinite;
}

.bs-fixed__panel {
  position: relative;
  justify-self: start;
  width: min(478px, 100%);
  padding: clamp(24px, 2.9vw, 36px);
  border: 1px solid rgba(255, 250, 240, .6);
  border-radius: 30px;
  background: rgba(251, 246, 236, .92);
  color: var(--bs-ink);
  box-shadow: 0 36px 76px -48px rgba(28, 23, 17, .9);
  backdrop-filter: blur(16px) saturate(118%);
}

.bs-fixed__panel--end {
  justify-self: end;
}

.bs-fixed__panel-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px !important;
  color: var(--bs-terra-deep);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.7;
}

.bs-fixed__panel-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.bs-fixed__panel h3 {
  margin: 0 0 12px;
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -.025em;
}

.bs-fixed__panel p {
  margin: 0;
  color: var(--bs-ink-soft);
  font-size: 14px;
  line-height: 2;
  text-wrap: pretty;
}

.bs-fixed__panel--quote {
  width: min(430px, 100%);
  border-color: rgba(255, 248, 236, .24);
  background:
    radial-gradient(120% 130% at 88% 8%, rgba(124, 148, 112, .32) 0%, rgba(124, 148, 112, 0) 62%),
    linear-gradient(152deg, rgba(70, 97, 80, .97) 0%, rgba(47, 70, 57, .97) 100%);
  color: #fff8eb;
}

.bs-fixed__panel--quote::before {
  content: "”";
  position: absolute;
  top: 4px;
  left: 26px;
  color: rgba(255, 248, 236, .26);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.bs-fixed__quote {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  color: #fff8eb !important;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem) !important;
  font-weight: 800;
  line-height: 1.7 !important;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.bs-fixed__cite {
  display: block;
  margin: 16px 0 0 !important;
  color: rgba(255, 248, 236, .68) !important;
  font-size: 11.5px !important;
  font-style: normal;
  line-height: 1.8 !important;
}

.bs-fixed__fineprint {
  margin-top: 18px !important;
  padding-top: 15px;
  border-top: 1px dashed rgba(112, 92, 73, .26);
  color: var(--bs-ink-soft);
  font-size: 11px !important;
  line-height: 1.9 !important;
}

.bs-fixed .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
}

.bs-fixed .wp-block-button {
  margin: 0;
}

.bs-fixed .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bs-terra-deep);
  color: #fffaf0;
  font-family: var(--bs-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 18px 34px -22px rgba(122, 57, 38, .85);
  transition: transform .3s var(--bs-ease), box-shadow .3s var(--bs-ease), background-color .3s var(--bs-ease);
}

.bs-fixed .wp-block-button__link::after {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--bs-ease);
}

.bs-fixed .wp-block-button__link:hover {
  background: #883f2b;
  transform: translateY(-2px);
  box-shadow: 0 23px 38px -22px rgba(122, 57, 38, .95);
}

.bs-fixed .wp-block-button__link:hover::after {
  transform: translateX(-4px);
}

.bs-fixed .wp-block-button__link:focus-visible {
  outline: 3px solid var(--bs-butter);
  outline-offset: 4px;
}

/* ---------- motion ---------- */

@keyframes bs-rise {
  from { opacity: 0; transform: translateY(19px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bs-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(.7deg); }
}

@keyframes bs-stamp-float {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50% { transform: rotate(-7.6deg) translateY(-6px); }
}

@keyframes bs-note-float {
  0%, 100% { transform: rotate(-2.6deg) translateY(0); }
  50% { transform: rotate(-1.8deg) translateY(5px); }
}

@keyframes bs-badge-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(1.4deg); }
}

@keyframes bs-seal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes bs-hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ---------- desktop tuning ---------- */

@media (max-width: 1180px) {
  .bs-hero__inner {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    gap: 40px;
  }

  .bs-hero__visual {
    max-width: 420px;
  }

  .bs-hero__stamp {
    width: 100px;
    height: 100px;
    right: -4%;
  }

  .bs-stamp-big {
    font-size: 17px;
  }

  .bs-hero__note {
    width: min(218px, 68%);
    right: -1%;
  }
}

@media (max-width: 960px) {
  .bs-hero {
    min-height: 0;
    padding-block: 56px 90px;
  }

  .bs-hero__inner {
    grid-template-columns: 1fr;
    gap: 64px;
    max-width: 720px;
  }

  .bs-hero__copy {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
  }

  .bs-eyebrow {
    justify-content: center;
  }

  .bs-hero .bs-hero__lede {
    margin-inline: auto;
  }

  .bs-hero__actions,
  .bs-hero .bs-hero__meta {
    justify-content: center;
  }

  .bs-hero__visual {
    max-width: 420px;
  }

  .bs-deco--cloud-a {
    top: 3%;
    left: -8%;
    opacity: .75;
  }

  .bs-deco--cloud-b {
    top: 2%;
    right: -9%;
    opacity: .65;
  }

  .bs-hero__spark {
    display: none;
  }

  .bs-hero__stitch {
    display: none;
  }

  .bs-hero--slim {
    padding-block: 54px 72px;
  }

  .bs-hero--slim .bs-hero__copy {
    text-align: right;
    margin-inline: 0;
  }

  .bs-hero--slim .bs-hero__actions {
    justify-content: flex-start;
  }

  .bs-hero--slim::after {
    opacity: .85;
    left: -6%;
    bottom: -30%;
  }
}

@media (max-width: 680px) {
  .bs-hero {
    padding-block: 44px 74px;
  }

  .bs-hero__inner {
    gap: 56px;
    padding-inline: 20px;
  }

  .bs-hero .bs-hero__title,
  .bs-hero h1.bs-hero__title {
    font-size: clamp(2.25rem, 8.6vw, 3.1rem);
    line-height: 1.45;
    letter-spacing: -.03em;
  }

  .bs-hero .bs-hero__lede {
    font-size: 15px;
    line-height: 2;
    max-width: 29rem;
  }

  .bs-hero .bs-hero__actions {
    gap: 6px 14px;
    justify-content: center;
  }

  .bs-hero__actions .wp-block-button,
  .bs-hero__actions a.bs-btn {
    flex: 0 0 auto;
  }

  .bs-hero:not(.bs-hero--slim) .bs-hero__actions .wp-block-button.bs-btn--primary {
    flex: 0 0 100%;
    max-width: 340px;
  }

  .bs-hero:not(.bs-hero--slim) .bs-hero__actions .wp-block-button.bs-btn--primary .wp-block-button__link,
  .bs-hero:not(.bs-hero--slim) .bs-hero__actions a.bs-btn--primary {
    width: 100%;
  }

  .bs-hero .wp-block-button__link,
  .bs-hero__actions a.bs-btn {
    min-height: 51px;
    font-size: 14px;
  }

  .bs-hero .bs-btn--ghost .wp-block-button__link,
  .bs-hero__actions a.bs-btn--ghost {
    flex: 0 0 auto;
  }

  .bs-hero .bs-hero__meta {
    gap: 6px 0;
    font-size: 11.5px;
  }

  .bs-hero .bs-hero__meta li + li::before {
    margin-inline: 11px;
  }

  .bs-hero__visual {
    max-width: min(82vw, 360px);
  }

  .bs-hero__visual::before {
    inset: -13px -10px -16px -13px;
    outline-offset: -11px;
  }

  .bs-hero__visual::after {
    inset: 7px -17px -2px 12px;
  }

  .bs-hero__loops {
    left: -26%;
    top: -5%;
    width: 80%;
    opacity: .9;
  }

  .bs-hero__yarn {
    left: -13%;
    bottom: -4%;
    width: 40%;
  }

  .bs-hero__stamp {
    top: 3.5%;
    right: -6%;
    width: 86px;
    height: 86px;
    padding: 9px;
  }

  .bs-stamp-small {
    font-size: 8px;
  }

  .bs-stamp-big {
    font-size: 14.5px;
  }

  .bs-stamp-tail {
    font-size: 8.5px;
  }

  .bs-hero__note {
    width: min(196px, 64%);
    right: -2%;
    bottom: -4%;
    gap: 8px;
    padding: 10px 11px;
    border-radius: 14px;
  }

  .bs-hero__note::before {
    width: 34px;
    height: 34px;
  }

  .bs-hero__note p {
    font-size: 10.5px;
    line-height: 1.7;
  }

  .bs-hero__note strong {
    font-size: 11.5px;
  }

  .bs-hero__badge {
    left: -14px;
    top: 54%;
    width: 60px;
    height: 60px;
  }

  .bs-hero__badge img {
    width: 38px;
  }

  .bs-deco--cloud-a {
    width: 170px;
    opacity: .6;
  }

  .bs-deco--cloud-b {
    width: 120px;
    opacity: .5;
  }

  .bs-hero--slim {
    padding-block: 44px 62px;
  }

  .bs-hero--slim::after {
    display: none;
  }

  .bs-hero--slim .bs-hero__title {
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
  }
}

@media (max-width: 400px) {
  .bs-hero:not(.bs-hero--slim) .bs-hero__title,
  .bs-hero:not(.bs-hero--slim) h1.bs-hero__title {
    font-size: clamp(1.9rem, 9vw, 2.25rem);
  }

  .bs-hero__photo {
    border-width: 7px;
  }

  .bs-hero__note {
    display: none;
  }

  .bs-hero__badge {
    left: -8px;
    width: 54px;
    height: 54px;
  }

  .bs-hero__badge img {
    width: 34px;
  }

  .bs-hero__stamp {
    width: 78px;
    height: 78px;
  }

  .bs-hero .bs-hero__meta li + li::before {
    margin-inline: 8px;
  }

  .bs-hero .bs-hero__meta {
    font-size: 10.8px;
  }
}

@media (max-width: 960px) {
  .bs-fixed {
    min-height: 0;
  }

  .bs-fixed__content {
    gap: clamp(64px, 12vh, 100px);
    max-width: 720px;
    padding-top: 22vh;
    padding-bottom: 15vh;
  }

  .bs-fixed__intro {
    max-width: 100%;
  }

  .bs-fixed__panel {
    width: 100%;
    max-width: 560px;
  }

  .bs-fixed__panel--end {
    justify-self: end;
  }

  .bs-fixed__photo img {
    object-position: 46% center;
  }
}

@media (max-width: 680px) {
  .bs-fixed__content {
    gap: 74px;
    padding: 20vh 20px 16vh;
  }

  .bs-fixed__intro {
    padding: 20px;
    border-radius: 26px;
  }

  .bs-fixed__kicker {
    margin-bottom: 15px;
    font-size: 11px;
  }

  .bs-fixed__title {
    font-size: clamp(1.9rem, 8.2vw, 2.7rem);
    line-height: 1.45;
    letter-spacing: -.03em;
  }

  .bs-fixed__lede {
    font-size: 14px;
    line-height: 2;
  }

  .bs-fixed__hint {
    margin-top: 20px !important;
  }

  .bs-fixed__panel {
    width: 100%;
    padding: 22px;
    border-radius: 24px;
  }

  .bs-fixed__panel--end {
    justify-self: stretch;
  }

  .bs-fixed__panel h3 {
    font-size: 1.3rem;
  }

  .bs-fixed__panel p {
    font-size: 13.5px;
  }

  .bs-fixed__quote {
    font-size: 1.35rem !important;
  }

  .bs-fixed__panel--quote::before {
    left: 18px;
    font-size: 66px;
  }

  .bs-fixed__sticky::before {
    display: none;
  }

  .bs-fixed .wp-block-button__link {
    width: 100%;
    min-height: 48px;
    font-size: 13.5px;
  }
}

@media (max-width: 400px) {
  .bs-fixed__content {
    padding-top: 18vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-hero *,
  .bs-hero *::before,
  .bs-hero *::after,
  .bs-fixed *,
  .bs-fixed *::before,
  .bs-fixed *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .bs-deco,
  .bs-hero__loops,
  .bs-hero__yarn {
    transform: rotate(var(--bs-base-rot, 0deg)) !important;
    will-change: auto;
  }

  .bs-hero__stamp,
  .bs-hero__note {
    translate: none !important;
    rotate: 0deg !important;
    will-change: auto;
  }

  .bs-hero__badge {
    translate: none !important;
    rotate: 6deg !important;
    will-change: auto;
  }

  .bs-fixed__photo img {
    transform: scale(1.08) !important;
    translate: none !important;
    will-change: auto;
  }

  .bs-fixed__sticky::before {
    translate: none !important;
    rotate: 8deg !important;
    animation: none;
    will-change: auto;
  }

  .bs-fixed__hint::after {
    animation: none;
  }
}

/* ---------- site header ---------- */

.bs-site-header,
.bs-footer {
  --bs-cream: #fbf6ec;
  --bs-ink: #332c26;
  --bs-ink-soft: #6c6055;
  --bs-terra: #c47158;
  --bs-terra-deep: #9d4f39;
  --bs-butter: #f0cd8d;
  --bs-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --bs-font-latin: "Manrope", "Segoe UI", sans-serif;
  --bs-ease: cubic-bezier(.22, 1, .36, 1);

  direction: rtl;
  text-align: right;
  font-family: var(--bs-font);
}

.bs-site-header *,
.bs-site-header *::before,
.bs-site-header *::after,
.bs-footer *,
.bs-footer *::before,
.bs-footer *::after {
  box-sizing: border-box;
}

.bs-site-header a,
.bs-footer a {
  color: inherit;
  text-decoration: none;
}

.bs-site-header button,
.bs-footer button {
  font: inherit;
}

.bs-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(74, 59, 46, .09);
  background: rgba(251, 246, 236, .82);
  color: var(--bs-ink);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

/* A template-part wrapper is only as tall as the header, so it must stick itself. */
.wp-block-template-part:has(> .bs-site-header) {
  position: sticky;
  top: 0;
  z-index: 90;
}

.bs-site-header .wp-block-group,
.wp-block-group.bs-site-header,
.wp-block-group.bs-site-header__inner {
  margin-block-start: 0;
  margin-block-end: 0;
}

.bs-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  max-width: 1370px;
  height: 82px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.bs-site-header .bs-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 11px;
  color: var(--bs-ink);
}

.bs-site-header .bs-logo__mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 50%;
  background: var(--bs-butter);
  color: var(--bs-terra-deep);
  box-shadow: 0 5px 14px -10px rgba(80, 54, 35, .6);
}

.bs-site-header .bs-logo__mark img {
  display: block;
  width: 28px;
  height: 28px;
}

.bs-site-header .bs-logo__word {
  color: #2e2822;
  font-family: var(--bs-font-latin);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.bs-site-header .bs-logo__word span {
  color: #8b7b6c;
  font-weight: 600;
  letter-spacing: -.02em;
}

.bs-site-header .bs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.3vw, 32px);
  margin: 0;
  padding: 0;
  color: #5d5147;
  font-family: var(--bs-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.bs-site-header .bs-nav > .wp-block-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: auto;
  margin: 0;
  padding: 0;
}

.bs-site-header .bs-nav ul,
.bs-site-header .bs-nav .wp-block-navigation__container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.3vw, 32px);
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-site-header .bs-nav .wp-block-navigation-item {
  margin: 0;
  padding: 0;
}

.bs-site-header .bs-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 9px;
  color: inherit;
  font: inherit;
  text-decoration: none;
  transition: color .25s ease;
}

.bs-site-header .bs-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 1px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5C20 2 43 2 79 4' fill='none' stroke='%23c47158' stroke-width='2' stroke-linecap='round' stroke-dasharray='1 7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0;
  transform: scaleX(.6);
  transform-origin: center;
  transition: opacity .25s ease, transform .3s var(--bs-ease);
  pointer-events: none;
}

.bs-site-header .bs-nav a:hover,
.bs-site-header .bs-nav a[aria-current="page"] {
  color: var(--bs-terra-deep);
}

.bs-site-header .bs-nav a:hover::after,
.bs-site-header .bs-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.bs-header-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 3px;
}

.bs-site-header .bs-icon-btn,
.bs-site-header .bs-cart,
.bs-site-header .bs-menu-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4f443a;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}

.bs-site-header .bs-icon-btn:hover,
.bs-site-header .bs-cart:hover,
.bs-site-header .bs-menu-toggle:hover {
  background: rgba(157, 79, 57, .075);
  color: var(--bs-terra-deep);
}

.bs-site-header .bs-icon-btn svg,
.bs-site-header .bs-cart svg,
.bs-site-header .bs-menu-toggle svg {
  width: 20px;
  height: 20px;
}

.bs-site-header .bs-cart {
  position: relative;
}

.bs-site-header .bs-cart__count {
  position: absolute;
  top: 2px;
  inset-inline-end: 1px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--bs-terra-deep);
  color: #fff8eb;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.bs-site-header .bs-cart__count[hidden] {
  display: none;
}

.bs-site-header .bs-menu-toggle {
  display: none;
}

.bs-site-header a:focus-visible,
.bs-site-header button:focus-visible,
.bs-footer a:focus-visible {
  outline: 2px solid var(--bs-terra);
  outline-offset: 3px;
}

.bs-site-header .bs-nav a:focus:not(:focus-visible) {
  outline: none;
}

.bs-footer a:focus-visible {
  outline-color: var(--bs-butter);
}

/* Expandable search keeps the icon-only bar while remaining usable. The drop
   layer itself stays invisible and full-width so clicks beside the box still
   land on the page and close it; the visible part is the pill below. */
.bs-site-header .bs-header-search {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 14px clamp(20px, 4vw, 44px) 20px;
  background: none;
  pointer-events: none;
}

.bs-site-header .bs-header-search[hidden] {
  display: none !important;
}

/* One pill, capped at 720px and centred — running it to the full width of the
   sheet made the box look like a bar on desktop and wide monitors. */
.bs-site-header .bs-header-search__form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 720px;
  padding: 6px 6px 6px 10px;
  border: 1px solid rgba(74, 59, 46, .13);
  border-radius: 999px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 26px 44px -30px rgba(63, 46, 33, .55);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bs-site-header .bs-header-search__form:focus-within {
  border-color: rgba(157, 79, 57, .34);
  box-shadow: 0 26px 44px -30px rgba(63, 46, 33, .45), 0 0 0 3px rgba(196, 113, 88, .12);
}

.bs-site-header .bs-header-search__icon {
  flex: none;
  width: 19px;
  height: 19px;
  margin-inline-start: 8px;
  color: #8b7b6c;
}

.bs-site-header .bs-header-search__field {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.bs-site-header .bs-header-search__field::placeholder {
  color: #9d8f81;
  opacity: 1;
}

.bs-site-header .bs-header-search__field::-webkit-search-cancel-button {
  display: none;
}

.bs-site-header .bs-header-search__submit {
  flex: none;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--bs-terra-deep);
  color: #fff8eb;
  font-family: var(--bs-font);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
  transition: background-color .2s ease;
}

.bs-site-header .bs-header-search__submit:hover {
  background: #87422f;
}

.bs-site-header .bs-header-search__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #74675b;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.bs-site-header .bs-header-search__close:hover {
  background: rgba(157, 79, 57, .075);
  color: var(--bs-terra-deep);
}

.bs-site-header .bs-header-search__close svg {
  width: 18px;
  height: 18px;
}

/* ---------- site footer ---------- */

.bs-footer {
  margin: 0;
  padding: 42px 24px 36px;
  background: #3d4737;
  color: #f5ecde;
}

.bs-footer .wp-block-group {
  margin-block-start: 0;
  margin-block-end: 0;
}

.bs-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.bs-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bs-footer__brand .wp-block-image.bs-logo__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--bs-butter);
  box-shadow: none;
}

.bs-footer__brand .wp-block-image.bs-logo__mark img {
  display: block;
  width: 28px;
  height: 28px;
  max-width: none;
  object-fit: contain;
}

.bs-footer__name {
  margin: 0;
  color: var(--bs-cream);
  font-family: var(--bs-font-latin);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.03em;
  direction: ltr;
  unicode-bidi: isolate;
}

.bs-footer__tagline {
  margin: 2px 0 0;
  color: rgba(245, 236, 222, .62);
  font-family: var(--bs-font);
  font-size: 11.5px;
  line-height: 1.8;
}

.bs-footer__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(245, 236, 222, .58);
  font-family: var(--bs-font);
  font-size: 11.5px;
  line-height: 1.8;
}

.bs-footer__meta p {
  margin: 0;
}

.bs-footer__meta a {
  color: inherit;
  transition: color .2s ease;
}

.bs-footer__meta a:hover {
  color: var(--bs-butter);
}

.bs-fixed {
  scroll-margin-top: 96px;
}

.admin-bar .bs-site-header,
.admin-bar .wp-block-template-part:has(> .bs-site-header) {
  top: 32px;
}

.admin-bar .bs-fixed,
.admin-bar .bs-collection,
.admin-bar .bs-notes,
.admin-bar .bs-closing {
  scroll-margin-top: 128px;
}

@media (max-width: 1080px) {
  .bs-site-header .bs-nav,
  .bs-site-header .bs-nav ul,
  .bs-site-header .bs-nav .wp-block-navigation__container {
    gap: 18px;
    font-size: 12.5px;
  }
}

@media (max-width: 940px) {
  .bs-site-header__inner {
    height: 74px;
  }

  .bs-site-header .bs-menu-toggle {
    display: grid;
  }

  .bs-site-header .bs-icon-btn--search,
  .bs-site-header .bs-icon-btn--account {
    display: none;
  }

  .bs-site-header .bs-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 4vw, 30px);
    left: clamp(14px, 4vw, 30px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid rgba(74, 59, 46, .11);
    border-radius: 22px;
    background: rgba(255, 251, 243, .98);
    box-shadow: 0 26px 60px -34px rgba(63, 46, 33, .55);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .bs-site-header .bs-nav.is-open {
    display: flex;
  }

  .bs-site-header .bs-nav > .wp-block-navigation {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .bs-site-header .bs-nav ul,
  .bs-site-header .bs-nav .wp-block-navigation__container {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .bs-site-header .bs-nav .wp-block-navigation-item {
    width: 100%;
  }

  .bs-site-header .bs-nav a {
    display: flex;
    width: 100%;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 14px;
  }

  .bs-site-header .bs-nav a::after {
    display: none;
  }

  .bs-site-header .bs-nav a:hover {
    background: rgba(157, 79, 57, .06);
  }

  /* On a phone the menu itself carries the search: the panel is moved inside the
     menu card and becomes its first row, so it drops the floating-pill look. */
  .bs-site-header .bs-nav .bs-header-search {
    position: static;
    padding: 0 0 10px;
    border-bottom: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    pointer-events: auto;
  }

  .bs-site-header .bs-nav .bs-header-search__form {
    max-width: none;
    box-shadow: none;
    background: #fff;
  }

  .bs-site-header .bs-nav .bs-header-search__close {
    display: none;
  }

  .bs-fixed {
    scroll-margin-top: 88px;
  }

  .admin-bar .bs-site-header,
  .admin-bar .wp-block-template-part:has(> .bs-site-header) {
    top: 46px;
  }
}

@media (max-width: 560px) {
  .bs-site-header__inner {
    padding-inline: 16px;
  }

  .bs-site-header .bs-logo__word {
    font-size: 19px;
  }

  .bs-site-header .bs-logo__mark {
    width: 31px;
    height: 31px;
  }

  .bs-site-header .bs-logo__mark img {
    width: 24px;
    height: 24px;
  }

  .bs-header-actions {
    gap: 0;
  }

  .bs-site-header .bs-header-search__form {
    gap: 4px;
    padding-inline-end: 4px;
  }

  .bs-site-header .bs-header-search__icon {
    display: none;
  }

  .bs-site-header .bs-header-search__submit {
    padding-inline: 14px;
  }

  .bs-footer {
    padding: 36px 20px 32px;
  }

  .bs-footer__inner {
    justify-content: center;
    text-align: center;
  }

  .bs-footer__brand {
    justify-content: center;
  }

  .bs-footer__meta {
    justify-content: center;
    gap: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-site-header *,
  .bs-footer * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- editor niceties ---------- */

.editor-styles-wrapper .bs-site-header,
.block-editor-block-list__layout .bs-site-header {
  position: relative;
  top: auto;
  z-index: auto;
}

.editor-styles-wrapper .wp-block-template-part:has(> .bs-site-header) {
  position: relative;
  top: auto;
}

.block-editor-block-list__layout .bs-hero {
  min-height: 760px;
}

.block-editor-block-list__layout .bs-hero__bg,
.block-editor-block-list__layout .bs-deco,
.block-editor-block-list__layout .bs-hero__loops,
.block-editor-block-list__layout .bs-hero__yarn,
.block-editor-block-list__layout .bs-hero__stamp,
.block-editor-block-list__layout .bs-hero__note,
.block-editor-block-list__layout .bs-hero__badge {
  position: absolute;
}

.block-editor-block-list__layout .bs-hero__inner > * {
  margin-block: 0;
}

.wp-block-group.bs-hero__inner,
.wp-block-group.bs-hero__copy,
.wp-block-group.bs-hero__visual,
.wp-block-group.bs-hero__stamp,
.wp-block-group.bs-hero__note,
.wp-block-group.bs-hero__badge {
  margin-block-start: 0;
  margin-block-end: 0;
}

.bs-hero h1.bs-hero__title,
.bs-hero h2.bs-hero__title {
  margin-block-start: 0;
}

.block-editor-block-list__layout .bs-fixed {
  min-height: 1280px;
}

.block-editor-block-list__layout .bs-fixed__bg {
  position: absolute;
  inset: 0;
}

.block-editor-block-list__layout .bs-fixed__sticky {
  position: absolute;
  inset: 0;
  height: 100%;
}

.block-editor-block-list__layout .bs-fixed__content {
  padding-top: 150px;
  padding-bottom: 90px;
}

.block-editor-block-list__layout .bs-fixed__panel,
.block-editor-block-list__layout .bs-fixed__panel--end {
  justify-self: stretch;
}

.wp-block-group.bs-fixed__bg,
.wp-block-group.bs-fixed__sticky,
.wp-block-group.bs-fixed__content,
.wp-block-group.bs-fixed__intro,
.wp-block-group.bs-fixed__panel {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* ---------- diagonal moving ribbon ---------- */

/* The band is deliberately wider than the viewport so its rotated edges
   stay full-bleed; clip the page instead of letting it scroll sideways. */
.wp-site-blocks:has(.bs-ribbon) {
  overflow-x: clip;
}

.bs-ribbon {
  position: relative;
  z-index: 6;
  margin-block: -34px 0 !important;
  padding: 0;
  overflow: hidden;
  transform: rotate(-1.45deg) scale(1.035);
  background: var(--bs-terra-deep, #9d4f39);
  color: #fff8ea;
  border-block: 1px dashed rgba(255, 246, 230, .32);
  box-shadow: 0 18px 34px -30px rgba(81, 42, 28, .8);
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
}

.bs-ribbon *,
.bs-ribbon *::before,
.bs-ribbon *::after {
  box-sizing: border-box;
}

.bs-ribbon__track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding-block: 16px;
  direction: ltr;
  will-change: transform;
}

.bs-ribbon.is-ready .bs-ribbon__track {
  animation: bs-marquee var(--bs-ribbon-duration, 40s) linear infinite;
}

.bs-ribbon:hover .bs-ribbon__track,
.bs-ribbon:focus-within .bs-ribbon__track {
  animation-play-state: paused;
}

.bs-ribbon__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 30px;
  margin: 0 !important;
  padding-inline-end: 30px;
}

.bs-ribbon p.bs-ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.8;
  white-space: nowrap;
  direction: rtl;
  opacity: .94;
}

.bs-ribbon p.bs-ribbon__item--latin {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  direction: ltr;
}

.bs-ribbon .bs-ribbon__star {
  color: #f0cd8d;
  font-size: 13px;
  line-height: 1;
  opacity: .9;
}

@keyframes bs-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- demo sections: shared tokens ---------- */

.bs-collection,
.bs-notes,
.bs-closing {
  --bs-cream: #fbf6ec;
  --bs-cream-deep: #f4ebdc;
  --bs-ink: #332c26;
  --bs-ink-soft: #6c6055;
  --bs-terra: #c47158;
  --bs-terra-deep: #9d4f39;
  --bs-sage-soft: #e5ead9;
  --bs-butter: #f0cd8d;
  --bs-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --bs-font-latin: "Manrope", "Segoe UI", sans-serif;
  --bs-ease: cubic-bezier(.22, 1, .36, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 96px;
  margin: 0;
  padding: clamp(70px, 9vw, 116px) clamp(20px, 4.5vw, 54px);
  font-family: var(--bs-font);
  direction: rtl;
  text-align: right;
}

.bs-collection *,
.bs-collection *::before,
.bs-collection *::after,
.bs-notes *,
.bs-notes *::before,
.bs-notes *::after,
.bs-closing *,
.bs-closing *::before,
.bs-closing *::after {
  box-sizing: border-box;
}

.wp-block-group.bs-collection__inner,
.wp-block-group.bs-collection__head,
.wp-block-group.bs-collection__intro,
.wp-block-group.bs-collection__grid,
.wp-block-group.bs-notes__inner,
.wp-block-group.bs-notes__copy,
.wp-block-group.bs-notes__list,
.wp-block-group.bs-notes__item,
.wp-block-group.bs-notes__seal,
.wp-block-group.bs-closing__inner,
.wp-block-group.bs-closing__head,
.wp-block-group.bs-closing__quotes,
.wp-block-group.bs-quote,
.wp-block-group.bs-closing__cta,
.wp-block-group.bs-card,
.wp-block-group.bs-card__body,
.wp-block-group.bs-card__foot {
  margin-block-start: 0;
  margin-block-end: 0;
}

.bs-collection .bs-kicker,
.bs-notes .bs-kicker,
.bs-closing .bs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--bs-terra-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .01em;
}

.bs-collection .bs-kicker::before,
.bs-notes .bs-kicker::before,
.bs-closing .bs-kicker::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- collection ---------- */

.bs-collection {
  background:
    radial-gradient(900px 560px at 96% -10%, #fffaf1 0%, rgba(255, 250, 241, 0) 62%),
    radial-gradient(760px 520px at 0% 104%, #f2e4d0 0%, rgba(242, 228, 208, 0) 62%),
    var(--bs-cream);
  color: var(--bs-ink);
}

.bs-collection::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/field.svg") center bottom / cover no-repeat;
  opacity: .24;
  pointer-events: none;
}

.bs-collection__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

.bs-collection__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 44px;
}

.bs-collection__intro {
  max-width: 660px;
}

.bs-collection__title {
  margin: 0;
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.bs-collection__title strong {
  position: relative;
  color: var(--bs-terra-deep);
  font-weight: inherit;
}

.bs-collection__title strong::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  bottom: 2px;
  height: 9px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(196, 113, 88, .16);
}

.bs-collection__lede {
  max-width: 35rem;
  margin: 16px 0 0;
  color: #4f453b;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 2.05;
  text-wrap: pretty;
}

.bs-collection__count {
  flex: none;
  margin: 0 0 8px;
  padding: 10px 18px;
  border: 1px dashed rgba(112, 92, 73, .34);
  border-radius: 999px;
  background: rgba(255, 251, 243, .68);
  color: #5c5147;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.9;
  white-space: nowrap;
}

.bs-collection__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 30px);
  margin-top: clamp(32px, 4.4vw, 56px);
}

.bs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(112, 92, 73, .16);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 26px 52px -44px rgba(51, 44, 38, .6);
  transition: transform .55s var(--bs-ease), box-shadow .55s var(--bs-ease);
}

.bs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 62px -40px rgba(51, 44, 38, .55);
}

.bs-card .wp-block-image {
  margin: 0;
}

.bs-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: #efe3d1;
}

.bs-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--bs-ease);
}

.bs-card:hover .bs-card__media img {
  transform: scale(1.045);
}

.bs-card .bs-card__badge {
  position: absolute;
  top: 15px;
  inset-inline-start: 15px;
  z-index: 2;
  margin: 0;
  padding: 6px 13px;
  border: 1px solid rgba(255, 250, 240, .6);
  border-radius: 999px;
  background: rgba(63, 90, 75, .88);
  color: #fff8eb;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.7;
  backdrop-filter: blur(8px);
}

.bs-card:nth-child(2) .bs-card__badge {
  background: rgba(157, 79, 57, .9);
}

.bs-card:nth-child(3) .bs-card__badge {
  background: rgba(168, 139, 79, .92);
}

.bs-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 21px 22px;
}

.bs-card .bs-card__kicker {
  margin: 0;
  color: var(--bs-terra-deep);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .01em;
}

.bs-card h3 {
  margin: 6px 0 7px;
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: clamp(1.22rem, 1.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -.02em;
}

.bs-card .bs-card__desc {
  margin: 0;
  color: var(--bs-ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.bs-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed rgba(112, 92, 73, .24);
}

.bs-card .bs-card__price {
  margin: 0;
  color: var(--bs-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
  white-space: nowrap;
}

.bs-card .bs-card__price span {
  color: var(--bs-ink-soft);
  font-size: 10.5px;
  font-weight: 500;
}

.bs-card .bs-card__cta {
  margin: 0;
}

.bs-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bs-terra-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  white-space: nowrap;
}

.bs-card__link::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--bs-ease);
}

.bs-card__link:hover::after {
  transform: translateX(-3px);
}

.bs-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bs-collection__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(26px, 3vw, 38px) 0 0;
  color: var(--bs-ink-soft);
  font-size: 11.5px;
  line-height: 1.9;
  text-align: center;
}

.bs-collection__note::before,
.bs-collection__note::after {
  content: "✦";
  flex: none;
  color: var(--bs-terra);
  font-size: 10px;
  opacity: .8;
}

/* ---------- notes / care ---------- */

.bs-notes {
  background:
    radial-gradient(760px 520px at 4% 108%, rgba(156, 175, 144, .2) 0%, rgba(156, 175, 144, 0) 68%),
    linear-gradient(158deg, #435c4c 0%, #3a5143 52%, #2f4437 100%);
  color: #f8f0e3;
}

.bs-notes::before {
  content: "";
  position: absolute;
  inset-inline-start: -6%;
  bottom: -16%;
  z-index: 0;
  width: clamp(280px, 38vw, 520px);
  aspect-ratio: 320 / 340;
  background: url("../img/loop-yarn-sage.svg") center / contain no-repeat;
  opacity: .13;
  rotate: -10deg;
  pointer-events: none;
}

.bs-notes::after {
  content: "";
  position: absolute;
  inset-inline-end: -140px;
  top: -140px;
  z-index: 0;
  width: 380px;
  height: 380px;
  border: 1px dashed rgba(240, 205, 141, .22);
  border-radius: 50%;
  pointer-events: none;
}

.bs-notes__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(40px, 6vw, 90px);
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.bs-notes .bs-kicker {
  color: var(--bs-butter);
}

.bs-notes__copy {
  max-width: 480px;
}

.bs-notes__title {
  margin: 0;
  color: #fbf6ec;
  font-family: var(--bs-font);
  font-size: clamp(2.05rem, 3.7vw, 3.3rem);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.bs-notes__title strong {
  color: var(--bs-butter);
  font-weight: inherit;
}

.bs-notes__lede {
  margin: 18px 0 0;
  color: rgba(251, 246, 236, .74);
  font-size: 14.5px;
  line-height: 2.05;
  text-wrap: pretty;
}

.bs-notes__seal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
  padding: 9px 17px 9px 10px;
  border: 1px solid rgba(251, 246, 236, .22);
  border-radius: 999px;
  background: rgba(255, 250, 240, .06);
  color: #f8f0e3;
}

.bs-notes__seal .wp-block-image {
  margin: 0;
}

.bs-notes__seal-icon {
  flex: none;
  width: 40px;
  height: 40px;
}

.bs-notes__seal-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.bs-notes__seal p {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(251, 246, 236, .88);
}

.bs-notes__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bs-notes__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(14px, 1.8vw, 20px);
  padding: clamp(19px, 2.4vw, 26px) 0;
  border-top: 1px solid rgba(251, 246, 236, .16);
}

.bs-notes__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.bs-notes__num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px dashed rgba(240, 205, 141, .44);
  border-radius: 50%;
  color: var(--bs-butter);
  font-family: var(--bs-font-latin);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.bs-notes__item h3 {
  align-self: center;
  margin: 0 0 5px;
  color: #fbf6ec;
  font-family: var(--bs-font);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.015em;
}

.bs-notes__desc {
  margin: 0;
  color: rgba(251, 246, 236, .66);
  font-size: 13px;
  line-height: 1.95;
  text-wrap: pretty;
}

/* ---------- closing / testimonials ---------- */

.bs-closing {
  background:
    radial-gradient(720px 420px at 10% 0%, rgba(196, 113, 88, .12) 0%, rgba(196, 113, 88, 0) 64%),
    radial-gradient(760px 520px at 96% 44%, rgba(156, 175, 144, .18) 0%, rgba(156, 175, 144, 0) 64%),
    linear-gradient(180deg, #f6ebdb 0%, #fbf6ec 44%, #f2e6d4 100%);
  color: var(--bs-ink);
}

.bs-closing__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.bs-closing__head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4.4vw, 52px);
  text-align: center;
}

.bs-closing .bs-kicker {
  justify-content: center;
}

.bs-closing__title {
  margin: 0;
  color: var(--bs-ink);
  font-family: var(--bs-font);
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.bs-closing__title strong {
  color: var(--bs-terra-deep);
  font-weight: inherit;
}

.bs-closing__quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  max-width: 1040px;
  margin-inline: auto;
}

.bs-quote {
  position: relative;
  padding: clamp(28px, 3.4vw, 42px);
  border: 1px solid rgba(112, 92, 73, .16);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 30px 54px -46px rgba(51, 44, 38, .65);
  transition: transform .5s var(--bs-ease), box-shadow .5s var(--bs-ease);
}

.bs-quote:nth-child(1) {
  transform: rotate(-1.1deg);
}

.bs-quote:nth-child(2) {
  transform: rotate(1deg);
  border-color: rgba(255, 248, 236, .18);
  background:
    radial-gradient(120% 130% at 92% 4%, rgba(124, 148, 112, .3) 0%, rgba(124, 148, 112, 0) 62%),
    linear-gradient(152deg, #466150 0%, #314838 100%);
  color: #fbf6ec;
}

.bs-quote:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 36px 60px -42px rgba(51, 44, 38, .6);
}

.bs-quote::before {
  content: "”";
  position: absolute;
  top: 8px;
  inset-inline-start: 25px;
  color: rgba(157, 79, 57, .2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.bs-quote:nth-child(2)::before {
  color: rgba(255, 248, 236, .24);
}

.bs-quote .bs-quote__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bs-ink);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.bs-quote:nth-child(2) .bs-quote__text {
  color: #fff8eb;
}

.bs-quote .bs-quote__cite {
  display: block;
  margin: 18px 0 0;
  color: var(--bs-ink-soft);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.8;
}

.bs-quote:nth-child(2) .bs-quote__cite {
  color: rgba(251, 246, 236, .66);
}

.bs-closing__cta {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin: clamp(38px, 5.4vw, 68px) auto 0;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 34px;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(240, 205, 141, .18) 0%, rgba(240, 205, 141, 0) 60%),
    linear-gradient(152deg, #9d4f39 0%, #7f3e2c 100%);
  color: #fff8eb;
  text-align: center;
  box-shadow: 0 40px 70px -50px rgba(93, 44, 30, .9);
}

.bs-closing__cta::before {
  content: "";
  position: absolute;
  inset-inline-start: -70px;
  bottom: -95px;
  width: clamp(220px, 30vw, 330px);
  aspect-ratio: 320 / 340;
  background: url("../img/loop-yarn-terracotta.svg") center / contain no-repeat;
  opacity: .2;
  rotate: -12deg;
  pointer-events: none;
}

.bs-closing__cta::after {
  content: "";
  position: absolute;
  top: -95px;
  inset-inline-end: -55px;
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(255, 248, 235, .22);
  border-radius: 50%;
  pointer-events: none;
}

.bs-closing__cta > * {
  position: relative;
  z-index: 1;
}

.bs-closing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--bs-butter);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .02em;
}

.bs-closing__eyebrow::before,
.bs-closing__eyebrow::after {
  content: "✦";
  font-size: 9px;
  opacity: .8;
}

.bs-closing__cta h2 {
  max-width: 24ch;
  margin: 12px auto 14px;
  color: #fff8eb;
  font-family: var(--bs-font);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.bs-closing .bs-closing__desc {
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(255, 248, 235, .82);
  font-size: 14.5px;
  line-height: 2.05;
  text-wrap: pretty;
}

.bs-closing .bs-closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 26px 0 0;
}

.bs-closing .bs-closing__actions .wp-block-button {
  margin: 0;
}

.bs-closing .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--bs-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: transform .3s var(--bs-ease), background-color .3s var(--bs-ease), border-color .3s var(--bs-ease), box-shadow .3s var(--bs-ease);
}

.bs-closing .bs-btn--cream .wp-block-button__link {
  background: #fbf1de;
  color: #7a3926;
  box-shadow: 0 18px 34px -22px rgba(40, 20, 13, .8);
}

.bs-closing .bs-btn--cream .wp-block-button__link:hover {
  background: #fff8ea;
  transform: translateY(-2px);
  box-shadow: 0 24px 40px -22px rgba(40, 20, 13, .9);
}

.bs-closing .bs-btn--outline .wp-block-button__link {
  border-color: rgba(255, 248, 235, .46);
  background: transparent;
  color: #fff8eb;
}

.bs-closing .bs-btn--outline .wp-block-button__link:hover {
  border-color: rgba(255, 248, 235, .85);
  background: rgba(255, 248, 235, .08);
  transform: translateY(-2px);
}

.bs-closing .wp-block-button__link:focus-visible {
  outline: 3px solid var(--bs-butter);
  outline-offset: 4px;
}

.bs-closing .bs-closing__fineprint {
  margin: 24px 0 0;
  color: rgba(255, 248, 235, .56);
  font-size: 10.5px;
  line-height: 1.8;
}

.bs-collection a:focus-visible,
.bs-notes a:focus-visible {
  outline: 3px solid var(--bs-terra-deep);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---------- demo sections: responsive ---------- */

@media (max-width: 980px) {
  .bs-collection__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .bs-collection__count {
    margin-bottom: 0;
  }

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

  .bs-collection__grid .bs-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .bs-collection__grid .bs-card:last-child .bs-card__media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 290px;
  }

  .bs-collection__grid .bs-card:last-child .bs-card__body {
    justify-content: center;
    padding: clamp(24px, 4vw, 36px);
  }

  .bs-notes__inner {
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 46px);
  }

  .bs-notes__copy {
    max-width: 640px;
  }
}

@media (max-width: 900px) {
  .bs-closing__quotes {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .bs-quote:nth-child(1),
  .bs-quote:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 680px) {
  .bs-ribbon {
    transform: rotate(-.9deg) scale(1.04);
  }

  .bs-ribbon__track {
    padding-block: 13px;
  }

  .bs-ribbon__group {
    gap: 20px;
    padding-inline-end: 20px;
  }

  .bs-ribbon p.bs-ribbon__item {
    font-size: 11.5px;
  }

  .bs-ribbon p.bs-ribbon__item--latin {
    font-size: 10.5px;
  }

  .bs-collection,
  .bs-notes,
  .bs-closing {
    padding: 60px 20px 68px;
  }

  .bs-collection__lede {
    font-size: 1rem;
    line-height: 2;
  }

  .bs-collection__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .bs-collection__grid .bs-card:last-child {
    display: flex;
    grid-column: auto;
  }

  .bs-collection__grid .bs-card:last-child .bs-card__media {
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .bs-card__media {
    aspect-ratio: 1 / 1;
  }

  .bs-card__body {
    padding: 18px 18px 20px;
  }

  .bs-collection__note {
    align-items: flex-start;
    font-size: 11px;
  }

  .bs-notes__title {
    font-size: clamp(1.95rem, 8vw, 2.5rem);
  }

  .bs-notes__lede {
    font-size: 13.5px;
  }

  .bs-notes__item {
    column-gap: 13px;
  }

  .bs-notes__num {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .bs-quote {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .bs-quote::before {
    inset-inline-start: 18px;
    font-size: 66px;
  }

  .bs-closing__head {
    text-align: right;
  }

  .bs-closing .bs-kicker {
    justify-content: flex-start;
  }

  .bs-closing__title {
    font-size: clamp(1.95rem, 8vw, 2.5rem);
  }

  .bs-closing__cta {
    padding: 32px 22px 34px;
    border-radius: 26px;
  }

  .bs-closing__cta::before {
    width: 200px;
    opacity: .16;
  }

  .bs-closing .bs-closing__actions {
    flex-direction: column;
  }

  .bs-closing .bs-closing__actions .wp-block-button {
    width: 100%;
  }

  .bs-closing .bs-closing__actions .wp-block-button__link {
    width: 100%;
    min-height: 48px;
    font-size: 13.5px;
  }

  .bs-closing .bs-closing__desc {
    font-size: 13.5px;
  }
}

@media (max-width: 400px) {
  .bs-notes__seal {
    align-items: flex-start;
    border-radius: 22px;
  }

  .bs-card .bs-card__foot {
    flex-wrap: wrap;
  }
}

/* ---------- demo sections: editor ---------- */

.block-editor-block-list__layout .bs-ribbon {
  margin-block-start: 0 !important;
  transform: none;
}

.block-editor-block-list__layout .bs-ribbon__track {
  animation: none;
}

.block-editor-block-list__layout .bs-collection,
.block-editor-block-list__layout .bs-notes,
.block-editor-block-list__layout .bs-closing {
  padding-inline: 32px;
}

.block-editor-block-list__layout .bs-card__media img,
.block-editor-block-list__layout .bs-card__media {
  width: 100%;
}

.block-editor-block-list__layout .bs-quote:nth-child(1),
.block-editor-block-list__layout .bs-quote:nth-child(2) {
  transform: none;
}

/* ---------- demo sections: reduced motion ---------- */

/* WordPress makes the admin bar absolute below 600px, so it scrolls away
   with the page; the sticky header must not keep reserving its height. */
@media (max-width: 600px) {
  .admin-bar .bs-site-header,
  .admin-bar .wp-block-template-part:has(> .bs-site-header) {
    top: 0;
  }

  .admin-bar .bs-fixed,
  .admin-bar .bs-collection,
  .admin-bar .bs-notes,
  .admin-bar .bs-closing {
    scroll-margin-top: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-ribbon__track {
    width: 100%;
    justify-content: center;
    animation: none !important;
    transform: none !important;
  }

  .bs-ribbon .bs-ribbon__group {
    justify-content: center;
    flex-wrap: wrap;
    padding-inline-end: 0;
  }

  .bs-ribbon__track > [data-bs-ribbon-clone] {
    display: none !important;
  }

  .bs-card,
  .bs-card__media img,
  .bs-quote,
  .bs-closing .wp-block-button__link,
  .bs-card__link::after {
    transition: none !important;
  }

  .bs-card:hover,
  .bs-quote:hover,
  .bs-closing .bs-btn--cream .wp-block-button__link:hover,
  .bs-closing .bs-btn--outline .wp-block-button__link:hover {
    transform: none !important;
  }
}

/* Keep the full-bleed homepage sections flush; WordPress adds a 1.2rem block gap. */
.wp-block-post-content > .bs-hero,
.wp-block-post-content > .bs-fixed,
.wp-block-post-content > .bs-collection,
.wp-block-post-content > .bs-notes,
.wp-block-post-content > .bs-closing,
footer.wp-block-template-part {
  margin-block-start: 0 !important;
}

/* The rotated ribbon must overlap its neighbours: without negative margins the
   corners of its layout box leave white slivers at the top-left and
   bottom-right. calc(50% - 50vw) makes the layout box full-bleed so the scaled
   band always reaches the screen edges. */
.wp-block-post-content > .bs-ribbon {
  margin-block: clamp(-46px, -1.45vw, -12px) !important;
  margin-inline: calc(50% - 50vw) !important;
}

/* ---------- inner page background ---------- */

/* Single pages/posts/products, archives, search and 404: the header's cream
   holds all the way down the first third of the sheet, then thins out to white
   exactly where the footer starts. The wash is sized to the document, so the
   35% mark follows the length of the page rather than the height of a screen. */
body:not(.home) {
  background-color: #fff;
  background-image: linear-gradient(180deg, #fbf6ec 0%, #fbf6ec 35%, rgba(251, 246, 236, 0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
}

/* ---------- footer cast-on edge ---------- */

/* No fade above the footer: the green of the footer rises into the page itself
   as a row of loops, masked from a 16px tile, so the seam reads as the cast-on
   edge of the knitted blanket. Same on every page, because the footer is. */
.bs-footer {
  position: relative;
}

.bs-footer::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto 0;
  height: 14px;
  background: #3d4737;
  -webkit-mask-image: url("../img/footer-knit.svg");
  mask-image: url("../img/footer-knit.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: left bottom;
  mask-position: left bottom;
  -webkit-mask-size: 16px 14px;
  mask-size: 16px 14px;
  pointer-events: none;
}

/* The loops stand 14px proud of the footer, so inner pages keep some air between
   the last block and that edge. The parent 404/search templates set their own
   padding inline, hence the override. */
body:not(.home) main {
  padding-bottom: clamp(48px, 6vw, 72px) !important;
}
