.home-page {
    display: block;
    padding: 0;
    place-items: initial;
    align-items: initial;
    justify-items: initial;
    background: var(--dl-background, #fafaf7);
    color: var(--dl-text, #2b2b2b);
}
.home-page a { color: inherit; }
/* Buttons and CTAs keep their own palette regardless of surrounding text color:
   .home-page a has higher specificity than portal.css `button, .button-link`
   and would otherwise turn white-on-primary button labels into dark text. */
.home-page .button-link, .home-page .header-cta, .home-page button { color: var(--dl-surface, #fff); }
.home-page .text-link { color: #2563eb !important; }
.home-container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.skip-link {
    position: absolute;
    z-index: 50;
    top: .5rem;
    left: .5rem;
    padding: .7rem 1rem;
    transform: translateY(-160%);
    border-radius: .4rem;
    background: var(--dl-surface, #fff);
    color: #14213d !important;
}
.skip-link:focus { transform: translateY(0); }
.preview-strip {
    padding: .55rem 1rem;
    background: #14213d;
    color: #e7f2eb;
    font-size: .78rem;
    text-align: center;
    letter-spacing: .025em;
}
.site-header { border-bottom: 1px solid var(--dl-border, #e4e7ec); background: var(--dl-surface, #fafaf7); }
.header-inner {
    min-height: 5.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
/* Official brand asset (assets/brand/logo-master.png, untouched artwork). */
.brand-logo { height: 2.6rem; width: auto; display: block; border-radius: .45rem; background: var(--dl-surface, #fff); padding: .18rem .3rem; }
.site-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.45rem; }
.site-nav a, .site-footer nav a { color: #565b63; font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-footer nav a:hover, .text-link:hover { color: var(--dl-accent, #2563eb); }
.header-cta { min-height: 2.65rem; padding: .6rem .9rem; font-size: .88rem; }
.hero {
    min-height: 35rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 4.5rem clamp(1.75rem, 5vw, 4.5rem);
}
.hero-copy { max-width: 39rem; }
.home-page .eyebrow {
    margin-bottom: 1rem;
    color: var(--dl-accent, #2563eb);
    font-size: .76rem;
    letter-spacing: .12em;
}
.eyebrow-mark {
    width: .48rem;
    height: .48rem;
    display: inline-block;
    margin-right: .4rem;
    border-radius: 50%;
    background: #2563eb;
}
.hero h1 {
    max-width: 12ch;
    margin: 0 0 1.25rem;
    color: var(--dl-text, #15231d);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: 1.02;
}
.hero h1 span { color: #2563eb; }
.hero-lede { max-width: 38rem; margin: 0; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.hero-actions .button-link { min-height: 3.2rem; padding-inline: 1.3rem; }
.text-link { color: #2563eb !important; font-size: .92rem; font-weight: 750; text-decoration: none; }
/* Tap comfort: inline text links keep enough clickable height on touch screens. */
@media (pointer: coarse) { .text-link, .service-card a, footer a, .mobile-nav-panel a { padding-block: .45rem; } }
.text-link span, .service-card a span { padding-left: .35rem; }
.hero-note { margin-top: 1.3rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 55%, var(--dl-background, #fff)); font-size: .82rem; }
.hero-art {
    min-height: 25rem;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1rem;
}
.art-glow {
    position: absolute;
    z-index: -2;
    inset: 5% 2%;
    border-radius: 47% 53% 62% 38% / 46% 41% 59% 54%;
    background: linear-gradient(140deg, color-mix(in srgb, var(--dl-primary, #2563eb) 24%, var(--dl-surface, #fff)), color-mix(in srgb, var(--dl-primary, #2563eb) 10%, var(--dl-background, #fafaf7)) 58%, color-mix(in srgb, var(--dl-primary, #2563eb) 16%, var(--dl-surface, #fff)));
}
.art-orbit { position: absolute; z-index: -1; border: 1px solid color-mix(in srgb, var(--dl-primary, #2563eb) 45%, transparent); border-radius: 50%; }
.orbit-one { width: 24rem; height: 16rem; transform: rotate(-31deg); }
.orbit-two { width: 18rem; height: 25rem; transform: rotate(38deg); }
.art-card {
    width: min(78%, 23rem);
    padding: 1.6rem;
    border: 1px solid var(--dl-border, #e4e7ec);
    border-radius: 1.1rem;
    background: color-mix(in srgb, var(--dl-surface, #fff) 94%, transparent);
    box-shadow: 0 1.5rem 4rem rgba(23, 61, 40, .11);
}
.art-kicker { margin: 0 0 .45rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 62%, var(--dl-background, #fff)); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.art-card h2 { max-width: 15ch; margin: 0 0 1.25rem; font-size: 1.65rem; letter-spacing: -.035em; line-height: 1.15; color: var(--dl-text, #2b2b2b); }
.service-stack { display: grid; gap: .65rem; }
.service-stack span { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; border-radius: .55rem; border: 1px solid color-mix(in srgb, var(--dl-primary, #2563eb) 16%, transparent); background: var(--dl-surface, #fff); color: var(--dl-text, #2b2b2b); font-size: .83rem; font-weight: 650; box-shadow: 0 .3rem .9rem rgba(23, 61, 40, .06); }
.stack-dot { width: .55rem; height: .55rem; display: inline-block; border-radius: .18rem; background: var(--dl-accent, #2563eb); }
.dot-cloud { background: color-mix(in srgb, var(--dl-primary, #2563eb) 72%, #fff); }
.dot-secure { background: #ff6a00; }
.art-chip { position: absolute; padding: .65rem .9rem; border: 1px solid var(--dl-border, #e4e7ec); border-radius: 2rem; background: var(--dl-surface, #fff); box-shadow: 0 .6rem 1.8rem rgba(23, 61, 40, .07); color: var(--dl-text, #395747); font-size: .78rem; font-weight: 750; }
.chip-domain { top: 16%; right: 3%; }
.chip-support { bottom: 14%; left: 1%; }
.art-spark { width: .5rem; height: .5rem; position: absolute; border-radius: 50%; background: #ff6a00; }
.spark-one { top: 19%; left: 13%; }
.spark-two { right: 11%; bottom: 18%; width: .35rem; height: .35rem; background: #86aef8; }
.service-band { border-block: 1px solid var(--dl-border, #e4e7ec); background: color-mix(in srgb, var(--dl-primary, #2563eb) 6%, var(--dl-background, #fafaf7)); }
.service-band-inner { min-height: 4.2rem; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(1rem, 4vw, 3.4rem); color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.service-band-inner i { width: .28rem; height: .28rem; border-radius: 50%; background: color-mix(in srgb, var(--dl-primary, #2563eb) 55%, transparent); }
.trust-band { padding-block: 2.6rem; background: color-mix(in srgb, var(--dl-primary, #2563eb) 5%, var(--dl-surface, #fff)); border-block: 1px solid var(--dl-border, #e4e7ec); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.trust-item { display: grid; gap: .35rem; padding: .4rem .2rem .4rem 1.1rem; border-left: 2px solid color-mix(in srgb, var(--dl-primary, #2563eb) 30%, transparent); }
.trust-item strong { color: var(--dl-primary, #2563eb); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; line-height: 1; }
.trust-item span { color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); font-size: .86rem; line-height: 1.5; }
.section { padding-block: 5.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2, .industry-intro h2, .approach-panel h2, .closing-inner h2 { max-width: 17ch; margin: 0; font-size: clamp(2rem, 3.7vw, 3.2rem); letter-spacing: -.045em; line-height: 1.08; }
.section-heading > p { max-width: 25rem; margin: 0 0 .25rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.service-card { min-height: 15.5rem; display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--dl-border, #e4e7ec); border-radius: .85rem; background: var(--dl-surface, #fff); }
.service-number { color: color-mix(in srgb, var(--dl-primary, #2563eb) 60%, var(--dl-background, #fff)); font-size: .75rem; font-weight: 800; letter-spacing: .09em; }
.service-card h3 { margin: 1.5rem 0 .5rem; font-size: 1.12rem; letter-spacing: -.02em; }
.service-card p { margin: 0 0 1.2rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 68%, var(--dl-background, #fff)); font-size: .9rem; }
.service-card a { margin-top: auto; color: #2563eb; font-size: .82rem; font-weight: 750; text-decoration: none; }
.industry-section { padding-block: 5rem; background: color-mix(in srgb, var(--dl-primary, #14213d) 82%, #08110c); color: var(--dl-surface, #f4f7f3); }
.industry-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); }
.industry-intro .eyebrow { color: #a5c6fb; }
.industry-intro h2 { max-width: 13ch; }
.industry-intro > p:not(.eyebrow) { max-width: 27rem; margin: 1rem 0 1.5rem; color: #c4d3ea; }
.industry-intro .text-link { color: #a5c6fb !important; }
.industry-list article { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid color-mix(in srgb, var(--dl-surface, #fff) 20%, transparent); }
.industry-list article > span { padding-top: .2rem; color: #a5c6fb; font-size: .75rem; font-weight: 800; }
.industry-list h3 { margin: 0 0 .25rem; font-size: 1.02rem; }
.industry-list p { margin: 0; color: #c4d3ea; font-size: .88rem; }
.approach-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); padding: clamp(1.5rem, 4vw, 3.2rem); border: 1px solid var(--dl-border, #e4e7ec); border-radius: 1rem; background: var(--dl-surface, #fff); }
.approach-panel h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.approach-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.approach-steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; }
.approach-steps li > span { color: #86aef8; font-size: .74rem; font-weight: 800; }
.approach-steps h3 { margin: 0 0 .15rem; font-size: .95rem; }
.approach-steps p { margin: 0; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 68%, var(--dl-background, #fff)); font-size: .85rem; }
.closing-section { padding-block: 4rem; background: color-mix(in srgb, var(--dl-primary, #2563eb) 10%, var(--dl-background, #fafaf7)); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing-inner h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3rem); }
.closing-inner > div > p:last-child { max-width: 34rem; margin-bottom: 0; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); }
.button-light { flex: 0 0 auto; background: #2563eb; }
.site-footer { padding-block: 2rem; background: #fafaf7; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 2rem; }
.footer-inner > p { margin: 0; color: #6b7078; font-size: .85rem; }
.footer-inner nav { grid-column: 1 / -1; gap: 1.2rem; padding-block: .5rem; }
.footer-inner > small { grid-column: 1 / -1; color: #787d85; font-size: .75rem; }

.home-page :focus-visible { outline: 3px solid #86aef8; outline-offset: 3px; }
@media (max-width: 58rem) {
    .header-inner { min-height: 4.6rem; flex-wrap: wrap; padding-block: .75rem; }
    .site-nav { order: 3; width: 100%; gap: 1rem 1.3rem; }
    .hero { min-height: 0; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 3rem clamp(1.25rem, 4vw, 2.5rem); }
    .hero-art { min-height: 22rem; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
    .home-container { width: min(100% - 1.5rem, 72rem); }
    .header-inner { gap: .7rem; }
    .header-cta { min-height: 2.4rem; padding: .5rem .65rem; font-size: .78rem; }
    .site-nav { justify-content: space-between; gap: .55rem; }
    .site-nav a { font-size: .8rem; }
    .hero { grid-template-columns: 1fr; padding: 3rem clamp(1.1rem, 4vw, 1.75rem) 2rem; }
    .hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
    .hero-art { min-height: 20rem; }
    .orbit-one { width: min(22rem, 90vw); }
    .orbit-two { height: 20rem; }
    .section { padding-block: 3.5rem; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-art { margin-bottom: 4.2rem; }
    .section-heading, .closing-inner { align-items: flex-start; flex-direction: column; }
    .section-heading { gap: 1rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 13rem; }
    .industry-section { padding-block: 3.5rem; }
    .industry-layout, .approach-panel { grid-template-columns: 1fr; }
    .approach-panel { gap: 1.5rem; }
    .closing-inner { gap: 1.3rem; }
    .footer-inner { grid-template-columns: 1fr; gap: .75rem; }
    .footer-inner nav, .footer-inner > small { grid-column: auto; }
    .site-footer { padding-block: 1.5rem; }
}
@media (max-width: 22rem) {
    .preview-strip { font-size: .7rem; }
    .brand-logo { height: 2.2rem; max-width: 10.5rem; width: auto; }
    .header-cta { font-size: .72rem; }
    .site-nav { gap: .4rem; }
    .site-nav a { font-size: .74rem; }
    .art-card { width: 84%; padding: 1.15rem; }
    .art-card h2 { font-size: 1.35rem; }
    .art-chip { padding: .5rem .65rem; font-size: .7rem; }
}

/* Accessible compact header and native mobile navigation. */
.header-actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.header-signin { font-size: .88rem; font-weight: 750; text-decoration: none; color: #2563eb !important; }
.mobile-navigation { display: none; position: relative; }
.mobile-navigation summary { cursor: pointer; list-style: none; padding: .55rem .85rem; border: 1px solid #e4e7ec; border-radius: .5rem; font-weight: 750; }
.mobile-navigation summary::-webkit-details-marker { display: none; }
.mobile-navigation[open] nav { position: absolute; z-index: 40; top: calc(100% + .5rem); right: 0; width: min(18rem, 85vw); padding: .5rem; display: grid; border: 1px solid #e4e7ec; border-radius: .75rem; background: var(--dl-surface, #fff); box-shadow: 0 .75rem 2rem rgba(23, 35, 30, .2); }
.mobile-navigation nav a { display: block; padding: .65rem .75rem; text-decoration: none; font-weight: 650; border-radius: .4rem; }
.mobile-navigation nav a:hover, .mobile-navigation nav a:focus-visible { background: #eef3fb; }
@media (max-width: 58rem) {
  .site-nav { display: none; }
  .mobile-navigation { display: block; margin-left: auto; }
  .header-actions { gap: .5rem; }
  .header-signin { display: none; }
}

/* Hero: original website-development illustration behind the service card. */
.hero-visual {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}
.hero-art { isolation: isolate; }
.hero-art .art-card { backdrop-filter: blur(2px); }

/* ---------- Premium navy hero (corporate IT look) ---------- */
.hero {
    background: linear-gradient(160deg, #14213d 0%, #1b2c4f 58%, #14213d 100%);
    color: #fff;
    border-radius: 0 0 1.2rem 1.2rem;
}
.hero h1 { color: #fff; }
.hero h1 span { color: #8ab4f8; }
.hero-lede { color: #c4d3ea; }
.hero-note { color: #9db8ea; }
.hero .eyebrow, .home-page .hero .eyebrow { color: #9db8ea; }
.eyebrow-mark { background: #ff6a00; }
.hero-actions .text-link { color: #a5c6fb !important; }
.hero-actions .text-link:hover { color: #c4d3ea !important; }
.hero .text-link { color: #a5c6fb !important; }
.hero .button-link { box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .35); }
.hero-art { border-radius: 1rem; box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .35); }
.hero-art .art-card { background: #fff; }
.service-band { background: #fff; }
.trust-band { background: #fff; }
.service-card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.service-card:hover, .service-card:focus-within { transform: translateY(-3px); box-shadow: 0 1rem 2.4rem rgba(20, 33, 61, .10); border-color: #c9d2e3; }
.industry-section { background: #14213d; }
.approach-panel { border-top: 3px solid #2563eb; }

/* Rich featured cards: category chip, description, price line */
.card-eyebrow { margin: 0 0 .5rem; color: #2563eb; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { margin: 0 0 .45rem; font-size: 1.02rem; line-height: 1.3; }
.card-desc { margin: 0 0 .7rem; color: #565b63; font-size: .85rem; line-height: 1.55; }
.card-price { margin: 0 0 .8rem; padding-top: .6rem; border-top: 1px solid #eef0f4; color: #14213d; font-size: .86rem; font-weight: 750; }
.service-card { display: flex; flex-direction: column; }
.service-card .card-eyebrow + h3 { margin-top: 0; }
.service-card a { margin-top: auto; color: #2563eb; font-size: .82rem; font-weight: 750; text-decoration: none; }
.service-card a:hover { text-decoration: underline; }

/* Hero art card: compact stack rows, tighter card, in-card CTA */
.art-card-main { width: min(70%, 20rem); padding: 1.25rem 1.15rem; border-radius: .9rem; box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, .28); }
.art-card-main h2 { margin-bottom: .9rem; font-size: 1.3rem; }
.service-stack { gap: .35rem; }
.service-stack span { padding: .45rem .6rem; border-radius: .5rem; border: 1px solid #e8ecf3; background: #fff; font-size: .8rem; box-shadow: none; }
.stack-dot { width: .45rem; height: .45rem; }
.art-cta { display: inline-flex; align-items: center; gap: .3rem; margin-top: .9rem; color: #2563eb; font-size: .8rem; font-weight: 800; text-decoration: none; }
.art-cta:hover, .art-cta:focus-visible { text-decoration: underline; }
.chip-domain, .chip-support { font-size: .72rem; padding: .45rem .7rem; box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .18); }

/* Trust band: cleaner stat blocks */
.trust-band { background: #fff; }
.trust-item { border-left: 3px solid #2563eb; padding-left: 1rem; background: transparent; }
.trust-item strong { color: #14213d; }
.trust-item span { color: #565b63; font-size: .82rem; }

/* Closing band: stronger conversion strip */
.closing-section { background: linear-gradient(160deg, #14213d, #1b2c4f); color: #fff; }
.closing-section h2 { color: #fff; }
.closing-inner > div > p:last-child { color: #c4d3ea; }
.closing-section .eyebrow { color: #9db8ea; }
.closing-section .button-light { background: #ff6a00; color: #fff; }
.closing-section .button-light:hover { background: #e55f00; color: #fff; }


/* ---------- Premium hero imagery (master order Phase 1) ---------- */
.hero-visual { opacity: .38; filter: saturate(.8) contrast(1.05); }
.hero-visual-veil {
    position: absolute; z-index: -2; inset: 0; border-radius: 1rem;
    background: linear-gradient(150deg, rgba(20, 33, 61, .55) 0%, rgba(27, 44, 79, .35) 55%, rgba(20, 33, 61, .72) 100%);
}
.hero-art { overflow: hidden; }
.hero-art .art-card { box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, .45); }
@media (max-width: 30rem) {
    .hero-art { min-height: 16rem; }
    .art-card { width: min(92%, 20rem); padding: 1.1rem; }
    .art-card h2 { font-size: 1.25rem; }
    .chip-domain, .chip-support { display: none; }
    .hero h1 { overflow-wrap: anywhere; }
}
