/* Transparency page — dedicated editorial presentation */
.page-transparency {
    --tr-ink: #082946;
    --tr-blue: #004790;
    --tr-blue-dark: #03223f;
    --tr-gold: #d2ae6d;
    --tr-gold-light: #f5e99f;
    --tr-paper: #faf8f2;
    --tr-paper-muted: #f1ede1;
    --tr-line: #d8e0e6;
    --tr-line-dark: rgba(255, 255, 255, 0.16);
    color: #42576b;
    background: #fff;
    overflow: hidden;
}

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

.page-transparency .container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.page-transparency h1,
.page-transparency h2,
.page-transparency h3,
.page-transparency h4 {
    color: var(--tr-ink);
    font-family: var(--fog-font-display, 'Toroka Wide', serif);
    text-wrap: balance;
}

.page-transparency p {
    line-height: 1.75;
}

.page-transparency a {
    text-underline-offset: 3px;
}

/* Eyebrows & Kickers */
.tr-eyebrow,
.tr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tr-eyebrow {
    color: var(--tr-gold-light);
}

.tr-kicker {
    color: #785f20;
}

.tr-eyebrow .fog-i,
.tr-kicker .fog-i {
    width: 17px;
    height: 17px;
}

/* Hero Section */
.tr-hero {
    position: relative;
    padding: calc(var(--fog-header-h, 76px) + 84px) 0 92px;
    color: #fff;
    background: var(--tr-blue-dark);
    isolation: isolate;
    overflow: hidden;
}

.tr-hero::before {
    position: absolute;
    inset: 0;
    content: '';
    opacity: 0.24;
    background:
        radial-gradient(circle at 82% 20%, #1b72ad 0, transparent 40%),
        linear-gradient(115deg, transparent 55%, rgba(210, 174, 109, 0.3));
    z-index: -1;
}

.tr-hero::after {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: '';
    z-index: -1;
}

.tr-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    gap: clamp(48px, 8vw, 100px);
    align-items: end;
}

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

.tr-hero h1 {
    margin: 22px 0 24px;
    color: #fff;
    font-size: clamp(3rem, 6.4vw, 6.2rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.tr-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: #cedbe5;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.tr-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.tr-hero-actions .tr-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tr-gold-light);
    font-weight: 800;
    text-decoration: none;
}

.tr-hero-actions .tr-text-link:hover {
    color: #fff;
    text-decoration: underline;
}

.tr-hero-actions .tr-text-link .fog-i {
    width: 16px;
}

/* Hero Aside / Score Card */
.tr-hero-card {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.tr-hero-card .score-label {
    display: block;
    color: var(--tr-gold-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tr-hero-card .score-number {
    display: block;
    margin: 16px 0 6px;
    color: #fff;
    font-family: var(--fog-font-display, 'Toroka Wide', serif);
    font-size: clamp(3.2rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
}

.tr-hero-card p {
    margin: 0 0 20px;
    color: #cbd8e4;
    font-size: 0.88rem;
}

.tr-hero-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tr-hero-card-meta dt {
    color: #9cb1c4;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tr-hero-card-meta dd {
    margin: 4px 0 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.tr-card-badge {
    position: absolute;
    right: 24px;
    top: -24px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--tr-gold);
    color: var(--tr-blue-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.tr-card-badge .fog-i {
    width: 24px;
    height: 24px;
}

/* Sections Common */
.tr-section-heading {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) minmax(220px, 0.48fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--tr-line);
}

.tr-section-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tr-section-num {
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: var(--tr-ink);
    color: var(--tr-gold-light);
    font-size: 0.72rem;
    font-weight: 800;
}

.tr-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
}

.tr-section-heading > p {
    margin: 0;
    color: #556a7d;
    font-size: 0.92rem;
}

/* Pledge / Principles */
.tr-pledge {
    padding: 100px 0;
    background: #fff;
}

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

.tr-principle-card {
    position: relative;
    padding: 36px 30px;
    border: 1px solid var(--tr-line);
    border-radius: 18px;
    background: var(--tr-paper);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tr-principle-card:hover {
    transform: translateY(-4px);
    border-color: var(--tr-gold);
    box-shadow: 0 14px 34px rgba(6, 38, 74, 0.08);
}

.tr-principle-mark {
    display: inline-block;
    color: var(--tr-blue);
    font-family: var(--fog-font-display, 'Toroka Wide', serif);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
}

.tr-principle-card h3 {
    margin: 0 0 10px;
    color: var(--tr-ink);
    font-size: 1.35rem;
}

.tr-principle-card p {
    margin: 0;
    font-size: 0.92rem;
}

/* Metrics Section */
.tr-metrics {
    padding: 100px 0;
    background: var(--tr-paper);
    border-top: 1px solid var(--tr-line);
    border-bottom: 1px solid var(--tr-line);
}

.tr-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tr-metric-card {
    padding: 30px 26px;
    background: #fff;
    border: 1px solid var(--tr-line);
    border-radius: 16px;
    position: relative;
}

.tr-metric-val {
    display: block;
    color: var(--tr-blue);
    font-family: var(--fog-font-display, 'Toroka Wide', serif);
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
}

.tr-metric-card h3 {
    margin: 12px 0 14px;
    color: var(--tr-ink);
    font-size: 1.05rem;
}

.tr-metric-bar {
    height: 6px;
    background: #e5ebf0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
}

.tr-metric-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--tr-blue), var(--tr-gold));
    border-radius: 999px;
}

.tr-metric-card p {
    margin: 0;
    font-size: 0.84rem;
    color: #556a7d;
}

/* Financial Section (Dark Band) */
.tr-financial {
    padding: 105px 0;
    background: var(--tr-blue-dark);
    color: #fff;
}

.tr-financial .tr-section-heading {
    border-bottom-color: var(--tr-line-dark);
}

.tr-financial .tr-section-num {
    background: var(--tr-gold);
    color: var(--tr-blue-dark);
}

.tr-financial .tr-kicker {
    color: var(--tr-gold-light);
}

.tr-financial h2 {
    color: #fff;
}

.tr-financial .tr-section-heading > p {
    color: #bfd0df;
}

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

.tr-financial-card {
    padding: 36px 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--tr-line-dark);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.tr-financial-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--tr-gold);
    color: var(--tr-blue-dark);
    margin-bottom: 24px;
}

.tr-financial-icon .fog-i {
    width: 24px;
    height: 24px;
}

.tr-financial-card h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.3rem;
}

.tr-financial-card p {
    margin: 0;
    color: #c5d6e4;
    font-size: 0.9rem;
}

/* Guarantees Section */
.tr-guarantees {
    padding: 105px 0;
    background: #fff;
}

.tr-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--tr-line);
    border-left: 1px solid var(--tr-line);
}

.tr-guarantee-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 20px;
    padding: 34px 30px;
    border-right: 1px solid var(--tr-line);
    border-bottom: 1px solid var(--tr-line);
    background: #fff;
}

.tr-guarantee-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef4f8;
    color: var(--tr-blue);
}

.tr-guarantee-icon .fog-i {
    width: 20px;
    height: 20px;
}

.tr-guarantee-item h3 {
    margin: 0 0 6px;
    color: var(--tr-ink);
    font-size: 1.15rem;
}

.tr-guarantee-item p {
    margin: 0;
    color: #556a7d;
    font-size: 0.88rem;
}

/* Call to Action */
.tr-cta {
    padding: 70px 0 85px;
    background: var(--tr-paper);
}

.tr-cta-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    padding: 55px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--tr-blue-dark), var(--tr-blue));
    color: #fff;
    box-shadow: 0 24px 60px rgba(3, 34, 62, 0.18);
}

.tr-cta h2 {
    margin: 16px 0 12px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.tr-cta p {
    margin: 0;
    color: #c7d6e3;
    max-width: 620px;
}

.tr-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Scroll reveal helper */
.page-transparency .reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    html.js .page-transparency .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    html.js .page-transparency .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

.page-transparency :focus-visible {
    outline: 3px solid var(--tr-gold);
    outline-offset: 3px;
}

/* Responsiveness */
@media (max-width: 980px) {
    .tr-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .tr-section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tr-principles-grid,
    .tr-financial-grid {
        grid-template-columns: 1fr;
    }
    .tr-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tr-guarantees-grid {
        grid-template-columns: 1fr;
    }
    .tr-cta-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tr-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .page-transparency .container {
        width: min(100% - 28px, 1180px);
    }
    .tr-hero {
        padding: calc(var(--fog-header-h, 64px) + 50px) 0 65px;
    }
    .tr-hero h1 {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }
    .tr-pledge,
    .tr-metrics,
    .tr-financial,
    .tr-guarantees {
        padding: 72px 0;
    }
    .tr-metrics-grid {
        grid-template-columns: 1fr;
    }
    .tr-guarantee-item {
        padding: 24px 20px;
    }
    .tr-cta-panel {
        padding: 32px 24px;
        border-radius: 20px;
    }
    .tr-cta-actions {
        display: grid;
        width: 100%;
    }
    .tr-cta-actions .btn {
        width: 100%;
    }
}
