﻿/* ============================================================
   MAATHAVAM INNOVATION LABS
   Enterprise Deep-Tech IP Platform
   FINAL PRODUCTION STYLESHEET
   Matched to current index.html
   ============================================================ */


/* ============================================================
   DESIGN SYSTEM
   ============================================================ */

:root {
    --navy-950: #050b14;
    --navy-900: #07111f;
    --navy-850: #0a1626;
    --navy-800: #0d1b2d;
    --navy-700: #14263b;

    --gold: #c7a45a;
    --gold-light: #e2c982;
    --gold-dark: #94763a;

    --white: #f8f6f0;
    --white-soft: #e9e6dd;

    --muted: #9ca8b5;
    --muted-dark: #667585;

    --border: rgba(226, 201, 130, 0.18);
    --border-light: rgba(255, 255, 255, 0.09);

    --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);

    --serif: Georgia, "Times New Roman", serif;

    --sans:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --max-width: 1240px;

    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 24px;

    --transition: 220ms ease;
}


/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--navy-950);
}

body {
    margin: 0;

    color: var(--white);

    font-family: var(--sans);

    line-height: 1.6;

    background:
        radial-gradient(
            circle at 78% 5%,
            rgba(199, 164, 90, 0.055),
            transparent 30rem
        ),
        var(--navy-950);

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--gold);
    color: var(--navy-950);
}


/* ============================================================
   GLOBAL SECTION SYSTEM
   ============================================================ */

.section {
    position: relative;

    padding: 120px 24px;
}

.section-shell {
    width: min(var(--max-width), 100%);

    margin: 0 auto;
}

.eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 24px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;

    line-height: 1;

    text-transform: uppercase;
}

.eyebrow-line {
    width: 34px;
    height: 1px;

    flex: 0 0 auto;

    background: var(--gold);
}

.section-heading {
    max-width: 800px;

    margin-bottom: 64px;
}

.section-heading h2 {
    margin: 0 0 24px;

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 70px);

    font-weight: 400;

    letter-spacing: -0.035em;

    line-height: 1.02;
}

.section-heading h2 span,
.hero h1 span {
    color: var(--gold-light);
}

.section-heading p {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}

.section-heading-split {
    display: grid;

    grid-template-columns: 1fr 0.75fr;

    gap: 80px;

    align-items: end;
}

.section-heading-split > p {
    padding-bottom: 5px;
}


/* ============================================================
   SCROLL PROGRESS
   ============================================================ */

.scroll-progress {
    position: fixed;

    z-index: 1000;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--gold-light);
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed;

    z-index: 900;

    top: 0;
    right: 0;
    left: 0;

    border-bottom: 1px solid transparent;

    transition:
        background var(--transition),
        border-color var(--transition),
        backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: rgba(5, 11, 20, 0.86);

    border-bottom-color: var(--border-light);

    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1360px, calc(100% - 48px));

    height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;

    width: 180px;

    flex: 0 0 auto;
}

.brand img {
    width: 100%;

    max-height: 50px;

    object-fit: contain;

    object-position: left center;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links > a {
    position: relative;

    color: var(--muted);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.05em;

    transition: color var(--transition);
}

.nav-links > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;
    left: 0;

    width: 0;
    height: 1px;

    margin: auto;

    background: var(--gold);

    transition: width var(--transition);
}

.nav-links > a:hover {
    color: var(--white);
}

.nav-links > a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 11px 17px;

    border: 1px solid var(--border);

    border-radius: 999px;

    color: var(--white) !important;

    transition:
        background var(--transition),
        border-color var(--transition);
}

.nav-cta:hover {
    background: rgba(199, 164, 90, 0.1);

    border-color: rgba(226, 201, 130, 0.45);
}

.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border: 1px solid var(--border-light);

    border-radius: 8px;

    background: transparent;

    cursor: pointer;
}

.nav-toggle span {
    display: block;

    width: 100%;
    height: 1px;

    margin: 5px 0;

    background: var(--white);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;

    min-height: 780px;

    padding: 170px 24px 110px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            rgba(5, 11, 20, 0.98),
            rgba(7, 17, 31, 0.88)
        );
}

.hero::before {
    content: "";

    position: absolute;

    top: -250px;
    right: -180px;

    width: 700px;
    height: 700px;

    border: 1px solid rgba(199, 164, 90, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    right: 6%;
    bottom: -420px;

    width: 800px;
    height: 800px;

    border: 1px solid rgba(255, 255, 255, 0.04);

    border-radius: 50%;

    pointer-events: none;
}

.hero-grid {
    position: relative;

    z-index: 2;

    width: min(var(--max-width), 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 55px;

    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero h1 {
    margin: 0 0 30px;

    font-family: var(--serif);

    font-size: clamp(52px, 6.2vw, 88px);

    font-weight: 400;

    letter-spacing: -0.045em;

    line-height: 0.98;
}

.hero-lead {
    max-width: 680px;

    margin: 0 0 24px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;
}

.hero-lead + .hero-lead {
    margin-top: 0;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.06em;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border: 1px solid var(--gold);

    background: var(--gold);

    color: var(--navy-950);
}

.button-primary:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);
}

.button-secondary {
    border: 1px solid var(--border);

    background: transparent;

    color: var(--white);
}

.button-secondary:hover {
    border-color: rgba(226, 201, 130, 0.55);

    background: rgba(199, 164, 90, 0.06);
}

.hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 44px;

    color: var(--muted-dark);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.18em;
}

.hero-meta span {
    display: flex;

    align-items: center;

    gap: 20px;
}

.hero-meta span:not(:last-child)::after {
    content: "·";

    color: var(--gold-dark);
}


/* ============================================================
   HERO VISUAL
   ============================================================ */

.hero-visual {
    position: relative;

    min-height: 570px;

    display: grid;

    place-items: center;
}


/* ============================================================
   DEEP-TECH IP PLATFORM
   ============================================================ */

.ip-platform-visual {
    position: relative;

    width: 650px;
    height: 570px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: visible;

    isolation: isolate;
}


/* ============================================================
   TECHNICAL GRID
   ============================================================ */

.platform-grid-bg {
    position: absolute;

    z-index: 0;

    width: 510px;
    height: 510px;

    border-radius: 50%;

    opacity: 0.36;

    background-image:
        linear-gradient(
            rgba(199, 164, 90, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(199, 164, 90, 0.035) 1px,
            transparent 1px
        );

    background-size: 32px 32px;

    mask-image:
        radial-gradient(
            circle,
            black 0%,
            transparent 70%
        );

    -webkit-mask-image:
        radial-gradient(
            circle,
            black 0%,
            transparent 70%
        );
}


/* ============================================================
   PLATFORM KICKER
   ============================================================ */

.ip-platform-kicker {
    position: absolute;

    top: 15px;
    left: 50%;

    z-index: 30;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 13px;

    white-space: nowrap;

    color: var(--muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.ip-platform-kicker::before,
.ip-platform-kicker::after {
    content: "";

    width: 24px;
    height: 1px;

    background: rgba(199, 164, 90, 0.45);
}

.ip-platform-kicker span:last-child {
    color: var(--gold-light);
}


/* ============================================================
   CONCENTRIC TECHNOLOGY LAYERS
   ============================================================ */

/*
   OUTER RING REMOVED
   -----------------------------------------------
   The previous 510px outer ring was visually
   incomplete at the viewport edges and made the
   platform appear unfinished.

   Middle and inner rings remain intentionally.
*/

.ip-platform-ring {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.ip-platform-ring-middle {
    width: 380px;
    height: 380px;

    border: 1px solid rgba(199, 164, 90, 0.22);
}

.ip-platform-ring-inner {
    width: 255px;
    height: 255px;

    border: 1px solid rgba(226, 201, 130, 0.34);
}


/* ============================================================
   ORBITAL PATH
   ============================================================ */

.platform-orbit-path {
    position: absolute;

    width: 468px;
    height: 468px;

    border: 1px dashed rgba(226, 201, 130, 0.11);

    border-radius: 50%;

    transform: rotate(-22deg);

    pointer-events: none;
}

.platform-orbit-path::before,
.platform-orbit-path::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    background: var(--navy-950);

    box-shadow:
        0 0 12px rgba(226, 201, 130, 0.25);
}

.platform-orbit-path::before {
    top: 7%;
    left: 23%;
}

.platform-orbit-path::after {
    right: 12%;
    bottom: 17%;
}


/* ============================================================
   CENTRAL MAATHAVAM CORE
   ============================================================ */

.ip-platform-core {
    position: relative;

    z-index: 20;

    width: 190px;
    height: 190px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(226, 201, 130, 0.58);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at center,
            rgba(199, 164, 90, 0.17) 0%,
            rgba(199, 164, 90, 0.07) 40%,
            rgba(5, 11, 20, 0.99) 72%
        );

    box-shadow:
        0 0 0 14px rgba(199, 164, 90, 0.025),
        0 0 0 30px rgba(199, 164, 90, 0.012),
        0 0 80px rgba(199, 164, 90, 0.10);
}

.ip-platform-core::before {
    content: "";

    position: absolute;

    inset: 9px;

    border: 1px solid rgba(226, 201, 130, 0.08);

    border-radius: 50%;

    pointer-events: none;
}

.core-glow {
    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(226, 201, 130, 0.12),
            transparent 70%
        );

    filter: blur(5px);

    pointer-events: none;
}

.ip-platform-logo {
    position: relative;

    z-index: 2;

    width: 60px;
    height: 60px;

    margin-bottom: 10px;

    object-fit: contain;

    opacity: 0.97;
}

.ip-platform-core-label {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    text-align: center;
}

.ip-platform-core-label strong {
    color: var(--gold-light);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.19em;
}

.ip-platform-core-label span {
    color: var(--white);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.14em;
}

.ip-platform-core-label small {
    max-width: 130px;

    margin-top: 3px;

    color: var(--muted-dark);

    font-size: 7px;

    line-height: 1.4;

    letter-spacing: 0.02em;

    text-align: center;
}


/* ============================================================
   HERO PROCESS NODES
   ============================================================ */

.ip-platform-node {
    position: absolute;

    z-index: 25;

    width: 142px;

    min-height: 91px;

    padding: 14px 15px;

    border: 1px solid rgba(226, 201, 130, 0.28);

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 24, 41, 0.97),
            rgba(5, 15, 27, 0.97)
        );

    backdrop-filter: blur(12px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.22);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.ip-platform-node:hover {
    border-color: rgba(226, 201, 130, 0.55);

    background:
        linear-gradient(
            145deg,
            rgba(18, 35, 54, 0.98),
            rgba(6, 17, 29, 0.98)
        );

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.30),
        0 0 25px rgba(199, 164, 90, 0.05);

    transform: translateY(-3px);
}

.ip-platform-node::before {
    content: "";

    position: absolute;

    top: 0;
    left: 15px;

    width: 28px;
    height: 1px;

    background: var(--gold);

    opacity: 0.8;
}


/* ============================================================
   NODE STATUS DOT
   ============================================================ */

.ip-platform-node::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    background: var(--navy-950);

    box-shadow:
        0 0 10px rgba(226, 201, 130, 0.20);

    pointer-events: none;
}


/* ============================================================
   NODE CONTENT
   ============================================================ */

.ip-node-number {
    display: block;

    margin-bottom: 4px;

    color: var(--gold);

    font-family: var(--serif);

    font-size: 11px;
}

.ip-platform-node strong {
    display: block;

    color: var(--white);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.ip-platform-node small {
    display: block;

    margin-top: 5px;

    color: #8298b0;

    font-size: 8px;

    line-height: 1.4;
}

.node-intent {
    position: absolute;

    top: 13px;
    right: 11px;

    color: var(--muted-dark);

    font-size: 6px;

    font-weight: 700;

    letter-spacing: 0.14em;
}


/* ============================================================
   NODE POSITIONS
   ============================================================ */

.ip-node-problem {
    top: 113px;
    left: 0;
}

.ip-node-engineer {
    top: 52px;
    right: 24px;
}

.ip-node-validate {
    top: 244px;
    right: -2px;
}

.ip-node-protect {
    right: 45px;
    bottom: 67px;
}

.ip-node-partner {
    bottom: 67px;
    left: 17px;
}


/* ============================================================
   NODE STATUS POSITIONS
   ============================================================ */

.ip-node-problem::after {
    top: 50%;
    right: -3px;

    transform: translate(50%, -50%);
}

.ip-node-engineer::after {
    top: 50%;
    left: -3px;

    transform: translate(-50%, -50%);
}

.ip-node-validate::after {
    top: 50%;
    left: -3px;

    transform: translate(-50%, -50%);
}

.ip-node-protect::after {
    top: 50%;
    left: -3px;

    transform: translate(-50%, -50%);
}

.ip-node-partner::after {
    top: 50%;
    right: -3px;

    transform: translate(50%, -50%);
}


/* ============================================================
   STAGE CONNECTION LINES
   ============================================================ */

.platform-stage-line {
    position: absolute;

    z-index: 8;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(199, 164, 90, 0.46),
            transparent
        );

    transform-origin: left center;

    pointer-events: none;
}

.platform-stage-line::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 4px;
    height: 4px;

    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);

    transform:
        translateY(-50%)
        rotate(45deg);

    opacity: 0.65;
}

.line-problem {
    width: 100px;

    top: 190px;
    left: 112px;

    transform: rotate(22deg);
}

.line-engineer {
    width: 105px;

    top: 136px;
    right: 116px;

    transform: rotate(155deg);
}

.line-validate {
    width: 100px;

    top: 292px;
    right: 107px;

    transform: rotate(185deg);
}

.line-protect {
    width: 105px;

    right: 116px;
    bottom: 130px;

    transform: rotate(214deg);
}

.line-partner {
    width: 100px;

    bottom: 131px;
    left: 112px;

    transform: rotate(-22deg);
}


/* ============================================================
   HERO FLOW LABEL
   ============================================================ */

.ip-platform-flow-label {
    position: absolute;

    z-index: 30;

    bottom: 12px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    white-space: nowrap;

    color: var(--muted-dark);

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.15em;
}

.ip-platform-flow-label i {
    width: 24px;
    height: 1px;

    background: rgba(199, 164, 90, 0.42);
}


/* ============================================================
   CREDIBILITY STRIP — 4 CARDS ONLY
   ============================================================ */

.credibility {
    width: 100%;

    padding: 0;

    border-top: 1px solid var(--border-light);

    border-bottom: 1px solid var(--border-light);

    background: var(--navy-900);
}

.credibility-grid {
    width: 100%;

    max-width: none;

    margin: 0;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    border: 0;
}

.credibility-item {
    min-height: 115px;

    padding: 25px 32px;

    display: flex;

    align-items: center;

    gap: 18px;

    border-right: 1px solid var(--border-light);
}

.credibility-item:first-child {
    border-left: 0;
}

.credibility-item:last-child {
    border-right: 0;
}

.credibility-number {
    flex: 0 0 auto;

    color: var(--gold-dark);

    font-family: var(--serif);

    font-size: 16px;
}

.credibility-item div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.credibility-item strong {
    color: var(--white);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.04em;
}

.credibility-item div span {
    color: var(--muted-dark);

    font-size: 10px;

    line-height: 1.5;
}


/* ============================================================
   PLATFORM
   ============================================================ */

.platform-section {
    background: var(--navy-900);
}

.platform-diagram {
    display: grid;

    grid-template-columns:
        1fr
        60px
        1fr
        60px
        1fr;

    gap: 0;

    align-items: stretch;
}

.platform-diagram .platform-node {
    position: relative;

    padding: 32px;

    border: 1px solid var(--border-light);

    border-radius: var(--radius-medium);

    background: rgba(255, 255, 255, 0.015);
}

.platform-diagram .platform-node-highlight {
    border-color: var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(199, 164, 90, 0.09),
            rgba(255, 255, 255, 0.015)
        );
}

.node-number {
    color: var(--gold);

    font-family: var(--serif);

    font-size: 14px;
}

.platform-diagram .platform-node h3 {
    margin: 25px 0 12px;

    font-family: var(--serif);

    font-size: 25px;

    font-weight: 400;
}

.platform-diagram .platform-node p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.platform-connector {
    display: grid;

    place-items: center;

    color: var(--gold-dark);

    font-size: 20px;
}


/* ============================================================
   PLATFORM ENGAGEMENT PATH
   ============================================================ */

.platform-engagement {
    margin-top: 70px;

    padding: 36px 40px;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 45px;

    align-items: center;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            90deg,
            rgba(199, 164, 90, 0.055),
            transparent 75%
        );
}

.platform-engagement-copy .eyebrow {
    margin-bottom: 16px;
}

.platform-engagement-copy h3 {
    max-width: 620px;

    margin: 0;

    font-family: var(--serif);

    font-size: clamp(28px, 3vw, 42px);

    font-weight: 400;

    line-height: 1.08;
}

.platform-engagement-copy h3 span {
    color: var(--gold-light);
}

.platform-engagement-path {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--muted-dark);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.14em;

    white-space: nowrap;
}

.platform-engagement-path i {
    width: 25px;
    height: 1px;

    background: rgba(199, 164, 90, 0.4);
}


/* ============================================================
   TECHNOLOGY METRICS
   ============================================================ */

.metric-grid {
    margin-top: 80px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border-light);

    border-bottom: 1px solid var(--border-light);
}

.metric {
    padding: 34px 24px;

    display: flex;

    flex-direction: column;

    gap: 7px;

    border-right: 1px solid var(--border-light);
}

.metric:first-child {
    border-left: 1px solid var(--border-light);
}

.metric strong {
    color: var(--gold-light);

    font-family: var(--serif);

    font-size: 46px;

    font-weight: 400;

    line-height: 1;
}

.metric span {
    color: var(--muted);

    font-size: 11px;
}


/* ============================================================
   PORTFOLIO
   ============================================================ */

.portfolio-section {
    background:
        linear-gradient(
            180deg,
            var(--navy-900),
            var(--navy-950)
        );
}

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.portfolio-card {
    min-height: 350px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    border: 1px solid var(--border-light);

    border-radius: var(--radius-medium);

    background: rgba(255, 255, 255, 0.018);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);

    border-color: var(--border);

    background: rgba(199, 164, 90, 0.035);
}

.card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.card-index {
    color: var(--gold);

    font-family: var(--serif);

    font-size: 15px;
}

.card-status {
    color: var(--muted-dark);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.14em;
}

.card-icon {
    width: 55px;
    height: 55px;

    margin: 30px 0 24px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--gold-light);

    font-size: 22px;
}

.portfolio-card h3 {
    margin: 0 0 12px;

    font-family: var(--serif);

    font-size: 26px;

    font-weight: 400;
}

.portfolio-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.card-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: auto;

    padding-top: 28px;
}

.card-tags span {
    padding: 6px 9px;

    border: 1px solid var(--border-light);

    border-radius: 999px;

    color: var(--muted-dark);

    font-size: 8px;

    letter-spacing: 0.05em;
}


/* ============================================================
   LIFECYCLE
   ============================================================ */

.lifecycle-section {
    background: var(--navy-950);
}

.lifecycle-layout {
    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    gap: 70px;
}

.lifecycle-list {
    border-top: 1px solid var(--border-light);
}

.lifecycle-step {
    position: relative;

    min-height: 112px;

    padding: 24px 20px;

    display: grid;

    grid-template-columns: 70px 1fr 40px;

    gap: 20px;

    align-items: center;

    border-bottom: 1px solid var(--border-light);

    transition: background var(--transition);
}

.lifecycle-step:hover,
.lifecycle-step.active {
    background: rgba(199, 164, 90, 0.045);
}

.lifecycle-number {
    color: var(--gold);

    font-family: var(--serif);

    font-size: 16px;
}

.lifecycle-content h3 {
    margin: 0 0 5px;

    font-family: var(--serif);

    font-size: 25px;

    font-weight: 400;
}

.lifecycle-content p {
    max-width: 610px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}

.lifecycle-arrow {
    color: var(--gold-dark);
}

.lifecycle-panel {
    min-height: 550px;

    padding: 45px;

    display: flex;

    flex-direction: column;

    border: 1px solid var(--border);

    border-radius: var(--radius-large);

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(199, 164, 90, 0.12),
            transparent 55%
        ),
        var(--navy-850);

    box-shadow: var(--shadow);
}

.panel-label {
    color: var(--muted-dark);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.17em;
}

.panel-mark {
    margin-top: auto;

    margin-bottom: 20px;

    color: var(--gold-light);

    font-family: var(--serif);

    font-size: 110px;

    line-height: 0.8;
}

.lifecycle-panel blockquote {
    max-width: 440px;

    margin: 0;

    color: var(--white-soft);

    font-family: var(--serif);

    font-size: 27px;

    font-weight: 400;

    line-height: 1.35;
}

.panel-footer {
    margin-top: 38px;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    border-top: 1px solid var(--border-light);

    color: var(--muted-dark);

    font-size: 8px;

    letter-spacing: 0.16em;
}


/* ============================================================
   PARTNERSHIPS
   ============================================================ */

.partnerships-section {
    background: var(--navy-900);
}

.partnership-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    border: 1px solid var(--border-light);

    background: var(--border-light);
}

.partnership-card {
    min-height: 330px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    background: var(--navy-900);

    transition: background var(--transition);
}

.partnership-card:hover {
    background: var(--navy-800);
}

.partnership-number {
    color: var(--gold);

    font-family: var(--serif);

    font-size: 15px;
}

.partnership-card h3 {
    margin: 65px 0 15px;

    font-family: var(--serif);

    font-size: 26px;

    font-weight: 400;
}

.partnership-card p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

.partnership-link {
    margin-top: auto;

    padding-top: 30px;

    color: var(--gold-light);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.08em;
}


/* ============================================================
   WHY MAATHAVAM / PRINCIPLES
   ============================================================ */

.about-section {
    background: var(--navy-900);
}

.principles-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    border-top: 1px solid var(--border-light);

    border-bottom: 1px solid var(--border-light);
}

.principle {
    min-height: 290px;

    padding: 35px 28px;

    border-right: 1px solid var(--border-light);
}

.principle:first-child {
    border-left: 1px solid var(--border-light);
}

.principle-number {
    color: var(--gold);

    font-family: var(--serif);

    font-size: 15px;
}

.principle h3 {
    margin: 50px 0 15px;

    font-family: var(--serif);

    font-size: 23px;

    font-weight: 400;
}

.principle p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* ============================================================
   CONFIDENTIALITY
   ============================================================ */

.confidentiality {
    padding: 0 24px 120px;

    background: var(--navy-900);
}

.confidentiality-inner {
    padding: 55px;

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 30px;

    align-items: start;

    border: 1px solid var(--border);

    border-radius: var(--radius-large);

    background:
        linear-gradient(
            120deg,
            rgba(199, 164, 90, 0.075),
            rgba(199, 164, 90, 0.015)
        );
}

.confidentiality-symbol {
    width: 68px;
    height: 68px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--gold-light);

    font-family: var(--serif);

    font-size: 28px;
}

.confidentiality h2 {
    max-width: 750px;

    margin: 0 0 15px;

    font-family: var(--serif);

    font-size: clamp(32px, 4vw, 52px);

    font-weight: 400;

    line-height: 1.05;
}

.confidentiality p {
    max-width: 760px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.75;
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact-section {
    background: var(--navy-950);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 100px;

    align-items: start;
}

.contact-copy h2 {
    margin: 0 0 24px;

    font-family: var(--serif);

    font-size: clamp(44px, 5vw, 68px);

    font-weight: 400;

    letter-spacing: -0.035em;

    line-height: 1.02;
}

.contact-copy h2 span {
    color: var(--gold-light);
}

.contact-copy > p {
    max-width: 520px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}

.contact-note {
    margin-top: 55px;

    padding-top: 22px;

    display: flex;

    align-items: center;

    gap: 16px;

    border-top: 1px solid var(--border-light);
}

.contact-note-mark {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--gold-light);

    font-family: var(--serif);
}

.contact-note div {
    display: flex;

    flex-direction: column;
}

.contact-note strong {
    font-size: 11px;

    letter-spacing: 0.04em;
}

.contact-note span {
    color: var(--muted-dark);

    font-size: 9px;
}

.contact-form {
    padding: 40px;

    border: 1px solid var(--border-light);

    border-radius: var(--radius-large);

    background: rgba(255, 255, 255, 0.018);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

.contact-form label {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;
}

.contact-form label > span {
    color: var(--muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    border: 1px solid var(--border-light);

    border-radius: 8px;

    outline: none;

    background: rgba(0, 0, 0, 0.18);

    color: var(--white);

    transition:
        border-color var(--transition),
        background var(--transition);
}

.contact-form input,
.contact-form select {
    height: 50px;

    padding: 0 14px;
}

.contact-form textarea {
    padding: 14px;

    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted-dark);
}

.contact-form select {
    appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--muted) 50%
        ),
        linear-gradient(
            135deg,
            var(--muted) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;

    background-size: 5px 5px;

    background-repeat: no-repeat;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(226, 201, 130, 0.55);

    background: rgba(199, 164, 90, 0.035);
}

.form-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 8px;
}

.form-footer p {
    max-width: 330px;

    margin: 0;

    color: var(--muted-dark);

    font-size: 9px;

    line-height: 1.5;
}

.form-status {
    min-height: 20px;

    margin-top: 15px;

    color: var(--gold-light);

    font-size: 11px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 0 24px 35px;

    background: var(--navy-950);
}

.footer-shell {
    width: min(var(--max-width), 100%);

    margin: 0 auto;

    padding-top: 30px;

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 30px;

    border-top: 1px solid var(--border-light);
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-brand img {
    width: 32px;
    height: 32px;

    object-fit: contain;
}

.footer-brand div {
    display: flex;

    flex-direction: column;
}

.footer-brand strong {
    font-size: 10px;

    letter-spacing: 0.14em;
}

.footer-brand span {
    color: var(--muted-dark);

    font-size: 7px;

    letter-spacing: 0.15em;
}

.footer-copy {
    display: flex;

    justify-content: center;
}

.footer-copy p {
    max-width: 270px;

    margin: 0;

    color: var(--muted-dark);

    font-family: var(--serif);

    font-size: 13px;

    line-height: 1.5;
}

.footer-meta {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 4px;

    color: var(--muted-dark);

    font-size: 8px;

    letter-spacing: 0.08em;
}


/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 650ms ease,
        transform 650ms ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* ============================================================
   ACCESSIBILITY / FOCUS
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-light);

    outline-offset: 4px;
}


/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */

@media (max-width: 1100px) {

    .nav-links {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.9fr;

        gap: 30px;
    }

    .ip-platform-visual {
        transform: scale(0.92);

        transform-origin: center;
    }

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

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

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

    .principle:nth-child(3) {
        border-left: 1px solid var(--border-light);

        border-top: 1px solid var(--border-light);
    }

    .principle:nth-child(4) {
        border-top: 1px solid var(--border-light);
    }

    .platform-engagement {
        grid-template-columns: 1fr;

        gap: 25px;
    }
}


/* ============================================================
   RESPONSIVE — 850px
   ============================================================ */

@media (max-width: 850px) {

    .section {
        padding: 90px 20px;
    }

    .nav-shell {
        width: min(
            calc(100% - 32px),
            1360px
        );
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 72px;
        right: 16px;
        left: 16px;

        padding: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 15px;

        border: 1px solid var(--border-light);

        border-radius: 14px;

        background: rgba(5, 11, 20, 0.97);

        backdrop-filter: blur(20px);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 8px;
    }

    .nav-cta {
        text-align: center;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding-top: 145px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .hero-copy {
        max-width: 800px;
    }

    .hero-visual {
        min-height: 550px;

        margin-top: 0;
    }

    .ip-platform-visual {
        width: 650px;

        max-width: none;

        transform: scale(0.82);

        transform-origin: center;
    }


    /* CREDIBILITY */

    .credibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credibility-item {
        border-right: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }

    .credibility-item:nth-child(odd) {
        border-left: 0;
    }

    .credibility-item:nth-child(even) {
        border-right: 0;
    }

    .credibility-item:nth-child(3),
    .credibility-item:nth-child(4) {
        border-bottom: 0;
    }


    /* HEADINGS */

    .section-heading-split {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    /* PLATFORM */

    .platform-diagram {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .platform-connector {
        min-height: 25px;

        transform: rotate(90deg);
    }


    /* METRICS */

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

    .metric:nth-child(3) {
        border-left: 1px solid var(--border-light);

        border-top: 1px solid var(--border-light);
    }

    .metric:nth-child(4) {
        border-top: 1px solid var(--border-light);
    }


    /* LIFECYCLE */

    .lifecycle-layout {
        grid-template-columns: 1fr;
    }

    .lifecycle-panel {
        min-height: 420px;
    }


    /* CONTACT */

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

        gap: 60px;
    }


    /* FOOTER */

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

    .footer-copy {
        justify-content: flex-start;
    }

    .footer-meta {
        align-items: flex-start;
    }
}


/* ============================================================
   RESPONSIVE — 650px
   ============================================================ */

@media (max-width: 650px) {

    .hero-visual {
        min-height: 510px;
    }

    .ip-platform-visual {
        width: 650px;

        max-width: none;

        transform: scale(0.72);

        transform-origin: center;
    }

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

    .portfolio-card {
        min-height: 320px;
    }

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

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

    .principle,
    .principle:first-child,
    .principle:nth-child(3) {
        border-left: 1px solid var(--border-light);

        border-top: 1px solid var(--border-light);
    }

    .principle:first-child {
        border-top: none;
    }
}


/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */

@media (max-width: 600px) {

    .section {
        padding: 75px 17px;
    }

    .hero {
        padding-right: 17px;
        padding-left: 17px;
    }

    .hero h1 {
        font-size: clamp(44px, 13vw, 65px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-meta {
        gap: 10px;
    }

    .hero-meta span {
        gap: 10px;
    }


    /* HERO PLATFORM */

    .hero-visual {
        min-height: 440px;

        overflow: hidden;
    }

    .ip-platform-visual {
        position: absolute;

        top: 50%;
        left: 50%;

        width: 650px;

        max-width: none;

        margin: 0;

        transform:
            translate(-50%, -50%)
            scale(0.61);

        transform-origin: center;
    }


    /* CREDIBILITY */

    .credibility {
        padding: 0 17px;
    }

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

    .credibility-item,
    .credibility-item:first-child,
    .credibility-item:nth-child(3) {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .credibility-item {
        border-top: 0;
    }

    .credibility-item:first-child {
        border-top: 0;
    }

    .credibility-item:last-child {
        border-bottom: 0;
    }


    /* PLATFORM ENGAGEMENT */

    .platform-engagement {
        padding: 30px 22px;

        margin-top: 55px;

        gap: 28px;
    }

    .platform-engagement-copy h3 {
        font-size: 30px;
    }

    .platform-engagement-path {
        flex-wrap: wrap;

        white-space: normal;

        gap: 8px;
    }

    .platform-engagement-path i {
        width: 18px;
    }


    /* METRICS */

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

    .metric,
    .metric:first-child,
    .metric:nth-child(3) {
        border-left: 1px solid var(--border-light);

        border-top: 1px solid var(--border-light);
    }

    .metric:first-child {
        border-top: none;
    }


    /* LIFECYCLE */

    .lifecycle-step {
        grid-template-columns:
            45px
            1fr
            20px;

        gap: 10px;

        padding: 20px 12px;
    }

    .lifecycle-content h3 {
        font-size: 21px;
    }

    .lifecycle-panel {
        padding: 30px;
    }

    .lifecycle-panel blockquote {
        font-size: 23px;
    }


    /* CONFIDENTIALITY */

    .confidentiality {
        padding:
            0
            17px
            75px;
    }

    .confidentiality-inner {
        padding: 30px;

        grid-template-columns: 1fr;
    }

    .confidentiality-symbol {
        width: 55px;
        height: 55px;
    }


    /* CONTACT */

    .contact-form {
        padding: 24px;
    }

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

        gap: 0;
    }

    .form-footer {
        flex-direction: column;

        align-items: stretch;
    }


    /* FOOTER */

    .site-footer {
        padding-right: 17px;
        padding-left: 17px;
    }
}


/* ============================================================
   RESPONSIVE — 430px
   ============================================================ */

@media (max-width: 430px) {

    .brand {
        width: 150px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .ip-platform-visual {
        width: 650px;

        transform:
            translate(-50%, -50%)
            scale(0.53);
    }

    .hero-meta {
        font-size: 8px;
    }

    .ip-platform-flow-label {
        font-size: 6px;

        gap: 7px;
    }

    .ip-platform-flow-label i {
        width: 15px;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}