/*
 * aimme AI Editorial CSS
 * BRAND v2.1.0
 *
 * Parent class: .ae-article--brand
 * Requires: 00-common.css
 *
 * v2 uses a new filename to bypass the previously cached BRAND stylesheet.
 */

.ae-article--brand {
  --ae-ink: #161616;
  --ae-muted: #716c67;
  --ae-line: #d9d2ca;
  --ae-paper: #fff;
  --ae-soft: #eee9e2;
  --ae-accent: #d9ff43;
  --ab-dark: #171717;
  --ab-warm: #b68f76;
  background: var(--ae-paper);
}

/* HERO: restore the earlier image + black copy panel */
.ae-article--brand .ae-hero {
  background: var(--ab-dark);
  color: #fff;
}

.ae-article--brand .ae-hero__media {
  min-width: 0;
  margin: 0;
}

.ae-article--brand .ae-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ae-article--brand .ae-hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  background: var(--ab-dark);
}

.ae-article--brand .ae-hero .ae-eyebrow,
.ae-article--brand .ae-hero__text {
  color: rgba(255, 255, 255, 0.68);
}

.ae-article--brand .ae-hero__title {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 11vw, 62px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: keep-all;
}

.ae-article--brand .ae-hero__text {
  max-width: 32em;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.ae-article--brand .ab-intro {
  padding-block: 24px;
  text-align: center;
}

.ae-article--brand .ab-intro__copy {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 7vw, 40px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.ae-article--brand .ab-intro__text {
  max-width: 620px;
  margin: 28px auto 0;
  color: var(--ae-muted);
  line-height: 2.2;
}

.ae-article--brand .ab-story {
  display: grid;
  gap: 26px;
  margin-block: 72px;
}

.ae-article--brand .ab-story__media {
  margin: 0;
}

.ae-article--brand .ab-story__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ae-article--brand .ab-story__body {
  align-self: center;
}

.ae-article--brand .ab-story__number {
  display: block;
  margin-bottom: 18px;
  color: var(--ab-warm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ae-article--brand .ab-story__title {
  margin: 0 0 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 5.8vw, 38px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

.ae-article--brand .ab-story__body p {
  margin: 0;
  color: var(--ae-muted);
  line-height: 2.05;
}

.ae-article--brand .ab-story__body p + p {
  margin-top: 18px;
}

.ae-article--brand .ab-quote {
  margin-block: 80px;
  padding: clamp(48px, 7vw, 76px) clamp(24px, 7vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #403b38;
  color: #fff;
  text-align: center;
}

.ae-article--brand .ab-quote__text {
  max-width: 760px;
  margin: 0 auto;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 3.2vw, 34px) !important;
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 1.8;
}

.ae-article--brand .ab-quote__credit {
  display: block;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.ae-article--brand .ab-full-visual {
  width: min(100% - 24px, 1220px);
  margin: 96px auto;
}

.ae-article--brand .ab-full-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ae-article--brand .ab-full-visual figcaption {
  margin-top: 10px;
  color: var(--ae-muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-align: right;
}

.ae-article--brand .ab-values {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--ae-line);
}

.ae-article--brand .ab-value {
  padding: 28px 0;
  border-bottom: 1px solid var(--ae-line);
}

.ae-article--brand .ab-value__number {
  display: block;
  margin-bottom: 20px;
  color: var(--ab-warm);
  font-family: "Times New Roman", serif;
  font-size: 28px;
}

.ae-article--brand .ab-value__title {
  margin: 0 0 12px;
  font-family: "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.ae-article--brand .ab-value p {
  margin: 0;
  color: var(--ae-muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Final CTA */
.ae-article--brand .ab-showcase {
  margin: 72px 0 0;
  padding: clamp(48px, 7vw, 76px) clamp(22px, 6vw, 64px);
  background: var(--ae-soft);
  text-align: center;
}

.ae-article--brand .ab-showcase .ae-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--ab-warm);
}

.ae-article--brand .ab-showcase__title {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ae-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.ae-article--brand .ab-showcase__text {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--ae-muted);
  font-size: 14px;
  line-height: 1.9;
}

.ae-article--brand .ab-showcase__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin: 36px auto 0;
}

.ae-article--brand .ab-showcase__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  padding: 16px 22px;
  border: 1px solid var(--ab-dark);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ae-article--brand .ab-showcase__button--sub {
  background: #fff;
  color: var(--ab-dark);
}

.ae-article--brand .ab-showcase__button--primary {
  background: var(--ab-dark);
  color: #fff;
}

@media (hover: hover) {
  .ae-article--brand .ab-showcase__button--sub:hover {
    background: var(--ab-dark);
    color: #fff;
  }

  .ae-article--brand .ab-showcase__button--primary:hover {
    background: #fff;
    color: var(--ab-dark);
  }
}

@media (min-width: 768px) {
  .ae-article--brand .ab-story {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(42px, 7vw, 84px);
  }

  .ae-article--brand .ab-story--reverse .ab-story__body {
    grid-column: 1;
    grid-row: 1;
  }

  .ae-article--brand .ab-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ae-article--brand .ab-value {
    padding: 32px 26px;
    border-right: 1px solid var(--ae-line);
  }

  .ae-article--brand .ab-value:first-child {
    padding-left: 0;
  }

  .ae-article--brand .ab-value:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .ae-article--brand .ab-showcase__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
  }

  .ae-article--brand .ab-showcase__button {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (min-width: 900px) {
  .ae-article--brand .ae-hero {
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    min-height: 650px;
  }

  .ae-article--brand .ae-hero__media {
    aspect-ratio: auto;
  }

  .ae-article--brand .ae-hero__body {
    padding: 64px clamp(34px, 4.5vw, 64px);
  }

  .ae-article--brand .ae-hero__title {
    font-size: clamp(46px, 4.2vw, 60px);
  }
}

/*
 * BRAND v2.1 Hero and Values refinements
 * - Protect BRAND's black mobile hero from the common mobile card override.
 * - Give a bilingual title and Japanese Values headings enough room.
 */
.ae-article--brand .ae-hero__title {
  overflow-wrap: anywhere;
  word-break: normal;
}

.ae-article--brand .ab-hero__title-ja {
  display: block;
  margin-top: 0.34em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.48em;
  letter-spacing: 0.025em;
  line-height: 1.55;
}

.ae-article--brand .ab-value__title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 767px) {
  :is(#SINGLE_CONTENT, #SINGLE-CONTENT) .ae-article.ae-article--brand .ae-hero {
    display: flex;
    width: calc(100% - 24px) !important;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    background: #171717 !important;
  }

  :is(#SINGLE_CONTENT, #SINGLE-CONTENT) .ae-article.ae-article--brand .ae-hero__media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  :is(#SINGLE_CONTENT, #SINGLE-CONTENT) .ae-article.ae-article--brand .ae-hero__media img {
    width: 100%;
    max-width: none;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  :is(#SINGLE_CONTENT, #SINGLE-CONTENT) .ae-article.ae-article--brand .ae-hero__body {
    width: 100%;
    margin: 0;
    padding: 32px 22px 38px;
    border-radius: 0;
    background: #171717 !important;
    box-sizing: border-box;
    text-align: left !important;
  }

  :is(#SINGLE_CONTENT, #SINGLE-CONTENT) .ae-article.ae-article--brand .ae-hero__body :where(
    .ae-eyebrow,
    .ae-hero__title,
    .ae-hero__text
  ) {
    margin-right: 0;
    margin-left: 0;
    text-align: left !important;
  }

  .ae-article--brand .ae-hero__title {
    font-size: clamp(31px, 10vw, 43px);
    line-height: 1.05;
  }

  .ae-article--brand .ab-hero__title-ja {
    font-size: 0.47em;
    line-height: 1.65;
  }

  .ae-article--brand .ae-hero__text {
    margin-top: 20px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .ae-article--brand .ae-hero__media {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 900px) {
  .ae-article--brand .ae-hero {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    min-height: 560px;
  }

  .ae-article--brand .ae-hero__body {
    padding: 56px clamp(34px, 4vw, 58px);
  }

  .ae-article--brand .ae-hero__title {
    font-size: clamp(42px, 3.8vw, 54px);
  }

  .ae-article--brand .ab-values {
    align-items: stretch;
  }
}