:root {
    --jg-color-primary: #2f5fac;
    --jg-color-secondary: #54595f;
    --jg-color-accent: #f1a81e;
    --jg-color-text: #7a7a7a;
    --jg-gray-50: #f7f7f8;
    --jg-gray-100: #ebebef;
    --jg-gray-800: #1d1d22;
    --jg-sky: #dfe8fb;
    --jg-shadow: 0 20px 48px rgba(29, 29, 34, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--jg-color-text);
    background:
        radial-gradient(circle at top left, rgba(241, 168, 30, 0.18), transparent 28%),
        radial-gradient(circle at right center, rgba(47, 95, 172, 0.16), transparent 24%),
        linear-gradient(180deg, #fffefb 0%, #f7f8fc 54%, #eef2f9 100%);
    padding-top: 116px;
}

body.home-page {
    padding-top: 0;
}

body.services-page {
    padding-top: 0;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    min-height: 100vh;
    width: 100%;
    overflow-x: clip;
}

.parent {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    z-index: 20;
    padding: 24px 0;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(84, 89, 95, 0.12);
    transition: padding 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
    padding: 4px 0;
    background: rgba(241, 243, 245, 0.98);
    border-bottom-color: rgba(84, 89, 95, 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    transition: min-height 180ms ease, gap 180ms ease;
}

.site-header.scrolled .nav-wrap {
    min-height: 54px;
    gap: 18px;
}

.brand img {
    max-height: 88px;
    width: auto;
    transition: max-height 180ms ease;
}

.site-header.scrolled .brand img {
    max-height: 48px;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    border: 1px solid rgba(84, 89, 95, 0.18);
    border-radius: 8px;
    color: var(--jg-gray-800);
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: var(--jg-color-primary);
    box-shadow: 0 10px 20px rgba(47, 95, 172, 0.14);
    outline: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.site-nav a {
    position: relative;
    color: var(--jg-gray-800);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--jg-color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.4rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(47, 95, 172, 0.16);
}

.button-primary {
    color: var(--jg-gray-800);
    background: var(--jg-color-accent);
}

.site-header .button-primary {
    padding: 0.75rem 1.5rem;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, padding 180ms ease, font-size 180ms ease;
}

.site-header.scrolled .button-primary {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
}

.button-secondary {
    color: var(--jg-color-primary);
    background: rgba(255, 255, 255, 0.72);
}

.intro-section,
.services-preview,
.testimonial-section,
.cta-section,
.page-hero,
.page-section,
.logo-section,
.contact-section {
    padding: 88px 0;
}

.cta-panel,
.contact-grid {
    display: grid;
    gap: 28px;
}

.services {
    padding: 88px 0 0;
    background: var(--jg-color-primary);
}

.services .container {
    padding-bottom: 88px;
}

.services-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.services-heading h2 {
    margin: 0;
    color: var(--jg-color-accent);
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    text-transform: uppercase;
}

.services-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.services-project-card {
    min-height: 100%;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--jg-shadow);
}

.services-project-card.project-observe {
    opacity: 0;
    transition: opacity 1200ms cubic-bezier(.22, 1, .36, 1), transform 1200ms cubic-bezier(.22, 1, .36, 1);
}

.services-project-card.project-observe.project-from-left {
    transform: translateX(-44px);
}

.services-project-card.project-observe.project-from-bottom {
    transform: translateY(44px);
}

.services-project-card.project-observe.project-from-right {
    transform: translateX(44px);
}

.services-project-card.project-observe.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.services-project-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.services-project-title h3 {
    margin: 0;
    color: var(--jg-color-accent);
    font-family: "Oswald", sans-serif;
    font-size: 1.6rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.services-project-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: var(--jg-color-accent);
}

.services-project-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.services-project-card p {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.services-shape {
    display: block;
    width: 100%;
    line-height: 0;
}

.services-shape svg {
    display: block;
    width: 100%;
    height: 84px;
}

.services-shape-fill {
    fill: var(--jg-color-primary);
}

.hero-banner {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 180px 20px 120px;
    overflow: hidden;
    isolation: isolate;
    background: #1a2530;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(26, 37, 48, 0.58), rgba(26, 37, 48, 0.72));
}

.hero-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-banner .cta-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0;
    color: var(--jg-gray-800);
    font-family: "Oswald", sans-serif;
    font-size: clamp(3.4rem, 7vw, 6.2rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.page-lead,
.story-card p,
.service-card p,
.quote-card p,
.rich-text p,
.contact-card p,
.contact-list li,
.intake-form label {
    font-size: 1.05rem;
}

.eyebrow,
.service-tag,
.card-label,
.footer-title,
.page-tag {
    margin: 0 0 14px;
    color: var(--jg-color-primary);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.story-card,
.service-card,
.quote-card,
.cta-panel,
.contact-card,
.intake-form,
.capability-card,
.services-list,
.logo-wall,
.page-hero-panel {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(84, 89, 95, 0.12);
    border-radius: 28px;
    box-shadow: var(--jg-shadow);
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 168, 30, 0.28), transparent 64%);
}

.footer-list,
.contact-list,
.service-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li,
.service-lines li {
    padding: 16px 0;
    border-top: 1px solid rgba(84, 89, 95, 0.12);
}

.contact-list li:first-child,
.service-lines li:first-child {
    border-top: 0;
    padding-top: 0;
}

.service-card h3,
.quote-card span,
.capability-card h3,
.services-list h3,
.contact-card h2,
.intake-form h2,
.logo-section h2,
.section-heading h2,
.rich-text h2,
.rich-text blockquote {
    color: var(--jg-gray-800);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading-wide {
    max-width: none;
}

.section-heading-wide h2 {
    padding-bottom: 1rem;
}

.section-heading h2,
.logo-section h2,
.intake-form h2,
.contact-card h2,
.services-list h3,
.rich-text h2 {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    text-transform: uppercase;
}

.story-grid,
.service-grid,
.testimonial-grid,
.capability-grid,
.logo-grid,
.footer-grid {
    display: grid;
    gap: 22px;
}

.story-grid,
.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid-enhanced {
    align-items: stretch;
}

.service-card-with-image,
.service-card-featured {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-card-with-image .button,
.service-card-featured .button {
    margin-top: auto;
    width: fit-content;
}

.service-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(47, 95, 172, 0.12), rgba(241, 168, 30, 0.12));
}

.service-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
    align-items: stretch;
    gap: 24px;
}

.service-featured-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-featured-copy p {
    margin: 0;
}

.service-featured-media {
    min-height: 100%;
}

.service-featured-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(47, 95, 172, 0.12), rgba(241, 168, 30, 0.12));
}

.testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.testimonial-grid .section-heading {
    grid-column: 1 / -1;
    margin-inline: auto;
    text-align: center;
}

.story-card,
.service-card,
.quote-card,
.capability-card,
.services-list,
.contact-card,
.intake-form {
    padding: 28px;
}

.service-card,
.capability-card {
    min-height: 100%;
}

.capability-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.capability-card>.service-tag,
.capability-card>h3,
.capability-card>p {
    margin: 0;
}

.capability-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(47, 95, 172, 0.12), rgba(241, 168, 30, 0.12));
}

.capability-card .button {
    width: fit-content;
    margin-top: auto;
}

.quote-card p {
    margin-top: 0;
    color: var(--jg-gray-800);
}

.quote-card span {
    display: block;
    margin-top: 18px;
    font-weight: 700;
}

.quote-role {
    margin: 6px 0 0;
    color: var(--jg-color-secondary);
    font-size: 0.98rem;
}

.cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.cta-panel-copy h2 {
    margin: 0;
    color: #000000;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    text-transform: none;
}

.cta-section {
    background-color: var(--jg-color-primary);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.cta-section .cta-panel-copy,
.cta-section .cta-panel-copy h2 {
    color: #000000;
}

.cta-heading {
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

#typing-text,
.cursor {
    color: #f39c12;
}

.cursor {
    font-weight: 300;
    animation: blink 0.7s infinite;
}

.cta-subheading {
    margin-bottom: 30px;
    color: #d1d5db;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #3b82f6;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 180ms ease, color 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    background-color: #3b82f6;
    outline: none;
}

.site-footer {
    padding: 72px 0 32px;
    background: #ffffff;
    color: var(--jg-gray-800);
}

footer .brand img {
    height: 100%;
    max-height: 98px;

}

.footer-brand img {
    margin-bottom: 9px;
    background: #fff;
    padding: 0;
}

.footer-list li,
.social-links a {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(84, 89, 95, 0.16);
    border-radius: 50%;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-link-icon:hover,
.social-link-icon:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 29, 34, 0.08);
    border-color: rgba(47, 95, 172, 0.28);
}

.social-link-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.social-links a,
.footer-list a {
    color: var(--jg-gray-800);
    text-decoration: none;
}

.footer-contact {
    margin-top: 16px;
    display: grid;
    gap: 6px;
}

.footer-contact p {
    margin: 0;
    color: var(--jg-gray-800);
}

.footer-contact a {
    color: var(--jg-gray-800);
    text-decoration: none;
    font-weight: 700;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(84, 89, 95, 0.14);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .footer-bottom {
        gap: 16px;
    }
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--jg-gray-800);
    text-decoration: none;
}

.footer-dashboard-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-dashboard-link img {
    display: block;
    width: 16px;
    height: 16px;
}

.page-hero {
    padding-top: 96px;
}

.about-page .page-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    max-width: none;
}

.about-hero-copy {
    display: grid;
    gap: 16px;
}

.about-hero-media img {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    height: auto;
}

.about-page .page-hero h1 {
    font-size: clamp(2rem, 5vw, 58px);
    line-height: 1.1;
}

.services-page .page-hero {
    margin-top: 0;
    padding: 156px 0 88px;
    background:
        linear-gradient(135deg, rgba(47, 95, 172, 0.96), rgba(17, 37, 72, 0.92)),
        radial-gradient(circle at top right, rgba(241, 168, 30, 0.28), transparent 32%);
}

.services-page .page-hero-panel {
    max-width: 850px;
    margin: 0 auto;
    margin-top: 24px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.services-hero-copy {
    display: grid;
    gap: 16px;
    text-align: center;
}

.services-page .page-hero h1,
.services-page .page-hero .page-lead {
    color: #fff;
}

.contact-page .page-hero .container {
    width: 100%;
    max-width: 1120px;
}

.contact-page .page-hero-panel {
    max-width: none;
}

.contact-page .page-hero h1 {
    font-size: 24px;
    line-height: 1.35;
}

.contact-page .contact-card h2,
.contact-page .intake-form h2 {
    margin-top: 0;
    padding-top: 0;
    font-size: 24px;
    line-height: 1.2;
}

.contact-page .contact-card h2 {
    padding-bottom: 2rem;
}

.page-hero-panel {
    max-width: 920px;
    padding: 36px;
}

.rich-text {
    display: grid;
    gap: 24px;
}

.rich-text p,
.rich-text blockquote {
    margin: 0;
}

.rich-text blockquote {
    padding: 22px 24px;
    border-left: 4px solid var(--jg-color-accent);
    background: rgba(241, 168, 30, 0.12);
    border-radius: 0 20px 20px 0;
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.3rem, 2.3vw, 1.7rem);
    line-height: 1.3;
}

.capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-list .button {
    margin-top: 14px;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 22px;
    align-items: center;
}

.services-list {
    display: grid;
    gap: 18px;
}

.services-layout .rich-text h3 {
    margin: 0;
    color: #000;
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    text-transform: uppercase;
}

.services-page .services-list {
    position: relative;
    gap: 22px;
    padding: 32px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0)),
        linear-gradient(155deg, rgba(17, 37, 72, 0.98), rgba(47, 95, 172, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 56px rgba(17, 37, 72, 0.24);
}

.services-page .services-list::before {
    content: "";
    position: absolute;
    inset: 20px auto 20px 0;
    width: 5px;
    border-radius: 0 999px 999px 0;
    background: var(--jg-color-accent);
}

.services-page .services-list .service-tag {
    width: fit-content;
    margin-bottom: 0;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.services-page .services-list h3,
.services-page .service-lines li {
    color: #fff;
}

.services-page .services-layout .rich-text h3 {
    color: #000;
}

.services-page .service-lines {
    display: grid;
    gap: 10px;
}

.services-page .service-lines li {
    position: relative;
    min-height: 58px;
    padding: 14px 14px 14px 52px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services-page .service-lines li:first-child {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.services-page .service-lines li::before,
.services-page .service-lines li::after {
    content: "";
    position: absolute;
}

.services-page .service-lines li::before {
    top: 15px;
    left: 14px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--jg-color-accent);
}

.services-page .service-lines li::after {
    top: 22px;
    left: 23px;
    width: 6px;
    height: 11px;
    border: solid var(--jg-gray-800);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.services-page .services-list .button {
    width: 100%;
    min-height: 54px;
    margin-top: 0;
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.service-lines li {
    font-size: 1.1rem;
    color: var(--jg-gray-800);
    font-weight: 600;
}

.logo-section {
    background: transparent;
}

.logo-wall {
    padding: 0;
}

.logo-section .logo-wall {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.logo-grid figure {
    margin: 0;
    height: 126px;
    padding: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(84, 89, 95, 0.14);
    border-radius: 16px;
    background-color: white;
}

.logo-grid img {
    width: min(100%, 180px);
    height: 64px;
    object-fit: contain;
    background: transparent;
}

.contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.contact-map-section {
    width: 100%;
    margin-top: 24px;
}

.contact-map-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-map-frame {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.contact-list a {
    color: var(--jg-color-primary);
    text-decoration: none;
    font-weight: 700;
}

.contact-address-row {
    display: grid;
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.contact-address-location,
.contact-address-value {
    display: block;
}

.contact-city-state {
    white-space: nowrap;
}

.intake-form {
    display: grid;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.field,
.field-full {
    display: grid;
    gap: 8px;
}

.interest-fieldset {
    margin: 1rem 0;
    padding: 0;
    border: 0;
}

.interest-fieldset legend {
    margin-bottom: 8px;
    padding: 0;
    font-weight: 600;
}

.interest-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.interest-option {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 56px;
    padding: 0.95rem 1rem 0.95rem 3.5rem;
    border: 1px solid rgba(84, 89, 95, 0.22);
    border-radius: 16px;
    background: #fff;
    color: var(--jg-gray-800);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.interest-option span {
    display: block;
    min-width: 0;
    max-width: 100%;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
}

.interest-option::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid rgba(84, 89, 95, 0.28);
    border-radius: 999px;
    background: #fff;
    transform: translateY(-50%);
    transition: border-color 180ms ease, background-color 180ms ease;
}

.interest-option::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 50%;
    width: 0.42rem;
    height: 0.8rem;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: translateY(-62%) rotate(45deg);
    transition: border-color 180ms ease;
}

.interest-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.interest-option:has(input:checked) {
    border-color: rgba(47, 95, 172, 0.4);
    background: rgba(47, 95, 172, 0.06);
}

.interest-option:has(input:checked)::before {
    border-color: var(--jg-color-primary);
    background: var(--jg-color-primary);
}

.interest-option:has(input:checked)::after {
    border-color: #fff;
}

.interest-option:has(input:focus-visible) {
    outline: 2px solid rgba(47, 95, 172, 0.18);
    outline-offset: 2px;
}

.field-full {
    grid-column: 1 / -1;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(84, 89, 95, 0.22);
    border-radius: 16px;
    background: #fff;
    color: var(--jg-gray-800);
    font: inherit;
}

.intake-form input,
.intake-form select {
    min-height: 56px;
}

.intake-form select[multiple] {
    min-height: 180px;
}

.intake-form textarea {
    min-height: 160px;
    resize: vertical;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
    outline: 2px solid rgba(47, 95, 172, 0.18);
    border-color: var(--jg-color-primary);
}

.form-note {
    margin: 0;
    font-size: 0.95rem;
}

.intake-submit {
    margin-top: 24px;
    margin-bottom: 24px;
    border: 0;
    background: var(--jg-color-accent);
    color: var(--jg-gray-800);
}

.contact-page .page-hero {
    padding-bottom: 0;
}

.page-section.about-info {
    padding: 0;
    margin-bottom: 3rem;
}

.about-info p {
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(65, 66, 68, 0.12);
}

.about-info blockquote {
    margin: 3rem 0;
}

.about-page .cta-panel,
.services-page .cta-panel {
    background: transparent;
    border: thin rgba(213, 220, 233, 0.12) solid;
}

body.scroll-reveal-ready:not(.contact-page) .reveal,
body.scroll-reveal-ready:not(.contact-page) .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.985);
    filter: blur(10px);
    transition:
        opacity 760ms cubic-bezier(.22, 1, .36, 1),
        transform 760ms cubic-bezier(.22, 1, .36, 1),
        filter 760ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

body.scroll-reveal-ready:not(.contact-page) .fade-in {
    transform: translate3d(0, 20px, 0) scale(0.995);
}

body.scroll-reveal-ready:not(.contact-page) .services .scroll-reveal {
    transition:
        opacity 1020ms cubic-bezier(.22, 1, .36, 1),
        transform 1020ms cubic-bezier(.22, 1, .36, 1),
        filter 1020ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

body.scroll-reveal-ready:not(.contact-page) .scroll-reveal[data-reveal-origin="left"] {
    transform: translate3d(-36px, 0, 0) scale(0.985);
}

body.scroll-reveal-ready:not(.contact-page) .scroll-reveal[data-reveal-origin="right"] {
    transform: translate3d(36px, 0, 0) scale(0.985);
}

body.scroll-reveal-ready:not(.contact-page) .reveal.is-visible,
body.scroll-reveal-ready:not(.contact-page) .scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    will-change: auto;
}

.rise-1 {
    --reveal-delay: 90ms;
}

.rise-2 {
    --reveal-delay: 180ms;
}

.rise-3 {
    --reveal-delay: 270ms;
}

.rise-4 {
    --reveal-delay: 360ms;
}

.rise-5 {
    --reveal-delay: 450ms;
}

.service-card:hover,
.story-card:hover,
.quote-card:hover,
.capability-card:hover,
.logo-grid figure:hover,
.contact-card:hover {
    transform: translateY(-4px);
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 24px 52px rgba(29, 29, 34, 0.16);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .scroll-reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .services-project-card.project-observe {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1024px) {

    .services-project-grid,

    .service-grid,
    .capability-grid,
    .logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-grid,
    .footer-grid,
    .testimonial-grid,
    .services-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .about-page .page-hero-panel {
        grid-template-columns: 1fr;
    }

    .about-hero-media img {
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 10px 0;
    }

    .nav-wrap {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 12px;
        padding: 10px 0;
        align-items: center;
        justify-content: space-between;
        justify-items: stretch;
    }

    .site-header.scrolled .nav-wrap {
        min-height: auto;
        gap: 12px;
    }

    .brand img {
        max-height: 72px;
        max-width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        grid-column: 1 / -1;
        display: grid;
        width: 100%;
        max-height: 0;
        gap: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
    }

    .site-header.nav-open .site-nav {
        max-height: 260px;
        padding-top: 8px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        width: 100%;
        padding: 14px 0;
        border-top: 1px solid rgba(84, 89, 95, 0.14);
        text-align: center;
    }

    .site-nav a::after {
        display: none;
    }

    .nav-wrap>.button {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
    }

    .site-header.nav-open .nav-wrap>.button {
        display: inline-flex;
    }

    .intro-section,
    .services-preview,
    .testimonial-section,
    .cta-section,
    .page-hero,
    .page-section,
    .logo-section,
    .contact-section {
        padding: 72px 0;
    }

    .cta-panel,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-address-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .button {
        width: 100%;
    }

    .interest-fieldset legend {
        font-size: 1rem;
        line-height: 1.3;
    }

    .interest-options {
        gap: 8px;
    }

    .interest-option {
        min-height: 58px;
        padding: 0.78rem 0.55rem 0.78rem 2.35rem;
        border-radius: 14px;
        font-size: clamp(13px, 3.3vw, 14px);
        line-height: 1.25;
    }

    .interest-option::before {
        left: 0.68rem;
        width: 1rem;
        height: 1rem;
    }

    .interest-option::after {
        left: 1rem;
        width: 0.28rem;
        height: 0.54rem;
    }

    .hero-banner {
        min-height: auto;
        padding: 152px 20px 88px;
    }

    .hero-banner .cta-content,
    .cta-heading {
        max-width: 100%;
        min-width: 0;
    }

    .services-project-card.project-observe.project-from-left:not(.is-visible),
    .services-project-card.project-observe.project-from-right:not(.is-visible) {
        transform: translateY(44px);
    }

    .service-card-with-image .button,
    .service-card-featured .button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .interest-options {
        grid-template-columns: 1fr;
    }

    .interest-option {
        min-height: 54px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(1120px, calc(100% - 28px));
    }

    .site-nav {
        display: grid;
        justify-items: center;
    }

    .services-project-grid,
    .story-grid,
    .service-grid,
    .capability-grid,
    .logo-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: clamp(2.7rem, 15vw, 4rem);
    }

    .page-hero-panel,
    .story-card,
    .service-card,
    .quote-card,
    .capability-card,
    .services-list,
    .contact-card,
    .intake-form,
    .cta-panel,
    .logo-wall {
        padding: 22px;
        border-radius: 24px;
    }
}


.cta-section {
    background-color: var(--jg-color-primary);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.cta-section .cta-panel-copy,
.cta-section .cta-panel-copy h2 {
    color: #000000;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

#typing-text {
    color: #f39c12;
}

.cursor {
    color: #f39c12;
    font-weight: 300;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cta-subheading {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #3b82f6;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #3b82f6;
}

.contact-page .page-hero {
    padding-bottom: 0;
}

.page-section.about-info {
    padding: 0;
    margin-bottom: 3rem;
}

.about-info p {
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(65, 66, 68, 0.12);
}

.about-info blockquote {
    margin: 3rem 0;
}

.about-page .cta-panel {
    background: transparent;
    border: thin rgba(213, 220, 233, 0.12) solid;
}

/* ── Intake form: honeypot (off-screen, not display:none so bots still fill it) */
.honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-size: 0;
}

/* ── Intake form: field error states ──────────────────────────────────────── */
.field--error input,
.field--error select,
.field--error textarea {
    border-color: #d9534f;
    outline-color: rgba(217, 83, 79, 0.25);
    background: #fff8f8;
}

.field--error input:focus,
.field--error select:focus,
.field--error textarea:focus {
    border-color: #d9534f;
    outline: 2px solid rgba(217, 83, 79, 0.25);
}

.field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c0392b;
    line-height: 1.3;
}

/* ── Intake form: submit loading state ───────────────────────────────────── */
.intake-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Intake form: status banner ──────────────────────────────────────────── */
.form-status {
    display: none;
    margin-top: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

.form-status--success,
.form-status--error {
    display: block;
}

.form-status--success {
    background: #edf7ed;
    border: 1px solid rgba(40, 167, 69, 0.28);
    color: #1a5e23;
}

.form-status--error {
    background: #fdf2f2;
    border: 1px solid rgba(217, 83, 79, 0.28);
    color: #7b1a1a;
}

.form-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #28a745;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-status--success .form-status-icon::before {
    content: "\2713";
    /* ✓ */
}

.form-status--success strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: inherit;
}

.form-status--success p {
    margin: 0;
    color: inherit;
}

.about-page .cta-section h2,
.about-page .cta-section p.eyebrow,
.services-page .cta-section h2,
.services-page .cta-section p.eyebrow {
    color: #fff;
}

/* Dashboard Login Page */
body.dashboard-login-page {
    padding: 0;
}

.dashboard-login-page .intake-form {
    box-shadow: none;
}

.dashboard-login-page .intake-form p {
    text-align: left;
}

.dashboard-login-page .container {
    max-width: 400px;
    padding: 60px 20px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 52px rgba(29, 29, 34, 0.16);
}

.dashboard-login-page .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.dashboard-login-page .login-exit-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: -6px;
    color: var(--jg-color-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.dashboard-login-page .login-exit-link::before {
    content: "\2190";
    font-size: 1rem;
    line-height: 1;
}

.dashboard-login-page .login-exit-link:hover,
.dashboard-login-page .login-exit-link:focus-visible {
    color: var(--jg-color-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.dashboard-login-page .login-exit-link:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(47, 95, 172, 0.32);
    outline-offset: 4px;
}

.dashboard-login-page h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--jg-gray-800);
}

.dashboard-login-page p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

.dashboard-login-page .form-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
