/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Piazzolla:ital,opsz,wght@0,8..30,100..900;1,8..30,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* ===== Color Variables ===== */
:root {
    --beige-light: #EFE7DC;
    --beige-dark: #E5DDD2;
    --black-light: #1D2224;
    --black-dark: #201C19;
    --carnelian-red-dark: #811C00;
    --carnelian-red: #962C17;
    --studio-orange: #B26114;
    --advisory-green: #648808;
    --technology-blue-light: #56A3F0;
    --technology-blue-dark: #0056AC;
    /* Additional colors */
    --dark-green: #385103;
    --light-olive: #B7BC5D;
    --dark-brown: #552A01;
    --light-orange: #E7A362;
    --gray: #D9D9D9;
    --navy: #142553;

    /* ===== Spacing Variables ===== */
    --font-serif: 'Piazzolla', Georgia, 'Times New Roman', serif;
    --font-sans: 'IBM Plex Sans', Arial, Helvetica, sans-serif;

    --gap-xs: 8px;
    --gap-sm: 10px;
    --gap-md: 15px;
    --gap-lg: 20px;
    --gap-xl: 30px;
    --gap-2xl: 40px;
    --gap-3xl: 60px;
    --gap-4xl: 80px;
    --section-padding: 156px;
}

/* ===== Corner Diamonds ===== */
.corner-diamond {
    position: absolute;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.corner-diamond::before { content: '◆'; }
.corner-diamond--tl { top: 20px;    left: 20px;  }
.corner-diamond--tr { top: 20px;    right: 20px; }
.corner-diamond--bl { bottom: 20px; left: 20px;  }
.corner-diamond--br { bottom: 20px; right: 20px; }

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section {
    padding: var(--section-padding) 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1;
}

h1 {
    font-size: 84px;
    font-weight: 400;
    margin-bottom: 18px;
}

h2 {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 12px;
}

h3 {
    font-size: 36px;
    font-weight: 400;
}

h4 {
    font-size: 28px;
    font-weight: 300;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 300;
    background-color: var(--beige-light);
    color: var(--black-dark);
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smaller margins on small screens */
/* Medium-large screens - laptops */
/* Larger screens get more width */
/* ===== Header ===== */
.header {
    padding: 50px 0;
    background-color: var(--beige-light);
    position: relative;
    z-index: 100;
}

/* Background tile utility classes + conditional header tiling */
body:has(.hero) .header,
.bg-tile-dark {
    background-image: url('../images/pattern_background_dark.svg');
    background-repeat: repeat;
    background-size: 197px 198px;
    background-attachment: fixed;
}

body:has(.about-hero) .about-header {
    background-color: var(--beige-dark);
}

body:has(.about-hero) .about-header,
.bg-tile-light {
    background-image: url('../images/pattern-background.svg');
    background-repeat: repeat;
    background-size: 197px 198px;
    background-attachment: fixed;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    text-decoration: none;
    background-image: url('../images/Logo_Red.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    width: 160px;
    height: 40px;
}

.logo-icon,
.logo-text {
    display: none;
}

.nav {
    display: flex;
    gap: var(--gap-lg);
}

.nav > a,
.nav-item > a {
    text-decoration: none;
    color: var(--carnelian-red);
    font-size: 18px;
    font-family: var(--font-serif);
    position: relative;
    transition: opacity 0.3s;
}

.nav > a::after,
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--carnelian-red);
    transition: width 0.3s ease;
}

.nav > a:hover::after,
.nav-item > a:hover::after {
    width: 100%;
}

/* Dark header underline color */
.header-dark .nav > a::after,
.header-dark .nav-item > a::after {
    background-color: var(--beige-light);
}

/* Navigation Items with Dropdown */
.nav-item {
    position: static;
}

.nav-item > a {
    cursor: pointer;
}

/* Header background y on hover */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.nav-item:has(.nav-overlay.studio)::before {
    background-color: var(--studio-orange);
}

.nav-item:has(.nav-overlay.advisory)::before {
    background-color: var(--advisory-green);
}

.nav-item:has(.nav-overlay.technology)::before {
    background-color: var(--technology-blue-dark);
}

.nav-item:has(.nav-overlay.menu)::before {
    background-color: var(--carnelian-red);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover > a {
    color: var(--beige-light);
}

.nav-item:hover > a::after {
    background-color: var(--beige-light);
}

.header:has(.nav-item:hover) .logo {
    background-image: url('../images/Logo_Reverse.png');
}

.header:has(.nav-item:hover) .nav > a,
.header:has(.nav-item:hover) .nav-item > a {
    color: var(--beige-light);
}

.header:has(.nav-item:hover) .nav > a::after,
.header:has(.nav-item:hover) .nav-item > a::after {
    background-color: var(--beige-light);
}

/* Navigation Dropdown */
.nav-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding: 40px 0;
    min-height: 220px;
}

.nav-item:hover .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Hide the overlay header - we don't need duplicate nav */
.nav-overlay .overlay-header {
    display: none;
}

.nav-overlay .logo {
    background-image: url('../images/Logo_Reverse.png');
}

/* Overlay Content */
.overlay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--gap-3xl);
    margin-left: var(--gap-3xl);
}

.overlay-text {
    max-width: 100%;
}

.overlay-text h2 {
    color: var(--beige-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.overlay-text h2 a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.overlay-text h2 arrow-icon {
    flex-shrink: 0;
}

.overlay-text p {
    font-size: 18px;
    color: var(--beige-light);
    opacity: 0.8;
    line-height: 1.6;
}

.overlay-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-graphic-placeholder {
    width: 180px;
    height: 180px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 8px;
}

/* Service-specific overlay colors */
.nav-overlay.studio {
    background-color: var(--studio-orange);
}

.nav-overlay.advisory {
    background-color: var(--advisory-green);
}

.nav-overlay.technology {
    background-color: var(--technology-blue-dark);
}

.nav-overlay.menu {
    background-color: var(--carnelian-red);
}

/* Menu Overlay Specific */
.nav-overlay.menu .container {
    display: block;
}

.menu-overlay-content {
    padding-top: 0;
    width: 100%;
}

.menu-diamond-line {
    margin-bottom: var(--gap-3xl);
}

.menu-links {
    display: flex;
    justify-content: flex-end;
    gap: var(--gap-xl);
}

.menu-links a {
    color: var(--beige-light);
    text-decoration: none;
    font-size: 18px;
    font-family: var(--font-serif);
    font-weight: 300;
    transition: opacity 0.3s;
    position: relative;
}

.menu-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--beige-light);
    transition: width 0.3s ease;
}

.menu-links a:hover {
    opacity: 1;
}

.menu-links a:hover::after {
    width: 100%;
}

/* Menu active underline */
.menu-active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===== Mobile Menu ===== */
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle .menu-text {
    font-size: 18px;
    color: var(--carnelian-red);
    font-family: var(--font-sans);
    font-weight: 300;
}

.header-dark .mobile-menu-toggle .menu-text {
    color: var(--beige-light);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--carnelian-red);
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 50px 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.mobile-menu-header .logo {
    background-image: url('../images/Logo_Reverse.png');
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-close .menu-text,
.mobile-menu-close-bottom .menu-text {
    font-size: 18px;
    color: var(--beige-light);
    font-family: var(--font-sans);
    font-weight: 300;
}

.mobile-menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.mobile-nav-links a {
    font-size: 24px;
    color: var(--beige-light);
    text-decoration: none;
    font-family: var(--font-serif);
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.mobile-nav-links a:hover {
    opacity: 0.7;
}

.mobile-featured {
    margin-bottom: 30px;
}

.mobile-featured h2 {
    color: var(--beige-light);
    margin-bottom: 20px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.mobile-featured h2 .arrow {
    font-size: 24px;
    font-style: normal;
}

.mobile-featured p {
    font-size: 18px;
    color: var(--beige-light);
    line-height: 1.6;
    opacity: 0.8;
}

.mobile-menu-diamond-line {
    gap: var(--gap-sm);
    margin-top: 40px;
}

/* When inside featured section, add bottom margin */
.mobile-featured .mobile-menu-diamond-line {
    margin-top: 30px;
    margin-bottom: 0;
}

.mobile-menu-close-bottom {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: right;
    margin-top: auto;
}

/* Page-specific mobile menu background colors */
.page-studio .mobile-menu-overlay {
    background-color: var(--studio-orange) !important;
}

.page-advisory .mobile-menu-overlay {
    background-color: var(--advisory-green) !important;
}

.page-technology .mobile-menu-overlay {
    background-color: var(--technology-blue-dark) !important;
}

/* ===== Hero Section ===== */
.hero {
    background-color: var(--beige-light);
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
    gap: var(--gap-3xl);
}

.hero-text {
    max-width: 100%;
}

.hero-text h1 {
    font-size: 72px;
    color: var(--carnelian-red);
    line-height: 1;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic hero-morph {
    max-width: 100%;
}

/* ===== Services Section ===== */
.services {
    padding: 72px 0 168px 0;
    background-color: var(--beige-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.service-card {
    background-color: var(--beige-light);
    padding: 36px;
    border-radius: 6px;
    position: relative;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Studio card - orange-brown */
.service-card.studio {
    border-color: var(--studio-orange);
}

.service-card.studio h3,
.service-card.studio .service-icon {
    color: var(--studio-orange);
}

.service-card.studio:hover {
    background-color: var(--studio-orange);
}

.service-card.studio:hover h3,
.service-card.studio:hover p,
.service-card.studio:hover .service-icon,
.service-card.studio:hover .service-link {
    color: var(--beige-light);
}

/* Advisory card - olive green */
.service-card.advisory {
    border-color: var(--advisory-green);
}

.service-card.advisory h3,
.service-card.advisory .service-icon {
    color: var(--advisory-green);
}

.service-card.advisory:hover {
    background-color: var(--advisory-green);
}

.service-card.advisory:hover h3,
.service-card.advisory:hover p,
.service-card.advisory:hover .service-icon,
.service-card.advisory:hover .service-link {
    color: var(--beige-light);
}

/* Technology card - blue */
.service-card.technology {
    border-color: var(--technology-blue-dark);
}

.service-card.technology h3,
.service-card.technology .service-icon {
    color: var(--technology-blue-dark);
}

.service-card.technology:hover {
    background-color: var(--technology-blue-dark);
}

.service-card.technology:hover h3,
.service-card.technology:hover p,
.service-card.technology:hover .service-icon,
.service-card.technology:hover .service-link {
    color: var(--beige-light);
}

.service-icon {
    font-size: 48px;
    position: relative;
    width: 45.5px;
    height: 45.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon .icon-default,
.service-icon .icon-hover {
    position: absolute;
    transition: opacity 0.3s ease;
}

.service-icon .icon-default {
    opacity: 1;
}

.service-icon .icon-hover {
    opacity: 0;
}

.service-card:hover .service-icon .icon-default {
    opacity: 0;
}

.service-card:hover .service-icon .icon-hover {
    opacity: 1;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card h3,
.service-card .service-icon,
.service-card p,
.service-card .service-link {
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--black-dark);
}

.service-link {
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: none;
    color: var(--black-dark);
}

/* ===== Compass Platform Section ===== */
.compass-platform {
    padding: 80px 0;
    background-color: var(--beige-dark);
}


.platform-image {
    width: 100%;
    margin-bottom: var(--gap-3xl);
    border-radius: 12px;
    overflow: hidden;
}

.platform-image img {
    width: 100%;
    height: auto;
    display: block;
}

.compass-platform-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--gap-3xl);
    align-items: stretch;
}

.platform-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.compass-platform h1 {
    color: var(--technology-blue-dark);
    margin-bottom: 20px;
}

.platform-description {
    margin-bottom: 30px;
}

.platform-features {
    list-style: none;
}

.platform-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.platform-features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--technology-blue-dark);
}

.platform-buttons {
    display: flex;
    flex-direction: row;
    gap: var(--gap-lg);
    font-family: var(--font-serif);
}

.btn {
    font-family: var(--font-serif);
    font-weight: 300;
    padding: 4px 10px 6px 12px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
}

.btn-primary {
    background-color: transparent;
    color: var(--technology-blue-dark);
    border: 0.5px solid var(--technology-blue-dark);
    padding: 12px 18px 14px 20px;
}

.btn-primary:hover {
    background-color: var(--technology-blue-dark);
    color: var(--beige-light);
    border: 0.5px solid var(--technology-blue-dark);
}

.btn-secondary {
    background-color: var(--technology-blue-dark);
    color: var(--beige-light);
    border: none;
    padding: 12px 18px 14px 20px;
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--technology-blue-dark);
    border: 0.5px solid var(--technology-blue-dark);
}

/* ===== Latest Updates Section ===== */
.latest-updates {
    padding: var(--section-padding) 0;
    background-color: var(--beige-light);
}

/* Shared structure for all diamond-line variants */
.diamond-line,
.menu-diamond-line,
.mobile-menu-diamond-line,
.footer-diamond-line,
.future-section-line,
.quote-diamond-line,
.service-card-line,
.capabilities-title-line,
.contact-top-line {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Default spacing for the base class */
.diamond-line {
    gap: var(--gap-md);
    margin-bottom: 30px;
}

/* Shared diamond shape */
.diamond-line .diamond,
.menu-diamond-line .diamond,
.mobile-menu-diamond-line .diamond,
.footer-diamond-line .diamond,
.future-section-line .diamond,
.quote-diamond-line .diamond,
.service-card-line .diamond,
.capabilities-title-line .diamond,
.contact-top-line .diamond {
    width: 6px;
    height: 6px;
    background: var(--carnelian-red);
    transform: rotate(45deg);
    flex-shrink: 0;
    position: relative;
}

/* Shared line shape */
.diamond-line .line,
.menu-diamond-line .line,
.mobile-menu-diamond-line .line,
.footer-diamond-line .line,
.future-section-line .line,
.quote-diamond-line .line,
.service-card-line .line,
.capabilities-title-line .line,
.contact-top-line .line {
    flex: 1;
    height: 1px;
    background: var(--carnelian-red);
}

/* Light variants: beige diamond and line */
.menu-diamond-line .diamond,
.menu-diamond-line .line,
.mobile-menu-diamond-line .diamond,
.mobile-menu-diamond-line .line,
.footer-diamond-line .diamond,
.footer-diamond-line .line,
.quote-diamond-line .diamond,
.quote-diamond-line .line {
    background: var(--beige-light);
}

.section-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--black-dark);
    opacity: 0.5;
    margin-bottom: 10px;
}

.latest-updates h2 {
    color: var(--carnelian-red);
    margin: 10px 0 15px;
}

.section-description {
    font-size: 18px;
    max-width: 450px;
    color: var(--black-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.update-category {
    margin-bottom: 40px;
}

.update-category h3 {
    color: var(--black-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.arrow {
    font-size: 14px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-xl);
    margin-top: 30px;
}

.card {
    position: relative;
    background-color: var(--beige-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.card-image {
    height: 220px;
    background-color: var(--gray);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px;
    height: 15px;
    color: var(--beige-light);
    overflow: hidden;
    transition: height 0.3s ease, padding 0.3s ease;
}

.card:hover .card-footer {
    height: 55px;
    padding: 18px 20px;
    align-items: center;
}

.card-footer .card-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .card-footer .card-title {
    opacity: 1;
    transform: translateY(0);
}

.card-footer .card-arrow {
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .card-footer .card-arrow {
    opacity: 1;
    transform: translateY(0);
}

.card-footer.carnelian {
    background-color: var(--carnelian-red);
}

.card-footer.orange {
    background-color: var(--studio-orange);
}

.card-footer.green {
    background-color: var(--advisory-green);
}

.card-footer.dark-green {
    background-color: var(--dark-green);
}

.card-footer.blue {
    background-color: var(--technology-blue-dark);
}

.card-footer.brown {
    background-color: var(--dark-brown);
}

.card-accent {
    height: 4px;
}

.card-accent.green {
    background-color: var(--advisory-green);
}

.card-accent.orange {
    background-color: var(--studio-orange);
}

.card-accent.red {
    background-color: var(--carnelian-red);
}

.card-accent.dark-green {
    background-color: var(--dark-green);
}

.card-accent.blue {
    background-color: var(--technology-blue-dark);
}

.card-accent.brown {
    background-color: var(--dark-brown);
}

/* ===== Contact Section ===== */
.contact {
    padding: 175px 0;
    background-color: var(--black-dark);
    color: var(--beige-light);
}

.contact-diamond-box {
    position: relative;
    padding: 60px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr;
    gap: var(--gap-3xl);
    align-items: start;
}

.contact-text h1 {
    line-height: 1.1;
    margin-bottom: 30px;
}

.contact-text p {
    font-size: 18px;
    font-weight: 200;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 15px;
    border: none;
    border-bottom: 3px solid transparent;
    background-color: var(--beige-light);
    color: var(--black-dark);
    font-size: 14px;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

/* Show red bar when input is empty */
.contact-form input:placeholder-shown,
.contact-form textarea:placeholder-shown,
.contact-form select:invalid {
    border-bottom-color: var(--carnelian-red);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23962C17' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0,0,0,0.4);
}

.contact-form textarea {
    min-height: 80px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--carnelian-red);
    color: var(--beige-light);
    border: 0.5px solid var(--carnelian-red);
    padding: 4px 10px 6px 12px;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--beige-light);
    border: 0.5px solid var(--beige-light);
}

/* Hide the floating reCAPTCHA badge — disclosure text is shown in each form instead */
.grecaptcha-badge {
    visibility: hidden !important;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.recaptcha-notice {
    margin-top: 10px;
    font-size: 12px;
    color: var(--beige-light);
    opacity: 0.7;
}

.recaptcha-notice a {
    color: inherit;
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    opacity: 1;
}

.contact-page .recaptcha-notice {
    color: var(--black-dark);
}

.form-success-msg {
    display: none;
    font-size: 18px;
    font-weight: 400;
    color: var(--carnelian-red);
}

.form-error-msg {
    display: none;
    font-size: 15px;
    font-weight: 400;
    color: #c0392b;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background-color: var(--carnelian-red);
    color: var(--beige-light);
    font-weight: 200;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--gap-lg);
    margin-bottom: 70px;
}

.footer-brand p {
    font-size: 16px;
    margin-top: 15px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-brand .logo {
    background-image: url('../images/Logo_Reverse.png');
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social img {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
}

.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column a {
    display: block;
    color: var(--beige-light);
    text-decoration: none;
    font-size: 16px;
    padding: 15px 0;
}

.footer-diamond-line {
    gap: var(--gap-md);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-family: var(--font-serif);
    margin-bottom: 50px;
}

.footer-legal {
    display: flex;
    gap: var(--gap-xl);
}

.footer-legal a {
    color: var(--beige-light);
    text-decoration: none;
}

/* ===== Pages Shared Styles ===== */

/* Dark Header */
.header-dark {
    background-color: var(--black-dark);
}

.header-dark .logo {
    background-image: url('../images/Logo_Reverse.png');
}

.header-dark .nav > a,
.header-dark .nav-item > a {
    color: var(--beige-light);
}

.header-dark .nav > a.active,
.header-dark .nav-item > a.active {
    opacity: 0.6;
}

.page-compass .header-dark {
    background-color: var(--black-light);
}

/* ===== Page Hero Section ===== */
.page-hero {
    background-color: var(--black-dark);
    padding: 60px 0 112px;
    color: var(--beige-light);
}

.page-compass .page-hero {
    background-color: var(--black-light);
}

.page-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--gap-3xl);
}

.page-hero-text {
    max-width: 100%;
}

.page-hero-text h1 {
    margin-bottom: 20px;
    color: var(--beige-light);
}

.page-hero-text p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.page-hero-buttons {
    display: flex;
    gap: var(--gap-lg);
}

.page-hero-buttons .btn-accent {
    display: flex;
    gap: var(--gap-lg);
    padding: 4px 10px 6px 12px;
}

.page-hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 25%;
}

.page-hero-image {
    margin-top: 96px;
    width: 100%;
    height: 500px;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Shared padding for all .btn-accent and .btn-outline variants */
.btn-accent {
    padding: 4px 10px 6px 12px;
}

/* Page-specific accent colors */
.page-studio .btn-accent {
    background-color: var(--studio-orange);
    color: var(--beige-light);
    border: 0.5px solid var(--studio-orange);
}

.page-studio .btn-accent:hover {
    background-color: transparent;
    color: var(--beige-light);
    border: 0.5px solid var(--beige-light);
}

.page-studio .accent-text {
    color: var(--studio-orange);
}

.page-advisory .btn-accent {
    background-color: var(--advisory-green);
    color: var(--beige-light);
    border: 0.5px solid var(--advisory-green);
}

.page-advisory .btn-accent:hover {
    background-color: transparent;
    color: var(--beige-light);
    border: 0.5px solid var(--beige-light);
}

.page-advisory .accent-text {
    color: var(--advisory-green);
}

.page-technology .btn-accent {
    background-color: var(--technology-blue-dark);
    color: var(--beige-light);
    border: 0.5px solid var(--technology-blue-dark);
}

.page-technology .btn-accent:hover {
    background-color: transparent;
    color: var(--beige-light);
    border: 0.5px solid var(--beige-light);
}

.page-technology .accent-text {
    color: var(--technology-blue-dark);
}

/* Page-specific hero title colors */
.page-studio .page-hero-text h1 {
    color: var(--studio-orange);
}

.page-studio section h2 {
    color: var(--studio-orange);
}

.page-advisory .page-hero-text h1 {
    color: var(--advisory-green);
}

.page-advisory section h2 {
    color: var(--advisory-green);
}

.page-advisory h3 {
    color: var(--advisory-green);
}

.page-advisory h4:not(.footer h4) {
    color: var(--advisory-green);
}

.page-technology .page-hero-text h1 {
    color: var(--technology-blue-light);
}

.page-technology section h2 {
    color: var(--technology-blue-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--beige-light);
    border: 0.5px solid var(--beige-light);
    padding: 4px 10px 6px 12px;
}

.page-compass .btn-outline {
    background-color: transparent;
    color: var(--technology-blue-light);
    border: 0.5px solid var(--technology-blue-light);
}

.page-compass .btn-outline:hover {
    background-color: var(--technology-blue-light);
    color: var(--black-light);
    border: 0.5px solid var(--technology-blue-light);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* ===== Mission / Philosophy Section ===== */
.philosophy-section {
    background-color: var(--beige-dark);
    padding-top: 80px;
}

.philosophy-section .section-label {
    font-size: 22px;
    color: var(--technology-blue-dark);
}

.philosophy-text {
    font-size: 16px;
    line-height: 1.3;
}

.philosophy-text.large {
    font-size: 48px;
    font-weight: 200;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--black-dark);
}

.philosophy-text.large-bold {
    font-size: 48px;
    font-weight: 400;
    color: var(--black-dark);
}

/* ===== Investment Thesis Section ===== */
.thesis-section {
    background-color: var(--beige-light);
    padding: var(--section-padding) 0;
}

.section-label.studio {
    color: var(--studio-orange);
    font-size: 22px;
}

.thesis-content {
    margin-bottom: 80px;
}

.thesis-text {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--black-dark);
}

.thesis-text.light {
    max-width: 700px;
    font-weight: 200;
}

.thesis-text.bold {
    max-width: 1150px;
    font-weight: 400;
}

.thesis-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-xl);
}

.thesis-column {
    padding-left: 20px;
    position: relative;
}

.vertical-diamond-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    opacity: 0;
    transition: height 0.8s ease, opacity 0.5s ease;
}

.thesis-column.animate-in .vertical-diamond-line {
    height: 100%;
    opacity: 1;
}

.vertical-diamond-line .diamond {
    width: 6px;
    height: 6px;
    background: var(--carnelian-red);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.vertical-diamond-line .line-vertical {
    flex: 1;
    width: 1px;
    background: var(--carnelian-red);
}

.thesis-column h4 {
    margin-bottom: 12px;
    color: var(--black-dark);
}

.thesis-column p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

/* ===== Focus Areas / Approach Section ===== */
.focus-areas,
.approach-section {
    background-color: var(--beige-dark);
    padding: 40px 0 80px;
}

.focus-item,
.approach-item {
    padding: 20px 0;
    padding-left: 20px;
    position: relative;
}

.approach-item.animate-in .vertical-diamond-line {
    height: 100%;
    opacity: 1;
}

.page-technology .approach-item .vertical-diamond-line .diamond {
    background: var(--carnelian-red);
}

.page-technology .approach-item .vertical-diamond-line .line-vertical {
    background: var(--carnelian-red);
}

.focus-item h4,
.approach-item h4 {
    margin-bottom: 10px;
    color: var(--black-dark);
}

.focus-item p,
.approach-item p {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
}

/* ===== Process Section ===== */
.process-section {
    background-color: var(--beige-dark);
    padding: var(--section-padding) 0;
}

.process-section h2 {
    margin-bottom: 40px;
}

.process-step {
    background-color: transparent;
    padding: 10px 38px;
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-section .four-column-grid {
    position: relative;
    padding-top: 20px;
    gap: var(--gap-md);
}

.process-top-line,
.compass-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(25% - 15px);
    margin-bottom: 0;
    transition: width 0.4s ease;
}

.process-text {
    transition: translate 0.3s ease;
}

.process-step:hover .process-text {
    translate: 0 -10px;
}

.process-section .process-step:nth-child(1):hover ~ .process-top-line,
.process-section .four-column-grid:has(.process-step:nth-child(1):hover) .process-top-line,
.compass-how-works .how-step:nth-child(1):hover ~ .compass-top-line,
.compass-how-works .four-column-grid:has(.how-step:nth-child(1):hover) .compass-top-line {
    width: calc(25% - 15px);
}

.process-section .process-step:nth-child(2):hover ~ .process-top-line,
.process-section .four-column-grid:has(.process-step:nth-child(2):hover) .process-top-line,
.compass-how-works .how-step:nth-child(2):hover ~ .compass-top-line,
.compass-how-works .four-column-grid:has(.how-step:nth-child(2):hover) .compass-top-line {
    width: calc(50% - 10px);
}

.process-section .process-step:nth-child(3):hover ~ .process-top-line,
.process-section .four-column-grid:has(.process-step:nth-child(3):hover) .process-top-line,
.compass-how-works .how-step:nth-child(3):hover ~ .compass-top-line,
.compass-how-works .four-column-grid:has(.how-step:nth-child(3):hover) .compass-top-line {
    width: calc(75% - 5px);
}

.process-section .process-step:nth-child(4):hover ~ .process-top-line,
.process-section .four-column-grid:has(.process-step:nth-child(4):hover) .process-top-line,
.compass-how-works .how-step:nth-child(4):hover ~ .compass-top-line,
.compass-how-works .four-column-grid:has(.how-step:nth-child(4):hover) .compass-top-line {
    width: 100%;
}

.page-advisory .process-top-line .diamond,
.page-studio .process-top-line .diamond {
    background: var(--carnelian-red);
}

.page-advisory .process-top-line .line,
.page-studio .process-top-line .line {
    background: var(--carnelian-red);
}

.process-step p {
    font-weight: 200;
    font-size: 18px;
    line-height: 1.3;
}

/* ===== Offerings Section ===== */
.offerings-section {
    background-color: var(--beige-light);
    padding: var(--section-padding) 0;
}

.offerings-heading {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: fit-content;
    gap: var(--gap-2xl);
    margin: 0 auto;
}

.offerings-heading .diamond-line .diamond {
    background: var(--carnelian-red);
}

.offerings-heading .diamond-line .line {
    background: var(--carnelian-red);
}

.offerings-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offering-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
    padding: 36px;
    background-color: var(--beige-dark);
    border: 1px solid rgba(32, 28, 25, 0.2);
    border-radius: 5px;
    margin-bottom: 24px;
    width: 93%;
}

.offering-item:hover {
    border-color: var(--studio-orange);
}

.offering-item.featured {
    display: block;
}

.offering-item.featured .offering-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
    margin-bottom: 20px;
}

.offering-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 300;
}

.offering-description {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding-right: 100px;
}

.offering-description::before {
    content: "◆";
    color: var(--studio-orange);
    font-size: 10px;
    flex-shrink: 0;
}

.page-studio .offering-description::before {
    content: none;
}

.page-advisory .offering-description::before {
    color: var(--advisory-green);
}

.featured-card {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
    background-color: rgba(189, 230, 20, 0.1);
    border: 1px solid rgba(32, 28, 25, 0.2);
    border-radius: 3px;
    padding: 60px 36px;
    align-items: center;
}

.featured-card:hover {
    border-color: var(--advisory-green);
}

.featured-card-text {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
}

.featured-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.featured-card h4 {
    color: var(--advisory-green);
    margin: 5px 0 15px;
}

.featured-card .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: 10px 20px;
    font-size: 18px;
    border: 0.5px solid var(--advisory-green);
    color: var(--advisory-green);
    background: transparent;
    width: fit-content;
}

.featured-card .btn:hover {
    border: 0.5px solid var(--advisory-green);
    color: var(--beige-light);
    background: var(--advisory-green);
    width: fit-content;
}

.featured-card-description {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.3;
    padding-right: 100px;
}

/* ===== Services Detail Section ===== */
.services-detail-section {
    background-color: var(--beige-light);
    padding: var(--section-padding) 0;
}

.services-detail-section h2 {
    margin-bottom: 15px;
}

.services-list {
    margin-top: 40px;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
    padding: 36px;
    background-color: var(--beige-dark);
    border: 1px solid rgba(32, 28, 25, 0.2);
    border-radius: 5px;
    margin-bottom: 24px;
}

.service-detail-item:hover {
    border-color: var(--advisory-green);
}

.service-detail-title {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 300;
}

.service-icon-small {
    color: var(--advisory-green);
    font-size: 20px;
    flex-shrink: 0;
}

.page-studio .service-icon-small {
    color: var(--studio-orange);
}

.page-technology .service-icon-small {
    color: var(--technology-blue-dark);
}

.service-detail-description {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.service-detail-description p {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding-right: 100px;
}

/* ===== Audience Section ===== */
.audience-section {
    background-color: var(--beige-light);
    padding: var(--section-padding) 0;
}

.audience-section .section-label {
    display: flex;
    justify-content: center;
}

.audience-section h2 {
    display: flex;
    justify-content: center;
}

.audience-grid {
    margin-top: 40px;
    gap: 18px;
}

.audience-item {
    background-color: var(--beige-light);
    padding: 40px 30px 30px 30px;
    border-radius: 8px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-advisory .audience-item {
    border-color: var(--advisory-green);
}

.page-advisory .audience-item:hover {
    background-color: var(--advisory-green);
}

.page-advisory .audience-item:hover h4,
.page-advisory .audience-item:hover p,
.page-advisory .audience-item:hover ul li {
    color: var(--beige-light);
}

.page-advisory .audience-item:hover ul li::before {
    color: var(--beige-light);
}

.page-advisory .audience-item:hover ul li .list-star {
    color: var(--beige-light);
}

.page-advisory .audience-item .audience-hover-line .diamond {
    background: var(--beige-light);
}

.page-advisory .audience-item .audience-hover-line .line {
    background: var(--beige-light);
}

.page-advisory .audience-item:hover .audience-hover-line {
    width: calc(100% - 60px);
    opacity: 1;
    margin-top: 10px;
}

.page-studio .audience-item {
    border-color: var(--studio-orange);
}

.page-technology .audience-item {
    border-color: var(--technology-blue-dark);
}

.audience-item h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.audience-item > p {
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 3px;
    line-height: 1.3;
}

.audience-item ul {
    list-style: none;
    padding: 0;
}

.audience-item ul li {
    font-size: 18px;
    font-weight: 200;
    padding: 3px 0;
    padding-left: 20px;
    position: relative;
}

.audience-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--advisory-green);
}

.page-advisory .audience-item ul li::before {
    content: none;
}

.page-advisory .audience-item ul li .list-star {
    position: absolute;
    left: 0;
    color: var(--advisory-green);
    font-size: 10px;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
}

.page-studio .audience-item ul li::before {
    color: var(--studio-orange);
}

.page-technology .audience-item ul li::before {
    color: var(--technology-blue-dark);
}

/* ===== Technology Specific Sections ===== */
.tech-services-section {
    background-color: var(--beige-light);
    padding: var(--section-padding) 0;
}

.tech-services-section .section-label {
    display: flex;
    justify-content: center;
}

.tech-services-section h2 {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.tech-services-section .two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
}

.tech-service-card {
    background-color: var(--beige-light);
    padding: 80px 40px 40px 40px;
    border-radius: 8px;
    border: 1px solid var(--technology-blue-dark);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-technology .tech-service-card:hover {
    background-color: var(--technology-blue-dark);
}

.page-technology .tech-service-card:hover h3,
.page-technology .tech-service-card:hover p,
.page-technology .tech-service-card:hover .service-features span,
.page-technology .tech-service-card:hover ul li {
    color: var(--beige-light);
}

.page-technology .tech-service-card:hover ul li .list-star {
    color: var(--beige-light);
}

.page-technology .tech-service-card:hover .btn-accent {
    border-color: var(--beige-light);
}

.page-technology .tech-service-card .btn-accent:hover {
    background-color: var(--beige-light);
    color: var(--technology-blue-dark);
}

.page-technology .tech-service-card .audience-hover-line .diamond {
    background: var(--beige-light);
}

.page-technology .tech-service-card .audience-hover-line .line {
    background: var(--beige-light);
}

.page-technology .tech-service-card:hover .audience-hover-line {
    width: calc(100% - 60px);
    opacity: 1;
    margin-top: 20px;
}

.tech-service-card h3 {
    color: var(--technology-blue-dark);
    margin-bottom: 15px;
}

.tech-service-card > p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.3;
}

.service-features {
    margin-bottom: 30px;
}

.service-features span {
    font-size: 22px;
    font-family: var(--font-serif);
    font-weight: 150;
    letter-spacing: 0.2px;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features ul li {
    font-size: 18px;
    font-weight: 200;
    padding: 2px 0;
    padding-left: 20px;
    position: relative;
}

.service-features ul li::before {
    content: none;
}

.service-features ul li .list-star {
    position: absolute;
    left: 0;
    color: var(--technology-blue-dark);
    font-size: 10px;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
}

.ecosystem-section {
    background-color: var(--beige-dark);
    padding: var(--section-padding) 0;
}

.ecosystem-item {
    padding: 25px;
    border: none;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: translate 0.3s ease;
}

.ecosystem-item:hover {
    translate: 0 -10px;
}

.ecosystem-item h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--technology-blue-dark);
}

.page-technology .ecosystem-item .audience-hover-line .diamond {
    background: var(--carnelian-red-dark)
}

.page-technology .ecosystem-item .audience-hover-line .line {
    background: var(--carnelian-red-dark)
}

.page-technology .ecosystem-item:hover .audience-hover-line {
    width: calc(100% - 50px);
    opacity: 1;
}

.ecosystem-item p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.3;
    margin-bottom: 20px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-md);
}

.tag {
    background-color: transparent;
    padding: 6px 8px 7px 8px;
    border-radius: 4px;
    border: 1px solid var(--black-dark);
    font-size: 14px;
    font-weight: 350;
}

/* ===== Page CTA Section ===== */
.page-cta {
    background-color: var(--black-dark);
    color: var(--beige-light);
    text-align: center;
    padding: 180px 0;
}

.cta-header {
    margin-bottom: 50px;
}

.cta-icon {
    font-size: 56px;
    margin-bottom: 15px;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cta .section-label {
    color: var(--beige-light);
}

.cta-header h2 {
    margin-bottom: 25px;
    color: var(--beige-light);
    line-height: 1.3;
}

.page-advisory .cta-header h2 {
    color: var(--advisory-green);
}

.page-technology .cta-header h2 {
    color: var(--technology-blue-light);
}

.cta-header p {
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 40px;
}

.cta-columns {
    text-align: left;
}

.cta-column {
    background-color: transparent;
    padding: 25px;
    border-radius: 8px;
    position: relative;
}

.cta-column.animate-in .vertical-diamond-line {
    height: 100%;
    opacity: 1;
}

.page-studio .cta-column .vertical-diamond-line .diamond,
.page-technology .cta-column .vertical-diamond-line .diamond {
    background: var(--beige-light);
}

.page-studio .cta-column .vertical-diamond-line .line-vertical,
.page-technology .cta-column .vertical-diamond-line .line-vertical {
    background: var(--beige-light);
}

.page-technology .cta-column {
    padding-left: 20px;
}

.cta-column h3 {
    margin-bottom: 10px;
    color: var(--beige-light);
}

.cta-column p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.3;
    margin-bottom: 20px;
}

.cta-button-center {
    margin-top: 40px;
}

/* ===== Grid Utilities ===== */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-xl);
}

.two-by-two-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-lg);
    margin-top: 40px;
}

/* ===== About Page Styles ===== */
.about-hero {
    padding: 36px 0 156px;
    background-color: var(--beige-dark);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    background-color: rgba(229, 221, 210, 0.2);
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero-content h4 {
    color: var(--carnelian-red-dark);
    margin-bottom: 10px;
}

.about-hero-content .accent-text {
    font-style: italic;
}

.about-hero-content p {
    font-size: 36px;
    font-weight: 250;
    padding: 0 0 50px 0;
}

.values-grid {
    gap: var(--gap-xl);
}

.value-card {
    background-color: var(--beige-light);
    padding: 50px 30px;
    border-radius: 8px;
    border: 1px solid var(--carnelian-red);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.value-card h3 {
    color: var(--carnelian-red);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 18px;
    font-weight: 250;
    transition: color 0.3s ease;
}

.value-card:hover {
    background-color: var(--carnelian-red);
}

.value-card:hover h3,
.value-card:hover p {
    color: var(--beige-light);
}

.value-card .value-hover-line {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    opacity: 0;
    transition: all 0.3s ease;
}

.value-card:hover .value-hover-line {
    opacity: 1;
}

.value-card .value-hover-line .diamond {
    width: 6px;
    height: 6px;
    background-color: var(--carnelian-red);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.value-card .value-hover-line .line {
    flex: 1;
    height: 1px;
    background: var(--carnelian-red);
    transition: background-color 0.3s ease;
}

.value-card:hover .value-hover-line .diamond,
.value-card:hover .value-hover-line .line {
    background-color: var(--beige-light);
}

/* Highlight text in carnelian red */
.highlight-red {
    color: var(--carnelian-red);
}

.about-future {
    background-color: var(--beige-light);
    padding: 80px 0;
}

.future-section-line {
    gap: var(--gap-sm);
    margin-bottom: var(--gap-2xl);
}

.future-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: var(--gap-3xl);
    align-items: start;
}

.future-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.future-content h2 {
    margin: 0 0 20px 0;
}

.future-content p {
    font-size: 18px;
    font-weight: 250;
}

.future-timeline-wrapper {
    position: relative;
    height: 440px;
    overflow: hidden;
}

.future-timeline {
    position: relative;
    width: 100%;
    height: 100%;
}

.timeline-item {
    background-color: var(--beige-dark);
    border-radius: 0;
    border: 1px solid var(--carnelian-red);
    position: absolute;
    width: 100%;
    transition: transform 1.2s ease, height 1.2s ease, background-color 1.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.timeline-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.timeline-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: 2px solid var(--carnelian-red);
}

.timeline-item.active {
    height: 200px;
    background-color: var(--beige-dark);
    z-index: 10;
}

.timeline-item.timeline-vision {
    background-color: var(--carnelian-red);
    color: var(--beige-light);
}

.timeline-item.timeline-vision .timeline-tag {
    border-color: var(--beige-light);
    color: var(--beige-light);
    background: transparent;
}

.timeline-item.timeline-vision .timeline-content h3 {
    color: var(--beige-light);
}

.timeline-item.timeline-vision .timeline-content p {
    color: var(--beige-light);
}

.timeline-header {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px 20px 30px;
}

.timeline-content {
    padding: 10px 30px 10px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.timeline-item:not(.active) .timeline-content {
    opacity: 0;
}

.timeline-item.active .timeline-content {
    opacity: 1;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--carnelian-red);
    transition: color 1.2s ease;
}

.timeline-content p {
    font-size: 18px;
    color: var(--black-dark);
}

.timeline-tag {
    display: inline-block;
    padding: 6px 8px 7px 8px;
    font-size: 14px;
    border-radius: 3px;
    border: 1px solid var(--carnelian-red);
    background: transparent;
    color: var(--carnelian-red);
    letter-spacing: 0.5px;
    transition: all 1s ease;
    max-width: fit-content;
    text-align: center;
}

.timeline-item.active .timeline-tag {
    background: transparent;
    color: var(--carnelian-red);
    border-color: var(--carnelian-red);
}

.timeline-item[data-index="0"] .timeline-tag,
.timeline-item[data-index="0"].active .timeline-tag {
    color: var(--beige-light);
    background: var(--carnelian-red);
}

.timeline-item.timeline-vision .timeline-tag {
    border-color: var(--beige-light);
    color: var(--beige-light);
    background: var(--carnelian-red);
}

.about-quote {
    background-color: var(--carnelian-red);
    padding: 150px 0;
    color: var(--beige-light);
    position: relative;
}

.about-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(150, 44, 23, 0.9);
    pointer-events: none;
}

.about-quote .container {
    position: relative;
    z-index: 1;
}

.quote-diamond-line {
    gap: var(--gap-sm);
    margin-bottom: var(--gap-2xl);
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--gap-3xl);
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.author-photo {
    width: 150px;
    height: 150px;
    border-radius: 0;
    margin-bottom: 15px;
    object-fit: cover;
    object-position: center top;
}

.author-photo.placeholder {
    background-color: var(--beige-dark)
}

.author-info strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.author-info span {
    font-size: 18px;
    font-weight: 200;
}

.quote-graphic {
    display: grid;
    grid-template-columns: .2fr 1.8fr;
}

blockquote {
    font-size: 48px;
    font-family: var(--font-serif);
    line-height: 1;
}

.quote-mark {
    font-size: 250px;
    font-family: var(--font-serif);
    opacity: 0.3;
    margin-top: -100px;
}

.about-services-grid {
    gap: var(--gap-lg);
}

/* ===== Compass Page Styles ===== */
.page-compass .btn-accent {
    background-color: var(--technology-blue-light);
    color: var(--black-light);
    border: 0.5px solid var(--technology-blue-light);
}

.page-compass .btn-accent:hover {
    background-color: transparent;
    color: var(--technology-blue-light);
    border: 0.5px solid var(--technology-blue-light);
}

.page-compass .accent-text {
    color: var(--technology-blue-light);
}

.page-compass section h1 {
    color: var(--technology-blue-light);
}

.page-compass section h2 {
    color: var(--technology-blue-light);
}

.page-compass section h3 {
    color: var(--technology-blue-light);
}

.page-compass section h4 {
    color: var(--technology-blue-light);
}

.section-label.light {
    color: var(--beige-light);
}

.compass-hero .page-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.compass-hero .platform-image {
    margin-top: 60px;
}

.compass-how-works {
    background-color: var(--black-dark);
    padding: 150px 0;
    color: var(--beige-light);
}

.compass-how-works .section-label {
    color: var(--beige-light);
}

.compass-how-works h2 {
    color: var(--technology-blue-light);
    margin-bottom: 60px;
}

.compass-diamond-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    opacity: 0.3;
}

.compass-how-works .four-column-grid {
    position: relative;
    padding: 15px;
}

.compass-top-line .diamond {
    background: var(--beige-light);
}

.compass-top-line .line {
    background: var(--beige-light);
}

.compass-diamond-line .diamond {
    color: var(--beige-light);
    font-size: 8px;
}

.compass-diamond-line .line {
    flex: 0 0 180px;
    height: 1px;
    background-color: var(--beige-light);
}

.how-step {
    padding: 24px 36px;
    transition: translate 0.3s ease;
}

.how-step:hover {
    translate: 0 -10px;
}

.how-step h4 {
    color: var(--technology-blue-light);
    margin-bottom: 10px;
    line-height: 1.3;
}

.how-step p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.3;
    color: var(--beige-light);
}

.compass-unified {
    background-color: var(--black-light);
    padding: var(--section-padding) 0;
    color: var(--beige-light);
}

.compass-unified .section-label {
    color: var(--beige-light);
}

.compass-unified h2 {
    color: var(--technology-blue-light);
    margin-bottom: 15px;
}

.compass-unified h4 {
    color: var(--technology-blue-light);
    margin-bottom: 15px;
}

.compass-unified .section-description {
    color: var(--beige-light);
    font-weight: 200;
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-md);
    padding: 20px 0;
}

.feature-list li bullet-morph {
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--beige-light);
}

.feature-list p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.3;
    margin: 0;
}

.unified-buttons {
    display: flex;
    gap: var(--gap-md);
    margin-top: 40px;
}

.compass-audience {
    background-color: var(--black-dark);
    padding: var(--section-padding) 0;
    color: var(--beige-light);
}

.compass-audience .section-label {
    display: flex;
    justify-content: center;
    color: var(--beige-light);
}

.compass-audience h2 {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    color: var(--technology-blue-light);
}

.compass-audience .btn-accent {
    align-self: flex-start;
}

.compass-audience:hover .btn-accent {
    border-color: var(--black-dark);
}

.compass-audience .btn-accent:hover {
    background-color: var(--black-dark);
    color: var(--technology-blue-light);
    border: 0.5px solid var(--black-dark);}

.audience-card {
    background-color: transparent;
    padding: 60px 35px 40px 35px;
    border-radius: 8px;
    border: 1px solid var(--technology-blue-light);
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.audience-hover-line {
    position: absolute;
    margin-top: 15px;
    top: 15px;
    left: 30px;
    right: 30px;
    width: 0;
    margin-bottom: 0;
    opacity: 0;
    transition: width 0.5s ease, opacity 0.3s ease;
}

.audience-card:hover .audience-hover-line {
    width: calc(100% - 60px);
    opacity: 1;
}

.audience-hover-line .diamond {
    background: var(--black-dark);
}

.audience-hover-line .line {
    background: var(--black-dark);
}

.audience-card:hover {
    background-color: var(--technology-blue-light);
}

.audience-card:hover .audience-label,
.audience-card:hover p,
.audience-card:hover ul li {
    color: var(--black-dark);
}

.audience-card:hover h4 {
    color: var(--black-dark);
}

.audience-card:hover ul li .list-star {
    color: var(--black-dark);
}

.audience-label {
    font-size: 14px;
    color: var(--beige-light);
    opacity: 0.6;
    margin-bottom: 5px;
    display: block;
    transition: color 0.3s ease;
}

.audience-card h4 {
    margin-bottom: 15px;
    color: var(--technology-blue-light);
    transition: color 0.3s ease;
}

.audience-card > p {
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--beige-light);
    transition: color 0.3s ease;
}

.audience-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.audience-card ul li {
    font-size: 18px;
    font-weight: 200;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--beige-light);
    transition: color 0.3s ease;
}

.audience-card ul li::before {
    content: none;
}

.audience-card ul li .list-star {
    position: absolute;
    left: 0;
    color: var(--beige-light);
    font-size: 10px;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
}

.compass-cta {
    background-color: var(--black-light);
    padding: 150px 0;
    color: var(--beige-light);
}

.compass-cta-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: var(--gap-4xl);
    align-items: center;
}

.compass-cta .cta-content {
    max-width: 500px;
}

.compass-cta h1 {
    margin-bottom: 20px;
    color: var(--technology-blue-light);
}

.compass-cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.compass-cta .recaptcha-notice {
    font-size: 12px;
    margin-bottom: 0;
}

.compass-cta .btn-outline {
    border-color: var(--technology-blue-light);
    color: var(--technology-blue-light);
    align-self: flex-start;
}

.compass-cta .contact-form input,
.compass-cta .contact-form select,
.compass-cta .contact-form textarea {
    border-bottom-color: var(--technology-blue-light);
}

.compass-cta .contact-form input:placeholder-shown,
.compass-cta .contact-form textarea:placeholder-shown,
.compass-cta .contact-form select:invalid {
    border-bottom-color: var(--technology-blue-light);
}

.compass-cta .form-group label {
    color: var(--beige-light);
}

.compass-cta .btn-submit {
    background-color: var(--technology-blue-dark);
    color: var(--beige-light);
}

.cta-buttons {
    display: flex;
    gap: var(--gap-md);
}

/* ===== Large Screen Enhancements ===== */

/* Medium-large screens - laptops (1366px+) */
/* Large screens (1600px+) */
/* ===== Responsive ===== */
/* About Page - Organization Structure */
.about-organization-section {
    background: var(--beige-dark);
    padding: 150px 0;
    text-align: center;
}

.about-organization-section .section-label {
    display: inline-block;
}

.about-organization-section h2 {
    color: var(--carnelian-red);
    margin-bottom: var(--gap-sm);
}

.about-organization-section .section-description {
    max-width: 600px;
    margin-top: 12px;
    margin: 0 auto 48px;
}

.organization-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    border: 3px solid var(--carnelian-red);
    border-radius: 12px;
    position: relative;
    background: var(--carnelian-red);
}


.parent-service-card {
    color: var(--beige-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--gap-xl);
    padding: var(--gap-xl);
    border-radius: 8px;
    position: relative;
}

.parent-service-card .service-icon {
    margin-bottom: var(--gap-md);
    color: var(--beige-light);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.parent-service-card .service-icon.parent-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--gap-md);
}

.parent-service-card h2 {
    margin-bottom: var(--gap-sm);
    color: var(--beige-light);
}

.parent-service-card p {
    color: var(--beige-light);
    font-size: 18px;
    font-weight: 200;
}

.about-organization-section .about-services-grid {
    margin-top: 0;
    position: relative;
}


.about-organization-section .service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.about-organization-section .service-card .service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    width: 120px;
    height: 120px;
}

.about-organization-section .service-card .service-link {
    display: none;
}

.service-card-line {
    gap: var(--gap-sm);
    margin-top: auto;
    padding-top: var(--gap-lg);
}

/* About Page - Team Section */
/* About Page - Capabilities Section */
.about-capabilities-section {
    background: var(--beige-dark);
    padding: var(--section-padding) 0;
    text-align: center;
}

.about-capabilities-section .section-label {
    display: inline-block;
}

.about-capabilities-section h2 {
    color: var(--carnelian-red);
    margin-bottom: var(--gap-xl);
}

.capabilities-title-line {
    gap: var(--gap-sm);
    width: auto;
    max-width: 400px;
    margin-bottom: var(--gap-2xl);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.capabilities-box {
    background: var(--beige-light);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    text-align: left;
}

.capabilities-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--gap-2xl);
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.capabilities-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 120px;
}

.capabilities-content h3 {
    font-size: 48px;
    font-family: var(--font-sans);
    font-weight: 250;
    margin-bottom: 0;
    line-height: 1.2;
    text-align: left;
}

.capabilities-content strong {
    font-weight: 400;
}

.capabilities-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-carnelian {
    background: var(--carnelian-red);
    color: var(--beige-light);
    border: none;
    padding: 4px 10px 6px 12px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-carnelian:hover {
    color: var(--carnelian-red);
    background-color: transparent;
    border: 0.5px solid var(--carnelian-red);
}

.check-it-out {
    display: inline-flex;
    align-items: center;
}

.check-it-out .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.check-it-out:hover .arrow {
    transform: translate(4px, -4px);
}

.capabilities-diamonds {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-md);
}

.capabilities-diamonds .diamond {
    display: inline-block;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.capabilities-diamonds .diamond.indicator {
    cursor: pointer;
}

.capabilities-diamonds .diamond.indicator:hover {
    opacity: 0.7;
}

.capabilities-diamonds .diamond.filled {
    background: var(--carnelian-red-dark);
    border: none;
}

.capabilities-diamonds .diamond.outline {
    background: transparent;
    border: 1px solid var(--carnelian-red-dark);
}

/* ===== Page ===== */
.blog {
    background-color: var(--beige-light);
    padding: 0 0 120px;
    min-height: 100vh;
}

.blog-header {
    max-width: 900px;
    margin: 0 auto 10px;
    padding: 40px 48px;
}

.blog-header .blog-image {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    margin: 0 auto 20px;
}

.blog-header .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-header h1 {
    color: var(--carnelian-red);
    font-size: 48px;
    font-weight: 300;
    margin-top: 18px;
    margin-bottom: 18px;
}

.blog-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 48px 80px;
    line-height: 1.7;
}

.blog-content .subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 15px;
}

.blog-content .paragraph {
    margin-bottom: 10px;
    font-weight: 200;
    letter-spacing: 0.5px;
}

.blog-content .blog-blockquote {
    font-size: 22px;
    font-family: var(--font-serif);
    line-height: 1.3;
    color: var(--carnelian-red);
    margin: 40px 0;
    padding-left: 25px;
    border-left: 2px solid var(--carnelian-red);
}

/* Responsive - Organization Structure */
/* ===== Mobile Menu Responsive ===== */
/* ===== Contact Page ===== */
.contact-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 250px 150px;
    background-color: var(--beige-light);
}

.contact-page-box {
    background-color: var(--beige-dark);
    padding: 72px;
    border-radius: 8px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.contact-top-line {
    gap: var(--gap-sm);
    margin-bottom: 60px;
}

.contact-page-header {
    text-align: left;
    margin-bottom: 60px;
}

.contact-page-header h2,
.contact-success-message h2 {
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 25px;
    color: var(--carnelian-red);
    line-height: 1.3;
}

.contact-page-header p {
    font-size: 18px;
    font-weight: 200;
    color: var(--black-dark);
    max-width: 700px;
}

.contact-page .contact-form {
    max-width: 100%;
}

.contact-page .contact-form label {
    color: var(--carnelian-red);
}

.contact-success-message {
    text-align: left;
    padding: 40px 0;
}

.contact-success-message p {
    font-size: 18px;
    font-weight: 200;
    color: var(--black-dark);
    max-width: 700px;
}

/* ===== Legal Pages ===== */
.legal-page {
    background-color: var(--beige-light);
    padding: 60px 0;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--beige-light);
    padding: 40px 48px;
    border-radius: 8px;
}

.legal-content h1 {
    font-size: 48px;
    font-weight: 300;
    color: var(--carnelian-red);
    margin-bottom: 10px;
}

.legal-meta {
    font-size: 14px;
    font-style: italic;
    color: var(--black-dark);
    opacity: 0.7;
    margin-bottom: 40px;
}

.legal-intro {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-intro p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-notice {
    background-color: var(--beige-dark);
    padding: 20px;
    border-left: 3px solid var(--carnelian-red);
    margin: 30px 0;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--carnelian-red);
    margin-top: 60px;
    margin-bottom: 25px;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--black-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--black-dark);
}

.legal-content ol,
.legal-content ul {
    margin-left: 30px;
    margin-bottom: 25px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--black-dark);
}

.legal-table {
    margin: 30px 0;
    overflow-x: auto;
}

.legal-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--beige-light);
}

.legal-table th {
    background-color: var(--carnelian-red);
    color: var(--beige-light);
    padding: 15px;
    text-align: left;
    font-weight: 400;
}

.legal-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    vertical-align: top;
    background-color: var(--beige-dark);
    color: var(--black-dark);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-contact {
    background-color: var(--beige-dark);
    padding: 30px;
    border-radius: 4px;
    margin-top: 30px;
}

.legal-contact p {
    margin-bottom: 8px;
}

/* ===== Media Queries ===== */

@media (min-width: 2560px) {

    .container {
        max-width: 2200px;
        width: 80%;
        padding: 0 60px;
    }
}

@media (min-width: 1920px) {

    .container {
        max-width: 1800px;
        width: 82%;
        padding: 0 50px;
    }

    .hero-text h1 {
        font-size: 72px;
    }

    .page-hero-text h1 {
        font-size: 64px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    .card-image {
        height: 320px;
    }

    .overlay-text h2 {
        font-size: 52px;
    }
}

@media (min-width: 1600px) {

    .container {
        width: 85%;
        max-width: 1600px;
        padding: 0 40px;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .page-hero-text h1 {
        font-size: 72px;
    }

    .section-label {
        font-size: 14px;
    }

    .services-grid {
        gap: var(--gap-xl);
    }

    .cards-grid {
        gap: var(--gap-xl);
    }

    .card-image {
        height: 280px;
    }
}

@media (min-width: 1366px) {

    .container {
        width: 88%;
        padding: 0 30px;
    }

    .hero-text h1 {
        font-size: 72px;
    }

    .page-hero-text h1 {
        font-size: 84px;
    }

    .card-image {
        height: 250px;
    }
}

@media (max-width: 1200px) {

    .contact-page {
        padding: 100px 150px 120px;
    }

    .contact-page-box {
        padding: 60px;
    }
}

@media (max-width: 1024px) {

    .four-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compass-diamond-line .line {
        flex: 0 0 120px;
    }
}

@media (max-width: 992px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .compass-cta-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-xl);
    }

    .contact-page {
        padding: 80px 80px 100px;
    }

    .contact-page-box {
        padding: 50px;
    }

    .contact-page-header h2 {
        font-size: 42px;
    }

    .legal-content {
        padding: 32px 36px;
    }

    .legal-content h1 {
        font-size: 36px;
    }

    .legal-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {

    .corner-diamond { font-size: 10px; }
    .corner-diamond--tl { top: 8px;    left: 8px;  }
    .corner-diamond--tr { top: 8px;    right: 8px; }
    .corner-diamond--bl { bottom: 8px; left: 8px;  }
    .corner-diamond--br { bottom: 8px; right: 8px; }

    .container {
        width: 95%;
        padding: 0 12px;
    }

    .card.is-visible .card-footer {
        height: 55px;
        padding: 18px 20px;
        align-items: center;
    }
    .card.is-visible .card-footer .card-title,
    .card.is-visible .card-footer .card-arrow {
        opacity: 1;
        transform: translateY(0);
    }

    .nav {
        gap: var(--gap-md);
    }

    .nav > a,
    .nav-item > a {
        font-size: 13px;
    }

    .header {
        padding: 15px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hero-graphic {
        order: -1;
    }

    .services-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .compass-platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-actions {
        justify-content: flex-start;
    }

    .platform-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: var(--gap-md);
    }

    .footer-legal {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: var(--gap-sm);
    }

    .page-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero-graphic {
        order: -1;
        justify-content: center;
        padding-left: 0;
    }

    .page-hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .three-column-grid,
    .four-column-grid,
    .two-column-grid,
    .two-by-two-grid,
    .tech-services-section .two-column-grid,
    .thesis-columns {
        grid-template-columns: 1fr;
    }

    .compass-how-works h2 {
        font-size: 28px;
    }

    .compass-diamond-line .line {
        flex: 0 0 80px;
    }

    .future-grid,
    .quote-content {
        grid-template-columns: 1fr;
    }

    .future-timeline-wrapper {
        height: 440px;
    }

    .timeline-content {
        padding: 0 20px 20px 20px;
    }

    .compass-hero .page-hero-content {
        grid-template-columns: 1fr;
    }

    blockquote {
        font-size: 22px;
    }

    .compass-cta h2 {
        font-size: 36px;
    }

    .offering-item,
    .offering-item.featured {
        grid-template-columns: 1fr;
        gap: var(--gap-md);
        width: 100%;
    }

    .offering-item.featured .offering-main,
    .featured-card {
        grid-template-columns: 1fr;
        gap: var(--gap-md);
    }

    .offering-description,
    .featured-card-description {
        padding-right: 0;
    }

    .featured-card {
        margin-top: 24px;
        padding: 32px 20px;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .thesis-text,
    .thesis-text.large,
    .thesis-text.large-bold {
        font-size: 30px;
    }

    .philosophy-text,
    .philosophy-text.large,
    .philosophy-text.large-bold {
        font-size: 30px;
    }

    h1 {
        font-size: 52px;
    }

    .page-hero-text h1 {
        font-size: 36px;
    }

    .contact-text h1 {
        font-size: 64px;
    }

    .cta-header h2 {
        font-size: 28px;
    }

    /* Reduce section padding on mobile */
    .hero,
    .page-hero {
        padding: 28px 0 44px;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    section {
        padding: 50px 0;
    }

    .contact {
        padding: 50px 0;
    }

    .footer {
        padding: 40px 0 20px;
    }

    /* === Mobile Vertical Process Diamond Line === */
    /* Hide horizontal lines inside these sections on mobile */
    .process-section .process-top-line,
    .compass-how-works .compass-top-line,
    .ecosystem-section .audience-hover-line {
        display: none !important;
    }

    /* Grid container becomes anchor for the vertical line */
    .has-mobile-vline {
        position: relative !important;
        padding-left: 28px !important;
        padding-top: 0 !important;
    }

    /* Reduce inner left padding of steps so content doesn't shift too far */
    .has-mobile-vline .process-step {
        padding-left: 10px;
        padding-right: 10px;
    }
    .has-mobile-vline .how-step {
        padding-left: 10px;
        padding-right: 10px;
    }
    .has-mobile-vline .ecosystem-item {
        padding-left: 10px;
    }

    /* Vertical line container — sits in the left padding strip */
    .mobile-vline {
        position: absolute;
        left: 6px;
        top: 0;
        bottom: 0;
        width: 0;
        pointer-events: none;
        z-index: 1;
    }

    /* Top diamond (always visible) */
    .mobile-vline::before {
        content: '';
        position: absolute;
        top: 0;
        left: -3px;
        width: 6px;
        height: 6px;
        background: var(--carnelian-red);
        transform: rotate(45deg);
    }

    /* Growing line — starts after top diamond + gap-md (6px + 15px = 21px) */
    .mobile-vline .line-fill {
        position: absolute;
        top: 21px;
        left: 0;
        width: 1px;
        height: 0;
        background: var(--carnelian-red);
    }

    /* Bottom diamond — gap-md (15px) below line tip */
    .mobile-vline .line-fill::after {
        content: '';
        position: absolute;
        top: calc(100% + 15px);
        left: -3px;
        width: 6px;
        height: 6px;
        background: var(--carnelian-red);
        transform: rotate(45deg);
    }

    /* Compass variant — light colors on dark background */
    .compass-how-works .mobile-vline::before,
    .compass-how-works .mobile-vline .line-fill,
    .compass-how-works .mobile-vline .line-fill::after {
        background: var(--beige-light);
    }

    /* Technology ecosystem variant */
    .page-technology .ecosystem-section .mobile-vline::before,
    .page-technology .ecosystem-section .mobile-vline .line-fill,
    .page-technology .ecosystem-section .mobile-vline .line-fill::after {
        background: var(--carnelian-red-dark);
    }

    .capabilities-content h3 {
        font-size: 22px;
    }

    .capabilities-box {
        padding: 30px 20px;
    }

    .capabilities-content {
        min-height: 150px;
    }

    .capabilities-footer {
        flex-direction: column;
        gap: var(--gap-lg);
        align-items: center;
    }

    .organization-box {
        padding: 40px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header .nav {
        display: none !important;
    }

    .mobile-featured h2 {
        font-size: 42px;
    }

    .mobile-nav-links {
        margin-bottom: 50px;
    }

    .mobile-nav-links a {
        font-size: 20px;
    }

    .contact-page {
        padding: 60px 40px 80px;
    }

    .contact-page-box {
        padding: 40px;
    }

    .contact-page-header h2 {
        font-size: 32px;
    }

    .contact-page-header p {
        font-size: 16px;
    }

    .contact-page .form-row {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 24px 20px;
    }

    .legal-content h1 {
        font-size: 32px;
    }

    .legal-content h2 {
        font-size: 22px;
        margin-top: 40px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .hero,
    .page-hero {
        padding: 20px 0 32px;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }

    .nav {
        gap: var(--gap-sm);
    }

    .nav > a,
    .nav-item > a {
        font-size: 12px;
    }

    .logo {
        width: 110px;
        height: 28px;
    }

    h1 {
        font-size: 36px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .page-hero-text h1,
    .contact-text h1 {
        font-size: 40px;
    }

    .hero-graphic hero-morph {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 24px;
    }

    .contact-text h2 {
        font-size: 32px;
    }

    .parent-service-card h2 {
        font-size: 24px;
    }

    .parent-service-card .service-icon {
        font-size: 56px;
    }

    .organization-box {
        padding: 50px 15px;
    }


    .contact-diamond-box {
        padding: 50px 15px;
    }

    .cta-header[data-corner-diamonds] {
        padding: 50px 20px;
    }

    .mobile-menu-container {
        padding: 30px 15px;
    }

    .mobile-menu-header {
        margin-bottom: 40px;
    }

    .mobile-featured h2 {
        font-size: 32px;
    }

    .mobile-featured h2 .arrow {
        font-size: 18px;
    }

    .mobile-featured p {
        font-size: 16px;
    }

    .mobile-nav-links {
        gap: 15px;
        margin-bottom: 40px;
    }

    .mobile-menu-diamond-line {
        margin-top: 30px;
    }

    .mobile-featured .mobile-menu-diamond-line {
        margin-top: 20px;
    }

    .mobile-nav-links a {
        font-size: 18px;
    }

    .mobile-menu-diamond-line {
        margin-bottom: 20px;
    }

    .contact-page {
        padding: 40px 20px 60px;
    }

    .contact-page-box {
        padding: 30px 20px;
    }

    .contact-page-header h2 {
        font-size: 28px;
    }

    .legal-content {
        padding: 20px 16px;
    }

    .legal-content h1 {
        font-size: 48px;
    }
}
