:root {
    --bg: #0f0f0f;
    --bg-soft: #161616;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.14);
    --text: rgba(255, 255, 255, 0.78);
    --text-strong: #ffffff;
    --purple: #8f1cb8;
    --orange: #ff8532;
    --teal: #3eb8ab;
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    --container: 1240px;
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(143, 28, 184, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(62, 184, 171, 0.12), transparent 24%),
        linear-gradient(130deg, rgba(255, 133, 50, 0.05), transparent 24%),
        linear-gradient(180deg, #0f0f0f 0%, #111111 100%);
    color: var(--text);
    font-family: "Open Sans", sans-serif;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background:
        radial-gradient(circle at 22% 16%, rgba(143, 28, 184, 0.2), transparent 18%),
        radial-gradient(circle at 78% 30%, rgba(62, 184, 171, 0.12), transparent 14%),
        linear-gradient(60deg, transparent 0 48%, rgba(255, 255, 255, 0.02) 48% 49%, transparent 49% 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
    margin: 0 0 1rem;
    color: var(--text-strong);
    font-family: "Montserrat", sans-serif;
    line-height: 1.06;
}
h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 3vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { margin: 0 0 1rem; line-height: 1.8; }
input, select, button { font: inherit; }

.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(15, 15, 15, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner,
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-header__inner { min-height: 5rem; }

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--text-strong);
}

.brand__logo { width: min(220px, 32vw); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.95rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover { transform: translateY(-1px); }
.button--accent,
.button--primary {
    background: linear-gradient(135deg, var(--orange), #ff9b56);
    color: #140b06;
    box-shadow: 0 18px 36px rgba(255, 133, 50, 0.22);
}

.button--full { width: 100%; }

.hero {
    position: relative;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 18%, rgba(143, 28, 184, 0.18), transparent 24%),
        radial-gradient(circle at 68% 76%, rgba(62, 184, 171, 0.14), transparent 22%),
        linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, 0.025) 58% 59%, transparent 59% 100%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
}

.hero__grid.container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1.5rem, 4vw, 4rem);
}

.hero__content {
    display: block;
    width: 100%;
    max-width: none;
}

.hero__content h1 {
    display: block;
    width: 100%;
    max-width: none;
    margin-bottom: 1.4rem;
    font-size: clamp(3rem, 5.4vw, 5.9rem);
}

.hero__body {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.hero__aside {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

.manifesto__grid,
.cases__grid,
.conversion__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: center;
}

.hero__lead {
    max-width: none;
    font-size: 1.12rem;
}

.hero__microcopy {
    max-width: none;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.64);
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-pillars,
.cases-markers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-pillars span,
.cases-markers span {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.65rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.86);
    font-family: "Montserrat", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__visual {
    position: relative;
    min-height: 520px;
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 34%),
        linear-gradient(120deg, transparent 0 33%, rgba(255, 255, 255, 0.03) 33% 34%, transparent 34% 100%),
        linear-gradient(60deg, transparent 0 66%, rgba(255, 255, 255, 0.03) 66% 67%, transparent 67% 100%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
}

.hero-orb--purple {
    width: 18rem;
    height: 18rem;
    top: 2rem;
    right: -2rem;
    background: radial-gradient(circle, rgba(143, 28, 184, 0.72), transparent 70%);
}

.hero-orb--teal {
    width: 14rem;
    height: 14rem;
    bottom: 1rem;
    left: 0;
    background: radial-gradient(circle, rgba(62, 184, 171, 0.58), transparent 72%);
}

.hero-orb--orange {
    width: 12rem;
    height: 12rem;
    top: 5rem;
    left: 5rem;
    background: radial-gradient(circle, rgba(255, 133, 50, 0.44), transparent 72%);
}

.trinity-shape {
    position: absolute;
    width: 0;
    height: 0;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.trinity-shape--large {
    top: 4.2rem;
    right: 4.6rem;
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
    border-bottom: 190px solid rgba(143, 28, 184, 0.18);
}

.trinity-shape--left {
    bottom: 8.8rem;
    left: 4rem;
    border-left: 52px solid transparent;
    border-right: 52px solid transparent;
    border-bottom: 92px solid rgba(62, 184, 171, 0.22);
}

.trinity-shape--right {
    bottom: 10rem;
    right: 2.8rem;
    border-left: 46px solid transparent;
    border-right: 46px solid transparent;
    border-bottom: 82px solid rgba(255, 133, 50, 0.22);
}

.hero-panel,
.glass-photo,
.contact-card,
.service-card,
.related-topic-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-panel {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    padding: 1.8rem;
}

.hero-triad {
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    display: grid;
    gap: 0.85rem;
    width: min(280px, calc(100% - 3.6rem));
}

.hero-triad__card {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(12, 12, 12, 0.42);
    backdrop-filter: blur(14px);
}

.hero-triad__card span {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.56);
    font-family: "Montserrat", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-triad__card strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-strong);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
}

.hero-triad__card p {
    margin: 0;
    font-size: 0.92rem;
}

.hero-triad__card--purple { box-shadow: inset 3px 0 0 var(--purple); }
.hero-triad__card--teal { box-shadow: inset 3px 0 0 var(--teal); }
.hero-triad__card--orange { box-shadow: inset 3px 0 0 var(--orange); }

.hero-panel__label {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-copy { max-width: 560px; }

.manifesto .section-copy h2,
.conversion .section-copy h2,
.cases .section-copy h2 {
    max-width: 12ch;
}

.manifesto-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.manifesto-points article {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.manifesto-points strong {
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
}

.manifesto-points span {
    color: rgba(255, 255, 255, 0.88);
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.glass-photo {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.glass-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(143, 28, 184, 0.36), rgba(15, 15, 15, 0.12)),
        url("../img/trinitys-workspace-sem-rostos.png") center/cover no-repeat;
}

.glass-photo__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 15, 0.78) 100%);
}

.culture {
    padding-top: 0;
}

.culture-banner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
    gap: 2rem;
    align-items: center;
    min-height: 320px;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background:
        linear-gradient(105deg, rgba(143, 28, 184, 0.82), rgba(61, 18, 75, 0.9) 46%, rgba(18, 15, 24, 0.98)),
        radial-gradient(circle at 78% 20%, rgba(62, 184, 171, 0.16), transparent 22%),
        radial-gradient(circle at 92% 70%, rgba(255, 133, 50, 0.18), transparent 24%);
    position: relative;
    overflow: hidden;
}

.culture-banner::before,
.culture-banner::after {
    content: "";
    position: absolute;
    width: 16rem;
    height: 16rem;
    border: 3px solid rgba(62, 184, 171, 0.58);
    border-radius: 8px;
    transform: rotate(30deg);
    pointer-events: none;
}

.culture-banner::before {
    left: -7rem;
    bottom: -7rem;
}

.culture-banner::after {
    right: -5rem;
    top: -7rem;
    border-color: rgba(255, 133, 50, 0.52);
}

.culture-banner > div {
    position: relative;
    z-index: 1;
}

.culture-banner h2 {
    max-width: 720px;
    font-size: clamp(2.5rem, 4.8vw, 5rem);
}

.culture-banner p:not(.eyebrow) {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
}

.culture-words {
    display: grid;
    gap: 1.2rem;
    justify-items: end;
    color: var(--text-strong);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
}

.culture-words span:nth-child(2) {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.78);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-grid--compact .service-card {
    min-height: 260px;
}

.trinity-intro {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.6rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
}

.trinity-intro__line {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--purple), var(--teal), var(--orange));
}

.service-card {
    position: relative;
    padding: 1.45rem;
    min-height: 300px;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.18;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -44px;
    width: 126px;
    height: 126px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    opacity: 0.2;
}

.service-card--purple::before { background: linear-gradient(180deg, var(--purple), transparent); }
.service-card--teal::before { background: linear-gradient(180deg, var(--teal), transparent); }
.service-card--orange::before { background: linear-gradient(180deg, var(--orange), transparent); }

.service-card__index {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.54);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.service-card h3,
.service-card p { position: relative; z-index: 1; }

.service-card h3 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.1rem, 1.6vw, 1.38rem);
}

.service-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.65;
}

.service-card ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.42rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.45;
}

.service-card li::before {
    content: "";
    flex: 0 0 0.42rem;
    width: 0.42rem;
    height: 0.42rem;
    margin-top: 0.48rem;
    border-radius: 999px;
    background: var(--orange);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.section-heading > p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
}

.services-note {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.9fr) minmax(260px, 0.62fr);
    gap: 1.4rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1.4rem 1.55rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(143, 28, 184, 0.12), rgba(62, 184, 171, 0.08), rgba(255, 133, 50, 0.1)),
        rgba(255, 255, 255, 0.04);
}

.services-note .eyebrow,
.services-note h3,
.services-note p {
    margin: 0;
}

.services-note h3 {
    font-size: clamp(1.3rem, 2vw, 2rem);
}

.services-note p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
}

.portfolio-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.portfolio-panel::before {
    content: "3";
    position: absolute;
    right: 1.4rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.06);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1;
}

.portfolio-panel__screen {
    position: relative;
    min-height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background-position: center;
    background-size: cover;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.portfolio-panel__screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(143, 28, 184, 0.12), rgba(62, 184, 171, 0.08)),
        linear-gradient(180deg, transparent 42%, rgba(15, 15, 15, 0.28));
    pointer-events: none;
}

.portfolio-panel__screen:nth-child(1) {
    background-image: url("../img/case-analytics-dashboard.png");
}

.portfolio-panel__screen:nth-child(2) {
    background-image: url("../img/case-social-media.png");
}

.portfolio-panel__screen:nth-child(3) {
    background-image: url("../img/case-paid-ads.png");
}

.portfolio-panel__screen:nth-child(4) {
    background-image: url("../img/case-landing-page.png");
}

.contact-card {
    display: grid;
    gap: 1rem;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: auto -44px -44px auto;
    width: 160px;
    height: 160px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(143, 28, 184, 0.18), rgba(255, 133, 50, 0.12));
    transform: rotate(45deg);
    pointer-events: none;
}

.contact-card label {
    display: grid;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
}

.contact-card span {
    color: rgba(255, 255, 255, 0.86);
    font-family: "Montserrat", sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
}

.contact-card input,
.contact-card select {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-strong);
}

.contact-card select {
    color-scheme: light;
}

.contact-card option {
    background: #ffffff;
    color: #111115;
}

.contact-card option:disabled {
    color: #6a6f7a;
}

.form-status {
    display: none;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.form-status.is-visible {
    display: block;
}

.form-status--success {
    background: rgba(62, 184, 171, 0.16);
    color: #ffffff;
}

.form-status--error {
    background: rgba(255, 133, 50, 0.18);
    color: #ffffff;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 8, 0.86);
}

.site-footer__inner {
    min-height: 5.5rem;
    color: rgba(255, 255, 255, 0.64);
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.site-footer__logo {
    width: 9.5rem;
}

.site-footer__brand p {
    margin: 0;
}

.site-footer__links,
.site-footer__social {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
}

.social-icon--instagram span {
    position: relative;
    width: 1.55rem;
    height: 1.55rem;
    border: 2px solid currentColor;
    border-radius: 0.45rem;
}

.social-icon--instagram span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border: 2px solid currentColor;
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.social-icon--instagram span::after {
    content: "";
    position: absolute;
    right: 0.22rem;
    top: 0.22rem;
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 999px;
    background: currentColor;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

@media (max-width: 1080px) {
    .hero__body {
        grid-template-columns: 1fr;
    }

    .manifesto__grid,
    .culture-banner,
    .cases__grid,
    .conversion__grid {
        grid-template-columns: 1fr;
    }

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

    .culture-words {
        justify-items: start;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-note {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .manifesto-points,
    .trinity-intro {
        grid-template-columns: 1fr;
    }

    .manifesto .section-copy h2,
    .conversion .section-copy h2,
    .cases .section-copy h2 {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .site-header__inner,
    .site-nav,
    .site-footer__inner,
    .site-footer__links,
    .site-footer__social {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 4.5rem 0;
    }

    .hero {
        padding-top: 6.5rem;
    }

    .hero__content h1 {
        font-size: clamp(3rem, 14vw, 4.4rem);
    }

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

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

}

/* Trinitys one-page layout inspired by the approved visual reference */
:root {
    --page-light: #fbfbfd;
    --ink: #111115;
    --muted: #5f6270;
    --purple: #8d35ff;
    --orange: #ff681f;
    --teal: #04aeb5;
    --container: 1120px;
    --radius: 8px;
}

body {
    background: #050509;
}

body::before {
    opacity: 0.16;
    background:
        radial-gradient(circle at 54% 18%, rgba(141, 53, 255, 0.26), transparent 18%),
        radial-gradient(circle at 84% 24%, rgba(255, 104, 31, 0.18), transparent 16%),
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(141, 53, 255, 0.08) 14px 15px);
}

.site-header {
    position: absolute;
    width: 100%;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.site-header__inner {
    min-height: 6.25rem;
}

.brand__logo {
    width: min(205px, 36vw);
}

.site-nav {
    gap: clamp(1rem, 2.5vw, 2.1rem);
}

.site-nav a {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.button {
    min-height: 3.1rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.button--accent,
.button--primary {
    background: linear-gradient(135deg, var(--orange), #ff8a1f);
    color: #fff;
    box-shadow: 0 18px 40px rgba(255, 104, 31, 0.28);
}

.hero {
    min-height: 620px;
    padding: 8.5rem 0 5.5rem;
    background:
        radial-gradient(circle at 45% 54%, rgba(4, 174, 181, 0.14), transparent 13%),
        radial-gradient(circle at 70% 34%, rgba(141, 53, 255, 0.23), transparent 18%),
        linear-gradient(90deg, rgba(5, 5, 9, 0.98), rgba(5, 5, 9, 0.92)),
        #050509;
}

.hero::before {
    background:
        radial-gradient(circle at 48% 55%, rgba(141, 53, 255, 0.14) 0 1px, transparent 2px) 0 0 / 28px 28px,
        repeating-linear-gradient(135deg, transparent 0 16px, rgba(141, 53, 255, 0.1) 16px 17px);
    opacity: 0.65;
}

.hero__grid.container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: min(calc(100% - 40px), var(--container));
    max-width: var(--container);
    padding-inline: 0;
}

.hero__content {
    max-width: 560px;
}

.hero__content h1 {
    max-width: 11ch;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: clamp(2.65rem, 5vw, 4.7rem);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero__content h1 span {
    display: block;
    color: var(--purple);
}

.hero__lead {
    max-width: 470px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.bio-points {
    display: grid;
    gap: 0.55rem;
    margin: -0.7rem 0 2rem;
    color: rgba(255, 255, 255, 0.86);
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.bio-points span {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.bio-points span::before {
    content: "";
    width: 0.72rem;
    height: 0.72rem;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: linear-gradient(135deg, var(--purple), var(--teal), var(--orange));
}

.hero-link {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-link::after {
    content: ">";
    margin-left: 0.7rem;
    color: var(--orange);
}

.hero-system {
    position: relative;
    min-height: 455px;
    isolation: isolate;
}

.system-core {
    position: absolute;
    left: 50%;
    top: 53%;
    width: min(210px, 36vw);
    transform: translate(-50%, -50%);
    z-index: 3;
}

.system-core img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.system-line {
    position: absolute;
    height: 1px;
    transform-origin: left center;
    z-index: 1;
    background: currentColor;
    opacity: 0.95;
}

.system-line--left {
    left: 17%;
    top: 72%;
    width: 42%;
    color: var(--teal);
    transform: rotate(-61deg);
}

.system-line--right {
    left: 50%;
    top: 12%;
    width: 43%;
    color: var(--orange);
    transform: rotate(61deg);
}

.system-line--base {
    left: 17%;
    top: 72%;
    width: 66%;
    color: var(--teal);
    background: linear-gradient(90deg, var(--teal), var(--orange));
}

.system-node {
    position: absolute;
    z-index: 2;
    width: 210px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.system-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 0.85rem;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.system-node strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.system-node p {
    max-width: 190px;
    margin: 0;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    line-height: 1.45;
}

.system-node--authority {
    left: 50%;
    top: 0;
    color: var(--purple);
    transform: translateX(-50%);
}

.system-node--data {
    left: 0;
    top: 60%;
    color: var(--teal);
}

.system-node--conversion {
    right: 0;
    top: 60%;
    color: var(--orange);
}

.system-icon--crown::before {
    content: "";
    width: 34px;
    height: 26px;
    border: 3px solid currentColor;
    border-top: 0;
    clip-path: polygon(0 35%, 22% 60%, 36% 18%, 50% 56%, 64% 18%, 78% 60%, 100% 35%, 100% 100%, 0 100%);
}

.system-icon--crown::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 2px;
    bottom: 23px;
    background: currentColor;
}

.system-icon--bars::before {
    content: "";
    width: 30px;
    height: 28px;
    background:
        linear-gradient(currentColor 0 0) 0 16px / 6px 12px no-repeat,
        linear-gradient(currentColor 0 0) 12px 8px / 6px 20px no-repeat,
        linear-gradient(currentColor 0 0) 24px 0 / 6px 28px no-repeat;
}

.system-icon--target::before {
    content: "";
    width: 32px;
    height: 32px;
    border: 3px solid currentColor;
    border-radius: 999px;
    box-shadow: inset 0 0 0 7px #050509, inset 0 0 0 10px currentColor;
}

.system-icon--target::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 3px;
    right: 14px;
    top: 22px;
    background: currentColor;
    transform: rotate(-42deg);
    transform-origin: right center;
}

.hero-system {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-system__image {
    display: block;
    width: min(640px, 100%);
    height: auto;
}

.section,
.manifesto,
.culture,
.trinity {
    background: var(--page-light);
    color: var(--ink);
}

.manifesto {
    padding-top: 2.5rem;
}

.method-intro {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.method-intro .eyebrow,
.section-heading--center .eyebrow {
    color: var(--purple);
}

.method-intro p:not(.eyebrow) {
    color: #4c4d55;
}

.method-intro strong {
    display: block;
    color: var(--purple);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.method-intro strong span {
    color: var(--teal);
}

.method-intro strong em {
    color: var(--orange);
    font-style: normal;
}

.section-heading--center {
    display: grid;
    justify-items: center;
    gap: 0;
    margin-bottom: 1.4rem;
    text-align: center;
}

.section-heading--center h2,
.section-heading h2,
.system-flow h2,
.services-note h3,
.conversion h2 {
    color: var(--ink);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.pillar-card {
    min-height: 250px;
    padding: 2rem;
    border-radius: 4px;
    background: #fff;
}

.pillar-card--purple {
    background: linear-gradient(135deg, rgba(141, 53, 255, 0.1), #fff);
}

.pillar-card--teal {
    background: linear-gradient(135deg, rgba(4, 174, 181, 0.1), #fff);
}

.pillar-card--orange {
    background: linear-gradient(135deg, rgba(255, 104, 31, 0.12), #fff);
}

.pillar-card__number {
    display: block;
    margin-bottom: 0.6rem;
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.pillar-card--purple .pillar-card__number,
.pillar-card--purple h3 {
    color: var(--purple);
}

.pillar-card--teal .pillar-card__number,
.pillar-card--teal h3 {
    color: var(--teal);
}

.pillar-card--orange .pillar-card__number,
.pillar-card--orange h3 {
    color: var(--orange);
}

.pillar-card h3 {
    max-width: 14ch;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.pillar-card p {
    color: #333744;
    font-size: 0.9rem;
    line-height: 1.6;
}

.pillar-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1rem;
    margin: 1rem 0 0;
    padding-left: 1rem;
    color: #262936;
    font-size: 0.82rem;
}

.culture {
    padding-top: 1.5rem;
}

.system-flow {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 1rem 0 3rem;
    border-bottom: 1px solid rgba(17, 17, 21, 0.1);
}

.system-flow .eyebrow {
    color: var(--purple);
}

.system-flow p {
    color: #4d505c;
}

.flow-map {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
}

.flow-map span {
    position: relative;
    min-height: 7.1rem;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 1rem 0.9rem;
    border: 1px solid rgba(17, 17, 21, 0.1);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.flow-map span::after {
    content: ">";
    position: absolute;
    right: -0.75rem;
    color: var(--orange);
}

.flow-map span:last-child::after {
    display: none;
}

.flow-step i {
    position: relative;
    display: block;
    width: 2.15rem;
    height: 2.15rem;
    margin-bottom: 0.7rem;
    color: var(--purple);
}

.flow-step--brand i::before {
    content: "";
    position: absolute;
    inset: 0.2rem;
    border: 3px solid currentColor;
    transform: rotate(45deg);
}

.flow-step--presence i::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    right: 0.15rem;
    top: 0.35rem;
    height: 1.25rem;
    border: 3px solid currentColor;
    border-radius: 2px;
}

.flow-step--presence i::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.2rem;
    height: 3px;
    background: currentColor;
}

.flow-step--acquisition i::before,
.flow-step--acquisition i::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    width: 0.9rem;
    height: 0.9rem;
    border: 3px solid currentColor;
    border-radius: 999px;
}

.flow-step--acquisition i::before {
    left: 0.05rem;
}

.flow-step--acquisition i::after {
    right: 0.05rem;
}

.flow-step--data i::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    bottom: 0.15rem;
    width: 0.36rem;
    height: 0.9rem;
    background: currentColor;
    box-shadow: 0.72rem -0.35rem 0 currentColor, 1.44rem -0.8rem 0 currentColor;
}

.flow-step--relationship i::before,
.flow-step--relationship i::after {
    content: "";
    position: absolute;
}

.flow-step--relationship i::before {
    left: 0.15rem;
    right: 0.15rem;
    top: 0.35rem;
    height: 1rem;
    border: 3px solid currentColor;
    border-radius: 999px 999px 0 0;
    border-bottom: 0;
}

.flow-step--relationship i::after {
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.2rem;
    height: 0.85rem;
    border: 3px solid currentColor;
    border-radius: 999px 999px 0 0;
    border-bottom: 0;
}

.flow-step--conversion i::before {
    content: "";
    position: absolute;
    inset: 0.35rem;
    border: 3px solid currentColor;
    border-radius: 999px;
    box-shadow: inset 0 0 0 0.35rem #fff;
}

.flow-step--conversion i::after {
    content: "";
    position: absolute;
    right: 0.12rem;
    top: 0.1rem;
    width: 1rem;
    height: 3px;
    background: currentColor;
    transform: rotate(-42deg);
    transform-origin: right center;
}

.flow-step--optimization i::before,
.flow-step--optimization i::after {
    content: "";
    position: absolute;
    inset: 0.25rem;
    border: 3px solid currentColor;
    border-left-color: transparent;
    border-radius: 999px;
}

.flow-step--optimization i::before {
    transform: rotate(35deg);
}

.flow-step--optimization i::after {
    transform: rotate(215deg);
}

.flow-step--brand i,
.flow-step--presence i {
    color: var(--purple);
}

.flow-step--acquisition i,
.flow-step--data i,
.flow-step--relationship i {
    color: var(--teal);
}

.flow-step--conversion i,
.flow-step--optimization i {
    color: var(--orange);
}

.section-heading {
    align-items: end;
}

.section-heading .eyebrow {
    color: var(--purple);
}

.section-heading > p,
.trinity-intro p {
    color: #4d505c;
}

.trinity-intro {
    background: #fff;
    border-color: rgba(17, 17, 21, 0.08);
}

.service-card {
    border: 1px solid rgba(17, 17, 21, 0.08);
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    padding-right: 6rem;
}

.service-card::after {
    display: none;
}

.service-card__index {
    color: var(--purple);
}

.service-card h3 {
    color: var(--ink);
}

.service-card p,
.service-card li {
    color: #4d505c;
}

.service-card--teal .service-card__index {
    color: var(--teal);
}

.service-card--orange .service-card__index {
    color: var(--orange);
}

.service-card__icon {
    position: absolute;
    right: 1.7rem;
    top: 1.55rem;
    width: 3.4rem;
    height: 3.4rem;
    color: var(--purple);
    opacity: 0.95;
}

.service-card--teal .service-card__icon {
    color: var(--teal);
}

.service-card--orange .service-card__icon {
    color: var(--orange);
}

.service-card--brand .service-card__icon::before {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border: 3px solid currentColor;
    transform: rotate(45deg);
}

.service-card--site .service-card__icon::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    top: 0.55rem;
    height: 2rem;
    border: 3px solid currentColor;
    border-radius: 2px;
}

.service-card--site .service-card__icon::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 3px;
    background: currentColor;
    box-shadow: 0 -0.45rem 0 -1px currentColor;
}

.service-card--performance .service-card__icon::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    bottom: 0.45rem;
    width: 0.55rem;
    height: 1.05rem;
    background: currentColor;
    box-shadow: 0.95rem -0.65rem 0 currentColor, 1.9rem -1.35rem 0 currentColor;
}

.service-card--performance .service-card__icon::after {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 0.4rem;
    width: 2.25rem;
    height: 1.55rem;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: skew(-18deg) rotate(-8deg);
}

.service-card--data .service-card__icon::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    bottom: 0.4rem;
    width: 0.5rem;
    height: 1rem;
    background: currentColor;
    box-shadow: 0.85rem -0.5rem 0 currentColor, 1.7rem -1rem 0 currentColor, 2.55rem -1.55rem 0 currentColor;
}

.service-card--crm .service-card__icon::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    top: 0.7rem;
    height: 2rem;
    border: 3px solid currentColor;
    border-radius: 2px;
}

.service-card--crm .service-card__icon::after {
    content: "";
    position: absolute;
    left: 0.48rem;
    right: 0.48rem;
    top: 0.8rem;
    height: 1.4rem;
    border-bottom: 3px solid currentColor;
    transform: skewY(-28deg);
}

.service-card--content .service-card__icon::before {
    content: "";
    position: absolute;
    left: 1.4rem;
    top: 0.25rem;
    width: 0.7rem;
    height: 2.9rem;
    border: 3px solid currentColor;
    border-radius: 999px 999px 2px 2px;
    transform: rotate(45deg);
}

.service-card--content .service-card__icon::after {
    content: "";
    position: absolute;
    left: 0.35rem;
    bottom: 0.25rem;
    width: 1.1rem;
    height: 3px;
    background: currentColor;
    transform: rotate(-18deg);
}

.services-note {
    scroll-margin-top: 6rem;
    border-radius: 4px;
    border-color: rgba(17, 17, 21, 0.08);
    background: #fff;
    box-shadow: none;
}

.services-note .eyebrow {
    color: var(--purple);
}

.services-note p:not(.eyebrow) {
    color: #4d505c;
}

.conversion {
    background:
        radial-gradient(circle at 16% 40%, rgba(141, 53, 255, 0.42), transparent 20%),
        radial-gradient(circle at 90% 40%, rgba(255, 104, 31, 0.22), transparent 18%),
        linear-gradient(100deg, #130529, #23033f 52%, #050509);
    color: #fff;
}

.conversion .section-copy h2,
.conversion h2 {
    color: #fff;
}

.conversion .section-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.conversion .section-copy p strong {
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 1.35rem;
}

.contact-card {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-card input,
.contact-card select {
    border-radius: 4px;
}

.site-footer {
    background: #050509;
}

@media (max-width: 1080px) {
    .hero__grid.container {
        grid-template-columns: 1fr;
    }

    .hero__content h1 {
        max-width: 13ch;
    }

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

    .pillar-grid,
    .system-flow {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .site-header {
        position: relative;
        background: #050509;
    }

    .site-header__inner,
    .site-nav {
        align-items: center;
    }

    .site-nav {
        display: none;
    }

    .brand__logo {
        width: 180px;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero__content h1 {
        font-size: clamp(2.3rem, 12vw, 3.3rem);
    }

    .hero-system {
        min-height: 560px;
    }

    .system-core {
        top: 45%;
    }

    .system-line {
        display: none;
    }

    .system-node {
        left: 50%;
        right: auto;
        width: min(250px, 80vw);
        transform: translateX(-50%);
    }

    .system-node--authority {
        top: 0;
    }

    .system-node--data {
        bottom: 0;
    }

    .system-node--conversion {
        bottom: 130px;
    }

    .pillar-grid,
    .flow-map {
        grid-template-columns: 1fr;
    }

    .flow-map span::after {
        display: none;
    }
}

.hero-system {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-system__image {
    display: block;
    width: min(640px, 100%);
    height: auto;
}

@media (max-width: 760px) {
    .hero-system {
        min-height: auto;
        padding-top: 1.5rem;
    }

    .hero-system__image {
        width: min(520px, 100%);
    }
}

/* Wide-screen and mobile refinement pass */
.container,
.hero__grid.container {
    width: min(calc(100% - clamp(2rem, 6vw, 7rem)), 1760px);
    max-width: 1760px;
}

.site-header__inner {
    width: min(calc(100% - clamp(2rem, 6vw, 7rem)), 1760px);
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: clamp(7rem, 10vh, 9rem) 0 clamp(4rem, 8vh, 6rem);
}

.hero__grid.container {
    grid-template-columns: minmax(500px, 0.9fr) minmax(560px, 1.1fr);
    gap: clamp(3rem, 7vw, 9rem);
}

.hero__content {
    max-width: 680px;
}

.hero__content h1 {
    max-width: 12ch;
    font-size: clamp(3.25rem, 4.7vw, 6.4rem);
}

.hero__lead {
    max-width: 600px;
}

.hero-system {
    justify-content: flex-end;
    min-height: clamp(500px, 48vw, 680px);
}

.hero-system__image {
    width: min(780px, 100%);
}

@media (min-width: 1600px) {
    .hero-system__image {
        width: min(850px, 100%);
    }
}

@media (max-width: 1180px) {
    .container,
    .hero__grid.container,
    .site-header__inner {
        width: min(calc(100% - 2rem), 1000px);
    }

    .hero {
        min-height: auto;
    }

    .hero__grid.container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__content {
        max-width: 760px;
    }

    .hero__content h1 {
        max-width: 12ch;
    }

    .hero-system {
        justify-content: center;
        min-height: auto;
    }

    .hero-system__image {
        width: min(720px, 100%);
    }
}

@media (max-width: 760px) {
    .container,
    .hero__grid.container,
    .site-header__inner {
        width: min(calc(100% - 1.5rem), 100%);
    }

    .site-header {
        position: relative;
        background: #050509;
    }

    .site-header__inner {
        min-height: 4.75rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .site-header .button--accent {
        display: none;
    }

    .brand__logo {
        width: min(190px, 70vw);
    }

    .hero {
        min-height: auto;
        padding: 3rem 0 3.5rem;
    }

    .hero__grid.container {
        gap: 2rem;
    }

    .hero__content {
        max-width: none;
    }

    .hero__content h1 {
        max-width: none;
        font-size: clamp(2.35rem, 13.5vw, 4rem);
        line-height: 0.98;
    }

    .hero__lead {
        max-width: none;
        font-size: 1rem;
    }

    .bio-points {
        font-size: 0.84rem;
    }

    .hero__actions {
        align-items: stretch;
        gap: 1rem;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero-link {
        display: inline-flex;
        min-height: 2.75rem;
        align-items: center;
    }

    .hero-system {
        width: 100%;
        padding-top: 0;
        overflow: visible;
    }

    .hero-system__image {
        width: 112%;
        max-width: none;
        margin-inline: -6%;
    }

    .section {
        padding: 3.5rem 0;
    }
}

/* Hero typography refinement */
.hero__content {
    max-width: 760px;
}

.hero__content h1 {
    max-width: 13.6ch;
    font-size: clamp(2.85rem, 3.85vw, 5.2rem);
    line-height: 1.03;
}

@media (max-width: 1180px) {
    .hero__content h1 {
        max-width: 13.5ch;
        font-size: clamp(2.75rem, 7vw, 4.8rem);
    }
}

@media (max-width: 760px) {
    .hero__content h1 {
        max-width: 11.8ch;
        font-size: clamp(2.2rem, 10.4vw, 3.6rem);
        line-height: 1.02;
    }
}

/* Flow diagram refinement */
.flow-map {
    grid-template-columns: repeat(7, minmax(70px, 1fr));
    gap: 1.2rem 0.2rem;
    align-items: start;
    padding: 0.5rem 1rem;
}

.flow-map span {
    min-height: 5.8rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.72rem;
    line-height: 1.15;
}

.flow-step i {
    width: 2.45rem;
    height: 2.45rem;
    margin-bottom: 0.55rem;
}

.flow-step--brand {
    grid-column: 1;
    grid-row: 1;
}

.flow-step--presence {
    grid-column: 3;
    grid-row: 1;
}

.flow-step--acquisition {
    grid-column: 5;
    grid-row: 1;
}

.flow-step--data {
    grid-column: 7;
    grid-row: 1;
}

.flow-step--optimization {
    grid-column: 1;
    grid-row: 2;
}

.flow-step--conversion {
    grid-column: 4;
    grid-row: 2;
}

.flow-step--relationship {
    grid-column: 7;
    grid-row: 2;
}

.flow-map span::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    height: 1px;
    background: #1d1f27;
}

.flow-step--brand::after,
.flow-step--presence::after,
.flow-step--acquisition::after {
    left: calc(50% + 2.2rem);
    width: calc(200% - 4.4rem);
}

.flow-step--relationship::after,
.flow-step--conversion::after {
    right: calc(50% + 2.2rem);
    width: calc(300% - 4.4rem);
}

.flow-step--data::after {
    right: -1.4rem;
    top: 1.25rem;
    width: 2.8rem;
    height: calc(100% + 1.35rem);
    border: 1px solid #1d1f27;
    border-left: 0;
    border-radius: 0 1rem 1rem 0;
    background: transparent;
}

.flow-step--brand::before,
.flow-step--presence::before,
.flow-step--acquisition::before,
.flow-step--relationship::before,
.flow-step--conversion::before {
    content: "";
    position: absolute;
    top: calc(1.25rem - 4px);
    z-index: 1;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.flow-step--brand::before,
.flow-step--presence::before,
.flow-step--acquisition::before {
    right: -0.2rem;
    border-left: 7px solid #1d1f27;
}

.flow-step--relationship::before,
.flow-step--conversion::before {
    left: -0.2rem;
    border-right: 7px solid #1d1f27;
}

.flow-step--optimization::after {
    left: -1.4rem;
    top: 1.25rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid #1d1f27;
    border-right: 0;
    border-radius: 1rem 0 0 1rem;
    background: transparent;
}

.flow-step--optimization::before {
    content: "";
    position: absolute;
    left: -1.45rem;
    top: calc(1.25rem - 4px);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 7px solid #1d1f27;
}

@media (max-width: 900px) {
    .flow-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        padding: 0;
    }

    .flow-step--brand,
    .flow-step--presence,
    .flow-step--acquisition,
    .flow-step--data,
    .flow-step--optimization,
    .flow-step--conversion,
    .flow-step--relationship {
        grid-column: auto;
        grid-row: auto;
    }

    .flow-map span::before,
    .flow-map span::after {
        display: none;
    }
}

@media (max-width: 560px) {
    .flow-map {
        grid-template-columns: 1fr;
    }
}

.flow-map--image {
    display: block;
    padding: 0;
    overflow-x: auto;
}

.flow-map--image img {
    display: block;
    width: min(100%, 1180px);
    min-width: 760px;
    height: auto;
    margin-inline: auto;
}

@media (max-width: 900px) {
    .flow-map--image {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .flow-map--image img {
        width: 900px;
        min-width: 900px;
    }
}

.culture,
.culture .container,
.system-flow,
.flow-map--image {
    background: #fff;
}

/* Real service icons from the approved visual reference */
.service-card img.service-card__icon {
    display: block;
    width: 5.4rem;
    height: 5rem;
    object-fit: contain;
    opacity: 1;
    color: unset;
    filter: drop-shadow(0 10px 18px rgba(17, 17, 21, 0.08));
}

@media (max-width: 760px) {
    .service-card {
        padding-right: 5.25rem;
    }

    .service-card img.service-card__icon {
        right: 1.05rem;
        top: 1.15rem;
        width: 4.1rem;
        height: 3.8rem;
    }
}

/* Fixed header */
html {
    scroll-padding-top: 5.5rem;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    z-index: 1000;
}

main {
    padding-top: 5rem;
}

.hero {
    min-height: calc(100svh - 5rem);
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 4.75rem;
    }

    .site-header {
        position: fixed;
    }

    main {
        padding-top: 4.75rem;
    }

    .hero {
        padding-top: 2.25rem;
    }
}

/* Light fixed header for contrast while scrolling */
.site-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, backdrop-filter 0.24s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(17, 17, 21, 0.1);
    box-shadow: 0 14px 34px rgba(17, 17, 21, 0.12);
    backdrop-filter: blur(18px);
}

.site-nav a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.24s ease;
}

.site-header.is-scrolled .site-nav a {
    color: #111115;
}

.site-nav a:hover {
    color: var(--purple);
}

.site-header .button--accent {
    color: #ffffff;
}

.service-card {
    padding-top: 2rem;
}

.service-card__index {
    display: none;
}

@media (max-width: 760px) {
    .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.96);
    }
}

/* Mobile flow image fit */
@media (max-width: 900px) {
    .flow-map--image {
        margin-inline: 0;
        padding-inline: 0;
        overflow-x: hidden;
    }

    .flow-map--image img {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

/* Proposal page */
.proposal-page {
    background: #f7f8fb;
    color: #5f6470;
}

.proposal-page .site-header:not(.is-scrolled) {
    background: rgba(5, 5, 9, 0.12);
    backdrop-filter: none;
}

.proposal-page .site-footer {
    background: #050509;
}

.proposal-hero {
    position: relative;
    min-height: calc(82svh - 5rem);
    display: flex;
    align-items: center;
    padding: clamp(6rem, 9vh, 8rem) 0 clamp(4rem, 7vh, 5.5rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 24%, rgba(143, 28, 184, 0.32), transparent 26%),
        radial-gradient(circle at 18% 78%, rgba(62, 184, 171, 0.18), transparent 20%),
        linear-gradient(135deg, #050509 0%, #090912 54%, #160b25 100%);
}

.proposal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 28px 28px, 24px 24px;
    pointer-events: none;
}

.proposal-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
}

.proposal-hero__content {
    max-width: 880px;
}

.proposal-hero h1 {
    max-width: 11ch;
    margin-bottom: 1.2rem;
    font-size: clamp(3.4rem, 7vw, 7.5rem);
    line-height: 0.96;
}

.proposal-hero__subtitle {
    max-width: 760px;
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.35rem, 2.1vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
}

.proposal-hero p:not(.eyebrow):not(.proposal-hero__subtitle) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.proposal-summary {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
}

.proposal-summary span {
    display: block;
    margin-bottom: 1rem;
    color: var(--teal);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proposal-summary strong {
    display: block;
    margin-bottom: 0.8rem;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.55rem;
}

.proposal-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #ffffff;
}

.proposal-section--light {
    background:
        linear-gradient(135deg, rgba(143, 28, 184, 0.05), transparent 34%),
        linear-gradient(225deg, rgba(62, 184, 171, 0.06), transparent 38%),
        #f7f8fb;
}

.proposal-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.proposal-layout--reverse {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
    margin-top: 3rem;
    align-items: stretch;
}

.proposal-layout--access {
    margin-top: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.proposal-layout--access > .proposal-card,
.proposal-layout--access > .proposal-commitment {
    height: 100%;
}

.proposal-copy h2,
.proposal-commitment h2 {
    color: #111115;
}

.proposal-copy p,
.proposal-card p,
.proposal-commitment p {
    color: #5f6470;
}

.proposal-card,
.proposal-price,
.proposal-commitment {
    border: 1px solid rgba(17, 17, 21, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(17, 17, 21, 0.08);
}

.proposal-card {
    padding: clamp(1.4rem, 3vw, 2rem);
}

.proposal-card h3,
.proposal-price h3 {
    color: #111115;
}

.proposal-card ul,
.proposal-checklist,
.proposal-steps {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.proposal-card li,
.proposal-checklist li,
.proposal-steps li {
    position: relative;
    padding-left: 1rem;
    color: #5f6470;
    line-height: 1.55;
}

.proposal-card li::before,
.proposal-checklist li::before,
.proposal-steps li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--orange);
}

.proposal-steps {
    counter-reset: proposal-step;
}

.proposal-steps li {
    counter-increment: proposal-step;
    padding-left: 2rem;
}

.proposal-steps li::before {
    content: counter(proposal-step);
    top: 0.05rem;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 133, 50, 0.14);
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
}

.proposal-note {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 17, 21, 0.08);
    font-weight: 700;
}

.proposal-access-note {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 133, 50, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 133, 50, 0.1), rgba(62, 184, 171, 0.08)),
        #ffffff;
    box-shadow: 0 18px 44px rgba(17, 17, 21, 0.07);
}

.proposal-access-note strong {
    color: #111115;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
}

.proposal-access-note p {
    margin: 0;
    color: #5f6470;
    font-weight: 700;
    line-height: 1.6;
}

.proposal-included {
    margin: 1.1rem 0 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 133, 50, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 133, 50, 0.14), rgba(143, 28, 184, 0.08)),
        #ffffff;
}

.proposal-included span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proposal-included strong {
    display: block;
    color: #111115;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.35;
}

.proposal-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.proposal-price {
    padding: clamp(1.4rem, 3vw, 2rem);
}

.proposal-price span {
    display: inline-block;
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.proposal-price strong {
    display: block;
    margin: 1rem 0 0.75rem;
    color: #111115;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.proposal-price--purple {
    background: linear-gradient(135deg, rgba(143, 28, 184, 0.13), #fff);
}

.proposal-price--teal {
    background: linear-gradient(135deg, rgba(62, 184, 171, 0.16), #fff);
}

.proposal-price--orange {
    background: linear-gradient(135deg, rgba(255, 133, 50, 0.16), #fff);
}

.proposal-price--purple span,
.proposal-card--purple h3 {
    color: var(--purple);
}

.proposal-price--teal span,
.proposal-card--teal h3 {
    color: #009eaa;
}

.proposal-price--orange span,
.proposal-card--orange h3 {
    color: var(--orange);
}

.proposal-detail-grid,
.proposal-triad {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.proposal-triad {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proposal-cycle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-content: stretch;
}

.proposal-cycle article {
    min-height: 8.2rem;
    padding: 1rem;
    border: 1px solid rgba(17, 17, 21, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(143, 28, 184, 0.04), rgba(62, 184, 171, 0.04)),
        #fff;
    box-shadow: 0 14px 38px rgba(17, 17, 21, 0.06);
}

.proposal-cycle span {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 133, 50, 0.14);
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
}

.proposal-cycle strong {
    display: block;
    margin-bottom: 0.4rem;
    color: #111115;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    line-height: 1.25;
}

.proposal-cycle p {
    margin: 0;
    color: #5f6470;
    font-size: 0.9rem;
    line-height: 1.55;
}

.proposal-commitment {
    padding: clamp(1.8rem, 4vw, 2.5rem);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 133, 50, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7f8fb);
}

.proposal-commitment .button {
    margin-top: 1rem;
}

.proposal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1rem;
}

.proposal-site-link {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    color: var(--purple);
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.proposal-site-link::after {
    content: ">";
    margin-left: 0.5rem;
    color: var(--orange);
}

/* Commercial conditions alignment */
#condicoes .proposal-layout {
    gap: clamp(1rem, 2vw, 1.4rem);
    align-items: stretch;
}

#condicoes .proposal-layout > .proposal-card,
#condicoes .proposal-layout > .proposal-commitment {
    height: 100%;
}

#condicoes .proposal-layout:not(.proposal-layout--access) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proposal-layout--access {
    margin-top: 1.4rem;
}

.proposal-layout--access > .proposal-card,
.proposal-layout--access > .proposal-commitment {
    display: flex;
    min-height: 31rem;
    flex-direction: column;
}

.proposal-layout--access > .proposal-card h3,
.proposal-layout--access > .proposal-commitment h2 {
    min-height: 3.6rem;
}

.proposal-layout--access .proposal-card p,
.proposal-layout--access .proposal-card li,
.proposal-layout--access .proposal-commitment p {
    font-size: 0.94rem;
    line-height: 1.55;
}

.proposal-layout--access .proposal-steps,
.proposal-layout--access .proposal-card ul {
    gap: 0.62rem;
}

.proposal-layout--access .proposal-commitment {
    justify-content: flex-start;
    background:
        linear-gradient(135deg, rgba(255, 133, 50, 0.1), rgba(143, 28, 184, 0.05)),
        #ffffff;
}

.proposal-layout--access .proposal-commitment h2 {
    max-width: 8.8ch;
    font-size: clamp(2.25rem, 3vw, 3.1rem);
}

.proposal-layout--access .proposal-actions {
    margin-top: auto;
    padding-top: 1.2rem;
}

@media (max-width: 980px) {
    #condicoes .proposal-layout:not(.proposal-layout--access),
    .proposal-layout--access {
        grid-template-columns: 1fr;
    }

    .proposal-layout--access > .proposal-card,
    .proposal-layout--access > .proposal-commitment {
        min-height: auto;
    }

    .proposal-layout--access > .proposal-card h3,
    .proposal-layout--access > .proposal-commitment h2 {
        min-height: 0;
    }
}

@media (max-width: 980px) {
    .proposal-hero__grid,
    .proposal-layout,
    .proposal-layout--reverse,
    .proposal-pricing,
    .proposal-detail-grid,
    .proposal-triad {
        grid-template-columns: 1fr;
    }

    .proposal-hero h1 {
        max-width: 100%;
        font-size: clamp(2.65rem, 11vw, 5rem);
    }
}

@media (max-width: 760px) {
    .proposal-hero {
        min-height: auto;
        padding: 4.5rem 0 3.5rem;
    }

    .proposal-cycle {
        grid-template-columns: 1fr;
    }

    .proposal-access-note {
        grid-template-columns: 1fr;
    }
}

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    *,
    *::before,
    *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    html {
        scroll-padding-top: 0;
    }

    body,
    .proposal-page {
        background: #f7f8fb !important;
        color: #5f6470 !important;
    }

    .no-print {
        display: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .site-header {
        position: static !important;
        display: block !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border-bottom: 1px solid rgba(17, 17, 21, 0.1) !important;
        box-shadow: none !important;
    }

    .site-header__inner {
        min-height: 64px !important;
    }

    .site-nav {
        display: none !important;
    }

    .brand__logo {
        width: 170px !important;
    }

    main {
        padding-top: 0 !important;
    }

    .container,
    .hero__grid.container,
    .site-header__inner {
        width: 100% !important;
        max-width: none !important;
        padding-inline: 0 !important;
    }

    .proposal-hero {
        min-height: auto;
        padding: 18mm 10mm 16mm !important;
        background:
            radial-gradient(circle at 72% 24%, rgba(143, 28, 184, 0.32), transparent 26%),
            radial-gradient(circle at 18% 78%, rgba(62, 184, 171, 0.18), transparent 20%),
            linear-gradient(135deg, #050509 0%, #090912 54%, #160b25 100%) !important;
    }

    .proposal-hero__grid,
    .proposal-layout,
    .proposal-layout--reverse,
    .proposal-pricing,
    .proposal-detail-grid,
    .proposal-triad {
        grid-template-columns: 1fr 1fr !important;
        gap: 4mm !important;
    }

    .proposal-pricing,
    .proposal-triad {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .proposal-layout--access {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .proposal-section,
    .proposal-section--light {
        padding: 12mm 0 !important;
    }

    .proposal-hero h1 {
        max-width: 12ch;
        color: #fff !important;
        font-size: 46pt !important;
    }

    .proposal-hero__subtitle {
        color: var(--orange) !important;
        font-size: 18pt !important;
    }

    .proposal-hero p:not(.eyebrow):not(.proposal-hero__subtitle) {
        color: rgba(255, 255, 255, 0.78) !important;
    }

    .proposal-summary {
        background: rgba(255, 255, 255, 0.08) !important;
        color: rgba(255, 255, 255, 0.76) !important;
    }

    .proposal-summary strong {
        color: #fff !important;
    }

    .proposal-summary,
    .proposal-card,
    .proposal-price,
    .proposal-commitment,
    .proposal-access-note,
    .proposal-cycle article {
        box-shadow: 0 8px 22px rgba(17, 17, 21, 0.06) !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .proposal-card,
    .proposal-price,
    .proposal-commitment,
    .proposal-access-note,
    .proposal-cycle article {
        border-color: rgba(17, 17, 21, 0.1) !important;
    }

    .proposal-card ul,
    .proposal-checklist,
    .proposal-steps {
        gap: 0.28rem !important;
    }

    .proposal-card li,
    .proposal-checklist li,
    .proposal-steps li,
    .proposal-card p,
    .proposal-copy p,
    .proposal-commitment p,
    .proposal-access-note p,
    .proposal-cycle p {
        font-size: 9.5pt !important;
        line-height: 1.42 !important;
    }

    .proposal-card h3,
    .proposal-price h3 {
        font-size: 13pt !important;
    }

    .proposal-copy h2,
    .proposal-commitment h2 {
        font-size: 21pt !important;
    }

    .proposal-price strong {
        font-size: 24pt !important;
    }

    .proposal-actions .button {
        display: inline-flex !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .proposal-site-link {
        color: var(--purple) !important;
        text-decoration: none !important;
    }

    .site-footer {
        display: block !important;
        padding: 8mm 0 !important;
        background: #050509 !important;
    }

    .site-footer__inner {
        display: flex !important;
    }

    .site-footer__logo {
        width: 150px !important;
    }

    .site-footer__brand p {
        color: rgba(255, 255, 255, 0.72) !important;
    }
}

/* Final PDF override: prevents horizontal clipping and keeps the file lighter. */
@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    html,
    body {
        width: 100% !important;
        overflow: visible !important;
    }

    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
    }

    .proposal-page {
        background: #ffffff !important;
    }

    body::before,
    .proposal-page::before {
        display: none !important;
    }

    .site-header {
        margin-bottom: 8mm !important;
    }

    .site-header__inner,
    .container,
    .proposal-hero__grid,
    .proposal-layout,
    .proposal-layout--reverse,
    .proposal-layout--access,
    .proposal-pricing,
    .proposal-detail-grid,
    .proposal-triad,
    .proposal-cycle {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .proposal-hero {
        margin: 0 0 8mm !important;
        padding: 12mm !important;
        border-radius: 8px !important;
        background: #090912 !important;
        overflow: hidden !important;
    }

    .proposal-hero::before {
        display: none !important;
    }

    .proposal-hero__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6mm !important;
    }

    .proposal-hero h1 {
        max-width: 100% !important;
        font-size: 34pt !important;
        line-height: 0.98 !important;
        word-break: normal !important;
    }

    .proposal-hero__subtitle {
        max-width: 100% !important;
        font-size: 15pt !important;
        line-height: 1.2 !important;
    }

    .proposal-hero p:not(.eyebrow):not(.proposal-hero__subtitle) {
        max-width: 100% !important;
        font-size: 10.5pt !important;
        line-height: 1.5 !important;
    }

    .proposal-summary {
        width: 100% !important;
        padding: 6mm !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    .proposal-section,
    .proposal-section--light {
        padding: 8mm 0 !important;
        background: #ffffff !important;
    }

    .proposal-layout,
    .proposal-layout--reverse,
    .proposal-detail-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5mm !important;
    }

    .proposal-pricing,
    .proposal-triad,
    .proposal-layout--access {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4mm !important;
    }

    .proposal-cycle {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3mm !important;
    }

    .proposal-card,
    .proposal-price,
    .proposal-commitment,
    .proposal-access-note,
    .proposal-cycle article {
        padding: 5mm !important;
        border: 1px solid rgba(17, 17, 21, 0.12) !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    .proposal-price--purple,
    .proposal-price--teal,
    .proposal-price--orange,
    .proposal-included,
    .proposal-commitment,
    .proposal-cycle article,
    .proposal-access-note {
        background: #ffffff !important;
    }

    .proposal-copy h2,
    .proposal-commitment h2 {
        font-size: 18pt !important;
        line-height: 1.12 !important;
    }

    .proposal-card h3,
    .proposal-price h3,
    .proposal-cycle strong {
        font-size: 11.5pt !important;
        line-height: 1.2 !important;
    }

    .proposal-price strong {
        font-size: 20pt !important;
    }

    .proposal-card p,
    .proposal-card li,
    .proposal-price p,
    .proposal-copy p,
    .proposal-commitment p,
    .proposal-access-note p,
    .proposal-cycle p {
        font-size: 8.8pt !important;
        line-height: 1.35 !important;
    }

    .proposal-included {
        padding: 4mm !important;
        border-color: rgba(255, 133, 50, 0.28) !important;
    }

    .proposal-included strong {
        font-size: 9.5pt !important;
    }

    .proposal-access-note {
        grid-column: 1 / -1 !important;
        display: block !important;
    }

    .proposal-access-note strong {
        display: block !important;
        margin-bottom: 2mm !important;
    }

    .button,
    .proposal-site-link {
        min-height: auto !important;
        padding: 3mm 5mm !important;
        font-size: 8.5pt !important;
    }

    .no-print,
    button.no-print,
    .proposal-actions button {
        display: none !important;
    }

    .proposal-site-link {
        display: inline-flex !important;
        padding: 0 !important;
        color: var(--purple) !important;
        text-decoration: none !important;
    }

    .proposal-site-link::after {
        content: " - " attr(href) !important;
        margin-left: 1.5mm !important;
        color: #5f6470 !important;
        font-family: "Open Sans", sans-serif !important;
        font-weight: 700 !important;
        text-transform: none !important;
    }

    .site-footer {
        display: block !important;
        width: 100% !important;
        padding: 8mm 6mm !important;
        overflow: hidden !important;
        background: #050509 !important;
    }

    .site-footer__inner {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3mm !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .site-footer__brand {
        display: flex !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2mm !important;
        text-align: center !important;
    }

    .site-footer__logo {
        width: 132px !important;
        max-width: 70% !important;
        margin: 0 auto !important;
    }

    .site-footer__brand p {
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.72) !important;
        text-align: center !important;
    }
}
