/* The ThreadVenturer: stitched market catalogue. Light theme only. */

:root {
  --bg: #fbfbf8;
  --card: #ffffff;
  --surface: #f1f3ee;
  --ink: #15181a;
  --muted: #5b625d;
  --line: #e2e6df;
  --line-strong: #d3d9cf;
  --green: #007a3d;
  --green-dark: #00632f;
  --red: #c8102e;
  --band: #15181a;
  --band-ink: #f4f5f1;

  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --arabic: "Reem Kufi", "Noto Kufi Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;

  --radius: 18px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 88px;
  --shadow-sm: 0 1px 2px rgba(21, 24, 26, .05), 0 4px 12px -6px rgba(21, 24, 26, .1);
  --shadow-lg: 0 30px 60px -32px rgba(21, 24, 26, .4);
  --fishnet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='none' stroke='%23dfe5dc' stroke-width='1'%3E%3Cpath d='M0 0l26 26M26 0L0 26'/%3E%3C/g%3E%3Cpath fill='%23dfe5dc' d='M13 9.5l2.4 3.5-2.4 3.5-2.4-3.5z'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
button { font: inherit; color: inherit; }
.nowrap { white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.band :focus-visible, .topbar :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- flag chip ---------- */
.flag {
  display: inline-block; flex: none; position: relative;
  width: 30px; height: 15px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(#000 0 33.333%, #fff 33.333% 66.666%, #007a3d 66.666% 100%);
  box-shadow: 0 0 0 1px rgba(21, 24, 26, .14);
}
.flag::before {
  content: ""; position: absolute; inset: 0;
  background: #ce1126; clip-path: polygon(0 0, 42% 50%, 0 100%);
}
.flag--xs { width: 22px; height: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.flag--lg { width: 56px; height: 28px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* ---------- logo seal (the brand mark, always on a white circle) ---------- */
.seal {
  position: relative; display: grid; place-items: center; flex: none;
  aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  outline: 1.5px dashed rgba(200, 16, 46, .5); outline-offset: 3px;
}
.seal img { width: 100%; height: 100%; object-fit: cover; }
.seal--header { width: 64px; }
.seal--footer { width: 84px; outline-offset: 4px; }
.seal--hero {
  position: absolute; z-index: 2; left: -1%; bottom: 0;
  width: clamp(108px, 13vw, 160px);
  box-shadow: 0 0 0 1px var(--line), 0 22px 40px -18px rgba(21, 24, 26, .45);
  outline-offset: 6px; outline-width: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--wa { background: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(0, 122, 61, .8); }
.btn--wa:hover { background: var(--green-dark); box-shadow: 0 12px 22px -10px rgba(0, 122, 61, .85); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.02rem; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- announcement bar ---------- */
.topbar { background: var(--band); color: #dfe3dc; font-size: .82rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding-block: 6px; }
.topbar p { display: flex; align-items: center; gap: 10px; }
.topbar a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .topbar__row { justify-content: center; }
  .topbar__row > p:first-child { display: none; }
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 248, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.top.is-scrolled { box-shadow: 0 10px 30px -22px rgba(21, 24, 26, .45); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand__text { display: grid; min-width: 0; }
.brand__name { font-family: var(--display); font-size: 1.38rem; line-height: 1.15; white-space: nowrap; }
.brand__tag { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
  padding-block: 6px;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 9px);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.top__actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none; place-items: center; width: 46px; height: 46px; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav__inner { display: grid; padding-block: 8px 20px; }
.mobile-nav__inner a:not(.btn) {
  padding: 14px 2px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1.25rem; text-decoration: none;
}
.mobile-nav__inner .btn { margin-top: 18px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 981px) { .mobile-nav { display: none !important; } }
@media (max-width: 520px) {
  :root { --header-h: 74px; }
  .top__row { gap: 10px; }
  .seal--header { width: 50px; outline-offset: 2px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 1.08rem; }
  .brand__tag { font-size: .6rem; letter-spacing: .12em; }
  .top__wa { width: 46px; min-height: 46px; padding: 0; }
  .top__wa-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top__actions { gap: 8px; }
}
@media (max-width: 360px) {
  .brand__name { font-size: .98rem; }
  .seal--header { width: 44px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1;
  background: radial-gradient(1200px 520px at 85% 10%, rgba(0, 122, 61, .05), transparent 60%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 56px;
  padding-block: 64px 48px;
}
.hero__text { display: grid; gap: 20px; justify-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.arabic {
  font-family: var(--arabic); font-weight: 700; color: var(--red);
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: -6px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--green); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 50ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.note { font-size: .95rem; color: var(--muted); }
.note strong { color: var(--ink); }

.hero__art { position: relative; isolation: isolate; padding: 2% 0 8% 11%; }
.hero__circle {
  position: absolute; z-index: -1; left: 53%; top: 50%; translate: -50% -50%;
  width: 94%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fafbf8 0%, var(--surface) 60%, #e7ebe3 100%);
}
.hero__circle::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px dashed rgba(200, 16, 46, .32);
}
.hero__img { width: 100%; filter: drop-shadow(0 20px 26px rgba(21, 24, 26, .18)); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px 32px; }
  .hero__art { max-width: 540px; width: 100%; justify-self: center; }
}
@media (max-width: 420px) {
  .cta { display: grid; width: 100%; }
  .seal--hero { outline-offset: 4px; }
}

/* highlights strip */
.highlights {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.highlights li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; min-width: 0; }
.highlights li + li { border-left: 1px solid var(--line); }
.highlights__icon {
  width: 42px; height: 42px; flex: none; padding: 10px; border-radius: 50%;
  background: rgba(0, 122, 61, .08); color: var(--green);
}
.highlights span { display: grid; font-size: .88rem; color: var(--muted); line-height: 1.4; min-width: 0; }
.highlights strong { color: var(--ink); font-size: .95rem; }
@media (max-width: 980px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights li:nth-child(3) { border-left: 0; }
  .highlights li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .highlights { grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; }
  .highlights li + li { border-left: 0; border-top: 1px solid var(--line); }
  .highlights li { padding: 16px 18px; }
}

/* ---------- tatreez divider ---------- */
.tatreez { line-height: 0; }
.tatreez svg { display: block; width: 100%; height: 36px; }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section--tight { padding-top: 16px; }
.section--soft { background: var(--surface); }
.head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 12px 40px; margin-bottom: 36px;
}
.head h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
.head > p { color: var(--muted); max-width: 46ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 24px; border-top: 2px dashed currentColor; }
@media (max-width: 600px) {
  .section { padding-block: 60px; }
  .section--tight { padding-top: 8px; }
  .head { margin-bottom: 28px; }
}

/* ---------- product grid ---------- */
/* 4 cols with a 2-col featured card -> 2 full rows; 2 cols -> feature row + 3 rows; 1 col on phones */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .grid { grid-template-columns: minmax(0, 1fr); } }

.card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 22px 40px -26px rgba(21, 24, 26, .4); border-color: var(--line-strong); }
.card:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 122, 61, .18); }

.card__media {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; cursor: zoom-in;
  background-color: var(--surface); background-image: var(--fishnet); background-size: 26px 26px;
}
.card__media:focus-visible { outline-offset: -4px; border-radius: var(--radius) var(--radius) 0 0; }
.card__media img {
  width: 76%; height: 76%; object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(21, 24, 26, .2));
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card__media img { transform: scale(1.05) rotate(-2deg); }
.card__zoom {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm);
  font-size: .78rem; font-weight: 700; color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
}
.card__zoom svg { width: 14px; height: 14px; }
.card__media:hover .card__zoom, .card__media:focus-visible .card__zoom { opacity: 1; transform: none; }
@media (hover: none) { .card__zoom { opacity: 1; transform: none; } }

.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; padding: 20px 20px 22px; }
.card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.card__name { font-size: 1.3rem; }
.card__desc { color: var(--muted); font-size: .95rem; }
.card__foot {
  margin-top: auto; padding-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.card__foot .btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; }

.price { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price__from { font-size: .8rem; font-weight: 600; color: var(--muted); }
.price__num { font-family: var(--display); font-size: 1.6rem; line-height: 1; }

/* featured card: image left, text right */
.card--feature { grid-column: span 2; flex-direction: row; }
.card--feature .card__media { flex: 1 1 46%; width: auto; aspect-ratio: auto; min-height: 380px; }
.card--feature .card__media img { width: 84%; height: 84%; }
.card--feature .card__body { flex: 1 1 54%; justify-content: center; padding: 34px 32px; gap: 12px; }
.card--feature .card__name { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.card--feature .card__desc { font-size: 1rem; }
.card--feature .card__foot { margin-top: 10px; }
.card--feature .price__num { font-size: 2rem; }
@media (max-width: 600px) {
  .card--feature { grid-column: auto; flex-direction: column; }
  .card--feature .card__media { width: 100%; aspect-ratio: 1 / 1; min-height: 0; }
  .card--feature .card__body { padding: 20px 20px 22px; }
}

.noscript { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- price list ---------- */
.pricecard {
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 40px 44px 28px; box-shadow: var(--shadow-sm);
}
.head--compact { margin-bottom: 20px; }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--line); }
.prices li { border-bottom: 1px solid var(--line); min-width: 0; }
.row { display: flex; align-items: center; gap: 14px; padding-block: 12px; text-decoration: none; min-width: 0; border-radius: 10px; }
.row__thumb {
  width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--surface);
  display: grid; place-items: center;
}
.row__thumb img { width: 40px; height: 40px; object-fit: contain; }
.row__name { font-weight: 600; min-width: 0; transition: color .15s ease; }
.row__dots { flex: 1 1 16px; min-width: 16px; align-self: center; translate: 0 6px; border-bottom: 2px dotted #c9cfc5; }
.row__price { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__price small { font-family: var(--body); font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: 5px; }
.row:hover .row__name { color: var(--green); }
@media (max-width: 760px) {
  .pricecard { padding: 28px 20px 16px; }
  .prices { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- our story ---------- */
.story {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(700px 480px at 18% 40%, rgba(246, 222, 178, .45), transparent 70%),
    radial-gradient(600px 400px at 90% 90%, rgba(127, 143, 85, .12), transparent 70%),
    linear-gradient(#f8f3e9, #f9f6ef 60%, var(--bg));
}
.story__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; align-items: center; }
.story__media { position: relative; justify-self: center; width: min(100%, 470px); padding: 0 0 44px 40px; }
.story__frame {
  position: relative; margin: 0; border-radius: 30px; overflow: hidden; background: #efe6d6;
  box-shadow: 0 40px 70px -36px rgba(80, 56, 20, .55), 0 0 0 1px rgba(21, 24, 26, .06);
  outline: 2px dashed rgba(200, 16, 46, .45); outline-offset: 10px;
}
.story__frame img { width: 100%; height: auto; transform-origin: 55% 35%; }
.seal--story {
  position: absolute; z-index: 3; left: 0; bottom: 0;
  width: clamp(124px, 14vw, 180px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -18px rgba(21, 24, 26, .5);
  outline-width: 2px; outline-offset: 6px;
}
.olive { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(60, 50, 20, .18)); }
.olive--top { width: 190px; right: -54px; top: -46px; transform-origin: 4% 94%; }
.olive--bottom { width: 150px; right: -34px; bottom: 6px; scale: -1 1; transform-origin: 4% 94%; }
@media (max-width: 520px) {
  .story__media { padding: 0 0 36px 26px; }
  .olive--top { width: 140px; right: -24px; top: -34px; }
  .olive--bottom { width: 110px; right: -16px; }
}
.story__text { display: grid; gap: 18px; }
.story__text .kicker { margin-bottom: -4px; }
.story__text h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.story__text p { color: var(--muted); max-width: 56ch; }
.story__text .story__lead { color: var(--ink); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; }
.pillars { display: grid; gap: 10px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.pillars li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.pillars__dot {
  width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(0, 122, 61, .1);
  position: relative;
}
.pillars__dot::after {
  content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px;
  border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
}

/* ---------- symbols ---------- */
.symbols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .symbols { grid-template-columns: minmax(0, 1fr); } }
.symbol {
  display: grid; gap: 10px; align-content: start; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 26px;
}
.symbol__swatch {
  height: 96px; margin-bottom: 8px; border-radius: 12px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(21, 24, 26, .08); background: #fff; line-height: 0;
}
.symbol__swatch svg { display: block; }
.symbol__swatch--flag { position: relative; background: linear-gradient(#000 0 33.333%, #fff 33.333% 66.666%, #007a3d 66.666% 100%); }
.symbol__swatch--flag::before { content: ""; position: absolute; inset: 0; background: #ce1126; clip-path: polygon(0 0, 24% 50%, 0 100%); }
.symbol__swatch--tatreez { background: #fff; }
.symbol h3 { font-size: 1.4rem; }
.symbol p { color: var(--muted); font-size: .96rem; }

/* ---------- how to order ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  position: relative; display: grid; gap: 8px; align-content: start; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
}
.step__n {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px;
  border-radius: 50%; border: 1.5px dashed var(--red); background: rgba(200, 16, 46, .04);
  font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--red);
}
.step h3 { font-size: 1.32rem; }
.step p { color: var(--muted); }
.step strong { color: var(--ink); }

.order-box {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  background: linear-gradient(120deg, rgba(0, 122, 61, .06), rgba(0, 122, 61, 0) 60%), var(--card);
  border: 1.5px solid var(--green); border-radius: var(--radius); padding: 28px 32px;
}
.order-box__label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.order-box__num {
  font-family: var(--display); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15;
  font-variant-numeric: tabular-nums; -webkit-user-select: all; user-select: all; white-space: nowrap;
}
.order-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order-box__status { flex-basis: 100%; min-height: 1.6em; margin-top: -6px; font-size: .9rem; font-weight: 600; color: var(--green); }
.order-box__status:empty { display: none; }
@media (max-width: 520px) {
  .order-box { padding: 22px 20px; }
  .order-box__actions { display: grid; width: 100%; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq__title { font-size: clamp(2.1rem, 4.2vw, 3rem); margin-bottom: 14px; }
.faq__intro { color: var(--muted); max-width: 34ch; }
.faq__intro strong { color: var(--ink); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 1.18rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--surface); }
.faq summary:hover { color: var(--green); }
.faq details p { padding: 0 44px 22px 2px; color: var(--muted); }
.faq details strong { color: var(--ink); }
@media (max-width: 820px) { .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- dedication band ---------- */
.band { position: relative; background: var(--band); color: var(--band-ink); text-align: center; overflow: hidden; isolation: isolate; }
.band__pattern { position: absolute; inset: 0; z-index: -1; opacity: .13; line-height: 0; }
.band__pattern svg { display: block; }
.band__inner { display: grid; justify-items: center; gap: 16px; padding-block: 88px; }
.band__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #b9bfba; }
.band h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); max-width: 20ch; }
.heart { width: 38px; height: 38px; color: #ef4b55; }

/* ---------- footer ---------- */
.foot { background: var(--card); border-top: 1px solid var(--line); }
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .9fr); gap: 40px;
  padding-block: 56px 40px;
}
.foot__brand { display: flex; align-items: flex-start; gap: 20px; }
.foot__name { font-family: var(--display); font-size: 1.4rem; line-height: 1.2; }
.foot__tag { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.foot__about { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.foot__col { display: grid; gap: 8px; align-content: start; color: var(--muted); font-size: .95rem; }
.foot__col a:not(.btn) { text-decoration: none; justify-self: start; }
.foot__col a:not(.btn):hover { color: var(--green); }
.foot__head { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.foot__wa { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.foot__btn { justify-self: start; margin-top: 8px; }
.foot__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px;
  padding-block: 20px 28px; color: var(--muted); font-size: .86rem;
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--gutter) - var(--gutter-r)) 1px no-repeat;
}
.foot__top { font-weight: 600; text-decoration: none; }
.foot__top:hover { color: var(--green); }
@media (max-width: 820px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px 32px; }
  .foot__brand { flex-direction: column; }
  .foot__bottom { padding-bottom: 96px; } /* room for the floating button */
}

/* ---------- floating WhatsApp button (phones) ---------- */
.fab {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: none; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 14px 28px -10px rgba(0, 122, 61, .75);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.fab .icon { width: 28px; height: 28px; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 820px) { .fab { display: grid; } }

/* ---------- quick view dialog ---------- */
.qv {
  width: min(940px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: calc(var(--radius) + 6px);
  background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  overflow: auto;
}
.qv::backdrop { background: rgba(21, 24, 26, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.qv[open] { animation: qv-in .25s ease; }
@keyframes qv-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qv__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.qv__media { background: #fff; display: grid; place-items: center; border-right: 1px solid var(--line); }
.qv__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qv__body { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 48px 40px 32px; }
.qv__name { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.qv__desc { color: var(--muted); font-size: 1.02rem; }
.qv .price__num { font-size: 2.1rem; }
.qv__body .btn { align-self: flex-start; margin-top: 8px; }
.qv__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.qv__step { background: none; border: 0; padding: 8px 4px; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--muted); }
.qv__step:hover { color: var(--ink); }
.qv__count { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.qv__close {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); cursor: pointer;
}
.qv__close svg { width: 20px; height: 20px; }
.qv__close:hover { background: var(--surface); }
@media (max-width: 720px) {
  .qv__inner { grid-template-columns: minmax(0, 1fr); }
  .qv__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .qv__media img { max-height: 46dvh; }
  .qv__body { padding: 22px 20px 20px; }
  .qv__body .btn { align-self: stretch; }
}

/* ======================================================================
   FLAG RIBBONS, WAVING FLAG, GLOWING HEARTS
   ====================================================================== */
.hero { isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__corner { position: absolute; z-index: 0; top: 0; right: 0; width: min(46vw, 660px); line-height: 0; pointer-events: none; }
.hero__corner svg { display: block; width: 100%; height: auto; }
.corner-sway { transform-box: view-box; transform-origin: 620px -60px; }
@media (max-width: 900px) { .hero__corner { width: 44vw; } }

.hero__ribbon { position: relative; z-index: 0; height: clamp(96px, 11vw, 160px); line-height: 0; overflow: hidden; }
.hero__ribbon svg { display: block; width: 100%; height: 100%; }

/* "Solidarity" gets a stitched underline */
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.02em; height: .07em; min-height: 3px;
  background: repeating-linear-gradient(90deg, var(--red) 0 .22em, transparent .22em .36em);
  border-radius: 2px; transform-origin: left;
}

/* waving flag: JS cuts the flag into vertical slices that ripple */
.wave-flag {
  --flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0h200v33.6H0z'/%3E%3Cpath fill='%23fff' d='M0 33.3h200v33.6H0z'/%3E%3Cpath fill='%23007a3d' d='M0 66.6h200V100H0z'/%3E%3Cpath fill='%23ce1126' d='M0 0l68 50L0 100z'/%3E%3C/svg%3E");
  display: flex; width: min(240px, 62vw); aspect-ratio: 2 / 1; margin-top: 14px;
  background: var(--flag) center / 100% 100% no-repeat;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4));
}
.wave-flag.is-ready { background: none; }
.wave-flag span {
  /* each slice overlaps the next by 1px so no hairline seams show */
  position: relative; flex: 0 0 calc(var(--fw) / var(--n) + 1px); margin-right: -1px;
  background: var(--flag) no-repeat;
  background-size: var(--fw) 100%;
  background-position: calc(var(--i) * var(--fw) / var(--n) * -1) 0;
}
.wave-flag span::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; }

/* soft glowing hearts, like bokeh */
.glow-hearts { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.glow-hearts span {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f6c98f' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3.2 1.7-2 3.2-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: blur(var(--b)); opacity: 0;
}
.glow-hearts span.is-pink {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f3a6b5' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3.2 1.7-2 3.2-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
}
.band .band__inner { position: relative; z-index: 1; }

/* ======================================================================
   ANIMATION
   Everything below is motion only; the page reads the same without it.
   ====================================================================== */
@keyframes rise     { from { opacity: 0; transform: translateY(26px); } }
@keyframes art-in   { from { opacity: 0; transform: translateY(24px) scale(.95); } }
@keyframes seal-in  { from { opacity: 0; transform: rotate(-150deg) scale(.35); } }
@keyframes float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob      { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes spin     { to { transform: rotate(1turn); } }
@keyframes sway     { from { transform: rotate(-2.5deg); } to { transform: rotate(2deg); } }
@keyframes corner-in { from { opacity: 0; transform: translate(14%, -14%); } }
@keyframes flow     { to { transform: translateX(-720px); } }
@keyframes stitch-line { from { transform: scaleX(0); } }
@keyframes pulse    { 0% { box-shadow: 0 0 0 0 rgba(0, 122, 61, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(0, 122, 61, 0); } }
@keyframes beat     { 0%, 60%, 100% { transform: scale(1); } 12% { transform: scale(1.2); } 24% { transform: scale(1); } 36% { transform: scale(1.12); } }
@keyframes flag-wave  { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@keyframes flag-shade { from { opacity: 0; } to { opacity: .13; } }
@keyframes heart-float {
  0%   { opacity: 0; transform: translateY(24px) scale(.85); }
  25%, 70% { opacity: var(--o); }
  100% { opacity: 0; transform: translateY(-70px) scale(1.05); }
}
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes olive-sway { from { transform: rotate(-5deg); } to { transform: rotate(4deg); } }
@keyframes drop-in  { from { transform: translateY(-100%); } }

/* page load: header, hero text in sequence, art, logo seal */
.js .top { animation: drop-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__text > :nth-child(1) { animation-delay: .15s; }
.js .hero__text > :nth-child(2) { animation-delay: .27s; }
.js .hero__text > :nth-child(3) { animation-delay: .39s; }
.js .hero__text > :nth-child(4) { animation-delay: .53s; }
.js .hero__text > :nth-child(5) { animation-delay: .67s; }
.js .hero__text > :nth-child(6) { animation-delay: .8s; }
.js .hero h1 em::after { animation: stitch-line 1.1s 1.15s steps(12, end) both; }
.js .hero__art { animation: art-in 1.1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.js .seal--hero { animation: seal-in 1.3s 1s cubic-bezier(.2, .8, .25, 1.15) both; }
.js .hero__corner { animation: corner-in 1.6s .1s cubic-bezier(.2, .7, .2, 1) both; }
.js .highlights li { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .highlights li:nth-child(1) { animation-delay: 1s; }
.js .highlights li:nth-child(2) { animation-delay: 1.1s; }
.js .highlights li:nth-child(3) { animation-delay: 1.2s; }
.js .highlights li:nth-child(4) { animation-delay: 1.3s; }

/* continuous, gentle loops */
.hero__img { animation: float 7s 1.6s ease-in-out infinite; }
.hero__circle::after { animation: spin 90s linear infinite; }
.corner-sway { animation: sway 9s ease-in-out infinite alternate; }
.flow--front { animation: flow 15s linear infinite; }
.flow--back { animation: flow 26s linear infinite reverse; }
.btn--pulse { position: relative; }
.btn--pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: pulse 3.2s 2.2s ease-out infinite; }
.heart { animation: beat 2.4s ease-in-out infinite; }
.wave-flag span { animation: flag-wave 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.065s); }
.wave-flag span::after { animation: flag-shade 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.065s - .35s); }
.glow-hearts span { animation: heart-float var(--t) var(--dl) ease-in-out infinite; }
.story__frame img { animation: ken-burns 16s ease-in-out infinite alternate; }
.seal--story { animation: bob 6s ease-in-out infinite; }
.olive--top, .olive--bottom { animation: olive-sway 6s ease-in-out infinite alternate; }
.olive--bottom { animation-duration: 7.5s; animation-delay: -2s; }
.card:hover { translate: 0 -4px; }

/* sections pause their loops while off screen (JS adds .is-paused) */
[data-anim].is-paused *, [data-anim].is-paused *::before, [data-anim].is-paused *::after { animation-play-state: paused !important; }

/* scroll reveal (only when JS is running); --d staggers siblings */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s ease var(--d, 0ms), transform .75s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal {
  transition: opacity .75s ease var(--d, 0ms), transform .75s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms),
              translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.js .reveal .kicker::before { width: 0; transition: width .7s ease calc(var(--d, 0ms) + .35s); }
.js .reveal.is-in .kicker::before { width: 24px; }
.js .step.reveal .step__n { opacity: 0; transform: scale(.3) rotate(-90deg); transition: opacity .4s ease calc(var(--d, 0ms) + .3s), transform .7s cubic-bezier(.2, .8, .25, 1.4) calc(var(--d, 0ms) + .3s); }
.js .step.reveal.is-in .step__n { opacity: 1; transform: none; }
.js .story__media.reveal { transform: translateY(30px) rotate(-2deg); }
.js .story__media.reveal.is-in { transform: none; }

/* tatreez bands stitch themselves in, one cross at a time */
.js .stitch svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s steps(30, end); }
.js .stitch.is-in svg { clip-path: inset(0 0 0 0); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover .card__media img { transform: none; }
  .card:hover { translate: none; }
  .js .reveal, .js .story__media.reveal { opacity: 1; transform: none; }
  .js .reveal .kicker::before { width: 24px; }
  .js .step.reveal .step__n { opacity: 1; transform: none; }
  .js .stitch svg { clip-path: none; }
  .glow-hearts span { opacity: calc(var(--o) * .7); }
}
