/* =========================================================
   ARIVATION HEALTHCARE
   COMPANY HISTORY — NEW DESIGN

   IMPORTANT:
   assets/css/style.css must load BEFORE this file.
========================================================= */


.ari-history-page {
    overflow: clip;
    background: #fff;
}


/* =========================================================
   COMMON
========================================================= */

.history-v2-shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}


.history-v2-eyebrow {
    display: inline-flex;
    min-height: 38px;
    padding: 0 15px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(7, 152, 196, .16);
    border-radius: 999px;
    color: #087b9e;
    background: #eef9fc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}


.history-v2-eyebrow i {
    font-size: 13px;
}


.history-v2-eyebrow-light {
    border-color: rgba(255, 255, 255, .16);

    color: #8ceaf1;

    background: rgba(255, 255, 255, .07);
}



/* =========================================================
   INTRO
========================================================= */

.history-v2-intro {
    position: relative;

    padding: 104px 0 72px;

    background:
        radial-gradient(circle at 12% 20%,
            rgba(7, 152, 196, .10),
            transparent 28%),
        linear-gradient(180deg,
            #fff 0%,
            #f7fbfd 100%);
}


.history-v2-intro::after {
    position: absolute;

    right: -150px;
    bottom: -180px;

    width: 420px;
    height: 420px;

    border: 70px solid rgba(7, 152, 196, .035);
    border-radius: 50%;

    content: "";

    pointer-events: none;
}


.history-v2-intro-grid {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr) minmax(420px, .98fr);

    align-items: center;

    gap: clamp(48px, 7vw, 96px);
}



/* Intro heading */

.history-v2-intro-copy h1 {
    max-width: 760px;

    margin: 24px 0;

    color: #12324b;

    font-family: "Manrope", sans-serif;
    font-size: clamp(44.5px, 5vw, 71.5px);
    font-weight: 800;
    line-height: 1.03;

    letter-spacing: -2.3px;
}


.history-v2-intro-copy h1 span,
.history-v2-section-heading h2 span,
.history-v2-story-aside h2 span,
.history-v2-today-copy h2 span {
    color: #0798c4;
}



.history-v2-intro-lead {
    max-width: 720px;

    margin-bottom: 15px;

    color: #2d526d;

    font-size: clamp(19px, 1.6vw, 23.5px);
    font-weight: 600;

    line-height: 1.65;
}


.history-v2-intro-copy>p:not(.history-v2-intro-lead) {
    max-width: 720px;

    margin-bottom: 0;

    color: #657c8e;

    font-size: 17px;
    line-height: 1.82;
}



/* Intro buttons */

.history-v2-intro-actions {
    display: flex;

    margin-top: 34px;

    align-items: center;
    flex-wrap: wrap;

    gap: 18px;
}


.history-v2-primary-link,
.history-v2-text-link {
    display: inline-flex;

    min-height: 50px;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 14px;

    font-size: 15.5px;
    font-weight: 800;

    transition: .25s ease;
}


.history-v2-primary-link {
    padding: 0 20px;

    color: #fff;

    background:
        linear-gradient(135deg,
            #0798c4,
            #14a99f);

    box-shadow:
        0 14px 32px rgba(7, 152, 196, .22);
}


.history-v2-primary-link:hover {
    color: #fff;

    transform: translateY(-3px);

    box-shadow:
        0 18px 36px rgba(7, 152, 196, .28);
}


.history-v2-text-link {
    color: #143b58;
}


.history-v2-text-link:hover {
    color: #0798c4;

    gap: 12px;
}



/* =========================================================
   INTRO IMAGE
========================================================= */

.history-v2-intro-visual {
    position: relative;

    padding: 26px 28px 34px 18px;
}


.history-v2-image-frame {
    position: relative;

    z-index: 2;

    overflow: hidden;

    border-radius:
        34px 34px 110px 34px;

    background: #dceff4;

    box-shadow:
        0 34px 75px rgba(20, 55, 82, .18);
}


.history-v2-image-frame::after {
    position: absolute;

    inset: 0;

    content: "";

    pointer-events: none;

    background:
        linear-gradient(180deg,
            transparent 50%,
            rgba(5, 32, 51, .36));
}


.history-v2-image-frame>img {
    width: 100%;
    min-height: 520px;

    object-fit: cover;
}



.history-v2-image-caption {
    position: absolute;

    right: 24px;
    bottom: 24px;
    left: 24px;

    z-index: 2;

    display: flex;

    padding: 17px 18px;

    align-items: center;

    gap: 13px;

    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 18px;

    color: #fff;

    background: rgba(7, 34, 55, .68);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, .12);

    backdrop-filter: blur(14px);
}


.history-v2-caption-icon {
    display: grid;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    place-items: center;

    border-radius: 14px;

    color: #102e59;

    background: #93eff3;

    font-size: 20px;
}


.history-v2-image-caption small,
.history-v2-image-caption strong {
    display: block;
}


.history-v2-image-caption small {
    margin-bottom: 3px;

    color: rgba(255, 255, 255, .65);

    font-size: 13.5px;
    font-weight: 800;

    letter-spacing: .8px;

    text-transform: uppercase;
}


.history-v2-image-caption strong {
    font-size: 14.5px;

    line-height: 1.35;
}



/* Decorative circles */

.history-v2-orbit {
    position: absolute;

    z-index: 1;

    border-radius: 50%;

    pointer-events: none;
}


.history-v2-orbit-one {
    top: 0;
    right: 2px;

    width: 150px;
    height: 150px;

    border:
        28px solid rgba(19, 164, 134, .13);
}


.history-v2-orbit-two {
    bottom: 0;
    left: -8px;

    width: 115px;
    height: 115px;

    border:
        20px solid rgba(7, 152, 196, .12);
}



/* =========================================================
   FOUNDATION STRIP
========================================================= */

.history-v2-foundation-strip {
    position: relative;

    z-index: 3;

    display: grid;

    margin-top: 78px;

    grid-template-columns:
        repeat(3, 1fr);

    overflow: hidden;

    border: 1px solid #dbeaf0;
    border-radius: 22px;

    background: rgba(255, 255, 255, .93);

    box-shadow:
        0 18px 55px rgba(18, 50, 75, .08);
}


.history-v2-foundation-strip>div {
    display: flex;

    min-height: 118px;

    padding: 25px 28px;

    align-items: center;

    gap: 16px;
}


.history-v2-foundation-strip>div+div {
    border-left: 1px solid #e3edf2;
}


.history-v2-foundation-strip>div>span {
    color: rgba(7, 152, 196, .22);

    font-family: "Manrope", sans-serif;
    font-size: 38.5px;
    font-weight: 800;
    line-height: 1;
}


.history-v2-foundation-strip p {
    margin: 0;
}


.history-v2-foundation-strip strong,
.history-v2-foundation-strip small {
    display: block;
}


.history-v2-foundation-strip strong {
    margin-bottom: 4px;

    color: #143b58;

    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}


.history-v2-foundation-strip small {
    color: #75899a;

    font-size: 14.5px;

    line-height: 1.4;
}



/* =========================================================
   CAPABILITY STORY
========================================================= */

.history-v2-story {
    position: relative;

    padding: 110px 0;

    color: #fff;

    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px),
        radial-gradient(circle at 82% 12%,
            rgba(23, 184, 188, .16),
            transparent 30%),
        #071f3d;

    background-size:
        36px 36px,
        36px 36px,
        auto,
        auto;
}


.history-v2-story-layout {
    display: grid;

    grid-template-columns:
        minmax(300px, .72fr) minmax(0, 1.28fr);

    align-items: start;

    gap: clamp(56px, 7vw, 110px);
}


.history-v2-story-aside {
    position: sticky;

    top: 128px;
}


.history-v2-story-aside h2 {
    margin: 25px 0 20px;

    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: clamp(41px, 4vw, 61px);
    font-weight: 800;
    line-height: 1.06;

    letter-spacing: -1.8px;
}


.history-v2-story-aside>p {
    max-width: 500px;

    color: rgba(255, 255, 255, .65);

    font-size: 17px;

    line-height: 1.75;
}


.history-v2-story-note {
    display: flex;

    max-width: 430px;

    margin-top: 34px;

    padding: 16px 17px;

    gap: 11px;

    border:
        1px solid rgba(255, 255, 255, .11);

    border-radius: 14px;

    color: rgba(255, 255, 255, .58);

    background:
        rgba(255, 255, 255, .045);
}


.history-v2-story-note i {
    margin-top: 2px;

    color: #6ddce5;
}


.history-v2-story-note p {
    margin: 0;

    font-size: 17px;

    line-height: 1.55;
}



/* Story chapters */

.history-v2-chapters {
    display: grid;

    gap: 14px;
}


.history-v2-chapter {
    position: relative;

    display: grid;

    grid-template-columns:
        62px 64px 1fr;

    min-height: 170px;

    padding: 28px 30px;

    align-items: center;

    gap: 20px;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, .10);

    border-radius: 22px;

    background:
        linear-gradient(115deg,
            rgba(255, 255, 255, .07),
            rgba(255, 255, 255, .025));

    transition: .3s ease;
}


.history-v2-chapter::after {
    position: absolute;

    top: 0;
    right: 0;

    width: 5px;
    height: 100%;

    content: "";

    opacity: 0;

    background:
        linear-gradient(#5ee2e6,
            #0798c4);

    transition: .3s ease;
}


.history-v2-chapter:hover {
    border-color:
        rgba(105, 226, 232, .28);

    background:
        linear-gradient(115deg,
            rgba(255, 255, 255, .10),
            rgba(7, 152, 196, .07));

    transform:
        translateX(-5px);
}


.history-v2-chapter:hover::after,
.history-v2-chapter-featured::after {
    opacity: 1;
}


.history-v2-chapter-featured {
    border-color:
        rgba(104, 231, 233, .25);

    background:
        linear-gradient(115deg,
            rgba(23, 180, 190, .16),
            rgba(255, 255, 255, .045));
}


.history-v2-chapter-no {
    color:
        rgba(255, 255, 255, .20);

    font-family: "Manrope", sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}


.history-v2-chapter-icon {
    display: grid;

    width: 58px;
    height: 58px;

    place-items: center;

    border:
        1px solid rgba(102, 231, 234, .22);

    border-radius: 18px;

    color: #74e5eb;

    background:
        rgba(9, 151, 177, .12);

    font-size: 23.5px;
}


.history-v2-chapter-copy>span {
    display: inline-block;

    margin-bottom: 7px;

    color: #6de0e7;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}


.history-v2-chapter h3 {
    margin: 0 0 8px;

    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: clamp(20.5px, 2vw, 26px);
    font-weight: 800;
    line-height: 1.25;
}


.history-v2-chapter p {
    max-width: 680px;

    margin: 0;

    color: rgba(255, 255, 255, .61);

    font-size: 17px;

    line-height: 1.68;
}



/* =========================================================
   CONNECTED CAPABILITY SYSTEM
========================================================= */

.history-v2-system {
    position: relative;

    padding: 110px 0 120px;

    background: #f7fbfd;
}


.history-v2-section-heading {
    max-width: 760px;

    margin: 0 auto 58px;

    text-align: center;
}


.history-v2-section-heading h2 {
    margin: 22px 0 16px;

    color: #12324b;

    font-family: "Manrope", sans-serif;
    font-size: clamp(41px, 4vw, 61px);
    font-weight: 800;
    line-height: 1.08;

    letter-spacing: -1.7px;
}


.history-v2-section-heading p {
    max-width: 670px;

    margin: 0 auto;

    color: #6c8192;

    font-size: 17px;

    line-height: 1.75;
}



/* System board */

.history-v2-system-board {
    position: relative;

    display: grid;

    min-height: 620px;

    grid-template-columns:
        repeat(3, 1fr);

    grid-template-rows:
        repeat(2, 1fr);

    gap: 26px;
}


.history-v2-system-board::before,
.history-v2-system-board::after {
    position: absolute;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    content: "";

    pointer-events: none;

    transform:
        translate(-50%, -50%);
}


.history-v2-system-board::before {
    width: 390px;
    height: 390px;

    border:
        1px dashed rgba(7, 152, 196, .20);
}


.history-v2-system-board::after {
    width: 530px;
    height: 530px;

    border:
        1px dashed rgba(19, 164, 134, .12);
}



/* Core */

.history-v2-system-core {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 3;

    display: flex;

    width: 220px;
    height: 220px;

    padding: 25px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    border: 14px solid #e6f6f8;

    border-radius: 50%;

    color: #fff;

    background:
        linear-gradient(145deg,
            #0a476c,
            #0798c4 58%,
            #14a486);

    box-shadow:
        0 24px 60px rgba(7, 112, 144, .24);

    text-align: center;

    transform:
        translate(-50%, -50%);
}


.history-v2-system-core>span {
    display: grid;

    width: 50px;
    height: 50px;

    margin-bottom: 12px;

    place-items: center;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, .14);

    font-size: 23.5px;
}


.history-v2-system-core strong,
.history-v2-system-core small {
    display: block;
}


.history-v2-system-core strong {
    font-family: "Manrope", sans-serif;
    font-size: 20.5px;
    font-weight: 800;

    line-height: 1.25;
}


.history-v2-system-core small {
    margin-top: 7px;

    color: rgba(255, 255, 255, .7);

    font-size: 14px;

    line-height: 1.45;
}



/* System cards */

.history-v2-system-card {
    position: relative;

    z-index: 2;

    display: flex;

    min-height: 178px;

    padding: 26px;

    align-items: center;

    gap: 16px;

    border: 1px solid #dceaf0;

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 16px 44px rgba(19, 55, 79, .07);

    transition: .3s ease;
}


.history-v2-system-card:hover {
    border-color:
        rgba(7, 152, 196, .22);

    transform:
        translateY(-6px);

    box-shadow:
        0 24px 55px rgba(19, 55, 79, .12);
}


.history-v2-system-card>span {
    display: grid;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    place-items: center;

    border-radius: 17px;

    color: #087b9e;

    background: #e9f7fb;

    font-size: 23.5px;
}


.history-v2-system-card strong,
.history-v2-system-card small {
    display: block;
}


.history-v2-system-card strong {
    margin-bottom: 5px;

    color: #15324b;

    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;

    line-height: 1.25;
}


.history-v2-system-card small {
    color: #7a8d9e;

    font-size: 14.5px;

    line-height: 1.45;
}


.history-v2-system-card-1,
.history-v2-system-card-4 {
    width: 82%;

    justify-self: start;
}


.history-v2-system-card-3,
.history-v2-system-card-6 {
    width: 82%;

    justify-self: end;
}


.history-v2-system-card-2,
.history-v2-system-card-5 {
    width: 72%;

    justify-self: center;
}



/* =========================================================
   PRINCIPLES
========================================================= */

.history-v2-principles {
    position: relative;

    padding: 110px 0;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(130deg,
            #0b3658 0%,
            #0a4665 44%,
            #087e83 120%);
}


.history-v2-principles::before {
    position: absolute;

    top: -180px;
    right: -120px;

    width: 480px;
    height: 480px;

    border:
        75px solid rgba(255, 255, 255, .045);

    border-radius: 50%;

    content: "";
}


.history-v2-principles-head {
    position: relative;

    z-index: 2;

    display: grid;

    margin-bottom: 58px;

    grid-template-columns:
        1.2fr .8fr;

    align-items: end;

    gap: 50px;
}


.history-v2-principles-head h2 {
    max-width: 760px;

    margin: 22px 0 0;

    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: clamp(41px, 4vw, 61px);
    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1.7px;
}


.history-v2-principles-head>p {
    max-width: 470px;

    margin: 0 0 7px auto;

    color: rgba(255, 255, 255, .68);

    font-size: 17px;

    line-height: 1.75;
}


.history-v2-principles-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.history-v2-principle {
    position: relative;

    min-height: 330px;

    padding: 34px 30px 32px;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, .14);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, .08);

    backdrop-filter: blur(7px);

    transition: .3s ease;
}


.history-v2-principle:hover {
    background:
        rgba(255, 255, 255, .12);

    transform:
        translateY(-7px);
}


.history-v2-principle-number {
    position: absolute;

    top: 18px;
    right: 22px;

    color:
        rgba(255, 255, 255, .12);

    font-family: "Manrope", sans-serif;
    font-size: 61px;
    font-weight: 800;

    line-height: 1;
}


.history-v2-principle-icon {
    display: grid;

    width: 62px;
    height: 62px;

    margin-bottom: 58px;

    place-items: center;

    border-radius: 18px;

    color: #0a4962;

    background: #8cebf0;

    font-size: 25.5px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .10);
}


.history-v2-principle h3 {
    margin: 0 0 13px;

    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 800;

    line-height: 1.25;
}


.history-v2-principle p {
    margin: 0;

    color: rgba(255, 255, 255, .67);

    font-size: 17px;

    line-height: 1.7;
}



/* =========================================================
   ARIVATION TODAY
========================================================= */

.history-v2-today {
    padding: 110px 0 128px;

    background: #fff;
}


.history-v2-today-panel {
    position: relative;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    overflow: hidden;

    border: 1px solid #dce9ef;

    border-radius: 32px;

    background: #f7fbfd;

    box-shadow:
        0 28px 75px rgba(17, 51, 75, .09);
}


.history-v2-today-panel::before {
    position: absolute;

    top: -120px;
    left: 34%;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        rgba(7, 152, 196, .06);

    content: "";
}


.history-v2-today-copy {
    position: relative;

    z-index: 2;

    padding:
        clamp(46px, 6vw, 80px);
}


.history-v2-today-copy h2 {
    margin: 23px 0 18px;

    color: #12324b;

    font-family: "Manrope", sans-serif;
    font-size: clamp(38.5px, 4vw, 57px);
    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1.6px;
}


.history-v2-today-copy>p {
    max-width: 650px;

    margin-bottom: 30px;

    color: #657c8e;

    font-size: 17px;

    line-height: 1.76;
}



/* Today points */

.history-v2-today-points {
    display: grid;

    gap: 12px;
}


.history-v2-today-points>div {
    display: flex;

    padding: 15px 16px;

    align-items: flex-start;

    gap: 12px;

    border: 1px solid #e0ebf0;

    border-radius: 14px;

    background: #fff;
}


.history-v2-today-points>div>i {
    display: grid;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    place-items: center;

    border-radius: 9px;

    color: #087b9e;

    background: #e9f7fb;

    font-size: 15px;
    font-weight: 900;
}


.history-v2-today-points strong,
.history-v2-today-points small {
    display: block;
}


.history-v2-today-points strong {
    margin-bottom: 3px;

    color: #173b55;

    font-size: 17px;
}


.history-v2-today-points small {
    color: #7a8d9d;

    font-size: 14.5px;

    line-height: 1.45;
}



/* Today quote */

.history-v2-today-quote {
    position: relative;

    z-index: 2;

    display: flex;

    min-height: 100%;

    padding:
        clamp(50px, 6vw, 82px);

    justify-content: center;

    flex-direction: column;

    color: #fff;

    background:
        linear-gradient(150deg,
            rgba(4, 34, 58, .97),
            rgba(8, 106, 125, .94)),
        url("../images/about/1.png") center / cover no-repeat;
}


.history-v2-quote-mark {
    display: grid;

    width: 62px;
    height: 62px;

    margin-bottom: 35px;

    place-items: center;

    border:
        1px solid rgba(255, 255, 255, .15);

    border-radius: 20px;

    color: #75e6ea;

    background:
        rgba(255, 255, 255, .08);

    font-size: 32px;
}


.history-v2-today-quote blockquote {
    max-width: 520px;

    margin: 0;

    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: clamp(26.5px, 3vw, 38.5px);
    font-weight: 700;

    line-height: 1.36;

    letter-spacing: -.7px;
}


.history-v2-quote-signature {
    display: flex;

    margin-top: 38px;

    padding-top: 25px;

    align-items: center;

    gap: 12px;

    border-top:
        1px solid rgba(255, 255, 255, .13);
}


.history-v2-quote-signature>span {
    display: grid;

    width: 45px;
    height: 45px;

    place-items: center;

    border-radius: 14px;

    color: #0d4d65;

    background: #8de7eb;

    font-size: 19px;
}


.history-v2-quote-signature small,
.history-v2-quote-signature strong {
    display: block;
}


.history-v2-quote-signature small {
    margin-bottom: 3px;

    color: rgba(255, 255, 255, .52);

    font-size: 13.5px;
    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;
}


.history-v2-quote-signature strong {
    color: #fff;

    font-size: 17px;
}



/* =========================================================
   RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .history-v2-intro-grid {
        grid-template-columns:
            1fr 460px;

        gap: 50px;
    }


    .history-v2-intro-copy h1 {
        font-size:
            clamp(44.5px, 5vw, 61px);
    }


    .history-v2-story-layout {
        grid-template-columns:
            .72fr 1.28fr;

        gap: 48px;
    }


    .history-v2-system-board {
        min-height: 580px;
    }


    .history-v2-system-card-1,
    .history-v2-system-card-2,
    .history-v2-system-card-3,
    .history-v2-system-card-4,
    .history-v2-system-card-5,
    .history-v2-system-card-6 {
        width: 84%;
    }

}



/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {

    .history-v2-shell {
        width:
            min(100% - 36px, 900px);
    }


    .history-v2-intro {
        padding-top: 78px;
    }


    .history-v2-intro-grid,
    .history-v2-story-layout,
    .history-v2-today-panel {
        grid-template-columns: 1fr;
    }


    .history-v2-intro-copy {
        max-width: 780px;
    }


    .history-v2-intro-visual {
        max-width: 680px;

        margin-inline: auto;
    }


    .history-v2-image-frame>img {
        min-height: 470px;
    }


    .history-v2-story-aside {
        position: static;

        max-width: 760px;
    }


    .history-v2-chapter:hover {
        transform:
            translateY(-3px);
    }


    .history-v2-system-board {
        min-height: 0;

        grid-template-columns:
            repeat(2, 1fr);

        grid-template-rows: auto;
    }


    .history-v2-system-board::before,
    .history-v2-system-board::after {
        display: none;
    }


    .history-v2-system-core {
        position: relative;

        top: auto;
        left: auto;

        grid-column: 1 / -1;

        justify-self: center;

        margin-bottom: 15px;

        transform: none;
    }


    .history-v2-system-card-1,
    .history-v2-system-card-2,
    .history-v2-system-card-3,
    .history-v2-system-card-4,
    .history-v2-system-card-5,
    .history-v2-system-card-6 {
        width: 100%;

        justify-self: stretch;
    }


    .history-v2-principles-head {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .history-v2-principles-head>p {
        margin-left: 0;
    }


    .history-v2-principles-grid {
        grid-template-columns: 1fr;
    }


    .history-v2-principle {
        min-height: auto;
    }


    .history-v2-principle-icon {
        margin-bottom: 38px;
    }


    .history-v2-today-quote {
        min-height: 500px;
    }

}



/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .history-v2-shell {
        width:
            min(100% - 28px, 680px);
    }


    .history-v2-intro,
    .history-v2-story,
    .history-v2-system,
    .history-v2-principles,
    .history-v2-today {
        padding-top: 76px;
        padding-bottom: 76px;
    }


    .history-v2-intro-copy h1 {
        margin-top: 19px;

        font-size:
            clamp(38.5px, 9.5vw, 50.5px);

        letter-spacing: -1.6px;
    }


    .history-v2-intro-lead {
        font-size: 18px;
    }


    .history-v2-intro-visual {
        padding:
            12px 5px 20px;
    }


    .history-v2-image-frame {
        border-radius:
            24px 24px 70px 24px;
    }


    .history-v2-image-frame>img {
        min-height: 400px;
    }


    .history-v2-image-caption {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }


    .history-v2-foundation-strip {
        margin-top: 54px;

        grid-template-columns: 1fr;
    }


    .history-v2-foundation-strip>div {
        min-height: 96px;
    }


    .history-v2-foundation-strip>div+div {
        border-top:
            1px solid #e3edf2;

        border-left: 0;
    }


    .history-v2-story-aside h2,
    .history-v2-section-heading h2,
    .history-v2-principles-head h2,
    .history-v2-today-copy h2 {
        font-size:
            clamp(36.5px, 9vw, 47.5px);
    }


    .history-v2-chapter {
        grid-template-columns:
            46px 52px 1fr;

        padding: 24px 20px;

        gap: 13px;
    }


    .history-v2-chapter-no {
        font-size: 25.5px;
    }


    .history-v2-chapter-icon {
        width: 50px;
        height: 50px;

        border-radius: 15px;

        font-size: 20px;
    }


    .history-v2-system-board {
        grid-template-columns: 1fr;
    }


    .history-v2-system-core {
        grid-column: auto;

        width: 190px;
        height: 190px;
    }


    .history-v2-system-card {
        min-height: 125px;
    }


    .history-v2-today-panel {
        border-radius: 24px;
    }


    .history-v2-today-copy,
    .history-v2-today-quote {
        padding: 40px 26px;
    }


    .history-v2-today-quote {
        min-height: 430px;
    }

}



/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .history-v2-shell {
        width:
            calc(100% - 24px);
    }


    .history-v2-eyebrow {
        min-height: 34px;

        padding-inline: 12px;

        font-size: 13.5px;
    }


    .history-v2-intro-copy h1 {
        font-size: 36px;

        letter-spacing: -1.25px;
    }


    .history-v2-intro-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .history-v2-primary-link,
    .history-v2-text-link {
        width: 100%;
    }


    .history-v2-text-link {
        min-height: 42px;

        justify-content: flex-start;
    }


    .history-v2-image-frame>img {
        min-height: 340px;
    }


    .history-v2-image-caption {
        padding: 13px;
    }


    .history-v2-caption-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


    .history-v2-foundation-strip>div {
        padding: 21px 20px;
    }


    .history-v2-chapter {
        grid-template-columns:
            42px 1fr;

        align-items: start;
    }


    .history-v2-chapter-no {
        grid-row:
            1 / span 2;

        padding-top: 11px;
    }


    .history-v2-chapter-icon {
        margin-bottom: 2px;
    }


    .history-v2-chapter-copy {
        grid-column: 2;
    }


    .history-v2-principle {
        padding: 29px 24px;
    }


    .history-v2-today-copy,
    .history-v2-today-quote {
        padding: 34px 22px;
    }


    .history-v2-today-quote blockquote {
        font-size: 25.5px;
    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .history-v2-primary-link,
    .history-v2-text-link,
    .history-v2-chapter,
    .history-v2-system-card,
    .history-v2-principle {
        transition: none;
    }

}