.brands-page {
  --brand-accent:#139b98;
  --brand-ink:#172120;
  --brand-muted:#687371;
  --brand-line:#e7edeb;
  --brand-soft:#f5f8f7;
  color:var(--brand-ink);
}
.brands-page .topbar .brand,
.brands-page .topbar .nav { position:relative; z-index:1; }
.brands-page .topbar .nav a { transition:color .18s ease; }
.brands-page .topbar .nav a[href$="/brands.jsp"] {
  color:var(--brand-accent);
  background:transparent;
}
.brands-page .topbar .homecheck {
  background:var(--brand-accent);
  box-shadow:0 7px 18px rgba(19,155,152,.18);
}
.brands-page .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.brands-hero { position:relative; min-height:650px; display:flex; align-items:center; overflow:hidden; background:linear-gradient(135deg,#f8fbfa 0%,#fff 48%,#f3f8f7 100%); }
.brands-hero::before { content:""; position:absolute; inset:0; opacity:.4; background-image:linear-gradient(rgba(19,155,152,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(19,155,152,.08) 1px,transparent 1px); background-size:72px 72px; mask-image:linear-gradient(to right,transparent 0,#000 45%,#000 100%); }
.brands-hero-grid { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(390px,.85fr); align-items:center; gap:5vw; padding:118px 0 76px; }
.brands-hero-copy { position:relative; z-index:2; }
.brands-eyebrow,.section-index { display:flex; align-items:center; gap:10px; color:var(--brand-accent); font-size:11px; font-weight:850; letter-spacing:.17em; }
.brands-eyebrow::before { content:""; width:28px; height:1px; background:currentColor; }
.brands-hero h1 { max-width:720px; margin:18px 0 20px; font-size:clamp(38px,5vw,70px); line-height:1.18; letter-spacing:.045em; }
.brands-hero-copy p { max-width:590px; margin:0; color:var(--brand-muted); font-size:15px; line-height:2; }
.brands-hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:30px; }
.brands-page .btn.primary { background:var(--brand-ink); color:#fff; }
.brands-page .btn.ghost { color:var(--brand-ink); border-color:var(--brand-line); background:rgba(255,255,255,.76); }
.brands-page .btn:focus-visible,.filter-button:focus-visible,.brand-link:focus-visible,.text-link:focus-visible { outline:3px solid rgba(19,155,152,.24); outline-offset:3px; }

.brands-hero-art { position:relative; min-height:470px; }
.hero-orbit { position:absolute; border:1px solid rgba(19,155,152,.22); border-radius:50%; }
.orbit-one { width:430px; height:430px; right:-15px; top:18px; }
.orbit-two { width:300px; height:300px; right:50px; top:83px; border-color:rgba(244,167,185,.38); }
.hero-word { position:absolute; display:grid; place-items:center; color:var(--brand-ink); border:1px solid rgba(255,255,255,.52); border-radius:50%; box-shadow:inset 12px 14px 25px rgba(255,255,255,.25),inset -16px -20px 30px rgba(38,88,84,.05),0 23px 48px rgba(28,72,69,.09),0 5px 13px rgba(28,72,69,.05); font-weight:900; letter-spacing:.12em; backdrop-filter:blur(8px) saturate(1.12); -webkit-backdrop-filter:blur(8px) saturate(1.12); transform-style:preserve-3d; transform-origin:center; will-change:transform; isolation:isolate; }
.hero-word::before { content:""; position:absolute; z-index:-1; top:11%; left:18%; width:34%; height:22%; border-radius:50%; background:radial-gradient(ellipse,rgba(255,255,255,.92) 0%,rgba(255,255,255,.50) 45%,rgba(255,255,255,0) 75%); transform:rotate(-28deg); filter:blur(.3px); }
.hero-word::after { content:""; position:absolute; z-index:-1; right:15%; bottom:13%; width:22%; height:14%; border-radius:50%; background:radial-gradient(ellipse,rgba(255,255,255,.45),rgba(255,255,255,0) 72%); transform:rotate(-24deg); }
.word-one { width:185px; height:185px; top:10px; left:20px; font-size:21px; background:radial-gradient(circle,rgba(255,255,255,.09) 0 1px,transparent 1.7px) 0 0/11px 11px,radial-gradient(circle at 31% 25%,rgba(255,255,255,.34),rgba(255,255,255,.13) 29%,rgba(213,243,240,.12) 66%,rgba(108,195,188,.10) 100%); }
.word-two { width:150px; height:150px; right:8px; bottom:30px; color:#96435b; font-size:18px; background:radial-gradient(circle,rgba(255,255,255,.09) 0 1px,transparent 1.7px) 0 0/11px 11px,radial-gradient(circle at 31% 25%,rgba(255,255,255,.34),rgba(255,225,235,.15) 30%,rgba(244,167,185,.12) 68%,rgba(204,105,134,.09) 100%); border-color:rgba(255,225,234,.48); }
.word-three { width:112px; height:112px; left:75px; bottom:28px; color:#087572; font-size:15px; background:radial-gradient(circle,rgba(255,255,255,.09) 0 1px,transparent 1.7px) 0 0/10px 10px,radial-gradient(circle at 31% 25%,rgba(255,255,255,.34),rgba(207,245,241,.15) 30%,rgba(97,203,197,.11) 68%,rgba(19,155,152,.08) 100%); border-color:rgba(213,248,246,.48); }
.word-four { width:140px; height:140px; top:70px; right:18px; color:#806016; font-size:16px; background:radial-gradient(circle,rgba(255,255,255,.09) 0 1px,transparent 1.7px) 0 0/11px 11px,radial-gradient(circle at 31% 25%,rgba(255,255,255,.35),rgba(255,239,194,.16) 30%,rgba(232,196,99,.11) 68%,rgba(193,145,40,.08) 100%); border-color:rgba(255,240,198,.50); }
.hero-stamp { position:absolute; right:105px; top:175px; width:112px; height:112px; display:grid; place-items:center; color:#fff; background:rgba(19,155,152,.70); border:1px solid rgba(255,255,255,.64); border-radius:50%; text-align:center; font-size:11px; font-weight:900; line-height:1.55; letter-spacing:.16em; transform:rotate(8deg); box-shadow:0 15px 35px rgba(19,155,152,.16); backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); will-change:transform; }

.brands-intro,.brand-directory,.brands-shop,.brands-cta { padding:76px 0; }
.brands-intro { border-top:1px solid var(--brand-line); }
.brands-intro-grid,.brands-shop-grid { display:grid; grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr); gap:clamp(35px,8vw,120px); }
.brands-intro h2,.directory-heading h2,.brands-shop h2,.brands-cta h2 { margin:13px 0 0; font-size:clamp(25px,3vw,38px); line-height:1.4; letter-spacing:.04em; }
.brands-intro-copy>p { max-width:720px; margin:0; color:var(--brand-muted); font-size:14px; line-height:2.05; }
.trust-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:34px; border-top:1px solid var(--brand-line); border-bottom:1px solid var(--brand-line); }
.trust-points div { padding:23px 18px 23px 0; }
.trust-points div+div { padding-left:18px; border-left:1px solid var(--brand-line); }
.trust-points strong,.trust-points span { display:block; }
.trust-points strong { margin-bottom:5px; font-size:14px; }
.trust-points span { color:var(--brand-muted); line-height:1.6; }

.brand-directory { scroll-margin-top:60px; background:var(--brand-soft); border-top:1px solid var(--brand-line); border-bottom:1px solid var(--brand-line); }
.directory-heading { display:flex; align-items:end; justify-content:space-between; gap:28px; }
.directory-heading h2 { margin-top:10px; }
.directory-heading p { margin:5px 0 0; color:var(--brand-muted); }
.brand-search { width:min(340px,100%); height:48px; display:flex; align-items:center; gap:10px; padding:0 15px; background:#fff; border:1px solid var(--brand-line); border-radius:14px; transition:border-color .2s,box-shadow .2s; }
.brand-search:focus-within { border-color:var(--brand-accent); box-shadow:0 0 0 4px rgba(19,155,152,.10); }
.brand-search svg { width:19px; fill:none; stroke:var(--brand-muted); stroke-width:1.8; stroke-linecap:round; }
.brand-search input { min-width:0; width:100%; padding:0; color:var(--brand-ink); background:transparent; border:0; outline:0; font:inherit; }
.brand-search input::placeholder { color:#95a09e; }
.brand-filters { display:flex; gap:8px; flex-wrap:wrap; margin-top:32px; }
.filter-button { min-height:36px; padding:0 15px; color:#596563; background:#fff; border:1px solid var(--brand-line); border-radius:999px; cursor:pointer; font:inherit; font-weight:700; transition:color .18s,background .18s,border-color .18s; }
.filter-button:hover { border-color:#bdcfcc; }
.filter-button.is-active { color:#fff; background:var(--brand-ink); border-color:var(--brand-ink); }
.directory-meta { margin:24px 0 12px; color:var(--brand-muted); font-size:11px; }
.directory-meta span { color:var(--brand-ink); font-weight:850; }

.brand-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.brand-card { position:relative; min-height:430px; display:flex; flex-direction:column; overflow:hidden; padding:28px; background:#fff; border:1px solid var(--brand-line); border-radius:22px; transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,opacity .2s; }
.brand-card::before { content:""; position:absolute; top:-105px; right:-85px; width:250px; height:250px; border-radius:50%; background:var(--card-glow,#edf9f8); opacity:.7; }
.brand-card:hover { transform:translateY(-4px); border-color:#c8d8d5; box-shadow:0 20px 45px rgba(28,72,69,.08); }
.brand-card[hidden] { display:none; }
.brand-card-top { position:relative; z-index:1; display:flex; justify-content:space-between; color:var(--brand-muted); font-size:10px; font-weight:800; letter-spacing:.13em; }
.brand-number { color:#abb5b3; }
.brand-mark { position:relative; z-index:1; min-height:130px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.brand-mark strong { font-size:clamp(24px,3vw,39px); line-height:1; letter-spacing:.02em; }
.brand-mark span { margin-top:10px; color:var(--brand-muted); font-weight:650; letter-spacing:.08em; }
.brand-card-copy h3 { margin:0 0 9px; font-size:16px; }
.brand-card-copy p { min-height:70px; margin:0; color:var(--brand-muted); font-size:12px; line-height:1.9; }
.brand-tags { display:flex; flex-wrap:wrap; gap:6px; margin:20px 0; }
.brand-tags span { padding:4px 9px; color:#586462; background:var(--brand-soft); border-radius:999px; font-size:10px; }
.brand-link { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:17px; color:var(--brand-ink); border-top:1px solid var(--brand-line); font-weight:800; }
.brand-link span { color:var(--brand-accent); font-size:16px; transition:transform .18s; }
.brand-link:hover span { transform:translate(2px,-2px); }
.brand-q10 { --card-glow:#fff2d9; }.brand-grace { --card-glow:#f7e9ef; }.brand-banila { --card-glow:#fff0f2; }.brand-utena { --card-glow:#edf6e8; }.brand-treehut { --card-glow:#f2e8dc; }.brand-kohgendo { --card-glow:#eeeae5; }.brand-lumi { --card-glow:#ebe8f5; }.brand-fillimilli { --card-glow:#f3eaf8; }
.brand-q10 .brand-mark strong { color:#a74729; }.brand-grace .brand-mark strong { color:#a24a66; }.brand-banila .brand-mark strong { color:#e04269; }.brand-utena .brand-mark strong { color:#39764c; }.brand-treehut .brand-mark strong { color:#345b3d; }.brand-kohgendo .brand-mark strong { font-family:Georgia,serif; font-weight:500; }.brand-lumi .brand-mark strong { color:#403c68; letter-spacing:.08em; }.brand-fillimilli .brand-mark strong { color:#6d397e; }
.brand-empty { padding:70px 20px; text-align:center; background:#fff; border:1px dashed #cad5d3; border-radius:20px; }
.brand-empty strong { font-size:17px; }.brand-empty p { color:var(--brand-muted); }.brand-empty button { padding:9px 15px; color:#fff; background:var(--brand-ink); border:0; border-radius:10px; cursor:pointer; font:inherit; font-weight:750; }

.brands-shop { background:#fff; }
.brands-shop-grid { align-items:center; }
.brands-shop-grid p { max-width:620px; margin:0; color:var(--brand-muted); font-size:14px; line-height:2; }
.brands-shop-actions { display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-top:22px; }
.text-link { color:var(--brand-accent); font-weight:800; }
.brands-cta { padding-top:0; }
.brands-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:34px; padding:54px clamp(25px,6vw,70px); color:#fff; background:var(--brand-ink); border-radius:25px; }
.brands-cta-inner>div { max-width:730px; }
.brands-cta-inner span { color:#7dd2cf; font-size:10px; font-weight:850; letter-spacing:.17em; }
.brands-cta h2 { margin-top:10px; color:#fff; }
.brands-cta p { margin:9px 0 0; color:#b9c5c3; font-size:13px; }
.brands-cta .btn.primary { flex:0 0 auto; color:var(--brand-ink); background:#fff; }

@media (max-width:900px) {
  .brands-hero { min-height:590px; }
  .brands-hero-grid { grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr); }
  .brands-hero-art { min-height:390px; transform:scale(.82); transform-origin:center; }
  .trust-points { grid-template-columns:1fr; }
  .trust-points div+div { padding-left:0; border-top:1px solid var(--brand-line); border-left:0; }
  .brands-cta-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width:700px) {
  .brands-hero { min-height:auto; }
  .brands-hero-grid { grid-template-columns:1fr; padding:104px 0 48px; }
  .brands-hero-art { min-height:340px; margin-top:4px; transform:none; }
  .word-one { width:150px; height:150px; top:8px; left:2%; }
  .word-four { width:115px; height:115px; top:14px; right:3%; }
  .word-three { width:95px; height:95px; top:auto; bottom:14px; left:15%; }
  .word-two { width:125px; height:125px; top:auto; right:10%; bottom:8px; }
  .hero-stamp { width:96px; height:96px; top:122px; right:auto; left:50%; margin-left:-48px; }
  .brands-intro,.brand-directory,.brands-shop,.brands-cta { padding:54px 0; }
  .brands-intro-grid,.brands-shop-grid { grid-template-columns:1fr; gap:24px; }
  .directory-heading { align-items:flex-start; flex-direction:column; }
  .brand-search { width:100%; }
  .brand-grid { grid-template-columns:1fr; }
  .brand-card { min-height:400px; }
  .brands-cta { padding-top:0; }
}
@media (max-width:560px) {
  .brands-hero h1 { font-size:38px; }
  .brands-hero-copy p { font-size:13px; }
  .brands-hero-actions .btn { width:100%; }
  .brands-hero-art { min-height:300px; margin:4px 0 0; transform:none; }
  .word-one { width:120px; height:120px; top:8px; left:0; font-size:15px; }
  .word-four { width:96px; height:96px; top:2px; right:0; font-size:12px; }
  .word-three { width:82px; height:82px; top:auto; bottom:8px; left:16%; font-size:11px; }
  .word-two { width:106px; height:106px; top:auto; right:7%; bottom:2px; font-size:13px; }
  .hero-stamp { width:82px; height:82px; top:109px; right:auto; left:50%; margin-left:-41px; font-size:9px; }
  .brand-filters { flex-wrap:nowrap; margin-right:-4vw; padding-right:4vw; overflow-x:auto; scrollbar-width:none; }
  .brand-filters::-webkit-scrollbar { display:none; }
  .filter-button { flex:0 0 auto; }
  .brand-card { min-height:0; padding:23px; border-radius:18px; }
  .brand-card-copy p { min-height:0; }
  .brands-shop-actions { align-items:flex-start; flex-direction:column; }
  .brands-shop-actions .btn { width:100%; }
  .brands-cta-inner { border-radius:19px; }
  .brands-cta .btn { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .brand-card,.brand-link span { transition:none; }
  .hero-word,.hero-stamp { transform:none !important; will-change:auto; }
  .hero-stamp { transform:rotate(8deg) !important; }
}
