/* =========================================================
   SGPL — Shawon Garments Printing Limited
   Daylight textile identity: cotton · indigo · marigold
   ========================================================= */
:root {
  --cotton: #FBF8F1;
  --paper: #FFFFFF;
  --linen: #F3EDE1;
  --ink: #1C2340;
  --muted: #5D6483;
  --indigo: #2B3FD6;
  --indigo-deep: #1B2A9E;
  --sun: #FFB000;
  --sun-soft: #FFE7B3;
  --coral: #FF7A59;
  --mint: #C8EBDD;
  --sky: #DCE6FF;
  --peach: #FFE1D3;
  --line: rgba(28,35,64,.12);
  --shadow: 0 18px 40px -18px rgba(28,35,64,.28);
  --font-d: 'Fraunces', Georgia, serif;
  --font-b: 'Plus Jakarta Sans', system-ui, sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --g: clamp(16px, 4vw, 44px);
}
html[lang="ar"] { --font-d: 'El Messiri', 'Almarai', serif; --font-b: 'Almarai', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cotton); color: var(--ink); font-family: var(--font-b); font-size: 17px; line-height: 1.7; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-d); margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 700; color: var(--indigo); }
html[lang="ar"] h1 em, html[lang="ar"] h2 em { font-style: normal; }
p { margin: 0 0 1em; }
::selection { background: var(--sun); color: var(--ink); }
html[lang="en"] .ar, html[lang="ar"] .en { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--g); }
.muted { color: var(--muted); }

/* woven label kicker */
.woven {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: .35em .9em .35em .7em; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo);
  box-shadow: 0 2px 0 var(--line); position: relative;
}
.woven::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--sun) 0 2px, transparent 2px 4px), var(--sun-soft); }
html[lang="ar"] .woven { letter-spacing: 0; font-size: .85rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(43,63,214,.7); }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-soft { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.btn-soft:hover { background: var(--sun); }
.btn-full { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(1200px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(28,35,64,.4); }
html[lang="ar"] .nav { padding: 10px 18px 10px 12px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--indigo); position: relative; overflow: hidden; }
.logo-mark::before, .logo-mark::after { content: ""; position: absolute; left: 9px; right: 9px; height: 5px; border-radius: 3px; background: var(--sun); }
.logo-mark::before { top: 6px; } .logo-mark::after { bottom: 6px; }
.logo-mark i { position: absolute; left: 11px; right: 11px; top: 11px; bottom: 11px; background: repeating-linear-gradient(0deg, #fff 0 3px, var(--sky) 3px 5px); }
.logo-word { font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.25rem; line-height: 1; direction: ltr; display: flex; flex-direction: column; }
.logo-word small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .62rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; font-weight: 600; font-size: .9rem; }
.nav-links a { padding: .55em .95em; border-radius: 999px; transition: background .25s; }
.nav-links a:hover { background: var(--linen); }
.nav-links .nav-cta { background: var(--ink); color: #fff; }
.nav-links .nav-cta:hover { background: var(--indigo); }
.lang { background: var(--sun); border: 0; border-radius: 999px; padding: .55em 1em; font-weight: 700; font-size: .85rem; }
.lang, .burger { flex-shrink: 0; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: var(--linen); border-radius: 50%; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }
.nav.open .burger i:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 0; overflow: hidden; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .65; }
.b1 { width: 520px; height: 520px; background: var(--sun-soft); top: -120px; inset-inline-end: -80px; }
.b2 { width: 420px; height: 420px; background: var(--sky); top: 220px; inset-inline-start: -160px; }
.b3 { width: 300px; height: 300px; background: var(--peach); bottom: 40px; inset-inline-end: 30%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.tag-label { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px dashed var(--sun); padding-bottom: 4px; }
html[lang="ar"] .tag-label { letter-spacing: 0; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); font-weight: 800; margin: 18px 0 22px; line-height: 1.02; letter-spacing: -.03em; }
html[lang="ar"] .hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); line-height: 1.3; }
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: -2%; width: 104%; bottom: -.12em; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--sun); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: scrib 1.4s .6s var(--ease) forwards; }
@keyframes scrib { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; max-width: 520px; justify-self: center; width: 100%; }
.hero-photo { margin: 0; position: absolute; inset: 6% 6% 4% 10%; border-radius: 46% 54% 40% 60% / 52% 40% 60% 48%; overflow: hidden; box-shadow: var(--shadow); animation: morph 12s ease-in-out infinite; border: 8px solid var(--paper); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } }
.spin-badge { position: absolute; width: 34%; aspect-ratio: 1; top: -2%; inset-inline-start: -4%; background: var(--sun); border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; direction: ltr; unicode-bidi: isolate; }
.spin-badge text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; fill: var(--ink); }
.spin-badge b { font-family: 'Fraunces', serif; font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
@keyframes spin { to { transform: rotate(360deg); } }
.hang-tag { position: absolute; background: var(--paper); border-radius: 10px 10px 16px 16px; padding: 26px 18px 14px; text-align: center; box-shadow: var(--shadow); transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; direction: ltr; }
.hang-tag::before { content: ""; position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cotton); box-shadow: inset 0 0 0 2px var(--line); }
.hang-tag::after { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1.5px; height: 40px; background: var(--ink); opacity: .4; transform: rotate(-12deg); transform-origin: bottom; }
.hang-tag span { display: block; font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--indigo); }
.hang-tag small { font-size: .62rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); white-space: nowrap; }
.t-a { bottom: 6%; inset-inline-start: -2%; }
.t-b { top: 46%; inset-inline-end: -4%; background: var(--indigo); animation-delay: -2s; }
.t-b span { color: var(--sun); } .t-b small { color: #fff; }
@keyframes sway { 50% { transform: rotate(-6deg); } }
.swatch-chip { position: absolute; width: 64px; height: 64px; border-radius: 14px; box-shadow: var(--shadow); }
.c1 { bottom: 0; inset-inline-end: 12%; background: repeating-linear-gradient(45deg, var(--coral) 0 6px, #ff9b80 6px 12px); transform: rotate(12deg); }
.c2 { top: 4%; inset-inline-end: 6%; background: radial-gradient(circle, #fff 22%, transparent 24%) 0 0/12px 12px, var(--mint); transform: rotate(-10deg); width: 48px; height: 48px; }

/* measuring tape */
.tape { position: relative; margin-top: clamp(50px, 7vw, 90px); background: var(--sun); transform: rotate(-1.2deg); margin-inline: -20px; box-shadow: 0 10px 0 -4px rgba(28,35,64,.08); }
.tape::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 10px), repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 50px); background-size: auto 7px, auto 14px; background-repeat: repeat-x; opacity: .55; }
.tape-inner { max-width: 1240px; margin: 0 auto; padding: 30px var(--g) 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tape-stat b { display: block; font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; direction: ltr; text-align: start; }
html[lang="ar"] .tape-stat b { text-align: right; }
.tape-stat span { font-size: .85rem; font-weight: 600; }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); margin-bottom: 22px; }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { text-align: center; margin-inline: auto; }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-photos { position: relative; aspect-ratio: 1 / 1.1; }
.about-photos img { position: absolute; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); border: 6px solid var(--paper); }
.ap1 { width: 74%; height: 62%; top: 0; inset-inline-start: 0; transform: rotate(-3deg); }
.ap2 { width: 68%; height: 52%; bottom: 0; inset-inline-end: 0; transform: rotate(4deg); }
.ap-stamp { position: absolute; bottom: 8%; inset-inline-start: 4%; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--font-d); font-weight: 700; font-size: .9rem; line-height: 1.15; background: var(--coral); color: #fff; transform: rotate(-12deg); box-shadow: 0 0 0 6px var(--cotton), 0 0 0 8px var(--coral); }
.about p strong { color: var(--indigo); }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.cert { background: var(--paper); border-radius: 16px; padding: 16px; border: 1.5px dashed var(--line); display: flex; flex-direction: column; gap: 2px; transition: transform .3s var(--ease), border-color .3s; }
.cert:hover { transform: translateY(-4px); border-color: var(--indigo); }
.cert b { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--indigo); direction: ltr; text-align: start; }
html[lang="ar"] .cert b { text-align: right; }
.cert sup { font-size: .5em; }
.cert span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.cert-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* letters */
.letters { background: var(--linen); }
.letter-tabs { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 30px; border: 1px solid var(--line); }
.lt { border: 0; background: none; border-radius: 999px; padding: .6em 1.3em; font-weight: 700; font-size: .9rem; color: var(--muted); transition: .3s; }
.lt.active { background: var(--indigo); color: #fff; }
.letter { display: none; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); position: relative;
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(43,63,214,.07) 33px 34px); }
.letter.active { display: grid; animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.letter img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: 18px; transform: rotate(-3deg); box-shadow: var(--shadow); border: 6px solid #fff; }
.letter blockquote { margin: 0; font-size: 1.04rem; position: relative; }
.letter blockquote::before { content: "“"; position: absolute; top: -.55em; inset-inline-start: -.1em; font-family: 'Fraunces', serif; font-size: 6rem; line-height: 1; color: var(--sun); opacity: .9; pointer-events: none; }
.letter blockquote p { position: relative; }
.sign { margin-top: 18px; display: flex; flex-direction: column; border-top: 2px dashed var(--line); padding-top: 14px; }
.sign b { font-family: var(--font-d); font-size: 1.3rem; direction: ltr; text-align: start; }
html[lang="ar"] .sign b { text-align: right; }
.sign span { color: var(--muted); font-size: .9rem; }

/* care label */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.care-label { background: #fff; position: relative; padding: 46px 34px 30px; border-radius: 4px; box-shadow: var(--shadow); transform: rotate(1.5deg);
  background-image: repeating-linear-gradient(90deg, rgba(28,35,64,.025) 0 1px, transparent 1px 3px); }
.care-label::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 16px; background: var(--indigo);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
.care-label::after { content: ""; position: absolute; inset: 24px 14px 12px; border: 1.5px dashed var(--line); pointer-events: none; }
.cl-head { font-family: 'Fraunces', serif; font-weight: 800; font-size: 2.2rem; text-align: center; line-height: 1; margin-bottom: 18px; direction: ltr; }
.cl-head small { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .66rem; letter-spacing: .3em; color: var(--muted); margin-top: 6px; }
.care-label dl { margin: 0; }
.care-label dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.care-label dt { font-weight: 700; color: var(--indigo); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
html[lang="ar"] .care-label dt { letter-spacing: 0; font-size: .85rem; }
.care-label dd { margin: 0; direction: ltr; text-align: start; }
html[lang="ar"] .care-label dd { text-align: right; }
.cl-icons { display: flex; justify-content: center; gap: 18px; margin-top: 18px; color: var(--ink); opacity: .7; }
.cl-icons svg { width: 26px; height: 26px; fill: currentColor; }
.pay { margin-top: 30px; }
.pay h3 { font-size: 1.3rem; margin-bottom: 14px; }
.pay ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pay li { background: var(--paper); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.pay li b { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--indigo); }
.pay li span { font-size: .78rem; color: var(--muted); line-height: 1.3; }

/* products rack */
.capabilities { background: var(--sky); }
.rack { position: relative; height: 16px; margin-bottom: -4px; }
.rail { position: absolute; inset: 4px 0 auto; height: 8px; border-radius: 8px; background: linear-gradient(180deg, #c7cbe0, #8b91ad); box-shadow: 0 3px 6px rgba(28,35,64,.2); }
.hangers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 34px 14px; }
.hanger { position: relative; padding-top: 34px; text-align: center; transform-origin: 50% 0; transition: transform .6s var(--ease); }
.hanger:hover { transform: rotate(-4deg); }
.hanger::after { content: ""; position: absolute; top: -10px; left: -8px; right: -8px; height: 7px; background: linear-gradient(180deg, #c7cbe0, #8b91ad); box-shadow: 0 3px 5px rgba(28,35,64,.15); }
.hanger:hover::after { transform: rotate(4deg); }
.rack { display: none; }
.hanger::before { content: ""; position: absolute; top: -6px; left: 50%; width: 22px; height: 30px; margin-left: -11px; border: 2.5px solid #8b91ad; border-bottom: 0; border-radius: 12px 12px 0 0; }
.garment { background: var(--paper); border-radius: 14px 14px 18px 18px; padding: 18px 10px 16px; box-shadow: var(--shadow); min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.garment svg { width: 54px; height: 54px; }
.garment b { font-size: .82rem; line-height: 1.3; font-weight: 700; }
.hanger:nth-child(4n+1) .garment svg { color: var(--indigo); }
.hanger:nth-child(4n+2) .garment svg { color: var(--coral); }
.hanger:nth-child(4n+3) .garment svg { color: #1f9e7a; }
.hanger:nth-child(4n) .garment svg { color: var(--sun); }
.hangers.row2 { margin-top: 40px; }

/* print lab */
.lab { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.lab-stage { background: var(--paper); border-radius: 32px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 22px; transition: background .6s;
  background-image: radial-gradient(var(--line) 1px, transparent 1.5px); background-size: 18px 18px; }
.lab-stage.lights-off { background-color: #0d1030; }
.shirt { --fabric: #ffffff; --print: #1C2340; --shade: rgba(28,35,64,.12); position: relative; width: min(100%, 400px); aspect-ratio: 400/440; container-type: inline-size; }
.shirt[data-color="sky"]      { --fabric: #cfe0ff; --print: #1B2A9E; }
.shirt[data-color="sun"]      { --fabric: #FFB000; --print: #1C2340; --shade: rgba(0,0,0,.14); }
.shirt[data-color="indigo"]   { --fabric: #2B3FD6; --print: #FFFFFF; --shade: rgba(255,255,255,.18); }
.shirt[data-color="charcoal"] { --fabric: #2a2d3a; --print: #FBF8F1; --shade: rgba(255,255,255,.1); }
.shirt-svg { width: 100%; height: 100%; filter: drop-shadow(0 22px 26px rgba(28,35,64,.22)); }
.shirt-body { fill: var(--fabric); stroke: rgba(28,35,64,.12); stroke-width: 1.5; transition: fill .5s; }
.shirt-collar { stroke: var(--shade); stroke-width: 6; }
.shirt-seam { stroke: var(--shade); stroke-width: 1.5; stroke-dasharray: 4 4; }
.lights-off .shirt-body { fill: #151938; stroke: transparent; }
.print-area { position: absolute; top: 25%; left: 50%; translate: -50% 0; width: 52%; text-align: center; direction: ltr; }
.print { display: inline-block; font-family: 'Fraunces', serif; font-weight: 800; font-size: 15cqi; line-height: 1; color: var(--print); }
.print-sub { display: block; margin-top: 2.4cqi; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 2.4cqi; letter-spacing: .3em; color: var(--print); opacity: .75; }
.print.stamp { animation: stamp .5s var(--ease); }
@keyframes stamp { 0% { transform: scale(1.3); opacity: 0; } 60% { transform: scale(.95); opacity: 1; } 100% { transform: none; } }
.fx-threed .print { color: var(--coral); text-shadow: 1px 1px 0 #e5603f, 2px 2px 0 #e5603f, 3px 3px 0 #c94b2c, 4px 4px 0 #c94b2c, 5px 5px 0 #a8391e, 7px 9px 12px rgba(0,0,0,.25); transform: rotate(-4deg); }
.fx-puff .print { -webkit-text-stroke: .7cqi var(--print); letter-spacing: .03em; text-shadow: 0 .5cqi 0 rgba(0,0,0,.15), 0 1.2cqi 1.6cqi rgba(0,0,0,.28); }
.fx-foil .print, .fx-glitter .print, .fx-gradient .print, .fx-crack .print, .fx-studs .print, .fx-metallic .print, .fx-photo .print { color: transparent; -webkit-background-clip: text; background-clip: text; }
.fx-foil .print { background-image: linear-gradient(110deg, #8a6b1f 10%, #f8e08e 30%, #b98f2a 45%, #fff6c8 52%, #a77d22 65%, #f3d77b 85%); background-size: 250% 100%; animation: shine 3s linear infinite; }
.fx-metallic .print { background-image: linear-gradient(110deg, #7b8094 10%, #f2f4fa 32%, #9aa0b5 48%, #ffffff 54%, #8a90a6 70%, #e3e6ef 88%); background-size: 250% 100%; animation: shine 3.4s linear infinite; }
@keyframes shine { to { background-position: -250% 0; } }
.fx-glow .print { color: #c7ff8a; text-shadow: 0 0 2cqi #9dff4f, 0 0 6cqi rgba(140,255,80,.6); animation: pulse 2.6s ease-in-out infinite; }
.fx-glow .print-sub { color: #9dff4f; }
@keyframes pulse { 50% { opacity: .75; } }
.fx-neon .print { color: #fff; text-shadow: 0 0 1cqi #fff, 0 0 3cqi #ff3ea5, 0 0 6cqi #ff3ea5; }
.fx-neon .shirt-body { fill: #1b1d2a; } .fx-neon .print-sub { color: #ff7cc4; }
.fx-gradient .print { background-image: linear-gradient(90deg, var(--coral), var(--sun), #2ec4b6, var(--indigo)); }
.fx-glitter .print { background-image: radial-gradient(circle, #fff 0 18%, transparent 22%), radial-gradient(circle, rgba(255,255,255,.8) 0 14%, transparent 18%), linear-gradient(135deg, #e5b3ff, #fff0fb 40%, #b38cff 60%, #ffd6f5); background-size: 7px 7px, 11px 11px, 100% 100%; background-position: 0 0, 3px 5px, 0 0; animation: sparkle 1.4s steps(4) infinite; }
@keyframes sparkle { 50% { background-position: 3px 2px, 0 8px, 0 0; } }
.fx-flock .print { text-shadow: 0 0 .5cqi var(--print), 0 0 1cqi var(--print); filter: blur(.3px); }
.fx-crack .print { background-image: repeating-linear-gradient(37deg, transparent 0 9px, var(--fabric) 9px 10.5px), repeating-linear-gradient(-63deg, transparent 0 14px, var(--fabric) 14px 15px), repeating-linear-gradient(4deg, transparent 0 21px, var(--fabric) 21px 22px), linear-gradient(var(--print), var(--print)); }
.fx-hd .print { letter-spacing: -.03em; text-shadow: 0 1px 0 var(--shade), 0 2px 0 var(--shade), 0 3px 0 var(--shade), 0 4px 0 var(--shade), 0 6px 8px rgba(0,0,0,.25); }
.fx-emboss .print, .fx-emboss .print-sub { color: var(--fabric); text-shadow: -1px -1px 1px rgba(255,255,255,.6), 1.5px 1.5px 2px rgba(0,0,0,.35); }
.fx-studs .print { background-image: radial-gradient(circle at 35% 35%, #fff 0 12%, #d6d6de 22%, #8a8a96 44%, transparent 48%); background-size: 2cqi 2cqi; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.fx-sublimation .shirt-body { fill: url(#sublim); }
.fx-sublimation .print { color: #fff; -webkit-text-stroke: .5cqi var(--ink); paint-order: stroke fill; }
.fx-sublimation .print-sub { display: inline-block; background: var(--ink); color: #fff; opacity: 1; padding: .6cqi 1.6cqi; }
.fx-discharge .print { color: color-mix(in srgb, var(--fabric) 35%, #fff); opacity: .9; }
.fx-discharge .shirt-body { fill: #2a2d3a; }
.fx-pigment .print { opacity: .72; filter: saturate(.7); }
.fx-distress .print { -webkit-mask: radial-gradient(circle at 20% 30%, transparent 0 3px, #000 4px) 0 0/13px 11px, linear-gradient(#000,#000); -webkit-mask-composite: source-in; mask: radial-gradient(circle, transparent 0 2px, #000 3px) 0 0/9px 7px; }
.fx-photo .print { background-image: linear-gradient(180deg, rgba(255,176,0,.25), rgba(43,63,214,.35)), url("../img/gallery/cover-sewing.webp"); background-size: cover; background-position: center; }
.fx-sticker .print { color: #fff; background: var(--coral); padding: .6cqi 3cqi; border-radius: 2cqi; box-shadow: 0 1cqi 1.5cqi rgba(0,0,0,.2); transform: rotate(-5deg); }
.fx-heat .print { color: var(--indigo); text-shadow: 0 0 0 transparent; -webkit-text-stroke: .35cqi #fff; paint-order: stroke fill; filter: drop-shadow(0 .4cqi .4cqi rgba(0,0,0,.2)); }
.fx-gel .print { color: rgba(43,63,214,.55); text-shadow: 0 .5cqi 1cqi rgba(43,63,214,.25), inset 0 0 0 #fff; -webkit-text-stroke: .3cqi rgba(255,255,255,.7); }

.swatches { display: flex; gap: 10px; }
.sw { width: 32px; height: 32px; border-radius: 50%; background: var(--s); border: 2px solid var(--line); transition: transform .3s var(--ease); }
.sw:hover { transform: scale(1.12); }
.sw.active { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--indigo); }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tech { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: .5em 1em; font-weight: 600; font-size: .85rem; transition: .25s var(--ease); }
.tech:hover { border-color: var(--indigo); color: var(--indigo); }
.tech.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tech-info { margin-top: 26px; background: var(--sun-soft); border-radius: 20px; padding: 22px 24px; min-height: 130px; }
.tech-name { font-size: 1.8rem; margin-bottom: 6px; }
.tech-desc { margin: 0; color: #4d4a3f; }
.all-prints { margin-top: 56px; }
.all-prints h3 { font-size: 1.4rem; margin-bottom: 16px; }
#printList { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#printList li { background: var(--paper); border: 1px dashed var(--line); padding: .4em .9em; border-radius: 8px; font-size: .88rem; font-weight: 600; }
#printList li b { color: var(--indigo); font-family: 'Fraunces', serif; margin-inline-end: .45em; }

/* fabrics */
.fabrics { background: var(--paper); }
.fab-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.fab-grid h3 { font-size: 1.4rem; margin-bottom: 18px; }
#fiberList { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
#fiberList li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--cotton); font-weight: 600; font-size: .95rem; }
.fiber-bar { display: flex; width: 120px; height: 10px; border-radius: 10px; overflow: hidden; background: var(--line); }
.fiber-bar i { display: block; height: 100%; }
.swatch-book { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.swatch-book li { border-radius: 14px; overflow: hidden; background: var(--cotton); box-shadow: 0 1px 0 var(--line); transition: transform .35s var(--ease); }
.swatch-book li:hover { transform: translateY(-5px) rotate(-1.5deg); }
.swatch-book .tex { height: 86px; position: relative; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.swatch-book span { display: block; padding: 8px 12px 12px; font-size: .84rem; font-weight: 700; line-height: 1.3; }

/* journey */
.journey { background: var(--cotton); }
.three { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; counter-reset: t; }
.three li { counter-increment: t; display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.three li::before { content: counter(t); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; display: inline-grid; place-items: center; }
.thread-path { position: relative; }
.thread-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thread-svg path { fill: none; stroke: var(--indigo); stroke-width: 2.5; stroke-dasharray: 8 7; vector-effect: non-scaling-stroke; opacity: .45; }
.journey-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 26px; }
.jstep { width: min(46%, 470px); background: var(--paper); border-radius: 22px; padding: 22px 24px 22px 84px; box-shadow: var(--shadow); position: relative; }
html[lang="ar"] .jstep { padding: 22px 84px 22px 24px; }
.jstep:nth-child(odd) { justify-self: start; }
.jstep:nth-child(even) { justify-self: end; }
.jstep .jn { position: absolute; top: 20px; inset-inline-start: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--indigo); display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.2rem; transition: background .4s, color .4s; }
.jstep.in .jn { background: var(--indigo); color: #fff; }
.jstep h3 { font-size: 1.35rem; margin-bottom: 4px; }
.jstep p { margin: 0; color: var(--muted); font-size: .95rem; }

/* quality */
.quality { background: var(--mint); }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.qc { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.qc li { background: var(--paper); border-radius: 18px; overflow: hidden; }
.qc button { width: 100%; text-align: start; border: 0; background: none; padding: 16px 20px; display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.05rem; }
.qc .check { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 2px solid #1f9e7a; display: grid; place-items: center; color: #fff; transition: background .3s; }
.qc .check svg { width: 16px; height: 16px; opacity: 0; transition: opacity .3s; }
.qc li.open .check, .qc li.in .check { background: #1f9e7a; }
.qc li.in .check svg { opacity: 1; }
.qc .plus { margin-inline-start: auto; font-size: 1.3rem; color: var(--muted); transition: transform .3s; }
.qc li.open .plus { transform: rotate(45deg); }
.qc .qbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qc li.open .qbody { grid-template-rows: 1fr; }
.qc .qbody > div { overflow: hidden; }
.qc .qbody p { padding: 0 20px 18px 64px; margin: 0; color: var(--muted); }
html[lang="ar"] .qc .qbody p { padding: 0 64px 18px 20px; }

/* docs paper stack */
.docs { background: var(--paper); }
.paper-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: d; }
.paper { position: relative; background: var(--cotton); padding: 26px 20px 30px; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 14px 28px -20px rgba(28,35,64,.4); transform: rotate(var(--rot, 0deg)); transition: transform .4s var(--ease);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; }
.paper:hover { transform: rotate(0) translateY(-6px); }
.paper::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c, var(--indigo)); }
.paper .dn { font-family: 'Fraunces', serif; font-weight: 800; font-size: 2.4rem; color: var(--c, var(--indigo)); opacity: .9; line-height: 1; }
.paper h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.paper p { font-size: .9rem; color: var(--muted); margin: 0; }
.paper .stampmark { position: absolute; bottom: 18px; inset-inline-end: 16px; font-size: .62rem; font-weight: 800; letter-spacing: .15em; color: var(--c, var(--indigo)); border: 2px solid currentColor; border-radius: 6px; padding: 2px 6px; transform: rotate(-10deg); opacity: .6; }

/* machinery */
.machinery { background: var(--linen); }
.m-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.m-table, .m-profile { background: var(--paper); border-radius: 26px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.m-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.m-filter button { border: 1.5px solid var(--line); background: none; border-radius: 999px; padding: .35em .9em; font-size: .8rem; font-weight: 700; }
.m-filter button.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.m-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.m-bars li { display: grid; grid-template-columns: minmax(130px, 1.1fr) 2fr 44px; gap: 12px; align-items: center; font-size: .86rem; transition: opacity .3s; }
.m-bars li.dim { opacity: .18; }
.m-bars .mname { font-weight: 600; line-height: 1.25; }
.m-bars .mname small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }
.m-bars .track { height: 14px; background: var(--cotton); border-radius: 8px; overflow: hidden; }
.m-bars .fill { display: block; height: 100%; width: 0; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--indigo) 0 6px, #4558e6 6px 9px); transition: width 1.2s var(--ease); }
.m-bars li.in .fill { width: var(--w); }
.m-bars .mq { font-family: 'Fraunces', serif; font-weight: 800; text-align: end; direction: ltr; }
.m-profile h3 { font-size: 1.3rem; margin-bottom: 14px; }
#machineProfile { list-style: none; padding: 0; margin: 0; }
#machineProfile li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
#machineProfile li b { color: var(--indigo); font-weight: 800; white-space: nowrap; direction: ltr; }

/* org */
.org { background: var(--cotton); }
.org-top { display: flex; flex-direction: column; align-items: center; gap: 26px; margin-bottom: 40px; }
.node { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: .55em 1.2em; font-weight: 800; text-align: center; position: relative; }
.node.lead { background: var(--ink); color: #fff; font-family: 'Fraunces', serif; font-size: 1.3rem; padding: .5em 1.6em; }
.node.s { border-width: 1.5px; font-weight: 700; font-size: .9rem; background: var(--sun-soft); border-color: transparent; }
.org-branches { display: flex; gap: clamp(30px, 8vw, 120px); position: relative; padding-top: 24px; }
.org-branches::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 24px; border: 2px dashed var(--muted); border-bottom: 0; border-radius: 12px 12px 0 0; }
.org-branches::after { content: ""; position: absolute; top: -26px; left: 50%; height: 26px; border-left: 2px dashed var(--muted); }
.branch { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.branch .sub { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lane { background: var(--paper); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.lane h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lane h3 i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.lane .under { font-size: .78rem; color: var(--muted); margin-bottom: 14px; display: block; }
.lane ol { list-style: none; padding: 0; margin: 0; position: relative; }
.lane ol::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 9px; border-inline-start: 2px dashed var(--c); }
.lane li { position: relative; padding: 6px 0; padding-inline-start: 30px; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.lane li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--c); }

/* buyers */
.buyers { background: var(--indigo); color: #fff; overflow: hidden; }
.buyers .woven { color: var(--indigo); }
.buyers h2 em { color: var(--sun); }
.buyer-rows { display: grid; gap: 16px; }
.buyer-row { overflow: hidden; direction: ltr; }
.buyer-track { display: inline-flex; gap: 16px; animation: slide 46s linear infinite; padding-inline: 8px; }
.buyer-row.rev .buyer-track { animation-direction: reverse; }
.buyer-row:hover .buyer-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.bt { flex-shrink: 0; background: var(--paper); color: var(--ink); border-radius: 10px 10px 14px 14px; padding: 26px 26px 16px; font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.25rem; white-space: nowrap; position: relative; }
.bt::before { content: ""; position: absolute; top: 9px; left: 50%; margin-left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); }
.bt:nth-child(3n+2) { background: var(--sun); }
.bt:nth-child(3n+3) { background: var(--sky); }

/* gallery */
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.g-filter button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: .5em 1.1em; font-weight: 700; font-size: .88rem; }
.g-filter button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item { position: relative; border-radius: 18px; overflow: hidden; border: 0; padding: 0; background: var(--linen); transition: opacity .4s, transform .4s var(--ease); }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption, .g-item .cap { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; }
.g-item .cap span { background: rgba(255,255,255,.92); border-radius: 999px; padding: .3em .8em; font-size: .8rem; font-weight: 700; color: var(--ink); }
html[lang="ar"] .g-item .cap { justify-content: flex-end; }
.g-item.hide { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(251,248,241,.96); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 900px; width: 100%; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; box-shadow: var(--shadow); background: #fff; }
.lightbox figcaption { text-align: center; margin-top: 12px; font-family: var(--font-d); font-size: 1.3rem; font-weight: 700; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.6rem; line-height: 1; }

/* workplace */
.workplace { background: var(--peach); }
.w-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.w-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w-cards li { background: var(--paper); border-radius: 22px; padding: 22px; }
.w-cards .wi { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--coral); color: #fff; font-family: 'Fraunces', serif; font-weight: 800; margin-bottom: 12px; }
.w-cards h3 { font-size: 1.15rem; margin-bottom: 6px; }
.w-cards p { font-size: .92rem; color: var(--muted); margin: 0; }
.integrity { margin-top: 44px; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; }
.integrity h3 { font-size: 1.6rem; color: var(--sun); grid-row: span 2; }
.integrity p { color: rgba(255,255,255,.8); margin: 0; }
.no-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.no-list li { border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; padding: .3em .9em; font-size: .85rem; text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }

/* thanks */
.thanks { background: var(--sun); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.thanks-track { display: inline-block; animation: slide 30s linear infinite; font-family: var(--font-d); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.6rem); }
html[lang="ar"] .thanks-track { animation-direction: reverse; }

/* contact */
.contact { background: var(--cotton); }
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.c-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.c-list li { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); }
.ci { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--indigo); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.c-list small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
html[lang="ar"] .c-list small { letter-spacing: 0; }
.c-list a { font-weight: 700; color: var(--indigo); }
.quote { position: relative; background: var(--paper); border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; border-top: 8px solid var(--indigo); }
.q-tag { position: absolute; top: -26px; inset-inline-end: 30px; width: 54px; height: 70px; background: var(--sun); border-radius: 6px 6px 12px 12px; transform: rotate(8deg); }
.q-tag::before { content: ""; position: absolute; top: 8px; left: 50%; margin-left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cotton); }
.quote h3 { font-size: 1.6rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.quote input:not([type=checkbox]), .quote select, .quote textarea { font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); background: var(--cotton); border: 1.5px solid transparent; border-radius: 12px; padding: .75em .9em; outline: none; transition: border-color .25s, background .25s; width: 100%; }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--indigo); background: #fff; }
.quote .invalid { border-color: var(--coral) !important; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chips label { flex-direction: row; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chip { display: inline-block; padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink); cursor: pointer; transition: .2s; }
.chips input:checked + .chip { background: var(--sun); border-color: var(--sun); }
.chips input:focus-visible + .chip { outline: 2px solid var(--indigo); outline-offset: 2px; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); min-height: 1.3em; }

/* footer */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 28px 0; }
.f-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; font-size: .88rem; color: var(--muted); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .hangers { grid-template-columns: repeat(4, 1fr); }
  .paper-stack, .lanes { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-radius: 24px; padding: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .3s var(--ease); font-size: 1.05rem; }
  .nav-links a { padding: .8em 1em; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .burger { display: block; }
  .lang { margin-inline-start: auto; }
  .hero-grid, .about-grid, .info-grid, .lab, .fab-grid, .q-grid, .m-grid, .w-grid, .c-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }
  .tape-inner { grid-template-columns: repeat(3, 1fr); }
  .jstep { width: 100%; }
  .thread-svg { display: none; }
  .integrity { grid-template-columns: 1fr; }
  .integrity h3 { grid-row: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hangers { grid-template-columns: repeat(2, 1fr); }
  .rack { display: none; }
  .tape-inner { grid-template-columns: repeat(2, 1fr); }
  .certs, .pay ul { grid-template-columns: repeat(2, 1fr); }
  .letter { grid-template-columns: 1fr; }
  .letter img { width: 140px; }
  .care-label { padding: 40px 20px 24px; transform: none; }
  .care-label dl > div { grid-template-columns: 1fr; gap: 2px; }
  .paper-stack, .lanes, .w-cards, .f-row { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-item.wide { grid-column: span 2; }
  .m-bars li { grid-template-columns: 1fr 60px 34px; }
  .logo-word small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
