/* Targeted layout refinement of the existing BUBBLEMON dark brand language.
   Native CSS, supplied photography, no site header or footer.
   DESIGN_VARIANCE: 6; MOTION_INTENSITY: 3; VISUAL_DENSITY: 4. */
.bm-brand {
  color-scheme: dark;
  --brand-night: #0b0b0f;
  --brand-graphite: #1c1c25;
  --brand-white: #f5f5f7;
  --brand-muted: #b9b9c6;
  --brand-line: #353541;
  --brand-lime: #c9ff32;
  --brand-display: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --brand-body: 'Noto Sans JP Variable', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Avenir, Arial, sans-serif;
}
.bm-brand * { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
.bm-brand { background: var(--brand-night); color: var(--brand-white); font-family: var(--brand-body); -webkit-font-smoothing: antialiased; }
body:has(.bm-brand dialog[open]) { overflow: hidden; }
.bm-brand a { color: inherit; text-decoration: none; }
.bm-brand button { font: inherit; color: inherit; cursor: pointer; }
.bm-brand button, .bm-brand a { -webkit-tap-highlight-color: transparent; }
.bm-brand img { display: block; max-width: 100%; height: auto; }
.bm-brand h1, .bm-brand h2, .bm-brand h3, .bm-brand p, .bm-brand figure { margin: 0; }
.bm-brand [hidden] { display: none !important; }
.bm-brand :where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--brand-lime); outline-offset: 5px; }
.bm-brand ::selection { color: var(--brand-night); background: var(--brand-lime); }
.bm-brand { background: var(--brand-night); }
.bm-brand .container { width: min(1248px, calc(100% - clamp(40px, 8vw, 128px))); margin-inline: auto; }
.bm-brand .section { padding-block: clamp(72px, 7.5vw, 108px); }
.bm-brand .section-heading { margin-bottom: 40px; max-width: 840px; }
.bm-brand .section-heading h2 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 900; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
.bm-brand .section-heading p { margin-top: 18px; color: var(--brand-muted); font-size: 16px; line-height: 1.9; max-width: 40em; }
.bm-brand #background h2, .bm-brand #factory h2, .bm-brand #series h2 { font-family: var(--brand-display); }

/* Keep the established image and hero composition. */
.bm-brand .brand-hero { position: relative; overflow: hidden; min-height: clamp(560px, 48vw, 680px); display: grid; align-items: center; background: var(--brand-night); isolation: isolate; }
.bm-brand .brand-hero__image { position: absolute; right: 0; top: 0; width: 72%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.bm-brand .brand-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0b0f 5%, rgb(11 11 15 / .94) 25%, rgb(11 11 15 / .18) 53%, transparent 68%), linear-gradient(0deg, #0b0b0f, transparent 16%); }
.bm-brand .brand-hero__inner { padding-block: 64px; }
.bm-brand .brand-hero__copy { max-width: 610px; }
.bm-brand .brand-hero__label { font-size: 14px; color: var(--brand-lime); font-weight: 700; margin-bottom: 24px; }
.bm-brand .brand-hero h1 { font-family: var(--brand-display); font-size: clamp(56px, 6.3vw, 88px); font-weight: 900; line-height: 1.1; letter-spacing: -.055em; }
.bm-brand .brand-hero__lead { font-size: 27px; font-weight: 750; line-height: 1.7; margin-top: 24px; }
.bm-brand .brand-button { display: inline-flex; justify-content: center; align-items: center; background: var(--brand-lime); color: var(--brand-night); min-height: 48px; padding: 14px 24px; font-size: 13px; font-weight: 800; line-height: 1.5; border: 0; white-space: nowrap; transition: background .2s, transform .2s; }
.bm-brand .brand-button:hover { background: #dcff7c; }
.bm-brand .brand-button:active { transform: translateY(1px); }
.bm-brand .brand-hero .brand-button { margin-top: 32px; }

/* One continuous narrative, with an image sized to the text's full height. */
.bm-brand .brand-story { padding-top: 72px; }
.bm-brand .story-layout { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(40px, 6vw, 88px); }
.bm-brand .story-text { min-width: 0; max-width: 540px; }
.bm-brand .story-text .section-heading { margin-bottom: 32px; }
.bm-brand .story-text .section-heading h2 { font-size: clamp(32px, 3.25vw, 46px); line-height: 1.4; }
.bm-brand .story-text .section-heading p { font-size: 17px; line-height: 1.95; color: var(--brand-white); margin-top: 24px; }
.bm-brand .story-body h3 { font-size: 19px; line-height: 1.7; margin-bottom: 16px; text-wrap: balance; }
.bm-brand .story-body p { font-size: 14px; line-height: 2; color: var(--brand-muted); }
.bm-brand .story-body p + p { margin-top: 16px; }
.bm-brand .inline-link { display: inline-block; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--brand-lime); padding-block: 8px; margin-top: 18px; transition: color .2s; }
.bm-brand .inline-link:hover { color: var(--brand-lime); }
.bm-brand .story-art { min-width: 0; }
.bm-brand .story-art img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--brand-graphite); padding: clamp(20px, 2.4vw, 36px); }
.bm-brand .story-art figcaption { color: var(--brand-muted); font-size: 12px; padding-top: 14px; }

/* Facts have their own column; the factory image gets a panoramic stage. */
.bm-brand .brand-background { background: var(--brand-graphite); }
.bm-brand .background-overview { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; margin-bottom: 40px; }
.bm-brand .background-copy { max-width: 620px; }
.bm-brand .background-copy h3 { font-size: 22px; line-height: 1.65; margin-bottom: 18px; text-wrap: balance; }
.bm-brand .background-copy p { color: var(--brand-muted); font-size: 14px; line-height: 2; }
.bm-brand .background-copy p + p { margin-top: 16px; }
.bm-brand .company-profile { border-left: 1px solid var(--brand-line); padding-left: 36px; }
.bm-brand .company-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; }
.bm-brand .company-facts dt { color: var(--brand-muted); font-size: 12px; line-height: 1.8; }
.bm-brand .company-facts dd { font-family: var(--brand-display); color: var(--brand-white); font-size: clamp(36px, 3.2vw, 46px); font-weight: 900; line-height: 1.3; margin: 14px 0 0; letter-spacing: -.04em; white-space: nowrap; }
.bm-brand .company-facts dd span { display: block; font-family: var(--brand-body); font-size: 13px; font-weight: 500; margin-top: 6px; letter-spacing: 0; }
.bm-brand .company-note { color: var(--brand-muted); font-size: 11px; line-height: 1.9; margin-top: 24px; max-width: 35em; }
.bm-brand .background-photo { overflow: hidden; }
.bm-brand .background-photo img { width: 100%; aspect-ratio: 2.4; object-fit: cover; object-position: center 25%; }
.bm-brand .development { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); margin-top: 36px; }
.bm-brand .development h3 { font-size: 19px; line-height: 1.7; }
.bm-brand .development p { color: var(--brand-muted); font-size: 14px; line-height: 2; margin-top: 12px; max-width: 36em; }
.bm-brand .brand-sources { margin-top: 28px; font-size: 12px; line-height: 2; color: var(--brand-muted); }
.bm-brand .brand-sources summary { cursor: pointer; width: fit-content; padding-block: 8px; }
.bm-brand .brand-sources ul { padding-left: 20px; margin: 10px 0 0; }
.bm-brand .brand-sources a { text-decoration: underline; text-underline-offset: 4px; }
.bm-brand .brand-sources a:hover { color: var(--brand-white); }

/* A stable photo stage prevents jumps between landscape and portrait shots. */
.bm-brand .factory-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-bottom: 24px; }
.bm-brand .factory-tabs button { min-width: 0; border: 1px solid var(--brand-line); background: transparent; color: var(--brand-muted); font-size: 13px; font-weight: 700; line-height: 1.5; padding: 14px 12px; white-space: nowrap; transition: color .2s, background .2s, border-color .2s; }
.bm-brand .factory-tabs button:hover { color: var(--brand-white); border-color: #777783; }
.bm-brand .factory-tabs button[aria-selected=true] { color: var(--brand-night); background: var(--brand-lime); border-color: var(--brand-lime); }
.bm-brand .factory-panel { display: grid; grid-template-columns: 1.6fr 1fr; background: var(--brand-graphite); min-width: 0; }
.bm-brand .factory-image { display: block; padding: 0; border: 0; overflow: hidden; background: var(--brand-graphite); min-width: 0; height: clamp(380px, 32vw, 480px); }
.bm-brand .factory-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.bm-brand .factory-image--portrait img { object-fit: contain; }
.bm-brand .factory-image:hover img { transform: scale(1.025); }
.bm-brand .factory-copy { align-self: center; padding: clamp(28px, 3.2vw, 46px); min-width: 0; }
.bm-brand .factory-copy h3 { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.55; text-wrap: balance; }
.bm-brand .factory-copy p { font-size: 14px; line-height: 2; color: var(--brand-muted); margin-top: 22px; max-width: 28em; }
.bm-brand .factory-source-note { color: var(--brand-muted); font-size: 12px; line-height: 1.8; margin-top: 16px; }

/* Artwork and product information read as separate layers, on the dark page. */
.bm-brand .collections { border-top: 1px solid var(--brand-line); padding-top: 80px; padding-bottom: 88px; }
.bm-brand .collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bm-brand .collection-card { display: flex; flex-direction: column; min-width: 0; }
.bm-brand .collection-card__art { display: grid; place-items: center; position: relative; aspect-ratio: 1.9; overflow: hidden; isolation: isolate; background: var(--brand-white); }
.bm-brand .collection-card__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.bm-brand .collection-card__product { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; transition: transform .3s; }
.bm-brand .collection-card:hover .collection-card__product { transform: translateY(-3px); }
.bm-brand .collection-card__copy { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; padding-top: 26px; align-items: start; }
.bm-brand .collection-card h3 { font-family: var(--brand-display); font-size: clamp(27px, 2.5vw, 35px); font-weight: 900; letter-spacing: -.035em; line-height: 1.3; grid-column: 1 / -1; transition: color .2s; }
.bm-brand .collection-card p { font-size: 14px; line-height: 1.9; margin-top: 14px; color: var(--brand-muted); }
.bm-brand .collection-card .brand-button { margin-top: 14px; align-self: start; padding-inline: 18px; font-size: 12px; }
.bm-brand .collection-card:hover .brand-button { background: #dcff7c; }
.bm-brand .collection-card:hover h3 { color: var(--brand-lime); }
.bm-brand .other-series { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--brand-line); font-size: 14px; line-height: 1.8; color: var(--brand-muted); }
.bm-brand .other-series > summary { cursor: pointer; width: fit-content; padding-block: 10px; }
.bm-brand .other-series__grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bm-brand .other-series button { width: 100%; border: 0; padding: 0; background: var(--brand-white); }
.bm-brand .other-series img { width: 100%; height: 280px; object-fit: contain; }
.bm-brand .other-series h3 { font-family: var(--brand-display); color: var(--brand-white); font-size: 22px; margin-top: 20px; }
.bm-brand .other-series p { color: var(--brand-muted); font-size: 14px; line-height: 1.9; margin-top: 12px; max-width: 34em; }
.bm-brand .series-note { color: var(--brand-muted); font-size: 11px; line-height: 1.9; margin-top: 22px; }

.bm-brand .lightbox { color: var(--brand-white); background: var(--brand-graphite); border: 1px solid var(--brand-line); padding: 25px; max-width: calc(100vw - 40px); width: 1060px; }
.bm-brand .lightbox::backdrop { background: rgb(0 0 0 / .86); }
.bm-brand .lightbox form { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.bm-brand .lightbox-close { border: 0; background: transparent; min-height: 44px; padding: 8px; font-size: 13px; }
.bm-brand .lightbox img { width: 100%; max-height: 72dvh; object-fit: contain; }
.bm-brand .lightbox p { text-align: center; font-size: 13px; line-height: 1.8; margin-top: 20px; }
.bm-brand .photo-error { color: var(--brand-white); }

@media (max-width: 1024px) {
  .bm-brand .story-layout { gap: 36px; }
  .bm-brand .story-text .section-heading h2 { font-size: 32px; }
  .bm-brand .story-text .section-heading p { font-size: 16px; }
  .bm-brand .background-overview { grid-template-columns: 1.2fr 1fr; gap: 36px; }
  .bm-brand .company-profile { padding-left: 24px; }
  .bm-brand .company-facts { gap: 16px; }
  .bm-brand .factory-panel { grid-template-columns: 1.4fr 1fr; }
  .bm-brand .factory-copy { padding: 28px; }
  .bm-brand .factory-copy h3 { font-size: 24px; }
  .bm-brand .collection-card__copy { grid-template-columns: 1fr; }
  .bm-brand .collection-card .brand-button { justify-self: start; margin-top: 22px; }
}
@media (max-width: 768px) {
  .bm-brand .container { width: calc(100% - 40px); }
  .bm-brand .section { padding-block: 60px; }
  .bm-brand .section-heading { margin-bottom: 30px; }
  .bm-brand .section-heading h2 { font-size: clamp(28px, 6.7vw, 38px); line-height: 1.3; }
  .bm-brand .section-heading p { font-size: 14px; line-height: 1.9; margin-top: 16px; }
  .bm-brand .brand-hero { min-height: 630px; align-items: start; }
  .bm-brand .brand-hero__image { top: auto; bottom: 0; width: 100%; height: 380px; object-position: center; }
  .bm-brand .brand-hero::after { background: linear-gradient(180deg, #0b0b0f 0%, #0b0b0f 37%, rgb(11 11 15 / 0) 58%, rgb(11 11 15 / 0) 84%, #0b0b0f 100%); }
  .bm-brand .brand-hero__inner { padding-block: 35px 0; }
  .bm-brand .brand-hero__copy { text-align: center; max-width: none; }
  .bm-brand .brand-hero__label { font-size: 12px; margin-bottom: 18px; }
  .bm-brand .brand-hero h1 { font-size: clamp(36px, 10.5vw, 68px); letter-spacing: -.045em; }
  .bm-brand .brand-hero__lead { font-size: 22px; line-height: 1.65; margin-top: 20px; }
  .bm-brand .brand-hero .brand-button { margin-top: 24px; font-size: 12px; }
  .bm-brand .brand-story { padding-top: 34px; }
  .bm-brand .story-layout, .bm-brand .background-overview { grid-template-columns: 1fr; gap: 32px; }
  .bm-brand .story-text { max-width: none; }
  .bm-brand .story-text .section-heading { margin-bottom: 28px; }
  .bm-brand .story-text .section-heading h2 { font-size: clamp(29px, 7vw, 38px); }
  .bm-brand .story-text .section-heading p { font-size: 16px; margin-top: 20px; }
  .bm-brand .story-body h3 { font-size: 18px; }
  .bm-brand .story-body p, .bm-brand .background-copy p, .bm-brand .development p { font-size: 14px; line-height: 1.95; }
  .bm-brand .story-art img { max-height: 440px; padding: 20px; }
  .bm-brand .story-art figcaption { padding-top: 12px; }
  .bm-brand .background-copy h3 { font-size: 20px; margin-bottom: 16px; }
  .bm-brand .background-overview { margin-bottom: 30px; }
  .bm-brand .company-profile { border-left: 0; border-top: 1px solid var(--brand-line); padding: 24px 0 0; }
  .bm-brand .company-facts { gap: 24px; }
  .bm-brand .company-facts dd { font-size: 40px; margin-top: 10px; }
  .bm-brand .company-facts dd span { display: inline; font-size: 12px; margin-left: 8px; }
  .bm-brand .company-note { margin-top: 18px; max-width: none; }
  .bm-brand .background-photo img { aspect-ratio: 1.5; }
  .bm-brand .development { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .bm-brand .development h3 { font-size: 18px; }
  .bm-brand .brand-sources { margin-top: 22px; }
  .bm-brand .factory-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 5px 4px 18px; margin-inline: -4px; scrollbar-width: thin; scrollbar-color: var(--brand-line) transparent; }
  .bm-brand .factory-tabs button { flex: 0 0 auto; min-height: 46px; font-size: 12px; padding: 12px 18px; }
  .bm-brand .factory-panel { grid-template-columns: 1fr; }
  .bm-brand .factory-image { height: auto; aspect-ratio: 1.5; }
  .bm-brand .factory-copy { padding: 28px 24px 32px; min-height: 240px; }
  .bm-brand .factory-copy h3 { font-size: 24px; }
  .bm-brand .factory-copy h3 br { display: none; }
  .bm-brand .factory-copy p { font-size: 14px; margin-top: 16px; max-width: none; }
  .bm-brand .factory-source-note { font-size: 11px; margin-top: 14px; }
  .bm-brand .collections { padding-top: 56px; padding-bottom: 64px; }
  .bm-brand .collection-grid { grid-template-columns: 1fr; gap: 40px; }
  .bm-brand .collection-card__copy { padding-top: 22px; }
  .bm-brand .collection-card h3 { font-size: 30px; }
  .bm-brand .collection-card p { margin-top: 12px; }
  .bm-brand .collection-card .brand-button { margin-top: 18px; }
  .bm-brand .other-series { margin-top: 36px; padding-top: 18px; }
  .bm-brand .other-series__grid { grid-template-columns: 1fr; gap: 32px; }
  .bm-brand .other-series img { height: 280px; }
  .bm-brand .series-note { margin-top: 18px; }
  .bm-brand .lightbox { max-width: calc(100vw - 24px); padding: 16px; }
  .bm-brand .lightbox img { max-height: 65dvh; }
}
@media (max-width: 380px) {
  .bm-brand .company-facts dd { font-size: 34px; }
  .bm-brand .company-facts dd span { display: block; margin: 6px 0 0; }
  .bm-brand .factory-copy { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bm-brand *, .bm-brand *::before, .bm-brand *::after { transition: none !important; animation: none !important; }
}
