/* ============================================================
   CURATED COLLECTIONS — additive homepage module
   The original homepage and 13-sector portfolio remain primary.
   ============================================================ */

.commerce-section { padding:96px 0; }

.commerce-heading { max-width:820px; margin-bottom:52px; }
.commerce-heading .section-heading { margin-bottom:16px; }
.commerce-heading > p,
.commerce-heading--split > p {
  max-width:600px;
  color:var(--clr-text-secondary);
  font-size:17px;
  line-height:1.75;
}
.commerce-heading--split {
  max-width:none;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  align-items:end;
  gap:64px;
}
.commerce-heading--split .section-heading { max-width:760px; margin-bottom:0; }
.commerce-heading--light > p,
.commerce-heading--light.commerce-heading--split > p { color:rgba(255,255,255,.68); }

/* Hero */
.hero--commerce { min-height:100svh; justify-content:flex-start; }
.hero--commerce .hero-overlay {
  background:rgba(9,9,10,.58);
  border-right:1px solid rgba(255,255,255,.08);
}
.hero--commerce .hero-grid { opacity:.48; }
.hero--commerce .hero-content {
  width:100%;
  text-align:left;
  padding-top:calc(var(--header-h) + 82px);
  padding-bottom:88px;
}
.hero-commerce-copy { max-width:900px; }
.hero-commerce-kicker {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 14px;
  margin-bottom:28px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  color:rgba(255,255,255,.82);
  font-family:var(--ff-display);
  font-size:11px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  animation:commerceReveal .7s var(--ease-out-expo) both .2s;
}
.hero-commerce-title {
  max-width:1000px;
  color:#fff;
  font-family:var(--ff-display);
  font-size:clamp(54px,7.5vw,104px);
  font-weight:900;
  letter-spacing:-.055em;
  line-height:.93;
  text-wrap:balance;
  animation:commerceReveal .8s var(--ease-out-expo) both .32s;
}
.hero-commerce-title span { color:var(--clr-red-light); }
.hero-commerce-sub {
  max-width:720px;
  margin-top:30px;
  color:rgba(255,255,255,.78);
  font-size:clamp(17px,2vw,21px);
  line-height:1.65;
  animation:commerceReveal .8s var(--ease-out-expo) both .44s;
}
.hero--commerce .hero-actions {
  justify-content:flex-start;
  margin-top:36px;
  opacity:1;
  animation:commerceReveal .8s var(--ease-out-expo) both .56s;
}
.hero-commerce-meta {
  display:flex;
  flex-wrap:wrap;
  gap:14px 30px;
  margin-top:38px;
  color:rgba(255,255,255,.64);
  font-size:13px;
  font-weight:500;
  animation:commerceReveal .8s var(--ease-out-expo) both .66s;
}
.hero-commerce-meta li { display:flex; align-items:center; gap:10px; }
.hero-commerce-meta li::before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--clr-red-light);
}
@keyframes commerceReveal { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

/* Trust strip */
.commerce-trust { background:var(--clr-dark); color:#fff; border-bottom:1px solid rgba(255,255,255,.08); }
.commerce-trust__inner { min-height:124px; display:grid; grid-template-columns:280px 1fr; align-items:stretch; }
.commerce-trust__intro {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-right:34px;
  border-right:1px solid rgba(255,255,255,.12);
}
.commerce-trust__intro span { margin-bottom:6px; color:var(--clr-red-light); font-size:11px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.commerce-trust__intro strong { max-width:220px; font-family:var(--ff-display); font-size:17px; line-height:1.35; }
.commerce-trust__items { display:grid; grid-template-columns:repeat(4,1fr); }
.commerce-trust__items li {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding:24px 30px;
  border-right:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.35;
}
.commerce-trust__items li:last-child { border-right:0; }
.commerce-trust__items span { color:rgba(255,255,255,.34); font-family:var(--ff-display); font-size:10px; font-weight:700; letter-spacing:.16em; }

/* Product paths */
.commerce-products { background:#fff; }
.product-paths-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.product-path {
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(0,0,0,.055);
  border-radius:18px;
  transition:transform .3s var(--ease-out-expo),border-color .3s,background-color .3s;
}
.product-path:hover,.product-path:focus-visible { transform:translateY(-5px); border-color:rgba(204,31,43,.36); box-shadow:0 16px 36px rgba(30,24,24,.08); }
.product-path img {
  order:1;
  flex:0 0 clamp(170px,15vw,220px);
  display:block;
  width:100%;
  height:clamp(170px,15vw,220px);
  padding:8px 8px 2px;
  object-fit:contain;
  background:#f6f5f3;
  transition:transform .45s var(--ease-out-expo);
}
.product-path:hover img { transform:scale(1.045) translateY(-3px); }
.product-path__copy { order:2; flex:0 0 126px; height:126px; max-height:126px; display:flex; flex-direction:column; overflow:hidden; padding:10px 13px 11px; }
.product-path__copy > span { display:block; margin-bottom:4px; color:var(--clr-red); font-size:10px; font-weight:800; letter-spacing:.16em; }
.product-path h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin-bottom:4px; font-family:var(--ff-display); font-size:clamp(17px,1.35vw,21px); letter-spacing:-.03em; line-height:1.05; }
.product-path p { min-height:28px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:var(--clr-text-secondary); font-size:12px; line-height:1.35; }
.product-path small { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:6px; border-top:1px solid var(--clr-line); color:#888; font-size:11px; }
.product-path small b { color:var(--clr-red); font-size:16px; font-weight:400; }
.commerce-products__footer { display:flex; justify-content:flex-end; margin-top:24px; }

/* Collections */
.commerce-collections { background:#111; color:#fff; }
.commerce-collections .commerce-heading { margin-bottom:36px; }
.commerce-collections .commerce-heading > p { color:rgba(255,255,255,.62); }
.collection-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}
.collection-tab {
  min-height:44px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  color:rgba(255,255,255,.62);
  font-size:13px;
  font-weight:600;
  transition:background-color .25s,color .25s,border-color .25s;
}
.collection-tab:hover { border-color:rgba(255,255,255,.4); color:#fff; }
.collection-tab.is-active { background:var(--clr-red); border-color:var(--clr-red); color:#fff; }
.collection-panel {
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(340px,.58fr);
  min-height:540px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  background:#191919;
}
.collection-panel[hidden] { display:none; }
.collection-panel__visual { position:relative; min-height:540px; overflow:hidden; background:#0d0d0d; }
.collection-panel__visual img { width:100%; height:100%; object-fit:cover; }
.collection-panel__visual--pacific { background:#f7f7f7; }
.collection-panel__visual--pacific img { object-fit:contain; background:#f7f7f7; }
.collection-panel__visual--campaign img { object-fit:contain; background:#f1efed; }
.collection-panel__visual--executive img { object-fit:contain; background:#f6f5f3; }
.collection-panel__visual--eco img { object-position:center; }
.collection-visual-label {
  position:absolute;
  left:24px;
  bottom:24px;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(17,17,17,.86);
  color:rgba(255,255,255,.78);
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.collection-panel__copy { display:flex; flex-direction:column; justify-content:center; padding:46px 42px; }
.collection-number { margin-bottom:18px; color:var(--clr-red-light); font-size:10px; font-weight:800; letter-spacing:.17em; text-transform:uppercase; }
.collection-panel h3 { margin-bottom:18px; font-family:var(--ff-display); font-size:clamp(34px,4vw,54px); letter-spacing:-.04em; line-height:1; }
.collection-panel__copy > p { color:rgba(255,255,255,.66); font-size:15px; line-height:1.7; }
.collection-features { display:flex; flex-wrap:wrap; gap:8px; margin:25px 0; }
.collection-features li { padding:7px 11px; border:1px solid rgba(255,255,255,.15); border-radius:999px; color:rgba(255,255,255,.72); font-size:11px; }
.collection-thumbs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:28px; }
.collection-thumbs img { display:block; width:100%; min-width:0; height:auto; aspect-ratio:1; object-fit:contain; padding:5px; border-radius:9px; background:#f6f5f3; }
.collection-panel__copy .btn { align-self:flex-start; }
.collection-cta { width:100%; justify-content:center; white-space:normal; text-align:center; line-height:1.25; }

/* Featured work */
.commerce-work { background:#f7f6f4; }
.featured-work-grid { display:grid; grid-template-columns:1.3fr .7fr; grid-template-rows:repeat(2,310px); gap:18px; }
.featured-case { position:relative; overflow:hidden; border-radius:18px; background:var(--clr-dark); color:#fff; }
.featured-case--hero { grid-row:1 / span 2; }
.featured-case > img { width:100%; height:100%; object-fit:cover; filter:saturate(.9) contrast(.98); transition:transform .55s var(--ease-out-expo),filter .35s; }
.featured-case::after { content:""; position:absolute; inset:58% 0 0; background:linear-gradient(180deg,rgba(10,10,10,0),rgba(10,10,10,.8)); }
.featured-case--hero::after { inset:64% 0 0; }
.featured-case:hover > img,.featured-case:focus-visible > img { transform:scale(1.025); }
.featured-case:hover > img,.featured-case:focus-visible > img { filter:saturate(1) contrast(1); }
.featured-case__overlay { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:22px 24px; }
.featured-case__overlay span { display:block; margin-bottom:10px; color:rgba(255,255,255,.64); font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.featured-case h3 { max-width:520px; font-family:var(--ff-display); font-size:clamp(21px,2.35vw,34px); letter-spacing:-.035em; line-height:1.02; }
.featured-case--hero h3 { font-size:clamp(26px,3.1vw,44px); }
.featured-case p { margin-top:10px; color:rgba(255,255,255,.7); font-size:14px; }
.commerce-work__footer { display:flex; justify-content:flex-end; margin-top:24px; }
.commerce-text-link { display:inline-flex; align-items:center; gap:9px; color:var(--clr-red); font-family:var(--ff-display); font-size:14px; font-weight:700; }
.commerce-text-link span { transition:transform .2s; }
.commerce-text-link:hover span { transform:translateX(4px); }

/* Process */
.commerce-process { background:var(--clr-dark); color:#fff; }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; overflow:hidden; border:1px solid rgba(255,255,255,.13); border-radius:20px; background:rgba(255,255,255,.13); }
.process-step { min-width:0; background:#181818; }
.process-step > img { width:100%; aspect-ratio:4/3; object-fit:cover; filter:saturate(.76); }
.process-step > div { padding:26px 24px 30px; }
.process-step span { display:block; margin-bottom:24px; color:var(--clr-red-light); font-size:10px; font-weight:800; letter-spacing:.15em; }
.process-step h3 { margin-bottom:10px; font-family:var(--ff-display); font-size:21px; }
.process-step p { color:rgba(255,255,255,.6); font-size:13px; line-height:1.65; }

/* Proof */
.commerce-proof { background:#fff; }
.commerce-proof__layout { display:grid; grid-template-columns:.7fr 1.3fr; gap:80px; align-items:center; }
.commerce-proof__copy .section-heading { max-width:440px; }
.commerce-proof__copy > p { max-width:480px; margin:0 0 28px; color:var(--clr-text-secondary); font-size:16px; line-height:1.75; }
.commerce-proof__marks { border:1px solid var(--clr-line); border-radius:20px; overflow:hidden; }
.commerce-proof__group { padding:28px 30px; }
.commerce-proof__group + .commerce-proof__group { border-top:1px solid var(--clr-line); }
.commerce-proof__group > span { display:block; margin-bottom:22px; color:#999; font-size:9px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.commerce-logo-row,.commerce-cert-row { display:flex; flex-wrap:wrap; align-items:center; gap:26px; }
.commerce-logo-row img { width:auto; max-width:105px; height:38px; object-fit:contain; filter:grayscale(1); opacity:.72; }
.commerce-cert-row img { width:auto; height:54px; object-fit:contain; filter:grayscale(1); opacity:.72; }

@media(max-width:1180px) {
  .header-cta .btn--outline { display:none; }
  .header-cta .btn { padding-left:14px; padding-right:14px; }
}

@media(max-width:1100px) {
  .commerce-trust__inner { grid-template-columns:230px 1fr; }
  .commerce-trust__items li { padding:22px 18px; }
  .collection-panel { grid-template-columns:1.18fr .82fr; }
  .collection-panel__copy { padding:38px 30px; }
  .header-inner { gap:18px; }
  .primary-nav ul { gap:0; }
  .primary-nav .nav-link { padding:6px 7px; font-size:12px; }
  .product-paths-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media(max-width:900px) {
  .commerce-section { padding:84px 0; }
  .commerce-heading--split { grid-template-columns:1fr; gap:20px; }
  .commerce-trust__inner { grid-template-columns:1fr; }
  .commerce-trust__intro { padding:25px 0; border-right:0; border-bottom:1px solid rgba(255,255,255,.12); }
  .commerce-trust__intro strong { max-width:none; }
  .commerce-trust__items { grid-template-columns:repeat(2,1fr); }
  .commerce-trust__items li:nth-child(2) { border-right:0; }
  .commerce-trust__items li:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.08); }
  .product-paths-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .collection-panel { grid-template-columns:1fr; }
  .collection-panel__visual { min-height:500px; }
  .collection-panel__copy { padding:42px; }
  .featured-work-grid { grid-template-columns:1fr 1fr; grid-template-rows:520px 290px; }
  .featured-case--hero { grid-column:1 / -1; grid-row:auto; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .commerce-proof__layout { grid-template-columns:1fr; gap:44px; }
}

@media(max-width:640px) {
  .commerce-section { padding:68px 0; }
  .hero--commerce { min-height:780px; }
  .hero--commerce .hero-content { padding-top:calc(var(--header-h) + 70px); padding-bottom:70px; }
  .hero-commerce-kicker { max-width:100%; font-size:9px; }
  .hero-commerce-title { font-size:clamp(43px,13vw,62px); line-height:.96; }
  .hero-commerce-title br { display:none; }
  .hero-commerce-sub { font-size:16px; line-height:1.6; }
  .hero--commerce .hero-actions { align-items:stretch; }
  .hero--commerce .hero-actions .btn { width:100%; justify-content:center; }
  .hero-commerce-meta { display:grid; grid-template-columns:1fr; gap:8px; }
  .commerce-trust__items { grid-template-columns:1fr; }
  .commerce-trust__items li { border-right:0; border-bottom:1px solid rgba(255,255,255,.08); }
  .commerce-trust__items li:last-child { border-bottom:0; }
  .product-paths-grid { grid-template-columns:1fr; }
  .product-path img { flex-basis:220px; height:220px; }
  .product-path__copy { flex-basis:136px; height:136px; max-height:136px; padding:10px 15px 12px; }
  .product-path p { min-height:0; }
  .collection-tabs { display:grid; grid-template-columns:1fr; }
  .collection-tab { width:100%; }
  .collection-panel { min-height:0; border-radius:16px; }
  .collection-panel__visual { min-height:330px; }
  .collection-panel__copy { padding:30px 24px 34px; }
  .collection-panel h3 { font-size:34px; }
  .collection-thumbs { gap:5px; }
  .featured-work-grid { display:grid; grid-template-columns:1fr; grid-template-rows:none; }
  .featured-case,.featured-case--hero { min-height:360px; grid-column:auto; grid-row:auto; }
  .featured-case--hero { min-height:440px; }
  .featured-case__overlay { padding:24px; }
  .process-grid { grid-template-columns:1fr; }
  .process-step { display:grid; grid-template-columns:126px 1fr; }
  .process-step > img { height:100%; aspect-ratio:auto; }
  .process-step > div { padding:22px 18px; }
  .process-step span { margin-bottom:14px; }
  .commerce-proof__group { padding:24px 20px; }
  .commerce-logo-row,.commerce-cert-row { gap:20px; }
  .commerce-logo-row img { max-width:82px; height:32px; }
}
#collections .collection-tabs .collection-tab {
  background: #CC1F2B;
  border-color: #CC1F2B;
  color: #fff;
}
#collections .collection-tabs .collection-tab.is-active {
  background: #000;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}