/* =========================================
   PRAYA HOLDING — INNER PAGES
   Matched with Homepage Design System
========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

.ph-inner-page {
    --ph-ink: #14111f;
    --ph-ink-2: #1c1829;
    --ph-purple: #3a2668;
    --ph-purple-hover: #4d3385;
    --ph-gold: #c9a66b;
    --ph-gold-light: #e0c49a;
    --ph-paper: #f4f1eb;
    --ph-muted: #6b7280;
    --ph-line: rgba(20, 17, 31, 0.10);
    --ph-ease: cubic-bezier(0.16, 1, 0.3, 1);

    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ph-ink);
    background: #fff;
    overflow: clip;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.ph-inner-page *,
.ph-inner-page *::before,
.ph-inner-page *::after {
    box-sizing: border-box;
}

.ph-inner-page a {
    color: inherit;
    text-decoration: none;
}

.ph-inner-container {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
}

/* ========== INNER HERO - HOMEPAGE MATCH ========== */

.ph-inner-hero {
    position: relative;
    min-height: min(780px, 90svh);
    display: flex;
    align-items: center;
    color: #fff;
    background: #0c0a14;
    overflow: hidden;
}

.ph-inner-hero::before {
    content: "";
    position: absolute;
    inset: -40px;                       /* thoda extra space for zoom */
    z-index: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: phInnerKenBurns 18s ease-in-out infinite alternate;
    will-change: transform;
}

/* Different images for different pages */
.ph-inner-hero--about::before {
    background-image: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=2400&q=90");
}

.ph-inner-hero--businesses::before,
.ph-inner-hero--companies::before {
    background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2400&q=90");
}

/* Same Ken Burns as Homepage */
@keyframes phInnerKenBurns {
    0% {
        transform: scale(1) translate(0px, 0px);
    }
    100% {
        transform: scale(1.12) translate(-1.6%, -1.1%);
    }
}

/* Better Overlay (homepage style) */
.ph-inner-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        linear-gradient(to bottom, 
            rgba(8, 6, 16, 0.58) 0%, 
            rgba(8, 6, 16, 0.25) 42%, 
            rgba(8, 6, 16, 0.62) 100%),
        linear-gradient(110deg, 
            rgba(10, 8, 18, 0.72) 0%, 
            rgba(14, 11, 24, 0.28) 55%, 
            transparent 100%);
}

/* Soft vignette for depth */
.ph-inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.28) 100%);
    pointer-events: none;
}

.ph-inner-hero__content {
    position: relative;
    z-index: 5;
    padding: 140px 0 70px;
    max-width: 900px;
}
.ph-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ph-gold-light);
}

.ph-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
}

.ph-kicker--dark {
    color: var(--ph-gold);
}

.ph-inner-hero h1 {
    margin: 0;
    font-size: clamp(46px, 6.8vw, 88px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.03;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.25);
}

.ph-inner-hero h1 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    color: #e0c4f5;
}

.ph-inner-hero__lead {
    max-width: 560px;
    margin: 24px 0 34px;
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.ph-hero-index {
    position: absolute;
    right: 32px;
    bottom: 36px;
    z-index: 5;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== BUTTONS ========== */
.ph-inner-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    min-height: 54px;
    padding: 0 24px;
    background: var(--ph-purple);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    transition: all 0.35s var(--ph-ease);
    box-shadow: 0 10px 28px rgba(58, 38, 104, 0.3);
}

.ph-inner-button:hover {
    background: var(--ph-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(58, 38, 104, 0.4);
}

.ph-inner-button span {
    font-size: 17px;
    transition: transform 0.3s var(--ph-ease);
}

.ph-inner-button:hover span {
    transform: translate(3px, -2px);
}

.ph-inner-button--light {
    background: #fff;
    color: var(--ph-ink) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ph-inner-button--light:hover {
    background: #f4f1eb;
    color: var(--ph-ink) !important;
}

/* ========== SECTIONS ========== */
.ph-inner-section {
    padding: clamp(90px, 9vw, 120px) 0;
    background: #fff;
}

.ph-two-col {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.ph-section-label {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #8c7aa9;
}

.ph-section-label span {
    color: var(--ph-gold);
}

.ph-section-label p {
    margin: 0;
}

.ph-copy-block {
    max-width: 720px;
}

.ph-copy-block h2,
.ph-section-heading h2 {
    margin: 0 0 24px;
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.ph-copy-block h2 em,
.ph-section-heading h2 em,
.ph-about-statement h2 em,
.ph-inner-cta h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    color: #a07d4a;
}

.ph-large-copy {
    font-size: clamp(18px, 1.8vw, 22px) !important;
    line-height: 1.55 !important;
    color: var(--ph-ink) !important;
    margin-bottom: 18px !important;
}

.ph-copy-block p:not(.ph-large-copy) {
    max-width: 640px;
    color: var(--ph-muted);
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 14px;
}

/* ========== ABOUT STATEMENT ========== */
.ph-about-statement {
    padding: clamp(80px, 8vw, 110px) 0;
    background: var(--ph-ink);
    color: #fff;
}

.ph-statement-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.ph-about-statement h2 {
    margin: 0;
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.ph-statement-grid > p {
    max-width: 480px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.85;
    margin: 0;
}

/* ========== SECTION HEADING ========== */
.ph-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 48px;
}

.ph-section-heading h2 {
    margin-bottom: 0;
}

.ph-section-intro {
    max-width: 340px;
    margin: 0;
    color: var(--ph-muted);
    font-size: 14.5px;
    line-height: 1.8;
}

/* ========== PRINCIPLES ========== */
.ph-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ph-line);
}

.ph-principle-grid article {
    padding: 32px 28px 12px 0;
    border-right: 1px solid var(--ph-line);
}

.ph-principle-grid article + article {
    padding-left: 28px;
}

.ph-principle-grid article:last-child {
    border-right: 0;
}

.ph-principle-grid span {
    display: block;
    color: var(--ph-gold);
    font-size: 12px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.ph-principle-grid h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.ph-principle-grid p {
    margin: 0;
    max-width: 300px;
    color: var(--ph-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ========== CTA ========== */
.ph-inner-cta {
    padding: clamp(70px, 7vw, 100px) 0;
    background: var(--ph-purple);
    color: #fff;
}

.ph-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.ph-inner-cta h2 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.ph-inner-cta .ph-kicker {
    color: var(--ph-gold-light);
}

/* ========== BUSINESSES PAGE ========== */
.ph-business-intro {
    background: var(--ph-paper);
}

.ph-business-list-section {
    padding: clamp(90px, 9vw, 120px) 0;
    background: var(--ph-ink);
    color: #fff;
}

.ph-business-list-section .ph-section-heading h2 {
    color: #fff;
}

.ph-business-list-section .ph-section-intro {
    color: #a8a4b5;
}

.ph-business-list-section .ph-kicker {
    color: var(--ph-gold-light);
}

.ph-sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ph-sector-card {
    background: #1c1829;
    overflow: hidden;
    transition: transform 0.4s var(--ph-ease), background 0.4s;
}

.ph-sector-card:hover {
    transform: translateY(-7px);
    background: #241f35;
}

.ph-sector-image {
    height: 240px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.ph-sector-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 20, 0.7) 0%, transparent 60%);
}

.ph-sector-image span {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 20px;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--ph-gold-light);
}

.ph-sector-content {
    padding: 26px 24px 30px;
}

.ph-sector-eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ph-gold);
}

.ph-sector-content h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.ph-sector-content > p:last-child {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
}

/* ========== COMPANIES PAGE ========== */
.ph-company-directory {
    padding: clamp(90px, 9vw, 120px) 0;
    background: var(--ph-paper);
}

.ph-company-directory .ph-section-heading h2 {
    color: var(--ph-ink);
}

.ph-company-table {
    border-top: 1px solid var(--ph-line);
}

.ph-company-table__head,
.ph-company-row {
    display: grid;
    grid-template-columns: 60px 1.3fr 1fr 1.1fr;
    gap: 20px;
    align-items: center;
}

.ph-company-table__head {
    padding: 16px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #888;
}

.ph-company-row {
    min-height: 88px;
    padding: 18px 12px;
    border-top: 1px solid var(--ph-line);
    transition: background 0.3s, padding-left 0.35s var(--ph-ease);
}

.ph-company-row:hover {
    background: #fff;
    padding-left: 20px;
}

.ph-company-row__number {
    font-size: 12px;
    color: var(--ph-gold);
}

.ph-company-row h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
}

.ph-company-row__sector {
    font-size: 13px;
    color: #4a4558;
}

.ph-company-row__focus {
    font-size: 13px;
    color: var(--ph-muted);
    line-height: 1.5;
}

.ph-directory-note {
    margin: 24px 0 0;
    font-size: 12.5px;
    color: #888;
    line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .ph-inner-container {
        width: calc(100% - 60px);
    }
    .ph-sector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ph-two-col,
    .ph-statement-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ph-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .ph-principle-grid {
        grid-template-columns: 1fr;
    }
    .ph-principle-grid article,
    .ph-principle-grid article + article {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid var(--ph-line);
    }
    .ph-principle-grid article:last-child {
        border-bottom: 0;
    }
    .ph-company-table__head,
    .ph-company-row {
        grid-template-columns: 50px 1.3fr 1fr;
    }
    .ph-company-table__head span:last-child,
    .ph-company-row__focus {
        display: none;
    }
    .ph-hero-index {
        display: none;
    }
}

@media (max-width: 600px) {
    .ph-inner-container {
        width: calc(100% - 40px);
    }
    .ph-inner-hero {
        min-height: 70svh;
    }
    .ph-inner-hero__content {
        padding: 120px 0 50px;
    }
    .ph-inner-hero h1 {
        font-size: clamp(38px, 10vw, 52px);
    }
    .ph-sector-grid {
        grid-template-columns: 1fr;
    }
    .ph-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .ph-company-table__head {
        display: none;
    }
    .ph-company-row {
        grid-template-columns: 36px 1fr;
        gap: 6px 14px;
        padding: 20px 6px;
    }
    .ph-company-row__number {
        grid-row: 1 / 3;
    }
    .ph-company-row h3 {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-inner-page * {
        animation: none !important;
        transition: none !important;
    }
}