/* Indigo Cakra Buana — palette & type follow the company profile deck */
:root {
  --navy: #133f6b;
  --navy-deep: #0c2a49;
  --gold: #f5b133;
  --cream: #f6f3ef;
  --white: #ffffff;
  --ink: #133f6b;
  --text: #2c3e55;
  --muted: #66768a;
  --line: #d6dde6;
  --curve: 120px;         /* signature rounded corner from the deck */
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Instrument Sans", "Lato", sans-serif; color: var(--ink); line-height: 1.1; letter-spacing: -0.015em; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.gold { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); font-size: 17px; letter-spacing: .01em; white-space: nowrap; }
.brand img { height: 44px; width: auto; display: block; }
.brand-name { font-family: "Instrument Sans", sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--navy); }
.brand-name b { font-weight: 700; }
@media (max-width: 600px) { .brand img { height: 36px; } .brand-name { font-size: 22px; } }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand .brand-name { color: #fff; font-size: 21px; }
.brand b { font-weight: 800; }
.brand span { font-weight: 400; }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 600; color: var(--navy); }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { box-shadow: 0 10px 24px rgba(19, 63, 107, .25); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(245, 177, 51, .35); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 28px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-text { position: relative; }
.hero-text::before { /* thin ring like the cover slide */
  content: ""; position: absolute; width: 620px; height: 620px; left: -90px; top: 50%;
  transform: translateY(-50%); border: 1px solid var(--line); border-radius: 50%; z-index: -1;
}
.kicker { font-family: "Instrument Sans", sans-serif; color: var(--gold); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.hero h1 { margin: 10px 0 4px; }
.hero h1 .big { display: block; font-size: clamp(58px, 8.6vw, 120px); font-weight: 800; letter-spacing: -0.03em; line-height: .9; }
.hero h1 .sub { display: block; font-size: clamp(34px, 5.1vw, 66px); font-weight: 700; letter-spacing: .02em; }
.tagline { font-family: "Instrument Sans", sans-serif; color: var(--gold); font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; margin: 14px 0 32px; letter-spacing: -0.01em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: 0 var(--curve) 0 0; overflow: hidden; aspect-ratio: 4 / 5; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Generic sections ---------- */
section { padding: 100px 0; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Instrument Sans", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px;
}
.label::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--gold); }
.h-xl { font-size: clamp(38px, 5vw, 64px); }
.h-lg { font-size: clamp(32px, 3.8vw, 48px); margin-bottom: 18px; }
.rule { height: 1px; background: var(--line); margin: 22px 0 26px; border: 0; }
.lead { font-size: 18px; }
.muted { color: var(--muted); }
.curve-tr { border-radius: 0 var(--curve) 0 0; overflow: hidden; }
.curve-tl { border-radius: var(--curve) 0 0 0; overflow: hidden; }
.cover { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .media { aspect-ratio: 5 / 6; }

/* Quote */
.quote-band { padding: 90px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.quote-mark { font-family: Georgia, serif; font-size: 140px; line-height: .6; color: var(--gold); font-weight: 700; }
.quote { font-family: "Instrument Sans", sans-serif; font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); line-height: 1.35; margin-top: 18px; }

/* Vision & mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.vm-card { background: #fff; border-radius: 18px; padding: 36px; border: 1px solid var(--line); }
.vm-card h3 { font-size: 28px; margin-bottom: 16px; }
.vm-card ul { list-style: none; display: grid; gap: 12px; }
.vm-card li { position: relative; padding-left: 24px; }
.vm-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 2px; background: var(--gold); }
.banner-strip { margin-top: 28px; aspect-ratio: 16 / 4; }

/* Production line */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flow-item { position: relative; }
.flow-item .ph { aspect-ratio: 1 / 1; border: 5px solid var(--gold); border-radius: 18px; overflow: hidden; background: #fff; }
.flow-item .ph img { width: 100%; height: 100%; object-fit: cover; }
.flow-item .tag {
  display: block; margin-top: 12px; background: var(--navy); color: #fff; text-align: center;
  border-radius: 12px; padding: 10px 8px; font-weight: 700; font-size: 15px;
}
.flow-item .num { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy-deep); font-weight: 800; font-size: 13px; border-radius: 8px; padding: 2px 9px; }
.sewing-box { grid-column: 1 / -1; border: 2px dashed var(--navy); border-radius: 22px; padding: 22px; }
.sewing-box > p { font-weight: 700; color: var(--navy); margin-bottom: 14px; font-family: "Instrument Sans", sans-serif; }
.sewing-box .flow { gap: 18px; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.team-photo { aspect-ratio: 16 / 9; margin-bottom: 28px; }
.division { padding: 26px 0; border-bottom: 1px solid var(--line); }
.division:first-child { padding-top: 0; }
.division h3 { font-size: 26px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.division h3::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--gold); }

/* Services */
.services { background: #fff; }
.svc-list { display: grid; gap: 22px; }
.svc {
  display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center;
  background: var(--cream); border-radius: 22px; padding: 22px; transition: box-shadow .2s;
}
.svc:hover { box-shadow: 0 16px 40px rgba(19, 63, 107, .08); }
.svc .ph { aspect-ratio: 4 / 3; border-radius: 0 70px 0 0; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc .idx { font-family: "Instrument Sans", sans-serif; color: var(--gold); font-weight: 800; font-size: 15px; letter-spacing: .1em; }
.svc h3 { font-size: 32px; margin: 4px 0 10px; }
.svc p + p { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--navy); font-weight: 600; }

/* Washing techniques */
.wash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wash .ph { aspect-ratio: 2 / 1; border: 4px solid var(--navy); border-radius: 16px; overflow: hidden; }
.wash .ph img { width: 100%; height: 100%; object-fit: cover; }
.wash h4 { font-family: "Instrument Sans", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; text-align: center; margin: 12px 0 4px; }
.wash p { font-size: 14px; color: var(--muted); text-align: center; }

/* Export */
.export {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: rgba(255,255,255,.88); border-radius: 0 var(--curve) 0 0; padding: 64px;
  position: relative; overflow: hidden;
}
.export::after { /* dotted world-map feel */
  content: ""; position: absolute; right: -40px; top: -40px; width: 420px; height: 420px; opacity: .14;
  background-image: radial-gradient(#fff 2px, transparent 2.5px); background-size: 16px 16px;
  border-radius: 50%;
}
.export h2 { color: #fff; }
.export .label { color: #fff; }
.export p { max-width: 820px; position: relative; z-index: 1; }
.export p + p { margin-top: 14px; }

/* Legal data */
.legal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.legal-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.legal-item .n { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-family: "Instrument Sans", sans-serif; font-weight: 800; font-size: 19px; background: var(--gold); color: #fff; }
.legal-item:nth-child(even) .n { background: var(--navy); }
.legal-item b { display: block; color: var(--navy); font-size: 16px; }
.legal-item span { font-size: 14px; color: var(--muted); word-break: break-all; }

/* Portal band */
.portal { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 52px; }
.portal ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.portal li { display: flex; gap: 10px; }
.portal li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.portal .cta { text-align: center; }
.portal .cta small { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-logo { width: 96px; margin-bottom: 22px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.c-item .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.c-item span { display: block; font-size: 15px; color: var(--muted); }
.c-item b, .c-item a { color: var(--navy); font-weight: 700; }
.c-item a:hover { text-decoration: underline; }
.contact .media { min-height: 420px; }

/* Footer */
footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 36px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a:hover { color: #fff; }
footer .wrap { align-items: center; }
.foot-logo { height: 34px; width: auto; }

/* ---------- Login page ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--cream); }
.auth-side { position: relative; overflow: hidden; border-radius: 0 var(--curve) 0 0; margin: 28px 0 28px 28px; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,42,73,.25), rgba(12,42,73,.88)); }
.auth-side .inner { position: relative; z-index: 1; height: 100%; padding: 44px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.auth-side h1 { color: #fff; font-size: clamp(30px, 3.2vw, 42px); margin: 10px 0 12px; }
.auth-side p { opacity: .85; max-width: 460px; }
.auth-side .label { color: #fff; }
.auth-main { display: grid; place-items: center; padding: 40px 28px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box .brand { margin-bottom: 36px; }
.auth-box h2 { font-size: 34px; margin-bottom: 6px; }
.auth-box .sub { color: var(--muted); margin-bottom: 26px; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 24px; }
.auth-box .btn { width: 100%; padding: 15px; font-size: 16px; }
.divider { text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0; }
.secure-list { list-style: none; display: grid; gap: 8px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.secure-list li::before { content: "🔒 "; }
.back-link { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--navy); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .wash-grid, .legal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --curve: 70px; }
  .hero .wrap, .split, .quote-band .wrap, .vm-grid, .team-grid, .portal, .contact, .auth-page { grid-template-columns: 1fr; }
  .hero-text::before { display: none; }
  .hero-img { aspect-ratio: 4 / 3; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 28px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav .btn.desktop { display: none; }
  .export, .portal { padding: 36px 26px; }
  .auth-side { margin: 16px 16px 0; min-height: 300px; }
  section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .wash-grid, .legal { grid-template-columns: 1fr; }
  .brand { font-size: 15px; }
}

/* Our Support — sustainable partner logos (sideways marquee) */
.marquee { --gap: 18px; --speed: 45s; display: flex; overflow: hidden; user-select: none; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { flex: none; display: flex; gap: var(--gap); padding-right: var(--gap); margin: 0; list-style: none;
  animation: marquee var(--speed) linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.partner { flex: none; width: 220px; aspect-ratio: 2 / 1; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  display: grid; place-items: center; padding: 6px 8px; transition: transform .2s, box-shadow .2s; }
.partner:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(19,63,107,.10); }
.partner img { width: 100%; height: 100%; object-fit: contain; }
.partner-text span { font-family: "Instrument Sans", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .04em; color: #2f7d4f; text-transform: uppercase; }
@media (max-width: 560px) { .marquee { --gap: 12px; --speed: 35s; } .partner { width: 160px; } .partner-text span { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; flex: 1; padding-right: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ================= Multi-page additions ================= */
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-links a[aria-current] { opacity: 1; color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.mobile-only { display: none; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--navy); padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: flex; align-items: center; gap: 6px; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch .globe { font-size: 14px; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; min-width: 190px; box-shadow: 0 16px 34px rgba(19,63,107,.12); z-index: 60; }
.lang-switch li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--navy); }
.lang-switch li a:hover { background: var(--cream); }
.lang-switch li a[aria-current] { font-weight: 800; }

.page-hero { padding: 64px 0 40px; }
.page-hero .h-xl { max-width: 900px; }
.page-sub { max-width: 720px; margin-top: 16px; font-size: 18px; }

.stats-section { padding: 0 0 20px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; display: flex; align-items: center; gap: 18px; }
.stat b { font-family: "Instrument Sans", sans-serif; font-size: 52px; line-height: 1; color: var(--navy); }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.4; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.card { background: var(--cream); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19,63,107,.09); }
.card h3 { font-size: 24px; }
.card p { color: var(--text); flex: 1; }
.more { color: var(--navy); font-weight: 700; font-size: 14px; }

.flow-6 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.flow-6 .flow-item .tag { font-size: 13px; padding: 8px 6px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-grid.cat-4 { grid-template-columns: repeat(4, 1fr); }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19,63,107,.09); }
.cat-card .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { font-size: 22px; padding: 18px 20px 4px; }
.cat-card p { padding: 0 20px; color: var(--muted); font-size: 15px; flex: 1; }
.cat-card .more { padding: 14px 20px 20px; }

.quote-dark { color: var(--navy); }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--gold); font-weight: 800; }

.struct { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.struct-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; border-top: 5px solid var(--gold); }
.struct-card:nth-child(2) { border-top-color: var(--navy); }
.struct-card h3 { font-size: 26px; }
.struct-card .role { display: block; color: var(--muted); font-weight: 700; font-size: 14px; margin: 6px 0 12px; }

.p-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.p-row { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px 16px 16px; }
.p-row .partner { width: 100%; border: 0; }
.p-row .partner:hover { transform: none; box-shadow: none; }
.p-row h3 { font-size: 21px; margin-bottom: 6px; }
.p-row p { color: var(--muted); font-size: 15px; }
.small-note { margin-top: 22px; font-size: 13px; }

.cta-section { padding: 0 0 100px; }
.cta-band { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: rgba(255,255,255,.88); border-radius: 0 var(--curve) 0 0; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }

footer { padding: 56px 0 26px; }
footer .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; align-items: start; }
.foot-note { margin-top: 14px; max-width: 380px; line-height: 1.6; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.foot-contact { display: grid; gap: 10px; }
.foot-contact a { color: #fff; font-weight: 700; }
.site-switch { color: var(--gold) !important; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; font-size: 13px; }

@media (max-width: 1080px) {
  .cards, .cat-grid.cat-4 { grid-template-columns: repeat(2, 1fr); }
  .flow-6 { grid-template-columns: repeat(3, 1fr); }
  .p-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .mobile-only { display: block; }
  .stats, .struct, .cat-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 42px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  footer .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero { padding: 40px 0 24px; }
}
@media (max-width: 560px) {
  .cards, .cat-grid.cat-4 { grid-template-columns: 1fr; }
  .flow-6 { grid-template-columns: repeat(2, 1fr); }
  .p-row { grid-template-columns: 1fr; }
  .lang-switch summary { padding: 8px 9px; }
}

/* CJK: let system CJK fonts carry the glyphs, tighten tracking */
:lang(ja) body, :lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4 { font-family: "Instrument Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
:lang(ko) body, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4 { font-family: "Instrument Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
:lang(zh) body, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { font-family: "Instrument Sans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2, :lang(zh) h1, :lang(zh) h2 { letter-spacing: 0; line-height: 1.25; }
:lang(ja) body, :lang(ko) body, :lang(zh) body { line-height: 1.85; }

/* Work Flow Routing */
.routing { list-style: none; display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; position: relative; counter-reset: r; }
.routing::before { content: ""; position: absolute; left: 5.5%; right: 5.5%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 14px); opacity: .45; }
.routing li { position: relative; text-align: center; padding: 0 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.routing .dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: "Instrument Sans", sans-serif; font-weight: 700; font-size: 16px; box-shadow: 0 0 0 6px var(--cream); }
.routing li.qc .dot { background: var(--gold); color: var(--navy-deep); }
.routing .name { font-family: "Instrument Sans", sans-serif; font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.25; }
.routing small { font-size: 12px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1080px) {
  .routing { grid-template-columns: 1fr; gap: 14px; max-width: 520px; }
  .routing::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--navy) 0 8px, transparent 8px 14px); }
  .routing li { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 0; gap: 16px; }
  .routing small { flex-basis: 100%; padding-left: 72px; margin-top: -10px; }
}

/* Footer v2 */
footer .foot-grid { grid-template-columns: 1.4fr 1fr auto; align-items: center; }
.foot-about .foot-brand .brand-name { font-size: 24px; }
.foot-note { color: rgba(255,255,255,.72); }
.foot-links a { color: rgba(255,255,255,.8); }
.foot-cta { display: grid; justify-items: start; gap: 12px; }
.foot-mail { color: #fff; font-weight: 700; }
.foot-login { color: var(--gold); font-weight: 700; font-size: 14px; }
@media (max-width: 900px) { footer .foot-grid { grid-template-columns: 1fr; align-items: start; } }
footer .wrap.foot-bottom { display: block; color: rgba(255,255,255,.55); }

/* Thai, Arabic */
:lang(th) body, :lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(th) h4 { font-family: "Instrument Sans", "Thonburi", "Noto Sans Thai", "Leelawadee UI", sans-serif; line-height: 1.8; letter-spacing: 0; }
:lang(ar) body, :lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { font-family: "Instrument Sans", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", "Tahoma", sans-serif; letter-spacing: 0; }
:lang(ar) h1, :lang(ar) h2 { line-height: 1.35; }
[dir="rtl"] .label::before { order: 2; }
[dir="rtl"] .lang-switch ul { right: auto; left: 0; }
[dir="rtl"] .ticks li::before, [dir="rtl"] .portal li::before { transform: scaleX(-1); }
[dir="rtl"] .vm-card li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .vm-card li::before { left: auto; right: 0; }
[dir="rtl"] .hero-img, [dir="rtl"] .curve-tr, [dir="rtl"] .export, [dir="rtl"] .cta-band { border-radius: var(--curve) 0 0 0; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
@media (max-width: 1080px) { [dir="rtl"] .routing::before { left: auto; right: 27px; } [dir="rtl"] .routing small { padding-left: 0; padding-right: 72px; } }
.lang-switch ul.lang-list { display: flex; flex-direction: column; }

/* Home hero slider (banners carry their own copy, so they're shown whole) */
.hero-slider { padding: 28px 0 0; }
.slider { position: relative; border-radius: 0 var(--curve) 0 0; overflow: hidden; background: var(--navy-deep); box-shadow: 0 24px 60px rgba(12,42,73,.18); }
.slides { position: relative; aspect-ratio: 16 / 10; }
.slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.slides .slide.is-active { opacity: 1; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 30px; line-height: 1; backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s, background .2s; }
.sl-prev { left: 18px; } .sl-next { right: 18px; }
.slider:hover .sl-nav, .sl-nav:focus-visible { opacity: 1; }
.sl-nav:hover { background: rgba(255,255,255,.32); }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.sl-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.sl-dots button[aria-current] { width: 28px; background: var(--gold); }
.hero-intro { padding: 34px 0 70px; }
.hero-intro .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.brand-h1 { font-size: clamp(44px, 5.4vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero-intro .tagline { margin: 10px 0 0; }
[dir="rtl"] .slider { border-radius: var(--curve) 0 0 0; }
@media (max-width: 900px) { .sl-nav { display: none; } .hero-slider { padding-top: 16px; } .sl-dots { bottom: 10px; } .hero-intro { padding: 24px 0 50px; } }
.sl-dots { justify-content: flex-end; right: 22px; left: auto; }
[dir="rtl"] .sl-dots { right: auto; left: 22px; }
@media (max-width: 900px) { .sl-dots { right: 12px; bottom: 8px; gap: 6px; } .sl-dots button { width: 7px; height: 7px; } .sl-dots button[aria-current] { width: 18px; } }

/* Cotton cover slide with brand text */
.slide-cover img { width: 100%; height: 100%; object-fit: cover; }
.slide-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,42,73,.82) 0%, rgba(12,42,73,.55) 38%, rgba(12,42,73,0) 70%); }
.cover-text { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: min(620px, 62%); padding: 0 56px; display: flex; flex-direction: column; justify-content: center; }
.cover-text .brand-h1 { color: #fff; font-size: clamp(40px, 7vw, 96px); }
.cover-text .tagline { color: var(--gold); margin: 14px 0 28px; font-size: clamp(16px, 2vw, 26px); }
[dir="rtl"] .slide-cover::after { background: linear-gradient(270deg, rgba(12,42,73,.82) 0%, rgba(12,42,73,.55) 38%, rgba(12,42,73,0) 70%); }
[dir="rtl"] .cover-text { left: auto; right: 0; }
@media (max-width: 700px) {
  .cover-text { width: 100%; padding: 0 20px; }
  .slide-cover::after { background: linear-gradient(90deg, rgba(12,42,73,.85), rgba(12,42,73,.35)); }
  .cover-text .tagline { margin: 6px 0 12px; }
  .cover-text .hero-actions .btn { padding: 8px 12px; font-size: 13px; }
  .cover-text .hero-actions .btn-outline-light { display: none; }
}
.hero-slider { padding-bottom: 20px; }

/* Factory gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.g-item { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; background: #e8e3dc; }
.g-item:first-child { border-radius: 0 60px 16px 16px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.gallery-section { padding-top: 0; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Slider side zones: soft edge shadow + arrow, left/right */
.sl-nav { top: 0; bottom: 0; transform: none; width: 96px; height: auto; border-radius: 0; background: transparent; backdrop-filter: none;
  display: flex; align-items: center; font-size: 40px; opacity: 1; z-index: 2; color: rgba(255,255,255,.75); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.sl-prev { left: 0; justify-content: flex-start; padding-left: 22px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0)); }
.sl-next { right: 0; justify-content: flex-end; padding-right: 22px; background: linear-gradient(270deg, rgba(0,0,0,.28), rgba(0,0,0,0)); }
.sl-nav:hover { color: #fff; }
.sl-prev:hover { background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.sl-next:hover { background: linear-gradient(270deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.cover-text { padding-left: 96px; }
[dir="rtl"] .cover-text { padding-left: 56px; padding-right: 96px; }
@media (max-width: 900px) {
  .sl-nav { display: flex; width: 44px; font-size: 28px; }
  .sl-prev { padding-left: 8px; } .sl-next { padding-right: 8px; }
  .cover-text { padding-left: 48px; padding-right: 40px; }
}
.sl-nav { font-size: 52px; font-weight: 300; color: rgba(255,255,255,.9); }
.sl-prev { background: linear-gradient(90deg, rgba(0,0,0,.38), rgba(0,0,0,0)); }
.sl-next { background: linear-gradient(270deg, rgba(0,0,0,.38), rgba(0,0,0,0)); }
@media (max-width: 900px) { .sl-nav { font-size: 32px; } }

/* Home: client portal teaser */
.portal-teaser { padding: 10px 0 30px; }
.pt-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 0 var(--curve) 0 0; padding: 44px 52px; position: relative; overflow: hidden; }
.pt-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--gold), var(--navy)); }
.pt-text .h-lg { margin-bottom: 10px; }
.pt-text p { color: var(--text); max-width: 620px; }
.pt-actions { display: grid; gap: 12px; justify-items: stretch; }
.pt-actions .btn { width: 100%; padding: 15px; font-size: 16px; }
.pt-actions small { color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 900px) { .pt-card { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Sign-up form */
.signup-form { background: #fff; border: 1px solid var(--line); border-radius: 0 var(--curve) 0 0; padding: 44px 48px; max-width: 920px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field.full { grid-column: 1 / -1; margin-top: 26px; }
.f-grid .field.full { margin-top: 0; }
.field > span, .field legend { font-family: "Instrument Sans", sans-serif; font-weight: 700; color: var(--navy); font-size: 15px; padding: 0; margin-bottom: 8px; }
.field legend small { font-weight: 400; color: var(--muted); font-family: "Lato", sans-serif; margin-left: 6px; }
.req { color: #c0392b; }
.signup-form input[type=text], .signup-form input[type=email], .signup-form input[type=tel], .signup-form input[type=number], .signup-form select, .signup-form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.signup-form textarea { resize: vertical; }
.signup-form input:focus, .signup-form select:focus, .signup-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(19,63,107,.12); }
.radios, .chks { display: flex; flex-wrap: wrap; gap: 12px; }
.rad, .chk { position: relative; cursor: pointer; }
.rad input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.rad span, .chk span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font-weight: 700; color: var(--navy); transition: all .2s; }
.rad span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; box-shadow: inset 0 0 0 3px #fff; }
.chk span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--navy); background: #fff; }
.rad input:checked + span, .chk input:checked + span { border-color: var(--navy); background: #fff; box-shadow: 0 6px 16px rgba(19,63,107,.10); }
.rad input:checked + span::before { background: var(--gold); }
.chk input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230c2a49' stroke-width='2.4'/%3E%3C/svg%3E") center/12px no-repeat; }
.rad input:focus-visible + span, .chk input:focus-visible + span { box-shadow: 0 0 0 4px rgba(19,63,107,.2); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 8px; }
.links { display: grid; gap: 10px; }
.link-row { display: grid; grid-template-columns: 150px 1fr 44px; gap: 10px; }
.link-remove { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-size: 20px; color: var(--muted); cursor: pointer; }
.link-row:only-child .link-remove { visibility: hidden; }
.btn-link { margin-top: 10px; background: none; border: 0; color: var(--navy); font-weight: 800; cursor: pointer; padding: 6px 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; font-size: 14px; color: var(--text); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); }
.f-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.f-actions .btn { padding: 15px 34px; font-size: 16px; }
.f-actions small { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { max-width: 920px; background: #fdecea; border: 1px solid #f5c2bd; color: #8a1f17; border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }
@media (max-width: 700px) {
  .signup-form { padding: 28px 20px; }
  .f-grid { grid-template-columns: 1fr; }
  .link-row { grid-template-columns: 1fr 44px; }
  .link-row select { grid-column: 1 / -1; }
}

/* Thanks page */
.thanks { padding: 90px 0 120px; }
.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 0 var(--curve) 0 0; padding: 56px 40px; }
.thanks-card .tick { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); font-size: 36px; font-weight: 800; }
.thanks-card .lead { margin: 6px 0 28px; }

/* Home: login box + License / Our Support */
.access { padding: 26px 0 40px; }
.access-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 0 var(--curve) 0 0; padding: 40px 44px; }
.login-card .h-lg { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 22px; }
.login-form { display: grid; gap: 16px; }
.login-form .field > span { font-family: "Instrument Sans", sans-serif; font-weight: 700; color: var(--navy); font-size: 14px; }
.login-form input { width: 100%; font: inherit; color: var(--text); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.login-form input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(19,63,107,.12); }
.login-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.login-row .btn { padding: 13px 34px; }
.text-link { color: var(--muted); font-size: 14px; }
.text-link:hover { color: var(--navy); text-decoration: underline; }
.signup-line { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.u-link { color: var(--navy); font-weight: 800; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.u-link:hover { text-decoration-color: var(--navy); }
.badges { display: grid; gap: 18px; align-content: start; }
.badge-group { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.badge-group .label { margin-bottom: 10px; }
.badge-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.badge { aspect-ratio: 2 / 1; display: grid; place-items: center; border-radius: 12px; background: var(--cream); padding: 6px; }
.badge img { width: 100%; height: 100%; object-fit: contain; }
.partners-home { padding-top: 20px; }
.auth-box .login-form { margin-top: 6px; }
.auth-box .login-form .btn { width: auto; }
@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr; } .login-card { padding: 30px 22px; } }

/* ---------------------------------------------------------------- fabric */
.sec-head .lead { max-width: 640px; margin-top: 10px; }
.fab-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.fab { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; scroll-margin-top: 110px; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19,63,107,.09); }
.fab:target { outline: 3px solid var(--gold); outline-offset: 2px; }
.fab-ph { aspect-ratio: 4 / 5; overflow: hidden; background: #ece9e3; }
.fab-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.fab:hover .fab-ph img { transform: scale(1.03); }
.fab-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fab-body h3 { font-size: 17px; letter-spacing: .02em; color: var(--navy); line-height: 1.25; }
.moq { font-size: 13.5px; color: var(--muted, #5b6b7c); display: flex; gap: 6px; align-items: baseline; }
.moq b { color: var(--navy); font-weight: 700; }
.fab .btn-sm { margin-top: auto; align-self: flex-start; padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.fab-body .btn-sm { margin-top: 10px; }
.fab-nav { position: sticky; top: 78px; z-index: 5; background: var(--cream); padding: 12px 0; margin: 0 0 6px; }
.fab-nav .chip small { opacity: .55; font-weight: 600; margin-left: 4px; }
.fab-nav .chip:hover { border-color: var(--navy); }
.fab-group { padding-top: 34px; scroll-margin-top: 140px; }
.fab-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.fab-head h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); letter-spacing: .01em; }
.fab-head span { color: var(--muted, #5b6b7c); font-size: 15px; }
.fab-head + .fab-grid { margin-top: 22px; }
.quote-form .hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted, #5b6b7c); font-weight: 500; }
@media (max-width: 1080px) { .fab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .fab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fab-body { padding: 12px 12px 14px; }
  .fab-body h3 { font-size: 14px; }
  .moq { font-size: 12.5px; }
  .fab-nav { top: 64px; overflow-x: auto; flex-wrap: nowrap; }
  .fab-nav .chip { white-space: nowrap; }
  .fab .btn-sm { align-self: stretch; text-align: center; justify-content: center; padding: 9px 6px; font-size: 13px; white-space: nowrap; }
}

/* ---------------------------------------------------------------- denim */
.den-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.den-strip figure { margin: 0; }
.den-strip img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 10px; background: #1d2a3a; }
.den-strip figcaption { font-size: 12.5px; font-weight: 600; color: var(--navy); margin-top: 6px; text-align: center; line-height: 1.25; }
.den-example { font-weight: 700; color: var(--navy); margin: 22px 0 10px; letter-spacing: .02em; }
.den-home .lead { margin-top: 10px; }
.den-cover { border-radius: 22px var(--curve) 22px 22px; overflow: hidden; aspect-ratio: 21 / 8; margin-bottom: 34px; background: #1d2a3a; }
.den-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.den-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.den { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; scroll-margin-top: 110px; }
.den:target { outline: 3px solid var(--gold); outline-offset: 2px; }
.den-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.den-head h3 { font-size: 19px; color: var(--navy); letter-spacing: .02em; margin-bottom: 4px; }
.den .btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; white-space: nowrap; }
@media (max-width: 900px) { .den-grid { grid-template-columns: 1fr; } .den-cover { aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .den { padding: 14px; } .den-strip { gap: 6px; } .den-strip figcaption { font-size: 11px; } .den-head h3 { font-size: 17px; } }

.den-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.den-raw { margin: 0; }
.den-raw img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 14px; background: #1d2a3a; }
.den-raw figcaption { margin-top: 8px; font-weight: 700; color: var(--navy); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.den-tag { background: var(--gold); color: var(--navy-deep); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.den-wash { background: var(--cream); border-radius: 14px; padding: 12px; }
.den-wash-t { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.den-wash .den-strip { grid-template-columns: 1fr; gap: 10px; }
.den-wash figure { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
.den-wash .den-strip img { border-radius: 8px; }
.den-wash figcaption { margin: 0; text-align: left; font-size: 13px; }
.den-home .den-body { max-width: 520px; }
@media (max-width: 520px) {
  .den-body { grid-template-columns: 1fr; }
  .den-wash .den-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .den-wash figure { display: block; }
  .den-wash figcaption { text-align: center; margin-top: 6px; font-size: 11.5px; }
}

.den-raw-grid .fab-ph { aspect-ratio: 1 / 1; position: relative; }
.den-raw-grid .fab-ph img { height: 100%; }
.den-tag-on { position: absolute; left: 10px; bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }

/* ---------------------------------------------------------------- fabric categories */
.fc-grid .fab-ph { aspect-ratio: 1 / 1; }
.fc-grid .fab-ph img { height: 100%; }
.fc-tile .moq { font-weight: 600; }

/* ---------------------------------------------------------------- home: one line per fabric category */
.fr-list { margin-top: 30px; border-top: 1px solid var(--line); }
.fr-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fr-name { display: flex; flex-direction: column; gap: 3px; color: var(--navy); }
.fr-name b { font-family: "Instrument Sans", sans-serif; font-size: 17px; font-weight: 600; line-height: 1.2; }
.fr-name span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fr-name:hover b { text-decoration: underline; text-underline-offset: 3px; }
.fr-strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.fr-sw { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #ece9e3; }
.fr-sw img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.fr-sw:hover img { transform: scale(1.06); }
@media (max-width: 700px) {
  .fr-row { grid-template-columns: 1fr; gap: 10px; padding: 14px 0; }
  .fr-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; scrollbar-width: none; }
  .fr-strip::-webkit-scrollbar { display: none; }
  .fr-sw { flex: 0 0 84px; scroll-snap-align: start; }
}

/* home denim: text + product card; services: routing / gallery under their service */
.den-home { align-items: center; }
.den-home-card { padding: 18px; }
.den-home-card .den-example { margin: 0 0 12px; }
.svc-extra { padding: 8px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.svc-extra .h-md { font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); margin-bottom: 20px; }
.svc-extra .gallery { margin-top: 10px; }

/* ---------------------------------------------------------------- accessories */
.acc-grid .fab-ph { background: #fff; }
.acc-sub { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.acc-type { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.acc-type b { color: var(--navy); font-weight: 700; }
.acc-desc { font-size: 13px; line-height: 1.45; color: var(--text); }
.nav-links { gap: 22px; }
@media (max-width: 1240px) { .nav-links { gap: 16px; font-size: 14px; } }

.fr-denim { max-width: 620px; margin-top: 28px; }

.fr-acc { background: #fff; border: 1px solid var(--line); }

.fab-desc { max-width: 860px; margin: 22px 0 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; }
.fab-desc p { margin: 0 0 12px; line-height: 1.65; }
.fab-desc h3 { font-size: 18px; color: var(--navy); margin: 14px 0 10px; }
.fab-desc ul { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.6; }
.fab-desc b { color: var(--navy); }

/* ---------------------------------------------------------------- ODM */
.odm-grid .fab-ph { aspect-ratio: 1 / 1; background: #f1f1f1; }
.odm-grid .fab-ph img { height: 100%; object-fit: cover; }
.odm-thumbs { display: flex; gap: 6px; padding: 10px 14px 0; flex-wrap: wrap; }
.odm-th { width: 46px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #f1f1f1; }
.odm-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.odm-th.on { border-color: var(--navy); }
@media (max-width: 700px) { .odm-th { width: 38px; height: 38px; } .odm-thumbs { padding: 8px 10px 0; } }

/* OEM - FOB / Fashion Design form: the form plus a side offer */
.q-layout.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.q-aside { background: var(--navy); color: #fff; border-radius: 0 var(--curve) 0 0; padding: 34px 30px; position: sticky; top: 100px; }
.q-aside h3 { color: #fff; font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.q-aside p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.q-aside .btn { background: #fff; color: var(--navy); border-color: #fff; }
@media (max-width: 980px) { .q-layout.with-aside { grid-template-columns: 1fr; } .q-aside { position: static; } }

/* Home: OEM - FOB block, wide PEB export map on top (as in the company profile) */
.oem-banner { aspect-ratio: 11 / 4; overflow: hidden; }
.oem-banner img { width: 100%; height: 100%; object-fit: cover; }
.oem-split { margin-top: 38px; align-items: start; }
@media (max-width: 760px) { .oem-banner { aspect-ratio: 16 / 9; } .oem-split { margin-top: 24px; gap: 18px; } }

/* Fashion Design: AI note, what-we-create grid, button rows */
.ai-note { background: #fff7e6; border: 1px solid #f5d48a; border-left: 4px solid #f5b133; border-radius: 10px; padding: 14px 18px; margin-top: 22px; }
.ai-note b { color: var(--navy); display: block; margin-bottom: 4px; }
.ai-note p { margin: 0; font-size: 15px; }
.quote-form .ai-note { margin: 22px 0 0; }
.fd-make { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .fd-make { grid-template-columns: 1fr; } }
.fd-make .division, .fd-make .division:first-child { background: #fff; border: 1px solid var(--line); border-radius: 0 28px 0 0; padding: 24px 26px; }
.fd-make .division h3 { font-size: 22px; }

/* ================= Header menus (dropdowns) ================= */
.nav-links { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; gap: 1px; }
.nav-links .nav-top { padding: 8px 0; }
.nav-caret { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--navy); opacity: .55; line-height: 0; }
.nav-caret::before { content: ""; display: block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-item:hover .nav-caret, .nav-item.open .nav-caret { opacity: 1; }
.nav-item.open .nav-caret::before { transform: translateY(1px) rotate(225deg); }
.nav-drop { position: absolute; top: calc(100% + 12px); left: -18px; min-width: 270px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 0 26px 16px 16px; box-shadow: 0 24px 54px rgba(19, 63, 107, .16);
  padding: 12px; display: grid; gap: 2px; align-content: start;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover > .nav-drop, .nav-item:focus-within > .nav-drop, .nav-item.open > .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-links .nav-drop a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); opacity: 1; box-shadow: none; white-space: nowrap; }
.nav-links .nav-drop a:hover { background: var(--cream); }
.nav-links .nav-drop a.nd-rich { white-space: normal; padding: 10px 12px; }
.nd-rich b { display: block; font-family: "Instrument Sans", sans-serif; font-weight: 700; font-size: 15px; }
.nd-rich small { display: block; font-weight: 400; font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.nd-h { display: block; font-family: "Instrument Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.nav-links .nav-drop a.nd-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 10px; font-size: 13.5px; color: var(--navy); }
.nd-col { display: grid; gap: 1px; align-content: start; min-width: 0; }
.nd-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 6px; }
.nd-sub { display: grid; gap: 0; padding-left: 10px; margin-left: 12px; border-left: 2px solid var(--line); }
.nav-links .nd-sub a { padding: 6px 10px; font-size: 14px; }
@media (min-width: 901px) {
  .nav-drop.mega { left: 50%; transform: translate(-50%, 8px); grid-template-columns: repeat(2, minmax(250px, 1fr)); gap: 4px 18px; padding: 16px; }
  .nav-item:hover > .nav-drop.mega, .nav-item:focus-within > .nav-drop.mega, .nav-item.open > .nav-drop.mega { transform: translate(-50%, 0); }
  .nav-drop.mega-fabric { grid-template-columns: minmax(170px, 1fr) minmax(210px, 1.2fr) minmax(330px, 2fr); width: max-content; max-width: 94vw; }
}
@media (max-width: 900px) {
  .nav-links { align-items: stretch; gap: 0; max-height: calc(100vh - 78px); overflow-y: auto; padding: 8px 22px 22px; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-links .nav-top { flex: 1; padding: 14px 0; font-size: 16px; opacity: 1; }
  .nav-links .nav-top[aria-current] { box-shadow: none; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
  .nav-caret { padding: 14px 8px; opacity: .8; }
  .nav-drop, .nav-drop.mega { position: static; display: none; width: 100%; min-width: 0; max-width: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 12px; grid-template-columns: 1fr; }
  .nav-drop::before { display: none; }
  .nav-item.open > .nav-drop { display: grid; }
  .nav-item:hover > .nav-drop:not(.x), .nav-item:focus-within > .nav-drop { transform: none; }
  .nav-links .nav-drop a { white-space: normal; }
  .nav-login { padding: 16px 0 4px; font-weight: 700; }
}

/* ================= Footer ================= */
footer .foot-grid2 { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; align-items: start; }
.foot-about { display: grid; justify-items: start; gap: 14px; }
.foot-about .foot-note { margin-top: 0; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col h4 { color: #fff; font-family: "Instrument Sans", sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.foot-col a { color: rgba(255,255,255,.78); font-size: 14.5px; }
.foot-col a:hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.7); }
.foot-legal b { color: #fff; }
.foot-legal-t { color: var(--gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
footer .wrap.foot-bottom { margin-top: 14px; border-top: 0; padding-top: 0; }
@media (max-width: 1080px) { footer .foot-grid2 { grid-template-columns: repeat(2, 1fr); } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { footer .foot-grid2 { grid-template-columns: 1fr; } .foot-legal { flex-direction: column; } }

/* ================= Forms on service pages ================= */
.form-title { margin-bottom: 22px; }
.c-aside .c-item { display: grid; gap: 4px; margin-bottom: 18px; }
.c-aside .c-item span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.c-aside .c-item b, .c-aside .c-item a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.aside-list { margin: 0 0 22px; padding-left: 18px; display: grid; gap: 10px; color: rgba(255,255,255,.88); }
.q-aside .btn-outline-light { background: transparent; color: #fff; }
.quote-form select optgroup { font-weight: 700; }
.lm-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lm-photos figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 0 28px 0 0; background: #fff; }
.lm-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .lm-photos { grid-template-columns: repeat(2, 1fr); } }
.wash-pick { display: flex; flex-direction: column; align-items: center; border-radius: 18px; padding: 0 0 14px; transition: background .2s, box-shadow .2s; }
.wash-pick p { flex: 1; padding: 0 8px; }
.wash-pick .btn { margin-top: 10px; }
.wash-pick.picked { background: #fff; box-shadow: 0 0 0 3px var(--gold); }
.wash-pick.picked .btn { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }

/* ================= About ================= */
.ab-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.ab-step { background: #fff; border: 1px solid var(--line); border-radius: 0 26px 0 0; padding: 22px 22px 20px; position: relative; }
.ab-step span { font-family: "Instrument Sans", sans-serif; font-weight: 700; color: var(--gold); font-size: 14px; }
.ab-step h3 { font-size: 21px; margin: 6px 0 6px; color: var(--navy); }
.ab-step p { font-size: 14.5px; color: var(--muted); margin: 0; }
.what-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.what-card { display: grid; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 0 26px 0 0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.what-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(19,63,107,.12); }
.what-card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.what-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.what-card h3 { font-size: 19px; color: var(--navy); padding: 16px 18px 4px; }
.what-card p { font-size: 14px; color: var(--muted); padding: 0 18px 18px; margin: 0; }
.legal-ents { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.legal-ent { background: #fff; border: 1px solid var(--line); border-radius: 0 30px 0 0; padding: 26px 28px; }
.legal-ent h3 { font-size: 22px; color: var(--navy); }
.legal-ent .role { display: inline-block; margin: 6px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.legal-ent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal-ent li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 10px; }
.legal-ent li span { color: var(--muted); }
.legal-ent li b { color: var(--navy); overflow-wrap: anywhere; }
@media (max-width: 1080px) { .what-grid { grid-template-columns: repeat(2, 1fr); } .ab-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .legal-ents { grid-template-columns: 1fr; } .legal-ent li { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 520px) { .what-grid, .ab-flow { grid-template-columns: 1fr; } }
.f-grid { align-items: start; }
footer .wrap.foot-legal { justify-content: flex-start; }
.badge-text { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.badge-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 420px) { .badge-row-3 { grid-template-columns: repeat(2, 1fr); } }
.badge-row > .badge { min-width: 0; }
.ship-marquee { --gap: 10px; --speed: 38s; padding: 2px 0; }
.ship-logo { flex: none; width: 128px; aspect-ratio: 2 / 1; background: var(--cream); border-radius: 12px; display: grid; place-items: center; padding: 4px 6px; }
.ship-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) { .ship-marquee { --speed: 30s; } .ship-logo { width: 110px; } }
.access-grid > *, .badges, .badge-group { min-width: 0; } .ship-marquee { max-width: 100%; }
.login-usp { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 12px 0 22px; max-width: 560px; }
.legal-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; }

/* Home: moving product showcase (denim first, then one card per fabric category) */
.showcase { position: relative; margin-top: 28px; }
.sc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; }
.sc-track::-webkit-scrollbar { display: none; }
.sc-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 0 26px 16px 16px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; transition: transform .2s, box-shadow .2s; }
.sc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(19,63,107,.12); }
.sc-ph { position: relative; aspect-ratio: 1; overflow: hidden; background: #eee; }
.sc-ph > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-wash { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-wash img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.sc-body { padding: 14px 16px 16px; display: grid; gap: 3px; }
.sc-body b { color: var(--navy); font-family: "Instrument Sans", sans-serif; font-size: 16.5px; }
.sc-body span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.sc-nav { position: absolute; top: 38%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(19,63,107,.15); }
.sc-prev { left: -14px; } .sc-next { right: -14px; }
@media (max-width: 1100px) { .sc-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 800px) { .sc-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .sc-track { grid-auto-columns: 86%; gap: 14px; } .sc-nav { display: none; } }
/* Home access: the login card keeps its own height and stays in view beside the taller partner column */
.access-grid { align-items: start; }
@media (min-width: 901px) { .access-grid > .login-card { position: sticky; top: 100px; } }
