/* Only loaded by the homepage cards. The introduction keeps its existing panel. */
.otp-page-home .otp-center-hero {
    padding-top: clamp(30px, 3.1vw, 58px);
    padding-bottom: clamp(32px, 3.4vw, 56px);
}
.otp-page-home .otp-center-heading.oha-with-apps {
    display: grid;
    grid-template-columns: minmax(0, calc(58.333333% - 5.833333px)) minmax(0, 1fr);
    grid-template-areas: "title apps" "intro apps";
    align-items: center;
    column-gap: 14px;
    row-gap: 18px;
    min-height: 0;
    margin-bottom: clamp(26px, 2.5vw, 42px);
}
.oha-with-apps > div:first-child {
    grid-area: title;
    align-self: end;
}
.otp-design-2026 #main .oha-with-apps h1 {
    font-size: clamp(65px, 6.15vw, 100px);
    line-height: .95;
}
.oha-with-apps > p {
    grid-area: intro;
    align-self: start;
    margin: 0;
    max-width: 54ch;
}
.oha-apps, .oha-apps * { box-sizing: border-box; }
.oha-apps {
    grid-area: apps;
    display: grid;
    gap: 10px;
    min-width: 0;
    width: 100%;
    text-align: left;
    align-self: center;
}
.oha-card {
    position: relative;
    isolation: isolate;
    display: flex;
    margin: 0;
    padding: 0;
    min-width: 0;
    min-height: 144px;
    overflow: hidden;
    border: 1px solid rgba(198, 155, 76, .43);
}
.oha-lab { background: #171e1c; }
.oha-near { background: #f1e9d7; }
.oha-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 57%;
    padding: 15px 0 13px 20px;
}
.otp-design-2026 #main .oha-apps h2 {
    margin: 0 0 7px;
    padding: 0;
    font: 400 clamp(25px, 2.18vw, 34px)/1.05 Georgia, "Times New Roman", serif;
    letter-spacing: -.04em;
    text-shadow: none;
    text-transform: none;
    overflow-wrap: break-word;
}
.otp-design-2026 #main .oha-lab h2 { color: #f6efdf; }
.otp-design-2026 #main .oha-near h2 { color: #302c25; }
.otp-design-2026 #main .oha-apps p {
    max-width: 31ch;
    margin: 0 0 8px;
    padding: 0;
    font: 400 14px/1.35 Arial, sans-serif;
    letter-spacing: normal;
    text-transform: none;
}
.otp-design-2026 #main .oha-lab p { color: #d3ded8; max-width: 25ch; }
.otp-design-2026 #main .oha-near p { color: #514b3f; }
.otp-design-2026 #main .oha-apps .oha-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 25px;
    margin: auto 0 0;
    padding: 2px 0 3px;
    font: 600 13px/1.2 Arial, sans-serif;
    color: #ebc379;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}
.otp-design-2026 #main .oha-near .oha-action { color: #604718; }
.oha-action span { font: 400 19px/1 Arial, sans-serif; }
.oha-spectrum, .oha-map {
    position: absolute;
    inset: 0 0 0 auto;
    width: 54%;
    overflow: hidden;
    pointer-events: none;
}
.oha-spectrum { background: #1a1f1b; }
.oha-spectrum::after, .oha-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #171e1c, transparent 20%);
}
.oha-map { width: 59%; }
.oha-map::after { background: linear-gradient(to right, #f1e9d7 1%, transparent 45%); }
.oha-spectrum img {
    position: absolute;
    right: 0;
    bottom: 13px;
    width: 100%;
    height: 84%;
    max-width: none;
    object-fit: cover;
    object-position: 70% 100%;
    filter: brightness(1.09) saturate(1.12);
}
.oha-map img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 55% 50%;
    filter: saturate(.86) sepia(.1);
}
.oha-pin {
    position: absolute;
    width: 23px;
    height: 23px;
    transform: translate(-50%, -50%);
    border: 2px solid #fff5df;
    border-radius: 50%;
    background: #fff5da;
    box-shadow: 0 2px 4px rgba(59, 49, 22, .55);
}
.oha-pin::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 33%, #fff6dc 0 19%, transparent 22%),
        radial-gradient(ellipse 45% 42% at 50% 89%, #fff6dc 0 88%, transparent 98%), #885d31;
}
.oha-pin-a { left: 58%; top: 15%; }
.oha-pin-b { left: 46%; top: 43%; width: 24px; height: 24px; }
.oha-pin-b::after {
    background: radial-gradient(circle at 35% 36%, #fff6dc 0 12%, transparent 14%),
        radial-gradient(circle at 66% 36%, #fff6dc 0 12%, transparent 14%),
        radial-gradient(ellipse 24% 30% at 35% 78%, #fff6dc 0 86%, transparent 98%),
        radial-gradient(ellipse 24% 30% at 66% 78%, #fff6dc 0 86%, transparent 98%), #48664c;
}
.oha-pin-c { left: 77%; top: 33%; width: 19px; height: 19px; }
.oha-pin-d { left: 37%; top: 75%; width: 19px; height: 19px; }
.otp-design-2026 #main .oha-apps .oha-together {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 16px;
    width: clamp(96px, 7.8vw, 127px);
    padding: 5px 7px;
    border: 1px solid #a4906a;
    border-radius: 3px;
    background: #fffaf0;
    box-shadow: 0 5px 12px rgba(54, 42, 22, .25);
    color: #473b2a;
    font: 600 11px/1.15 Arial, sans-serif;
    text-decoration: none;
}
.oha-together span { display: flex; align-items: center; gap: 7px; }
.oha-together span::before {
    content: "";
    border-block: 4px solid transparent;
    border-left: 7px solid #886435;
}
.oha-together img {
    display: block;
    width: 100%;
    height: 20px;
    margin-top: 3px;
    object-fit: fill;
    border: 1px solid #e0d2b0;
    border-radius: 2px;
    background: #f3ebd8;
}
.otp-design-2026 #main .oha-apps .oha-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1px 3px;
    background: rgba(250, 248, 238, .94);
    color: #374239;
    font: 10px/1.2 Arial, sans-serif;
    text-decoration: none;
}
.oha-apps a:focus-visible { outline: 3px solid #b58438; outline-offset: 2px; }
.oha-apps .oha-credit:focus-visible { outline-offset: -2px; }
.oha-apps a:hover { filter: brightness(1.1); }
@media (min-width: 1650px) {
    .oha-card { min-height: 158px; }
    .oha-copy { padding: 18px 0 16px 23px; }
}
@media (max-width: 1180px) {
    .otp-page-home .otp-center-heading.oha-with-apps {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        column-gap: 20px;
    }
    .otp-design-2026 #main .oha-with-apps h1 { font-size: clamp(54px, 5.7vw, 68px); }
    .oha-copy { padding-left: 16px; }
}
@media (max-width: 919px) {
    .otp-page-home .otp-center-heading.oha-with-apps {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "title" "intro" "apps";
        row-gap: 14px;
    }
    .otp-center-heading.oha-with-apps > p { margin-top: 0; }
    .oha-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
}
@media (max-width: 760px) {
    .oha-apps { grid-template-columns: minmax(0, 1fr); }
    .oha-card { min-height: 137px; }
    .oha-map, .oha-spectrum { width: 54%; }
}
@media (max-width: 480px) {
    .otp-design-2026 #main .oha-with-apps h1 { font-size: clamp(40px, 11.1vw, 53px); }
    .oha-copy { padding: 13px 0 12px 12px; width: 57%; }
    .otp-design-2026 #main .oha-apps p { font-size: 13px; }
    .oha-map, .oha-spectrum { width: 47%; }
    .otp-design-2026 #main .oha-apps .oha-together { right: 5px; width: 85px; }
}

/* Match the content width and gutters of the homepage department grid. */
.otp-page-home #main > .on-home {
    box-sizing: content-box;
    max-width: 1500px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 66px);
}
@media (max-width: 620px) {
    .otp-page-home #main > .on-home { padding-inline: 16px; }
}
