/* ===============================================================
   کۆمپانیای کوتاڵ - Kutal Company
   Palette: deep emerald / cream / copper
   =============================================================== */

:root {
  --emerald-900: #0A211A;
  --emerald-800: #0F2E24;
  --emerald-700: #16412F;
  --emerald-600: #1E5540;
  --cream:       #F7F3EA;
  --cream-dim:   #EDE6D8;
  --ink:         #14201B;
  --copper:      #C08A4E;
  --copper-soft: #D8A76A;
  --muted:       #7E8F86;
  --muted-dark:  #5C6E65;

  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 10px 30px rgba(10, 33, 26, .10);
  --shadow-lg:   0 22px 60px rgba(10, 33, 26, .22);
  --wrap:        1180px;
  --ease:        cubic-bezier(.4, 0, .2, 1);

  --font-head: 'Noto Kufi Arabic', 'Rabar', system-ui, sans-serif;
  --font-body: 'Noto Sans Arabic', 'Noto Kufi Arabic', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.5; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* ---------- Section headings ---------- */
.sec { padding: 84px 0; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--copper);
  margin-bottom: .6em;
}
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .35em; }
.sec-head p { color: var(--muted-dark); max-width: 620px; margin-inline: auto; }
.sec-head .rule {
  width: 62px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-soft));
  margin: 18px auto 0;
}
.sec-head.on-dark h2 { color: var(--cream); }
.sec-head.on-dark p  { color: rgba(247, 243, 234, .7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  padding: .85em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--copper); color: #16110A; }
.btn-primary:hover { background: var(--copper-soft); }
.btn-ghost { border-color: rgba(247, 243, 234, .45); color: var(--cream); }
.btn-ghost:hover { background: rgba(247, 243, 234, .12); }
.btn-outline { border-color: var(--copper); color: var(--emerald-800); }
.btn-outline:hover { background: var(--copper); color: #16110A; }

/* ===============================================================
   Header
   =============================================================== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15, 46, 36, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 138, 78, .22);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
/* logo is 3:2 landscape on a white ground - contain it, never crop to a circle */
.brand img {
  height: 46px; width: auto; max-width: 132px;
  border-radius: 9px; object-fit: contain;
  background: var(--cream); padding: 4px 7px;
}
.brand-txt strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--cream); line-height: 1.3; }
.brand-txt span { font-size: .68rem; letter-spacing: .1em; color: var(--copper-soft); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-size: .92rem;
  color: rgba(247, 243, 234, .82);
  padding: .5em .95em; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--cream); background: rgba(192, 138, 78, .2); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; margin: 4px 0; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset-inline: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--emerald-800); padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(192, 138, 78, .25);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8em 1em; }
}

/* ===============================================================
   Hero
   =============================================================== */
.hero { position: relative; background: var(--emerald-800); overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1100px 500px at 78% 0%, rgba(192, 138, 78, .20), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 84px 0 92px;
}
.hero-copy .eyebrow {
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .14em;
  color: var(--copper-soft); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1em;
}
.hero-copy .eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--copper); }
.hero-copy h1 { font-size: clamp(2rem, 5vw, 3.35rem); color: var(--cream); margin-bottom: .3em; }
.hero-copy h1 em { font-style: normal; color: var(--copper-soft); }
.hero-copy p { color: rgba(247, 243, 234, .76); font-size: 1.06rem; max-width: 44ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--copper-soft); line-height: 1.2;
}
.hero-stats div span { font-size: .84rem; color: rgba(247, 243, 234, .62); }

/* stacked photo collage */
.hero-art { position: relative; height: 470px; }
.hero-art figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-art figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .a { width: 61%; height: 84%; inset-block-start: 0; inset-inline-start: 0; z-index: 2; }
.hero-art .b { width: 46%; height: 54%; inset-block-end: 0; inset-inline-end: 0; z-index: 3; border: 5px solid var(--emerald-800); }
.hero-art .c { width: 38%; height: 40%; inset-block-start: 8%; inset-inline-end: 2%; z-index: 1; opacity: .9; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 68px; }
  .hero-art { height: 360px; order: -1; }
}
@media (max-width: 560px) { .hero-art { height: 300px; } .hero-stats { gap: 24px; } }

/* ===============================================================
   About / features
   =============================================================== */
.about { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--cream-dim); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(192, 138, 78, .14); color: var(--copper);
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .35em; }
.feature p { color: var(--muted-dark); font-size: .93rem; margin: 0; }

/* ===============================================================
   Products
   =============================================================== */
.products { background: var(--cream-dim); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button {
  font-family: var(--font-head); font-size: .88rem; cursor: pointer;
  padding: .6em 1.4em; border-radius: 999px;
  border: 1.5px solid rgba(15, 46, 36, .18); background: transparent; color: var(--emerald-700);
  transition: .2s var(--ease);
}
.filters button:hover { border-color: var(--copper); }
.filters button.active { background: var(--emerald-800); border-color: var(--emerald-800); color: var(--cream); }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; }

.p-card {
  display: block; background: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 3px 14px rgba(10, 33, 26, .07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* lift is applied via --ty in the MOTION section so it can compose with tilt */
.p-card:hover { box-shadow: var(--shadow-lg); }
.p-card .thumb { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--muted); }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.p-card:hover .thumb img { transform: scale(1.06); }
.p-card .badge {
  position: absolute; inset-block-start: 12px; inset-inline-end: 12px;
  background: rgba(10, 33, 26, .74); color: var(--cream);
  font-family: var(--font-head); font-size: .74rem;
  padding: .35em .85em; border-radius: 999px; backdrop-filter: blur(4px);
}
.p-card .body { padding: 18px 20px 22px; }
.p-card .body h3 { font-size: 1.1rem; margin-bottom: .2em; }
.p-card .body .more {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .85rem; color: var(--copper); font-family: var(--font-head);
}
.p-card .body .more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.p-card:hover .body .more svg { transform: translateX(-4px); } /* RTL: arrow leads leftward */

/* ===============================================================
   Gallery strip
   =============================================================== */
.gallery { background: var(--emerald-800); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.g-item {
  aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  cursor: pointer; position: relative; background: var(--emerald-700); border: 0; padding: 0;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.g-item:hover img { transform: scale(1.09); opacity: .82; }
.g-item::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 2px rgba(192, 138, 78, 0); transition: box-shadow .25s var(--ease);
}
.g-item:hover::after { box-shadow: inset 0 0 0 2px rgba(192, 138, 78, .85); }

/* ===============================================================
   Contact
   =============================================================== */
.contact { background: var(--cream); }
.c-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.c-card {
  background: #fff; border: 1px solid var(--cream-dim); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-card .ico {
  width: 52px; height: 52px; margin: 0 auto 15px; border-radius: 14px;
  display: grid; place-items: center; background: var(--emerald-800); color: var(--copper-soft);
}
.c-card .ico svg { width: 24px; height: 24px; }
.c-card h3 { font-size: 1rem; margin-bottom: .3em; }
.c-card p, .c-card a { color: var(--muted-dark); font-size: .94rem; margin: 0; word-break: break-word; }
.c-card a:hover { color: var(--copper); }
.c-map { margin-top: 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.c-map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ===============================================================
   Footer
   =============================================================== */
.site-foot { background: var(--emerald-900); color: rgba(247, 243, 234, .68); padding: 54px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 38px; }
.foot-grid h4 { color: var(--cream); font-size: 1rem; margin-bottom: 1em; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-brand img {
  height: 52px; width: auto; max-width: 150px;
  border-radius: 10px; object-fit: contain;
  background: var(--cream); padding: 5px 8px;
}
.foot-brand strong { font-family: var(--font-head); color: var(--cream); font-size: 1.1rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .55em; font-size: .93rem; }
.site-foot a:hover { color: var(--copper-soft); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247, 243, 234, .08); color: var(--cream); transition: .22s var(--ease);
}
.socials a:hover { background: var(--copper); color: #16110A; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.foot-bottom {
  border-top: 1px solid rgba(247, 243, 234, .1); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ===============================================================
   Chat buttons - inside the contact card
   =============================================================== */
.c-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.c-actions a.c-chat {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-size: .84rem; color: #fff;
  padding: .5em 1.1em; border-radius: 999px;
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.c-actions a.c-chat:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.c-actions a.c-chat svg { width: 16px; height: 16px; flex-shrink: 0; }
.c-chat.wa { background: #25D366; }
.c-chat.vb { background: #7360F2; }

/* ===============================================================
   Floating contact stack (WhatsApp / Viber / phone)
   =============================================================== */
.float-stack {
  position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 70;
  display: flex; flex-direction: column-reverse; gap: 12px;
}
.float-btn {
  position: relative;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  transition: transform .25s var(--ease);
}
.float-btn:hover { transform: scale(1.09); color: #fff; }
.float-btn svg { width: 28px; height: 28px; }
.float-wa  { background: #25D366; box-shadow: 0 8px 22px rgba(37, 211, 102, .45); }
.float-vb  { background: #7360F2; box-shadow: 0 8px 22px rgba(115, 96, 242, .45); }
.float-tel { background: var(--copper); color: #16110A; box-shadow: 0 8px 22px rgba(192, 138, 78, .45); }
.float-tel:hover { color: #16110A; }

/* label on hover (pointer devices only) */
.float-tip {
  position: absolute; inset-inline-start: calc(100% + 10px); white-space: nowrap;
  background: var(--emerald-900); color: var(--cream);
  font-family: var(--font-head); font-size: .8rem;
  padding: .35em .85em; border-radius: 8px;
  opacity: 0; pointer-events: none; transform: translateX(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.float-btn:hover .float-tip { opacity: 1; transform: none; }
@media (hover: none) { .float-tip { display: none; } }

@media (max-width: 560px) {
  .float-stack { inset-block-end: 16px; inset-inline-start: 16px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 25px; height: 25px; }
}

/* ===============================================================
   Product detail page
   =============================================================== */
.p-hero { background: var(--emerald-800); padding: 52px 0 46px; }
.crumbs { font-size: .87rem; color: rgba(247, 243, 234, .6); margin-bottom: 1em; }
.crumbs a:hover { color: var(--copper-soft); }
.crumbs span { margin-inline: .5em; }
.p-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--cream); margin-bottom: .25em; }
.p-hero .meta { color: var(--copper-soft); font-family: var(--font-head); font-size: .95rem; }

.detail { background: var(--cream-dim); padding: 54px 0 84px; }
.d-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.d-item {
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; border: 0; padding: 0; background: var(--muted); position: relative;
  box-shadow: 0 3px 14px rgba(10, 33, 26, .07);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.d-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.d-item img { width: 100%; height: 100%; object-fit: cover; }

.d-nav { margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(15, 46, 36, .12); }
.d-nav h3 { text-align: center; font-size: 1.15rem; margin-bottom: 24px; }
.d-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.d-others a { text-align: center; }
.d-others .t { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; background: var(--muted); }
.d-others img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.d-others a:hover img { transform: scale(1.07); }
.d-others span { font-family: var(--font-head); font-size: .9rem; color: var(--emerald-700); }

/* ===============================================================
   Lightbox
   =============================================================== */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 33, 26, .96);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s var(--ease);
}
.lb.open { display: flex; }
.lb.shown { opacity: 1; }
.lb img {
  max-width: min(92vw, 1100px); max-height: 84vh;
  object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lb-btn {
  position: absolute; background: rgba(247, 243, 234, .1); border: 1px solid rgba(247, 243, 234, .22);
  color: var(--cream); width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; transition: .2s var(--ease);
}
.lb-btn:hover { background: var(--copper); border-color: var(--copper); color: #16110A; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { inset-block-start: 22px; inset-inline-end: 22px; }
/* RTL: reading advances leftward, so "next" sits on the inline-end (left) side */
.lb-prev  { inset-inline-start: 22px; inset-block-start: 50%; transform: translateY(-50%); }
.lb-next  { inset-inline-end: 22px; inset-block-start: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; inset-block-end: 26px; inset-inline: 0; text-align: center;
  color: rgba(247, 243, 234, .75); font-family: var(--font-head); font-size: .9rem;
}
@media (max-width: 620px) {
  .lb-prev, .lb-next { inset-block-start: auto; inset-block-end: 74px; transform: none; width: 46px; height: 46px; }
  .lb-prev { inset-inline-start: calc(50% + 14px); }
  .lb-next { inset-inline-end: calc(50% + 14px); }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    /* without this, an infinite loop would just spin at .01ms per cycle */
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===============================================================
   MOTION - ئەنیمەیشن
   Only transform/opacity are animated so everything stays on the
   GPU. The reduced-motion block above disables all of it.
   =============================================================== */

@keyframes floatY   { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(-14px); } }
@keyframes floatY2  { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(11px); } }
@keyframes drift    { 0%, 100% { transform: translate(0, 0) scale(1); }
                      33%      { transform: translate(3%, -2%) scale(1.06); }
                      66%      { transform: translate(-2%, 3%) scale(.96); } }
@keyframes kenburns { 0%, 100% { transform: scale(1); }         50% { transform: scale(1.09); } }
@keyframes shimmer  { 0% { background-position: 200% 50%; }      100% { background-position: -200% 50%; } }
@keyframes lineGrow { 0%, 100% { width: 30px; opacity: .75; }    50% { width: 54px; opacity: 1; } }
@keyframes marquee    { from { transform: translateX(0); }       to { transform: translateX(-50%); } }
@keyframes marqueeRev { from { transform: translateX(-50%); }    to { transform: translateX(0); } }
@keyframes pulseRing  { 0% { transform: scale(.85); opacity: .65; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes bob      { 0%, 100% { transform: translateY(0); }     50% { transform: translateY(7px); } }
@keyframes zoomIn   { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: none; } }
@keyframes glowPulse{ 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes weave    { to { stroke-dashoffset: -60; } }

/* ---------- hero: drifting light, floating collage, slow zoom ---------- */
.hero::after { animation: drift 18s ease-in-out infinite; }

.hero-art .a { animation: floatY  7.5s ease-in-out infinite; }
.hero-art .b { animation: floatY2 6.5s ease-in-out infinite .7s; }
.hero-art .c { animation: floatY  8.5s ease-in-out infinite 1.3s; }
.hero-art figure img { animation: kenburns 20s ease-in-out infinite; }
.hero-art .b { animation-name: floatY2; } /* keeps its cream border while floating */

.hero-copy .eyebrow::before { animation: lineGrow 3.2s ease-in-out infinite; }

/* shimmering copper on the accent word */
.hero-copy h1 em {
  background: linear-gradient(100deg, var(--copper) 20%, #F0D9B5 42%, var(--copper-soft) 58%, var(--copper) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}

/* animated woven threads behind the hero */
.hero-threads {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: .16; overflow: hidden;
}
.hero-threads path {
  fill: none; stroke: var(--copper-soft); stroke-width: 1.4;
  stroke-dasharray: 10 8; animation: weave 3.5s linear infinite;
}
.hero-threads path:nth-child(even) { animation-duration: 5s; animation-direction: reverse; }

/* scroll cue */
.scroll-cue {
  position: absolute; inset-block-end: 22px; inset-inline: 0; z-index: 3;
  display: grid; place-items: center; gap: 6px;
  color: rgba(247, 243, 234, .6); font-size: .74rem; font-family: var(--font-head);
}
.scroll-cue svg { width: 20px; height: 20px; animation: bob 2s ease-in-out infinite; }

/* ---------- shimmering section rule ---------- */
.sec-head .rule {
  background: linear-gradient(90deg, var(--copper), #F0D9B5, var(--copper-soft), var(--copper));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}
.sec-head .eyebrow { animation: glowPulse 4s ease-in-out infinite; }

/* ---------- scroll progress bar ---------- */
.scroll-bar {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  height: 3px; transform-origin: right center;  /* RTL: fills from the right */
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--copper), #F0D9B5, var(--copper-soft));
}

/* ---------- infinite fabric marquee ---------- */
.marquee {
  background: var(--emerald-700); padding: 24px 0; overflow: hidden;
  border-block: 1px solid rgba(192, 138, 78, .22);
}
.mq-row { display: flex; width: max-content; margin-bottom: 14px; }
.mq-row:last-child { margin-bottom: 0; }
.mq-row.r1 { animation: marquee    52s linear infinite; }
.mq-row.r2 { animation: marqueeRev 64s linear infinite; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-item {
  flex: 0 0 auto; width: 148px; height: 196px; margin-inline-end: 14px;
  border-radius: 10px; overflow: hidden; position: relative;
  box-shadow: 0 6px 18px rgba(10, 33, 26, .3);
}
.mq-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mq-item:hover img { transform: scale(1.1); }
@media (max-width: 620px) { .mq-item { width: 112px; height: 150px; } }

/* ---------- product cards: 3D tilt + light sweep ---------- */
.p-grid { perspective: 1100px; }
.p-card {
  transform-style: preserve-3d;
  transform: translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease), box-shadow .3s var(--ease);
}
.p-card:hover { --ty: -6px; }
.p-card.tilting { transition: transform .08s linear, box-shadow .3s var(--ease); }
.p-card .thumb::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .3) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .85s var(--ease);
}
.p-card:hover .thumb::after { transform: translateX(130%); }

/* ---------- gallery tiles: gentle infinite breathing ---------- */
.g-item img { animation: kenburns 24s ease-in-out infinite; }
.g-item:nth-child(3n)   img { animation-duration: 30s; animation-delay: -6s; }
.g-item:nth-child(3n+1) img { animation-duration: 27s; animation-delay: -12s; }

/* ---------- floating buttons: pulsing rings ---------- */
.float-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; z-index: -1;
  animation: pulseRing 2.6s ease-out infinite;
}
.float-vb::before  { animation-delay: .5s; }
.float-tel::before { animation-delay: 1s; }

/* ---------- lightbox entrance ---------- */
.lb.shown img { animation: zoomIn .35s var(--ease) both; }

/* ---------- staggered reveal ---------- */
.reveal { transition-delay: var(--d, 0ms); }
