.pr-page {
    --pr-ivory: #f7f1e6;
    --pr-sand: #d9c9b3;
    --pr-gold: #eab54f;
    --pr-red: #c5121d;
    --pr-ink: #080a0c;
    --pr-panel: #111519;
}

.pr-main-gateway-shell {
    border-right: 15px solid rgba(234, 181, 79, .34);
    border-left: 15px solid rgba(234, 181, 79, .34);
}

.pr-section-nav {
    position: sticky;
    top: 0;
    z-index: 44;
    border-bottom: 1px solid rgba(247, 241, 230, .12);
    background: rgba(17, 21, 25, .96);
    backdrop-filter: blur(18px);
}

.pr-section-nav-inner {
    width: min(1280px, calc(100% - 40px));
    min-height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pr-section-nav-inner::-webkit-scrollbar { display: none; }

.pr-section-nav a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(247, 241, 230, .66);
    font-family: "Poppins", sans-serif;
    font-size: .7rem;
    font-weight: 750;
    text-decoration: none;
}

.pr-section-nav a:hover,
.pr-section-nav a:focus-visible,
.pr-section-nav a[aria-current="page"] {
    color: var(--pr-ivory);
    background: rgba(234, 181, 79, .14);
}

.pr-hero {
    position: relative;
    min-height: 850px;
    display: flex;
    color: var(--pr-ivory);
    background-image:
        linear-gradient(90deg, rgba(5, 7, 9, .97) 0%, rgba(5, 7, 9, .82) 37%, rgba(5, 7, 9, .18) 76%, rgba(5, 7, 9, .1) 100%),
        linear-gradient(0deg, rgba(5, 7, 9, .98), transparent 46%),
        var(--pr-hero-image);
    background-position: center;
    background-size: cover;
}

.pr-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(125deg, transparent 55%, rgba(234, 181, 79, .11) 55.1%, transparent 55.3%);
    pointer-events: none;
}

.pr-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pr-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: rgba(247, 241, 230, .55);
    font-family: "Poppins", sans-serif;
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pr-breadcrumb a { color: inherit; text-decoration: none; }
.pr-breadcrumb a:hover { color: var(--pr-gold); }

.pr-hero-copy { max-width: 920px; margin: 92px 0 110px; }

.pr-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #fffaf0;
    font-size: clamp(3.7rem, 7.2vw, 7.2rem);
    line-height: .91;
}

.pr-hero-copy > p {
    max-width: 770px;
    margin: 30px 0 0;
    color: rgba(247, 241, 230, .8);
    font-size: clamp(1.04rem, 1.65vw, 1.3rem);
    line-height: 1.75;
}

.pr-hero-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(247, 241, 230, .24);
}

.pr-hero-foot > div { padding: 22px 22px 0 0; }
.pr-hero-foot > div + div { padding-left: 22px; border-left: 1px solid rgba(247, 241, 230, .18); }
.pr-hero-foot span { display: block; margin-bottom: 5px; color: var(--pr-gold); font-family: "Poppins", sans-serif; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pr-hero-foot strong { color: var(--pr-ivory); font-family: "Poppins", sans-serif; font-size: .9rem; }
.pr-hero-foot a { color: inherit; }

.pr-story { padding: clamp(92px, 11vw, 150px) 0; border-bottom: 1px solid rgba(247, 241, 230, .1); background: var(--pr-ink); }
.pr-story:nth-child(even) { background: var(--pr-panel); }

.pr-story-inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(55px, 8vw, 115px);
    align-items: start;
}

.pr-story-reverse .pr-story-visual { order: 2; }

.pr-story-visual {
    position: sticky;
    top: 92px;
    height: min(690px, calc(100vh - 130px));
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(247, 241, 230, .14);
    border-radius: 24px;
    background: #15191d;
}

.pr-story-visual::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 -150px 120px rgba(5, 7, 9, .32); pointer-events: none; }
.pr-story-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pr-story-visual figcaption { position: absolute; z-index: 1; right: 22px; bottom: 20px; left: 22px; display: flex; justify-content: space-between; color: rgba(247, 241, 230, .75); font-family: "Poppins", sans-serif; font-size: .66rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.pr-story-visual figcaption span { color: var(--pr-gold); }

.pr-story-copy { padding: 20px 0; }
.pr-story-copy h2 { max-width: 720px; margin: 0 0 32px; color: var(--pr-ivory); font-size: clamp(2.55rem, 5vw, 5.1rem); line-height: .99; }
.pr-prose { max-width: 760px; }
.pr-prose p { margin: 0 0 24px; color: rgba(247, 241, 230, .7); font-size: 1.03rem; line-height: 1.85; }
.pr-prose p:first-child::first-letter { float: left; margin: .12em .14em 0 0; color: var(--pr-gold); font-family: "Poppins", sans-serif; font-size: 3.75rem; font-weight: 800; line-height: .75; }

.pr-focus-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.pr-focus-list span { padding: 9px 12px; border: 1px solid rgba(247, 241, 230, .18); border-radius: 999px; color: rgba(247, 241, 230, .65); font-family: "Poppins", sans-serif; font-size: .66rem; font-weight: 750; }

.pr-business-impact {
    display: grid;
    grid-template-columns: minmax(210px, .52fr) minmax(0, 1.48fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: center;
    margin-top: clamp(28px, 3.4vw, 42px);
    padding: clamp(22px, 2.7vw, 32px);
    border: 1px solid rgba(224, 167, 62, .24);
    border-left: 3px solid var(--pr-gold);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(224, 167, 62, .11), rgba(247, 241, 230, .025) 58%, rgba(5, 7, 9, .08));
}

.pr-business-impact-intro span {
    display: block;
    margin-bottom: 8px;
    color: var(--pr-gold);
    font-family: "Poppins", sans-serif;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pr-business-impact-intro strong {
    display: block;
    max-width: 280px;
    color: var(--pr-ivory);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    line-height: 1.18;
}

.pr-business-impact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pr-business-impact-list span {
    position: relative;
    padding: 10px 14px 10px 29px;
    border: 1px solid rgba(247, 241, 230, .15);
    border-radius: 999px;
    background: rgba(5, 7, 9, .38);
    color: rgba(247, 241, 230, .84);
    font-family: "Poppins", sans-serif;
    font-size: .72rem;
    font-weight: 750;
}

.pr-business-impact-list span::before {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pr-gold);
    content: "";
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(224, 167, 62, .1);
}

.pr-story-prototype .pr-story-inner {
    align-items: center;
}

.pr-story-prototype .pr-story-copy h2 {
    max-width: 690px;
    margin-bottom: 16px;
    font-size: clamp(2.25rem, 4vw, 4.15rem);
    line-height: 1.02;
}

.pr-story-prototype .pr-story-visual {
    position: relative;
    top: auto;
    height: 590px;
    min-height: 0;
}

.pr-story-prototype .pr-prose p {
    max-width: 690px;
    color: rgba(247, 241, 230, .78);
    font-size: 1.08rem;
    line-height: 1.8;
}

.pr-story-prototype .pr-focus-list {
    margin-top: 17px;
}

.pr-story-gateway-full .pr-story-inner {
    display: block;
}

.pr-story-gateway-full .pr-story-visual {
    width: 100%;
    height: clamp(480px, 52vw, 650px);
    margin-bottom: clamp(30px, 4vw, 48px);
}

.pr-story-gateway-full .pr-story-copy {
    width: 100%;
    padding: 0;
}

.pr-story-gateway-full .pr-story-copy h2,
.pr-story-gateway-full .pr-prose,
.pr-story-gateway-full .pr-prose p {
    width: 100%;
    max-width: none;
}

.pr-story-gateway-full .pr-prose p {
    font-size: clamp(1.2rem, 1.35vw, 1.34rem);
    line-height: 1.8;
}

.pr-story-expansion {
    width: min(1280px, calc(100% - 40px));
    margin: clamp(32px, 4vw, 52px) auto 0;
    border-top: 1px solid rgba(247, 241, 230, .18);
}

.pr-subthought {
    display: grid;
    grid-template-columns: minmax(250px, .58fr) minmax(0, 1.42fr);
    gap: clamp(22px, 3.5vw, 55px);
    align-items: start;
    padding: clamp(21px, 2.5vw, 34px) 0;
    border-bottom: 1px solid rgba(247, 241, 230, .14);
}

.pr-subthought-heading span {
    display: block;
    margin-bottom: 15px;
    color: var(--pr-gold);
    font-family: "Poppins", sans-serif;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pr-subthought-heading h3 {
    margin: 0;
    color: var(--pr-ivory);
    font-size: clamp(1.55rem, 2.55vw, 2.55rem);
    line-height: 1.12;
}

.pr-subthought > p {
    max-width: 850px;
    margin: 0;
    color: rgba(247, 241, 230, .69);
    font-size: 1.03rem;
    line-height: 1.88;
}

.pr-story-gateway-full .pr-subthought {
    display: block;
}

.pr-story-gateway-full .pr-subthought-heading {
    width: 100%;
    margin-bottom: 12px;
}

.pr-story-gateway-full .pr-subthought-heading h3,
.pr-story-gateway-full .pr-subthought > p {
    width: 100%;
    max-width: none;
}

.pr-story-gateway-full .pr-subthought-media {
    display: grid;
    grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
    align-items: start;
    gap: clamp(30px, 4vw, 64px);
    padding: clamp(32px, 4vw, 54px) 0;
}

.pr-story-gateway-full .pr-subthought-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(247, 241, 230, .14);
    border-radius: 20px;
    background: #15191d;
}

.pr-story-gateway-full .pr-subthought-image::after {
    position: absolute;
    inset: 0;
    content: "";
    box-shadow: inset 0 -80px 90px rgba(5, 7, 9, .22);
    pointer-events: none;
}

.pr-story-gateway-full .pr-subthought-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Some original Katy editorial composites include a narrow secondary frame
   along their top edge. Keep the selected photography and crop that frame
   inside the existing image shells. */
.city-katy img:is(
    [src$="/04-section.jpg"],
    [src$="/05-section.jpg"],
    [src$="/05-workflow.jpg"],
    [src$="/06-industry-1.jpg"],
    [src$="/06-workflow.jpg"],
    [src$="/07-industry-2.jpg"],
    [src$="/07-workflow.jpg"],
    [src$="/08-industry-3.jpg"],
    [src$="/08-workflow.jpg"],
    [src$="/09-industry-4.jpg"],
    [src$="/09-workflow.jpg"]
) {
    height: 112%;
    transform: translateY(-10.7%);
}

.pr-story-gateway-full .pr-subthought-content {
    min-width: 0;
}

.pr-story-gateway-full .pr-subthought-content > p {
    width: 100%;
    max-width: none;
    margin: 0;
    color: rgba(247, 241, 230, .74);
    font-size: clamp(1.15rem, 1.22vw, 1.27rem);
    line-height: 1.84;
}

.pr-story-gateway-full .pr-subthought-content > p + p {
    margin-top: 1.05rem;
}

.pr-story-gateway-full .pr-subthought-media-reverse .pr-subthought-image {
    order: 2;
}

.pr-story-gateway-full .pr-subthought-media-reverse {
    grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
}

.pr-section-cta {
    display: flex;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-top: clamp(40px, 5vw, 64px);
    padding: clamp(26px, 3.4vw, 40px);
    border: 1px solid rgba(197, 18, 29, .38);
    border-left: 4px solid var(--pr-red);
    border-radius: 22px;
    background: linear-gradient(125deg, rgba(197, 18, 29, .18), rgba(224, 167, 62, .07) 54%, rgba(247, 241, 230, .025));
}

.pr-section-cta-copy { min-width: 0; }

.pr-section-cta-copy > span {
    display: block;
    margin-bottom: 9px;
    color: var(--pr-gold);
    font-family: "Poppins", sans-serif;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pr-section-cta-copy strong {
    display: block;
    color: var(--pr-ivory);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.45rem, 2.3vw, 2.05rem);
    line-height: 1.12;
}

.pr-section-cta-copy p {
    max-width: 760px;
    margin: 11px 0 0;
    color: rgba(247, 241, 230, .7);
    font-size: .96rem;
    line-height: 1.7;
}

.pr-section-cta .tx-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.pr-page-directory { margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(247, 241, 230, .14); }
.pr-directory-label { margin-bottom: 12px; color: var(--pr-gold); font-family: "Poppins", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pr-page-directory a { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(247, 241, 230, .1); color: var(--pr-ivory); font-family: "Poppins", sans-serif; font-weight: 750; text-decoration: none; }
.pr-page-directory a:hover { color: var(--pr-gold); }

.pr-story-expansion .pr-page-directory {
    margin-top: 0;
    padding: clamp(48px, 6vw, 74px) 0 0;
    border-top: 0;
}

.pr-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.pr-related { padding: 72px 0; background: #0d1013; }
.pr-related-inner { width: min(1280px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; }
.pr-related h2 { margin: 0; color: var(--pr-ivory); font-size: clamp(2rem, 3.6vw, 3.7rem); line-height: 1; }
.pr-related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 24px; }
.pr-related-links a { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(247, 241, 230, .13); color: rgba(247, 241, 230, .76); font-family: "Poppins", sans-serif; font-size: .82rem; font-weight: 750; text-decoration: none; }
.pr-related-links a:hover { color: var(--pr-gold); }

.pr-final { padding: clamp(90px, 11vw, 150px) 0; background: var(--pr-ink); }
.pr-final-inner { position: relative; width: min(1280px, calc(100% - 40px)); min-height: 560px; margin: 0 auto; padding: clamp(55px, 8vw, 96px); display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid rgba(247, 241, 230, .14); border-radius: 28px; isolation: isolate; background-image: linear-gradient(90deg, rgba(5, 7, 9, .98), rgba(5, 7, 9, .62) 64%, rgba(5, 7, 9, .22)), var(--pr-final-image); background-position: center; background-size: cover; }
.pr-final-inner::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(125deg, rgba(197, 18, 29, .24), transparent 46%); }
.pr-final h2 { max-width: 850px; margin: 0; color: var(--pr-ivory); font-size: clamp(2.75rem, 5.4vw, 5.6rem); line-height: .97; }
.pr-final p { max-width: 700px; margin: 24px 0 0; color: rgba(247, 241, 230, .72); font-size: 1.06rem; line-height: 1.75; }

@media (max-width: 991.98px) {
    .pr-hero { min-height: 820px; }
    .pr-hero-foot, .pr-story-inner, .pr-related-inner { grid-template-columns: 1fr; }
    .pr-story-reverse .pr-story-visual { order: 0; }
    .pr-story-visual { position: relative; top: auto; height: 540px; min-height: 0; }
    .pr-story-prototype .pr-story-visual { height: 520px; }
    .pr-subthought { grid-template-columns: minmax(210px, .5fr) minmax(0, 1.5fr); }
    .pr-story-gateway-full .pr-prose p { font-size: 1.28rem; line-height: 1.82; }
    .pr-story-gateway-full .pr-subthought-media { grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr); gap: 30px; }
    .pr-story-gateway-full .pr-subthought-media-reverse { grid-template-columns: minmax(0, 1.22fr) minmax(250px, .78fr); }
    .pr-story-gateway-full .pr-subthought-content > p { font-size: 1.21rem; line-height: 1.84; }
    .pr-related-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .pr-section-nav-inner, .pr-hero-inner, .pr-story-inner, .pr-related-inner, .pr-final-inner { width: calc(100% - 28px); }
    .pr-hero { min-height: 920px; background-position: 64% center; background-image: linear-gradient(90deg, rgba(5, 7, 9, .94), rgba(5, 7, 9, .48)), linear-gradient(0deg, rgba(5, 7, 9, .98), transparent 54%), var(--pr-hero-image); }
    .pr-hero-inner { padding-top: 55px; }
    .pr-hero-copy { margin: 70px 0; }
    .pr-hero h1 { font-size: clamp(3.35rem, 15vw, 5rem); }
    .pr-hero-foot { gap: 0; }
    .pr-hero-foot > div, .pr-hero-foot > div + div { padding: 15px 0; border-left: 0; border-top: 1px solid rgba(247, 241, 230, .16); }
    .pr-story { padding: 76px 0; }
    .pr-story-inner { gap: 36px; }
    .pr-story-visual { height: 430px; border-radius: 19px; }
    .pr-story-prototype .pr-story-visual { height: 430px; }
    .pr-story-copy h2 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
    .pr-story-prototype .pr-story-copy h2 { font-size: clamp(2.25rem, 10.5vw, 3.25rem); }
    .pr-prose p { font-size: 1rem; line-height: 1.78; }
    .pr-story-gateway-full .pr-prose p { font-size: 1.08rem; line-height: 1.8; }
    .pr-business-impact { grid-template-columns: 1fr; gap: 18px; padding: 22px 19px; border-radius: 17px; }
    .pr-business-impact-intro strong { max-width: none; font-size: 1.25rem; }
    .pr-business-impact-list { gap: 8px; }
    .pr-business-impact-list span { padding: 9px 12px 9px 27px; font-size: .68rem; }
    .pr-business-impact-list span::before { left: 12px; }
    .pr-story-expansion { width: calc(100% - 28px); margin-top: 24px; }
    .pr-section-cta { align-items: stretch; flex-direction: column; gap: 22px; padding: 25px 20px; border-radius: 18px; }
    .pr-section-cta-copy strong { font-size: 1.55rem; }
    .pr-section-cta-copy p { font-size: .92rem; }
    .pr-section-cta .tx-button { width: 100%; justify-content: center; text-align: center; white-space: normal; }
    .pr-subthought { grid-template-columns: 1fr; gap: 9px; padding: 19px 0; }
    .pr-story-gateway-full .pr-subthought-media { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
    .pr-story-gateway-full .pr-subthought-media-reverse .pr-subthought-image { order: 0; }
    .pr-story-gateway-full .pr-subthought-image { border-radius: 16px; }
    .pr-subthought-heading h3 { font-size: 1.75rem; }
    .pr-subthought > p { font-size: 1rem; line-height: 1.8; }
    .pr-story-gateway-full .pr-subthought-content > p { font-size: 1rem; line-height: 1.8; }
    .pr-directory-grid { grid-template-columns: 1fr; }
    .pr-related-links { grid-template-columns: 1fr; }
    .pr-final-inner { min-height: 620px; padding: 42px 25px; }
}
