/* =============================================================
   ABOUT PAGE ADDITIONS
   Link after styles.css
   ============================================================= */

/* --- Hero wavelet visible --- */
.page-hero {
    padding: 90px 0 80px;
    overflow: hidden;
}

.page-hero::before { opacity: 0.18; }

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: url('small_morlet_wavelet.png') center/contain no-repeat;
    opacity: 0.07;
    transform: rotate(160deg);
    pointer-events: none;
    z-index: 1;
}

/* --- Shared label / eyebrow --- */
.about-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 5px;
    padding: 4px 12px;
    margin-bottom: 14px;
}

/* -------------------------------------------------------
   WHY WAVELET - 3 marketing claim cards
------------------------------------------------------- */
.about-why {
    padding: 64px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.about-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-why-card {
    background: rgba(15, 23, 42, 0.028);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.about-why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.about-why-card:hover::before { transform: scaleX(1); }

.about-why-card:hover {
    border-color: var(--blue-500);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.about-why-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-why-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
}

.about-why-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-why-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--navy-600);
}

/* -------------------------------------------------------
   PRINCIPLES - mid-tone blue-gray band, distinct from hero
------------------------------------------------------- */
.about-principles {
    padding: 72px 0;
    background: linear-gradient(160deg, #c2d0e8 0%, #a8bdd8 50%, #94aecf 100%);
    position: relative;
    overflow: hidden;
}

.about-principles-header {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 2;
}

.about-principles-header .about-label {
    background: rgba(30, 64, 175, 0.12);
    border-color: rgba(30, 64, 175, 0.3);
    color: var(--blue-700);
}

.about-principles-header h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 14px;
    line-height: 1.2;
}

.about-principles-header p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--navy-700);
    max-width: 620px;
    margin: 0 auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.principle-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 32px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}

/* Each card gets a unique subtle tint */
.principle-card:nth-child(1) {
    background: rgba(219, 234, 254, 0.65);
    border-color: rgba(147, 197, 253, 0.5);
}
.principle-card:nth-child(1):hover {
    background: rgba(219, 234, 254, 0.9);
}

.principle-card:nth-child(2) {
    background: rgba(209, 250, 229, 0.55);
    border-color: rgba(110, 231, 183, 0.45);
}
.principle-card:nth-child(2):hover {
    background: rgba(209, 250, 229, 0.85);
}

.principle-card:nth-child(3) {
    background: rgba(254, 243, 199, 0.55);
    border-color: rgba(253, 230, 138, 0.45);
}
.principle-card:nth-child(3):hover {
    background: rgba(254, 243, 199, 0.85);
}

.principle-card:nth-child(4) {
    background: rgba(237, 233, 254, 0.55);
    border-color: rgba(196, 181, 253, 0.45);
}
.principle-card:nth-child(4):hover {
    background: rgba(237, 233, 254, 0.85);
}

.principle-number {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.principle-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.principle-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--navy-600);
}

/* -------------------------------------------------------
   FOUNDER SECTION - two-column layout
------------------------------------------------------- */
.about-founder {
    padding: 72px 0;
    background: var(--white);
}

.founder-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.founder-intro .about-label { margin-bottom: 12px; }

.founder-intro h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.founder-intro > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--navy-600);
    margin-bottom: 28px;
}

.founder-credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.founder-cred {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-left: 3px solid var(--blue-500);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-800);
}

.founder-cred svg {
    width: 16px;
    height: 16px;
    color: var(--blue-600);
    stroke: var(--blue-600);
    flex-shrink: 0;
}

/* Letter right column */
.founder-letter {
    background: var(--white);
    border-left: 4px solid var(--blue-500);
    border-radius: 0 12px 12px 0;
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
}

.founder-letter p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--navy-600);
    margin-bottom: 20px;
}

.founder-letter p:last-child {
    margin-bottom: 0;
    font-weight: 700;
    color: var(--navy-900);
    font-size: 15px;
}

.about-structure {
    padding: 72px 0;
    background: linear-gradient(180deg, #dce6f2 0%, #cdd8e8 100%);
}

.about-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-section-header h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.about-section-header p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--navy-700);
    max-width: 660px;
    margin: 0 auto;
}

/* 3-column benefit strip above the division cards */
.structure-benefit-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.structure-benefit {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-top: 3px solid var(--blue-500);
    border-radius: 12px;
    padding: 26px 24px;
}

.structure-benefit svg {
    width: 22px;
    height: 22px;
    color: var(--blue-600);
    stroke: var(--blue-600);
    margin-bottom: 12px;
}

.structure-benefit h5 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.structure-benefit p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--navy-700);
}

/* Division cards - small detail note inside */
.division-detail {
    font-size: 13px;
    line-height: 1.7;
    color: var(--navy-500);
    border-top: 1px solid var(--gray-200);
    padding-top: 14px;
    margin-top: 6px;
    font-style: italic;
}

/* Artisan tag orange gradient */
.artisan-tag {
    background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%) !important;
    color: var(--white) !important;
}

.division-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.division-card a svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* InFuze family bar at the bottom */
.structure-family {
    margin-top: 32px;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, #1e2d45 100%);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.structure-family-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-300);
    flex: 1;
    min-width: 280px;
}

.structure-family-text strong {
    color: var(--white);
}

.structure-family-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.structure-family-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-300);
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 5px;
    padding: 5px 12px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.structure-family-links a:hover {
    background: rgba(96, 165, 250, 0.2);
    color: var(--white);
}

/* -------------------------------------------------------
   ENGINEERING NORTH STAR CALLOUT
------------------------------------------------------- */
.about-ns {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, #1e2d45 100%);
    position: relative;
    overflow: hidden;
}

.about-ns-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-ns-text .about-label {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--blue-400);
}

.about-ns-text h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.2;
}

.about-ns-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-300);
    max-width: 580px;
    margin-bottom: 28px;
}

/* NS graphic - morlet wavelet decorative element */
.about-ns-graphic {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    position: relative;
}

.ns-morlet {
    width: 200px;
    height: 200px;
    background: url('small_morlet_wavelet.png') center/contain no-repeat;
    opacity: 0.18;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-why-grid          { grid-template-columns: 1fr; gap: 14px; }
    .principles-grid         { grid-template-columns: 1fr; }
    .founder-inner           { grid-template-columns: 1fr; gap: 40px; }
    .about-ns-inner          { grid-template-columns: 1fr; }
    .about-ns-graphic        { display: none; }
    .structure-benefit-strip { grid-template-columns: 1fr; gap: 14px; }
    .structure-family        { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    .about-why               { padding: 48px 0; }
    .about-principles        { padding: 52px 0; }
    .about-founder           { padding: 52px 0; }
    .about-structure         { padding: 52px 0; }
    .about-ns                { padding: 52px 0; }
    .about-principles-header h2 { font-size: 28px; }
    .about-section-header h2    { font-size: 28px; }
    .structure-family-links  { gap: 8px; }
}