/* Hallmark · component: brand profile · theme: existing DTP blue/Quicksand
 * pre-emit critique: P4 H5 E5 S4 R5 V4 */
.brand-story {
    --brand-dark: #112b40;
    --brand-shade: #112b40eb;
    --brand-glass: #112b4020;
    --brand-white: #fff;
    color: var(--color-ink);
}
.brand-story__hero {
    position: relative;
    isolation: isolate;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: var(--brand-dark);
    color: var(--brand-white);
}
.brand-story__hero > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}
.brand-story__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--brand-shade) 10%, var(--brand-glass));
}
.brand-story__hero-copy { padding-block: 28px 72px; }
.brand-story__breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 72px; font-size: 13px; }
.brand-story__breadcrumb a { color: inherit; text-decoration: none; }
.brand-story__breadcrumb a:hover { text-decoration: underline; }
.brand-story__eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.brand-story h1 { max-width: 20ch; margin: 20px 0 24px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.brand-story__lead { max-width: 55ch; font-size: 18px; line-height: 1.8; margin: 0; }
.brand-story__nav { border-bottom: 1px solid var(--color-line); background: var(--color-paper); }
.brand-story__nav > div { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: thin; }
.brand-story__nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 76px; white-space: nowrap; color: var(--color-ink); text-decoration: none; border-bottom: 3px solid transparent; font-size: 14px; }
.brand-story__nav a span { color: var(--color-link); font-size: 12px; }
.brand-story__nav a:hover, .brand-story__nav a:focus-visible { border-bottom-color: var(--color-link); color: var(--color-link); }
.brand-story :is(a,button):focus-visible { outline: 2px solid var(--color-link); outline-offset: 4px; }
.brand-story__body { padding-block: 80px; }
.brand-story__feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.brand-story figure { margin: 0; min-width: 0; overflow: hidden; background: var(--color-panel); }
.brand-story figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-story__feature figure { aspect-ratio: 4 / 3; }
.brand-story__feature figure img { object-position: 55% center; }
.brand-story__number { display: block; font-size: 13px; color: var(--color-link); font-weight: 700; letter-spacing: .1em; margin-bottom: 20px; }
.brand-story h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.025em; margin: 0 0 20px; text-wrap: balance; }
.brand-story__body p { font-size: 17px; line-height: 1.85; color: var(--color-muted); }
.brand-story__systems { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--color-line); font-size: 15px; font-weight: 700; }
.brand-story__purpose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 80px; background: var(--color-panel); }
.brand-story__purpose figure { order: 2; }
.brand-story__purpose-copy { padding: 44px; }
.brand-story__purpose-copy section + section { border-top: 1px solid var(--color-line); padding-top: 28px; margin-top: 28px; }
.brand-story__purpose h2 { font-size: 28px; }
.brand-story__applications { margin-top: 64px; max-width: 720px; border-left: 4px solid var(--color-signal); padding: 0 0 0 32px; }
.brand-story__applications .text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; white-space: nowrap; }
.brand-story section[id] { scroll-margin-top: 110px; }
.brand-story__contact { background: var(--brand-dark); color: var(--brand-white); padding-block: 60px; }
.brand-story__contact > div { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.brand-story__contact p { max-width: 65ch; line-height: 1.8; }
.brand-story__contact .button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 20px; white-space: nowrap; }
.brand-story__contact a:focus-visible { outline-color: var(--brand-white); }
.brand-story__source { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; font-size: 13px; line-height: 1.7; color: var(--color-muted); }
.brand-story__source p { max-width: 64ch; margin: 0; }
.brand-story__source a { max-width: 40ch; }
.brand-story__chapter + .brand-story__chapter { margin-top: 88px; padding-top: 64px; border-top: 1px solid var(--color-line); }
.brand-story__chapter-heading { display: flex; align-items: baseline; gap: 28px; margin-bottom: 30px; }
.brand-story__chapter-heading h2 { margin-bottom: 12px; }
.brand-story__chapter-heading p { margin: 0; max-width: 65ch; }
.brand-story__detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 36px; }
.brand-story__detail-grid h3 { font-size: 23px; line-height: 1.4; margin: 0 0 14px; }
.brand-story__detail-grid p { margin: 0; font-size: 16px; }
.brand-carousel { min-width: 0; }
.brand-carousel__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.brand-carousel__rail::-webkit-scrollbar { display: none; }
.brand-carousel .brand-carousel__slide { position: relative; flex: 0 0 100%; aspect-ratio: 2.25; scroll-snap-align: start; scroll-snap-stop: always; }
.brand-carousel__slide::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #112b40dc); pointer-events: none; }
.brand-carousel__slide figcaption { position: absolute; z-index: 1; bottom: 34px; left: 40px; right: 40px; color: white; font-size: clamp(22px, 3vw, 38px); line-height: 1.3; font-weight: 700; max-width: 28ch; text-wrap: balance; }
.brand-carousel__controls { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.brand-carousel__controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-line); border-radius: 50%; background: var(--color-paper); color: var(--color-link); cursor: pointer; font-size: 22px; }
.brand-carousel__controls button:hover { background: var(--color-panel); }
.brand-carousel__dots { display: flex; }
.brand-carousel__dots button { border: 0; width: 32px; }
.brand-carousel__dots span { width: 7px; height: 7px; background: var(--color-muted); border-radius: 50%; }
.brand-carousel__dots [aria-current="true"] span { background: var(--color-link); width: 22px; border-radius: 8px; }
.brand-carousel__status { font-size: 13px; min-width: 36px; font-variant-numeric: tabular-nums; }
@media (max-width: 768px) {
    .brand-story__chapter + .brand-story__chapter { margin-top: 48px; padding-top: 40px; }
    .brand-story__chapter-heading { gap: 16px; }
    .brand-story__detail-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
    .brand-carousel .brand-carousel__slide { aspect-ratio: 1.15; }
    .brand-carousel__slide figcaption { left: 22px; right: 22px; bottom: 24px; }
}
@media (max-width: 768px) {
    .brand-story__hero { min-height: 500px; }
    .brand-story__hero::after { background: linear-gradient(90deg, var(--brand-shade), var(--brand-glass) 180%); }
    .brand-story__breadcrumb { margin-bottom: 44px; }
    .brand-story__hero-copy { padding-block: 24px 48px; }
    .brand-story__lead { font-size: 16px; }
    .brand-story__nav > div { gap: 24px; }
    .brand-story__nav a { min-height: 60px; }
    .brand-story__feature, .brand-story__purpose { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .brand-story__feature figure { aspect-ratio: 16 / 10; }
    .brand-story__body { padding-block: 40px; }
    .brand-story__purpose { margin-top: 40px; gap: 0; }
    .brand-story__purpose figure { order: 0; aspect-ratio: 16 / 10; }
    .brand-story__purpose-copy { padding: 28px; }
    .brand-story__body p { font-size: 16px; }
    .brand-story__applications { margin-top: 40px; padding-left: 24px; }
    .brand-story__contact > div, .brand-story__source { flex-direction: column; align-items: flex-start; gap: 20px; }
    .brand-story__contact { padding-block: 40px; }
}
