/* PackLab DZ — shared styles (light theme only) */

:root {
  --cream: #f7f1e6;
  --cream-2: #efe7d8;
  --paper: #ffffff;
  --ink: #1d1e21;
  --ink-2: #4a4c53;
  --ink-3: #7a7c83;
  --line: #e4dccc;
  --lime: #c4f04b;
  --lime-2: #b3e331;
  --lav: #b9a4f4;
  --lav-2: #a68cf0;
  --lav-ink: #6a4fc9;
  --kraft: #c9a06b;
  --night: #141416; /* backdrop of the product photography */
  --wa: #25d366;

  /* one radius per role */
  --r-xl: 32px;  /* panels & hero media */
  --r-lg: 24px;  /* product media */
  --r-md: 18px;  /* cards */
  --r-sm: 12px;  /* inputs, segmented buttons */
  --radius: var(--r-md);
  --bd: 1.5px solid var(--ink);

  --shadow: 0 1px 2px rgba(29, 30, 33, .06), 0 10px 30px -12px rgba(29, 30, 33, .18);
  --shadow-lg: 0 2px 4px rgba(29, 30, 33, .06), 0 30px 60px -24px rgba(29, 30, 33, .30);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(44px, 5.5vw, 76px); /* half the gap between two sections */

  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-size: 17.5px; line-height: 1.8; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lav-ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); line-height: 1.04; letter-spacing: -.03em; }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
/* Arabic: no tracking, taller lines, slightly larger — the script reads smaller at equal size */
html[dir="rtl"] :is(h1, h2, h3, h4) { letter-spacing: 0; }
html[dir="rtl"] h1 { line-height: 1.22; }
html[dir="rtl"] h2 { line-height: 1.3; font-size: clamp(2rem, 3.8vw, 3.2rem); }
html[dir="rtl"] h3 { line-height: 1.45; font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section-tight { padding-block: calc(var(--space) * .6); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
html[dir="rtl"] .lead { line-height: 1.85; }
.center .lead { margin-inline: auto; }

/* small technical label: "01 — SEAL LABELS" */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-2); margin-bottom: 18px;
}
html[dir="rtl"] .kicker { font-family: var(--font); font-weight: 600; letter-spacing: 0; font-size: .92rem; text-transform: none; }
.kicker::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }

/* highlighted word with lime swoosh underneath (as in the brand ad) */
.hl { color: var(--lav-ink); position: relative; white-space: nowrap; isolation: isolate; }
.hl::after {
  content: ""; position: absolute; inset-inline: -4%; bottom: -.1em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C 50 5, 120 4, 196 9' stroke='%23c4f04b' stroke-width='9' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
/* the brush stroke starts where the reader starts */
html[dir="rtl"] .hl::after { transform: scaleX(-1); bottom: -.02em; }

/* marker-style tag, like "عادي" / "مع البكج packlab dz" in the brand ads */
.brush {
  display: inline-block; padding: .3em .85em; font-weight: 600; line-height: 1.4;
  background: var(--lime); border-radius: 12px 18px 10px 20px / 18px 10px 20px 12px;
  transform: rotate(-2.5deg);
}
.brush.lav { background: var(--lav); transform: rotate(2deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: var(--bd); background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: 0 3px 0 var(--ink);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-lime { background: var(--lime); }
.btn-lav { background: var(--lav); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; border-color: #128c4a; box-shadow: 0 3px 0 #128c4a; }
.btn-wa:hover { box-shadow: 0 5px 0 #128c4a; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.06rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* quiet text link with an arrow */
.link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none;
  padding-block: 6px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 1.5px;
  transition: background-size .25s ease;
}
html[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 0 1.5px; }
.link svg { width: 18px; height: 18px; }
.arrow { display: inline-block; transition: transform .2s ease; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 15px; border-radius: 999px; color: var(--ink-2);
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--ink); background: var(--cream-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  min-width: 52px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: var(--bd); background: transparent; font-weight: 600; cursor: pointer; transition: background-color .15s;
}
.lang-btn:hover { background: var(--lav); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: var(--bd); background: var(--paper); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .header-in { height: 64px; }
  .brand img { height: 28px; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 64px; inset-inline: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 8px var(--gutter) 20px; border-bottom: var(--bd);
    display: none; margin: 0;
  }
  .nav a { padding: 14px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; background: none; color: var(--lav-ink); }
  .nav-open .nav { display: flex; }
  .header-actions { margin-inline-start: auto; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 3.2vw, 44px) 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5.5vw, 88px); align-items: center;
}
.display { font-size: clamp(2.8rem, 6.3vw, 5.6rem); line-height: .98; letter-spacing: -.045em; margin: 0 0 28px; }
.display .pre {
  display: block; font-size: .4em; font-weight: 500; line-height: 1.25; letter-spacing: -.015em;
  color: var(--ink-2); margin-bottom: .5em;
}
html[dir="rtl"] .display { font-size: clamp(3rem, 6.6vw, 5.9rem); line-height: 1.16; }
html[dir="rtl"] .display .pre { font-size: .42em; line-height: 1.5; margin-bottom: .25em; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }

.hero-visual { position: relative; margin: 0; }
.hero-photo {
  height: clamp(520px, calc(100svh - 170px), 660px);
  border-radius: var(--r-xl); overflow: hidden; border: var(--bd); background: var(--night);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* tags point at real objects in the photo, so they use physical sides (the photo is not mirrored in Arabic) */
.hero-visual .ptag { position: absolute; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); border: var(--bd); white-space: nowrap; }
.hero-visual .ptag-roll { top: 30%; left: -20px; }
.hero-visual .ptag-seal { top: 13%; right: -20px; }

.trust {
  list-style: none; margin: clamp(36px, 4.5vw, 60px) 0 0; padding: 22px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  border-top: var(--bd);
}
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.trust .ti {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: var(--bd);
}
.trust li:nth-child(odd) .ti { background: var(--lime); }
.trust li:nth-child(even) .ti { background: var(--lav); }
.trust svg { width: 19px; height: 19px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .display { margin-bottom: 20px; }
  .hero-copy .lead { margin-bottom: 26px; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .hero-photo img { object-position: 50% 58%; }
  .hero-visual .ptag-roll { left: -6px; top: 26%; }
  .hero-visual .ptag-seal { right: -6px; top: 8%; }
  .trust { grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 28px; padding-top: 18px; }
  .trust li { font-size: .9rem; gap: 10px; }
  .trust .ti { width: 34px; height: 34px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; direction: ltr; margin-top: clamp(40px, 5vw, 64px); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
html[dir="rtl"] .ticker-track { animation-direction: reverse; }
.ticker-track span { padding: 15px 24px; font-weight: 600; font-size: .95rem; white-space: nowrap; display: flex; align-items: center; gap: 24px; }
.ticker-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.ticker-track span:nth-child(even)::after { background: var(--lav); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin: 16px 0 0; }
/* title on one side, supporting copy + link on the other */
.head-split {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 20px clamp(32px, 6vw, 96px); align-items: end; max-width: none;
}
.head-split .side { display: grid; gap: 14px; justify-items: start; }
.head-split .side p { margin: 0; color: var(--ink-2); max-width: 42ch; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } }

/* ---------- Grids & cards (inner pages) ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border-radius: var(--r-md); padding: 26px;
  border: 1.5px solid var(--line); position: relative;
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card.lime { background: var(--lime); border-color: var(--ink); }
.card.lav { background: var(--lav); border-color: var(--ink); }
.card.ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card.ink .muted { color: #c9c4b8; }

.num {
  font-family: var(--mono); font-weight: 700; font-size: .82rem;
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid currentColor; margin-bottom: 16px;
}

/* small linked card (contact page) */
.pcard { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.pcard:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
a.pcard:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] a.pcard:hover .arrow { transform: scaleX(-1) translateX(4px); }
.pcard .more { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* drawn shape preview (products without a photo) */
.shape-art { display: grid; place-items: center; width: 100%; height: 100%; }
.shape-art svg { width: 62%; height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.22)); }

.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%231d1e21' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: var(--bd);
}
.checks b { display: block; font-weight: 600; }
.checks span { color: var(--ink-2); }

/* ======================= HOME ======================= */

/* product collection */
.collection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.pitem { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; }
.pitem .pimg {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  border: var(--bd); background: var(--night);
}
.pitem .pimg > img, .pitem .pimg > .shape-art {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.pitem:hover .pimg > img, .pitem:hover .pimg > .shape-art { transform: scale(calc(var(--z, 1) * 1.05)); }
.pitem .idx {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  background: var(--cream); border: var(--bd); border-radius: 999px; padding: 4px 11px;
}
.pitem .pbody { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; padding-inline: 4px; }
.pitem h3 { margin: 0; font-size: 1.35rem; }
.pitem p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; max-width: 36ch; }
html[dir="rtl"] .pitem p { line-height: 1.8; }
.pitem .go {
  grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%;
  border: var(--bd); display: grid; place-items: center; transition: background-color .2s, transform .2s;
}
.pitem:hover .go { background: var(--lime); transform: rotate(-45deg); }
html[dir="rtl"] .pitem:hover .go { transform: rotate(45deg); }

/* image + text feature */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 7vw, 112px); align-items: center;
}
.feature .media { border-radius: var(--r-xl); overflow: hidden; border: var(--bd); aspect-ratio: 4 / 5; max-height: 620px; }
.feature .media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { margin-bottom: 20px; }
.feature .lead { margin-bottom: 32px; }
.points { list-style: none; margin: 0 0 32px; padding: 0; border-bottom: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.points .pn { grid-row: span 2; font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--lav-ink); padding-top: 3px; }
.points b { font-weight: 600; font-size: 1.05rem; }
.points span { color: var(--ink-2); font-size: .97rem; }

/* studio band with a miniature of the studio */
.band {
  background: var(--lime); border: var(--bd); border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.band h2 { margin-bottom: 18px; }
.band p { color: #2f3320; max-width: 42ch; margin-bottom: 30px; }
.band .kicker { color: #2f3320; }
.band .kicker::before { background: var(--paper); }

.mock { background: var(--paper); border: var(--bd); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 var(--ink); direction: ltr; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: var(--bd); font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mock-bar i:nth-child(1) { background: var(--lime); } .mock-bar i:nth-child(2) { background: var(--lav); }
.mock-bar span { margin-inline-start: 8px; }
.mock-stage {
  position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center;
  background-color: var(--cream-2);
  background-image: linear-gradient(rgba(29,30,33,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,30,33,.06) 1px, transparent 1px);
  background-size: 26px 26px; background-position: center;
}
.mock-sticker {
  position: relative; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--lav);
  display: grid; place-items: center; margin-top: -8%;
  box-shadow: 0 22px 30px -16px rgba(29,30,33,.45);
  animation: wobble 6s ease-in-out infinite;
}
.mock-sticker::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed #ff3b6b; }
.mock-sticker img { width: 56%; }
.mock-dim { position: absolute; left: 30%; right: 30%; bottom: 10%; border-top: 1.5px solid var(--ink); }
.mock-dim::before, .mock-dim::after { content: ""; position: absolute; top: -7px; height: 12px; border-left: 1.5px solid var(--ink); }
.mock-dim::before { left: 0; } .mock-dim::after { right: 0; }
.mock-dim b {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: var(--bd); }
.mock-chips span { border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: .8rem; font-weight: 500; }
.mock-chips span:first-child { background: var(--lime); border-color: var(--ink); }
@keyframes wobble { 50% { transform: rotate(-4deg) translateY(-4px); } }

/* who it's for */
.aud-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.aud-head { position: sticky; top: 110px; }
.aud-head h2 { margin-bottom: 20px; }
.aud-head .lead { margin-bottom: 26px; }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 40px); }
.aud-list li { display: flex; gap: 16px; align-items: flex-start; padding: 24px 0; border-top: var(--bd); }
.aud-list .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); border: var(--bd); }
.aud-list li:nth-child(4n+1) .ico, .aud-list li:nth-child(4n+4) .ico { background: var(--lime); }
.aud-list li:nth-child(4n+2) .ico, .aud-list li:nth-child(4n+3) .ico { background: var(--lav); }
.aud-list .ico svg { width: 23px; height: 23px; }
.aud-list h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.aud-list p { font-size: .95rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
html[dir="rtl"] .aud-list p { line-height: 1.75; }

/* process */
.process { background: var(--paper); border: var(--bd); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; inset-inline: 24px; border-top: 1.5px dashed var(--ink-3); }
.steps .n {
  position: relative; width: 48px; height: 48px; border-radius: 50%; border: var(--bd); background: var(--cream);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: .85rem; margin-bottom: 22px;
}
.steps li:last-child .n { background: var(--lime); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
html[dir="rtl"] .steps p { line-height: 1.8; }

/* closing call to action */
.cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--lav); border: var(--bd); border-radius: var(--r-xl); overflow: hidden;
}
.cta-copy { padding: clamp(32px, 5vw, 72px); align-self: center; }
.cta-copy .mascot { width: 64px; margin-bottom: 22px; }
.cta-copy h2 { margin-bottom: 18px; }
.cta-copy .lead { color: #2e2747; margin-bottom: 30px; }
.cta-media { min-height: 460px; border-inline-start: var(--bd); background: var(--night); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }

@media (max-width: 900px) {
  /* product collection becomes a swipeable row: imagery stays large, page stays short */
  .collection {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .collection::-webkit-scrollbar { display: none; }
  .pitem { scroll-snap-align: start; }
  .pitem h3 { font-size: 1.2rem; }

  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature .media { max-height: none; } /* the ad is a full composition with its own text: never crop it */

  .band { grid-template-columns: 1fr; gap: 28px; }
  .band p { margin-bottom: 24px; }

  .aud-wrap { grid-template-columns: 1fr; gap: 8px; }
  .aud-head { position: static; }
  .aud-list { grid-template-columns: 1fr; }
  .aud-list li { padding: 16px 0; }

  .cta { grid-template-columns: 1fr; }
  .cta-media { min-height: 0; aspect-ratio: 16 / 10; order: -1; border-inline-start: 0; border-bottom: var(--bd); }
  .cta-copy .mascot { display: none; }
}
@media (max-width: 900px) and (min-width: 561px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .cta .btn-row > .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; inset-inline: 23px auto; border-top: 0; border-inline-start: 1.5px dashed var(--ink-3); }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; padding-bottom: 20px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps .n { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 10px 0 4px; font-size: 1.1rem; }
  .steps p { font-size: .93rem; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(32px, 5.5vw, 72px) clamp(20px, 3vw, 36px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* product detail rows */
.prow { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: clamp(32px, 4.5vw, 56px); border-top: var(--bd); }
.prow:nth-child(even) .pmedia { order: 2; }
.prow h2 { margin-bottom: 16px; }
.pmedia { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; border: var(--bd); background: var(--cream-2); }
.pmedia img { width: 100%; height: 100%; object-fit: cover; }
.pmedia.tint-lav { background: var(--lav); } .pmedia.tint-lime { background: var(--lime); } .pmedia.tint-kraft { background: var(--kraft); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.specs li { background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .9rem; font-weight: 500; }
@media (max-width: 860px) { .prow { grid-template-columns: 1fr; gap: 24px; } .prow:nth-child(even) .pmedia { order: 0; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .93rem; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--paper); transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lav) 55%, transparent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.hint { font-size: .85rem; color: var(--ink-3); }

/* segmented choice */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  min-height: 42px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--paper); cursor: pointer; font-weight: 500; font-size: .93rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.seg button:hover { border-color: var(--ink-3); }
.seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--lime); box-shadow: 0 2px 0 var(--ink); }
.seg button svg { width: 20px; height: 20px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 3px var(--paper);
}
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 2px var(--lime); }
.swatch-custom { position: relative; overflow: hidden; background: conic-gradient(#f66, #fd6, #6f6, #6df, #66f, #f6f, #f66); }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d4c8; padding-block: 64px 28px; margin-top: var(--space); }
.site-footer a { text-decoration: none; color: #d9d4c8; }
.site-footer a:hover { color: var(--lime); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 38ch; }
.foot-bottom { border-top: 1px solid #34363b; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: #8f8c85; }
@media (max-width: 760px) {
  .site-footer { padding-block: 48px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* floating WhatsApp */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(18, 140, 74, .6);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 29px; height: 29px; }
@media (max-width: 560px) { .wa-float { bottom: 16px; inset-inline-end: 16px; width: 52px; height: 52px; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ======================= STUDIO ======================= */
.studio { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .studio { grid-template-columns: 1fr; } }

.panel { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 22px; }
.panel .group { display: grid; gap: 10px; }
.panel .group > .label { font-weight: 600; font-size: .93rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel .group > .label small { font-weight: 400; color: var(--ink-3); }

.drop {
  border: 2px dashed var(--ink-3); border-radius: var(--r-md); padding: 22px; text-align: center; cursor: pointer;
  background: var(--cream); transition: background .15s, border-color .15s; display: grid; gap: 6px; justify-items: center;
}
.drop:hover, .drop.drag { background: color-mix(in srgb, var(--lime) 35%, var(--cream)); border-color: var(--ink); }
.drop svg { width: 34px; height: 34px; }
.drop strong { font-size: 1rem; }
.drop .hint { margin: 0; }
.drop.has-file { border-style: solid; border-color: var(--ink); background: var(--paper); grid-template-columns: 56px 1fr auto; text-align: start; align-items: center; justify-items: start; padding: 12px; }
.drop .thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 12px 12px; }
.drop .fname { font-size: .9rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

input[type="range"] { width: 100%; accent-color: var(--ink); }
.range-row { display: flex; gap: 10px; align-items: center; }
.range-row .seg { flex: none; }

.stage-wrap { display: grid; gap: 14px; position: sticky; top: 92px; }
@media (max-width: 1000px) { .stage-wrap { position: static; } }
.stage-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.stage-tabs button {
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: var(--bd); background: var(--paper);
  font-weight: 600; cursor: pointer; font-size: .92rem;
}
.stage-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.stage {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: var(--bd);
  background: var(--cream-2);
}
.stage canvas { width: 100%; height: auto; display: block; touch-action: none; }
.stage canvas.draggable { cursor: grab; }
.stage canvas.dragging { cursor: grabbing; }
.stage .drag-hint {
  position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(29,30,33,.82); color: #fff;
  font-size: .8rem; padding: 6px 12px; border-radius: 999px; pointer-events: none;
}
.stage-info { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-info .chip { background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 500; }
.stage-info .chip b { font-family: var(--mono); }
.stage-info .chip.warn { border-color: #e2a33c; background: #fff6e4; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy { font-size: .85rem; color: var(--ink-3); display: flex; gap: 8px; align-items: center; margin: 0; }
.privacy svg { width: 16px; height: 16px; flex: none; }

.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .93rem; font-weight: 500; }
.toggle input { width: 20px; height: 20px; accent-color: var(--ink); }

.toast {
  position: fixed; bottom: 92px; left: 50%; transform: translateX(-50%); z-index: 70;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: .93rem;
  box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center;
}

.qty-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qty-row .input { width: 120px; min-height: 42px; padding: 8px 12px; }

/* contact */
/* spam trap: hidden in place — an off-screen offset would widen the page in RTL */
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.input[aria-invalid="true"] { border-color: #e0475b; box-shadow: 0 0 0 4px rgba(224, 71, 91, .15); }
@media (max-width: 860px) { #contact-grid { grid-template-columns: 1fr !important; } }

/* Track page */
.trk { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 0; }
.trk li { position: relative; padding: 6px 0; padding-inline-start: 34px; color: var(--ink-3); }
.trk li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.trk li::after { content: ""; position: absolute; inset-inline-start: 8px; top: 28px; bottom: -8px; border-inline-start: 2px solid var(--line); }
.trk li:last-child::after { display: none; }
.trk li.done { color: var(--ink-2); }
.trk li.done::before { background: var(--ink); border-color: var(--ink); }
.trk li.done::after { border-color: var(--ink); }
.trk li.now { color: var(--ink); font-weight: 700; }
.trk li.now::before { background: var(--lime); border-color: var(--ink); }
.trk-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 14px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.trk-info dt { color: var(--ink-3); } .trk-info dd { margin: 0; font-weight: 600; }
#track-result { margin-top: 18px; }

/* one-page: four products and the real-photo workshop panel */
@media (min-width: 1101px) { .collection.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-photo, .pitem .pimg { background: var(--cream-2); }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
.workshop { position: relative; border-radius: var(--r-xl); overflow: hidden; border: var(--bd); min-height: 460px; display: flex; align-items: flex-end; }
.workshop > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workshop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 22, .78), rgba(20, 20, 22, .15) 55%, transparent); }
.workshop-copy { position: relative; z-index: 1; padding: clamp(24px, 4.5vw, 56px); color: #fff; max-width: 640px; }
.workshop-copy h2 { color: #fff; margin-bottom: 14px; }
.workshop-copy p { margin: 0; color: rgba(255, 255, 255, .86); max-width: 46ch; }
.workshop-copy .kicker { color: var(--lime); }
@media (max-width: 1100px) and (min-width: 901px) { .collection.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .workshop { min-height: 520px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
