:root {
    --navy: #1e3557;
    --navy-dark: #14263f;
    --sage: #7a9574;
    --sage-dark: #607a5b;
    --sage-light: #edf2eb;
    --warm-gray: #746f68;
    --light-gray: #f6f5f2;
    --border: #deded8;
    --white: #ffffff;
    --text: #29313a;
    --hero-background: #f9f9f9;
    --heading-font: "Cormorant Garamond", Georgia, serif;
    --body-font: "Inter", Arial, sans-serif;
    --shadow-soft: 0 20px 50px rgba(30, 53, 87, 0.08);
    --shadow-card: 0 15px 35px rgba(30, 53, 87, 0.07);
    --container: 1180px;
    --transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #f9f9f9;
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy);
    font-family: var(--heading-font);
    line-height: 1.1;
}

h1 {
    font-size: clamp(3.25rem, 7vw, 6.1rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 14px;
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    padding: 12px 18px;
    color: var(--white);
    background: var(--navy);
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 20px;
}

:focus-visible {
    outline: 3px solid rgba(122, 149, 116, 0.65);
    outline-offset: 4px;
}

.section {
    padding: 110px 24px;
}

.section-container {
    width: min(100%, var(--container));
    margin: 0 auto;
}

.content-narrow {
    width: min(100%, 870px);
    margin: 0 auto;
    text-align: center;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading > p:last-child {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.section-kicker,
.eyebrow {
    margin-bottom: 14px;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-kicker.light {
    color: #d7e4d4;
}

.large-copy {
    color: #515b64;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.centered-action {
    margin-top: 48px;
    text-align: center;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 27px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

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

.button-primary {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 12px 30px rgba(30, 53, 87, 0.18);
}

.button-primary:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
}

.button-secondary {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(30, 53, 87, 0.35);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.38);
    border-color: var(--navy);
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.button-light:hover {
    background: var(--sage-light);
}

.button-outline-light {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(5px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(30, 53, 87, 0.08);
    backdrop-filter: blur(14px);
    transition:
        box-shadow var(--transition),
        background-color var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(30, 53, 87, 0.08);
}

.header-inner {
    display: flex;
    width: min(calc(100% - 40px), 1280px);
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 250px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 31px;
}

.primary-navigation a {
    position: relative;
    color: #34404b;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.045em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition);
}

.primary-navigation a:not(.nav-contact)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--navy);
}

.primary-navigation a:hover::after,
.primary-navigation a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-navigation .nav-contact {
    padding: 11px 19px;
    color: var(--white);
    background: var(--navy);
    border-radius: 3px;
}

.primary-navigation .nav-contact:hover {
    color: var(--white);
    background: var(--navy-dark);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.hero {
    position: relative;
    display: flex;
    min-height: calc(100vh - 89px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 44px 24px 100px;
    background: #f9f9f9;
}

.hero::before,
.hero::after {
    content: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100%, 1050px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    text-align: center;
}

.hero-animation-wrapper {
    display: flex;
    width: min(100%, 500px);
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.logo-animation {
    display: block;
    width: 100%;
    max-height: 410px;
    margin: 0 auto;
    object-fit: contain;
    background: transparent;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
    box-shadow: none;
}

.hero-animation-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-animation {
    display: block;
    width: min(100%, 890px);
    max-height: 620px;
    margin: 0 auto;
    object-fit: contain;
}

.hero-content {
    width: min(100%, 820px);
    margin: -4px auto 0;
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 900ms ease,
        transform 900ms ease;
}

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

.hero h1 {
    margin-bottom: 12px;
}

.hero-tagline {
    margin-bottom: 20px;
    color: var(--sage-dark);
    font-family: var(--heading-font);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
}

.hero-description {
    max-width: 700px;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
    color: #4f5963;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.scroll-cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1px;
    color: var(--warm-gray);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-arrow {
    color: var(--sage-dark);
    font-size: 1.15rem;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.introduction {
    background: var(--light-gray);
}

.introduction h2 {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

.values-section {
    background: var(--white);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 38px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 5px;
    box-shadow: var(--shadow-card);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.feature-card:hover {
    border-color: rgba(122, 149, 116, 0.55);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.feature-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
    background: var(--sage-light);
    border-radius: 50%;
}

.feature-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: var(--sage-dark);
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card p {
    margin-bottom: 0;
    color: #5d656c;
    font-size: 0.94rem;
}

.services-preview {
    background: var(--navy);
}

.services-preview .section-heading h2,
.services-preview .section-heading p {
    color: var(--white);
}

.services-preview .section-kicker {
    color: #b9cbb6;
}

.services-preview .section-heading > p:last-child {
    color: rgba(255, 255, 255, 0.72);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 38px 38px 34px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(185, 203, 182, 0.7);
    transform: translateY(-4px);
}

.service-number {
    display: block;
    margin-bottom: 24px;
    color: #b9cbb6;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

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

.service-card p {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.71);
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d6e2d4;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.service-card a span {
    transition: transform var(--transition);
}

.service-card a:hover span {
    transform: translateX(5px);
}

.services-preview .text-link {
    color: var(--white);
}

.process-section {
    background:
        linear-gradient(
            90deg,
            rgba(122, 149, 116, 0.07),
            transparent 30%,
            transparent 70%,
            rgba(122, 149, 116, 0.07)
        ),
        var(--white);
}

.process-list {
    position: relative;
    max-width: 870px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.process-list::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 30px;
    width: 1px;
    background: rgba(122, 149, 116, 0.42);
}

.process-item {
    position: relative;
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 28px;
    margin-bottom: 18px;
    padding: 27px 30px 27px 0;
}

.process-marker {
    position: relative;
    z-index: 2;
    display: flex;
    width: 61px;
    height: 61px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--sage);
    border: 7px solid var(--white);
    border-radius: 50%;
    font-family: var(--heading-font);
    font-size: 1.45rem;
    font-weight: 600;
}

.process-item h3 {
    margin-bottom: 8px;
}

.process-item p {
    max-width: 670px;
    margin-bottom: 0;
    color: #5b646c;
}

.brand-statement {
    padding: 105px 24px;
    background: var(--sage-light);
}

.brand-statement-inner {
    width: min(100%, 900px);
    margin: 0 auto;
    text-align: center;
}

.statement-logo {
    width: 190px;
    max-height: 120px;
    margin: 0 auto 35px;
    object-fit: contain;
}

.brand-statement blockquote {
    margin: 0;
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 500;
    line-height: 1.25;
}

.contact-cta {
    position: relative;
    overflow: hidden;
    padding: 110px 24px;
    color: var(--white);
    background: var(--navy-dark);
}

.contact-cta::before {
    content: "";
    position: absolute;
    top: -240px;
    right: -120px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-cta-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 800px);
    margin: 0 auto;
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
}

.contact-cta p:not(.section-kicker) {
    max-width: 650px;
    margin-right: auto;
    margin-bottom: 34px;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.73);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.site-footer {
    padding: 75px 24px 25px;
    background: #f3f2ee;
}

.footer-inner {
    display: grid;
    width: min(100%, var(--container));
    grid-template-columns: 1.5fr 0.75fr 0.85fr;
    gap: 70px;
    margin: 0 auto;
    padding-bottom: 58px;
}

.footer-logo {
    width: 245px;
    max-height: 100px;
    margin-bottom: 24px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p {
    max-width: 480px;
    color: #606970;
}

.footer-navigation,
.footer-contact {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.footer-navigation h2,
.footer-contact h2 {
    margin-bottom: 18px;
    font-family: var(--body-font);
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-navigation a,
.footer-contact a {
    margin-bottom: 9px;
    color: #4f5961;
    font-size: 0.93rem;
    text-decoration: none;
}

.footer-navigation a:hover,
.footer-contact a:hover {
    color: var(--navy);
}

.footer-contact p {
    color: var(--sage-dark);
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    width: min(100%, var(--container));
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding-top: 23px;
    color: #777d82;
    border-top: 1px solid #d7d7d1;
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 750ms ease,
        transform 750ms ease;
}

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

@media (max-width: 1020px) {
    .primary-navigation {
        gap: 20px;
    }

    .primary-navigation a {
        font-size: 0.74rem;
    }

    .brand-logo {
        width: 210px;
    }

    .hero {
        min-height: auto;
        padding-top: 28px;
    }

    .hero-animation-wrapper {
        width: min(100%, 400px);
    }

    .logo-animation {
        width: 100%;
        max-height: 340px;
    }

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

@media (max-width: 820px) {
    .header-inner {
        min-height: 76px;
    }

    .brand-logo {
        width: 190px;
        max-height: 55px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .primary-navigation {
        position: fixed;
        top: 76px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 24px;
        padding: 40px 25px;
        visibility: hidden;
        opacity: 0;
        background: rgba(255, 255, 255, 0.985);
        transform: translateY(-12px);
        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .primary-navigation.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .primary-navigation a {
        font-family: var(--heading-font);
        font-size: 1.8rem;
        letter-spacing: 0;
        text-transform: none;
    }

    .primary-navigation .nav-contact {
        min-width: 180px;
        margin-top: 10px;
        padding: 13px 22px;
        text-align: center;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 80px 20px;
    }

    .hero {
        padding: 20px 20px 82px;
    }

    .hero-animation-wrapper {
        width: min(100%, 300px);
    }

    .logo-animation {
        width: 100%;
        max-height: 260px;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .scroll-cue {
        bottom: 14px;
    }

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

    .feature-card,
    .service-card {
        padding: 31px 25px;
    }

    .process-list::before {
        left: 23px;
    }

    .process-item {
        grid-template-columns: 47px 1fr;
        gap: 20px;
    }

    .process-marker {
        width: 47px;
        height: 47px;
        border-width: 5px;
        font-size: 1.1rem;
    }

    .brand-statement {
        padding: 80px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-content,
    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================================
   Refined homepage details and monitor portrait
   ========================================================= */

.hero-content {
    margin-top: -50px;
}

.about-preview {
    position: relative;
    overflow: hidden;
    padding-top: 125px;
    padding-bottom: 125px;
    background:
        radial-gradient(circle at 88% 16%, rgba(122, 149, 116, 0.13), transparent 27%),
        linear-gradient(135deg, #f7f6f2 0%, #fbfbf9 56%, #f2f5f0 100%);
}

.about-preview::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42));
    pointer-events: none;
}

.about-preview-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: clamp(60px, 8vw, 112px);
}

.about-preview-copy {
    max-width: 660px;
}

.about-preview-copy h2 {
    margin-bottom: 28px;
    font-size: clamp(2.8rem, 5vw, 4.55rem);
}

.about-preview-copy > p:not(.section-kicker) {
    max-width: 610px;
    color: #566069;
}

.about-preview-copy .about-lead {
    margin-bottom: 20px;
    color: #35414b;
    font-size: clamp(1.08rem, 1.7vw, 1.27rem);
    line-height: 1.75;
}

.about-trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 24px;
    max-width: 480px;
    margin: 35px 0 34px;
}

.about-trust-list span {
    position: relative;
    padding-left: 28px;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.about-trust-list span::before {
    content: "";
    position: absolute;
    top: 0.38em;
    left: 0;
    width: 14px;
    height: 8px;
    border-bottom: 2px solid var(--sage-dark);
    border-left: 2px solid var(--sage-dark);
    transform: rotate(-45deg);
}

.about-link {
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(30, 53, 87, 0.22);
}

.about-preview-portrait {
    width: min(100%, 455px);
    margin: 0 auto;
}

.portrait-frame {
    position: relative;
    padding: 13px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(30, 53, 87, 0.11);
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(30, 53, 87, 0.16);
}

.portrait-frame::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    bottom: 34px;
    left: 34px;
    z-index: -1;
    border: 1px solid rgba(122, 149, 116, 0.38);
    border-radius: 8px;
}

.portrait-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

.about-preview-portrait figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 23px 9px 0;
}

.about-preview-portrait figcaption strong {
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
}

.about-preview-portrait figcaption span {
    color: var(--warm-gray);
    font-size: 0.87rem;
}

.feature-card,
.service-card {
    border-radius: 7px;
}

.feature-card {
    box-shadow: 0 12px 32px rgba(30, 53, 87, 0.055);
}

.section-heading {
    margin-bottom: 64px;
}

@media (max-width: 1020px) {
    .about-preview-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
        gap: 52px;
    }

    .about-preview-copy h2 {
        font-size: clamp(2.65rem, 5vw, 3.8rem);
    }
}

@media (max-width: 820px) {
    .about-preview {
        padding-top: 95px;
        padding-bottom: 95px;
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .about-preview-copy {
        max-width: 680px;
    }

    .about-preview-portrait {
        width: min(100%, 430px);
    }
}

@media (max-width: 600px) {
    .hero-content {
        margin-top: 0;
    }

    .about-preview {
        padding-top: 78px;
        padding-bottom: 82px;
    }

    .about-preview-copy h2 {
        font-size: clamp(2.45rem, 12vw, 3.35rem);
    }

    .about-trust-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portrait-frame {
        padding: 9px;
    }

    .portrait-frame::before {
        top: -11px;
        right: -11px;
        bottom: 23px;
        left: 23px;
    }
}


/* =========================================================
   Peggy portrait — layered ivory and sage treatment
   ========================================================= */

.about-preview-portrait {
    position: relative;
    width: min(100%, 470px);
    margin: 0 auto;
    padding: 24px 22px 28px 18px;
}

.portrait-stack {
    --portrait-parallax: 0px;
    position: relative;
    isolation: isolate;
    width: 100%;
    transform: translate3d(0, var(--portrait-parallax), 0);
    will-change: transform;
}

.portrait-layer {
    position: absolute;
    border-radius: 8px;
    pointer-events: none;
}

.portrait-layer-sage {
    top: -20px;
    right: -20px;
    bottom: 38px;
    left: 38px;
    z-index: 0;
    background: #dfe8dc;
    border: 1px solid rgba(122, 149, 116, 0.42);
}

.portrait-layer-ivory {
    top: 18px;
    right: 28px;
    bottom: -24px;
    left: -18px;
    z-index: 1;
    background: #f4efe4;
    border: 1px solid rgba(30, 53, 87, 0.09);
    box-shadow: 0 22px 55px rgba(30, 53, 87, 0.10);
}

.portrait-stack .portrait-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 53, 87, 0.13);
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(30, 53, 87, 0.16);
}

.portrait-stack .portrait-frame::before {
    content: none;
}

.portrait-stack .portrait-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

.portrait-accent-line {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    width: 2px;
    background: var(--navy);
    opacity: 0.92;
}

.about-preview-portrait figcaption {
    display: none;
}

@media (max-width: 600px) {
    .about-preview-portrait {
        padding: 18px 14px 22px 12px;
    }

    .portrait-layer-sage {
        top: -13px;
        right: -13px;
        bottom: 27px;
        left: 27px;
    }

    .portrait-layer-ivory {
        top: 13px;
        right: 18px;
        bottom: -17px;
        left: -12px;
    }

    .portrait-stack .portrait-frame {
        padding: 9px;
    }

    .portrait-accent-line {
        top: 9px;
        bottom: 9px;
        left: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portrait-stack {
        transform: none !important;
    }
}


/* Premium Peggy redesign */
.peggy-scene{position:relative;width:100%;min-height:700px;display:flex;align-items:center;justify-content:center}
.shape{position:absolute;border-radius:56px;transition:transform .15s linear}
.shape-back{width:430px;height:600px;background:#efe9dd;transform:rotate(-10deg) translate(-45px,-25px);box-shadow:0 30px 80px rgba(0,0,0,.08)}
.shape-front{width:390px;height:560px;background:linear-gradient(160deg,#94a08d,#7d8d77);transform:rotate(8deg) translate(25px,18px);box-shadow:0 35px 90px rgba(0,0,0,.18)}
.peggy-photo{position:relative;z-index:10;width:min(440px,90%)}
.peggy-photo:before{content:"";position:absolute;left:-22px;top:70px;width:2px;height:170px;background:#1e3557}
.peggy-photo img{display:block;width:100%;height:auto;box-shadow:0 40px 90px rgba(0,0,0,.24);-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 84%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 84%,transparent 100%)}

/* =========================================================
   PEGGY PORTRAIT — GLASS SCREEN EFFECT
   ========================================================= */

.portrait-scene {
    position: relative;
    isolation: isolate;
    overflow: visible;
}


/* Peggy remains behind the glass */

.portrait-image-layer {
    position: relative;
    z-index: 2;
    will-change: transform;
}


/* Main glass panel */

.portrait-scene::before {
    content: "";

    position: absolute;

    top: 42px;
    right: 12px;
    bottom: 30px;
    left: 48px;

    z-index: 4;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 255, 255, 0.08) 42%,
            rgba(246, 242, 233, 0.18) 100%
        );

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

    box-shadow:
        0 28px 65px rgba(30, 53, 87, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    pointer-events: none;

    transform:
        translate3d(0, 0, 0);

    will-change: transform;
}


/* Thin interior highlight */

.portrait-scene::after {
    content: "";

    position: absolute;

    top: 58px;
    right: 28px;
    bottom: 46px;
    left: 64px;

    z-index: 5;

    border-top:
        1px solid rgba(255, 255, 255, 0.50);

    border-left:
        1px solid rgba(255, 255, 255, 0.22);

    pointer-events: none;

    opacity: 0.85;

    will-change: transform;
}


/* Remove the old paper and shadow layers */

.portrait-paper-layer,
.portrait-shadow-layer {
    opacity: 0;
    visibility: hidden;
}


/* Keep Peggy visible through the glass */

.portrait-image-layer img {
    position: relative;
    z-index: 2;

    border: 0;
    border-radius: 0;

    filter:
        contrast(1.015)
        saturate(0.96);

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            #000 91%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            #000 91%,
            transparent 100%
        );
}


/* Navy line remains architectural */

.portrait-divider {
    z-index: 7;

    width: 2px;

    background:
        linear-gradient(
            to bottom,
            #1e3557 0%,
            #1e3557 78%,
            transparent 100%
        );

    box-shadow:
        0 0 18px rgba(30, 53, 87, 0.14);
}


/* Moving reflected-light sweep */

.portrait-image-layer::after {
    content: "";

    position: absolute;

    top: -12%;
    left: -55%;

    z-index: 6;

    width: 34%;
    height: 125%;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 26%,
            rgba(255, 255, 255, 0.26) 50%,
            rgba(255, 255, 255, 0.06) 72%,
            transparent 100%
        );

    transform:
        skewX(-15deg);

    pointer-events: none;

    animation:
        portrait-glass-sweep 8s ease-in-out infinite;
}


@keyframes portrait-glass-sweep {

    0%,
    22% {
        left: -55%;
        opacity: 0;
    }

    30% {
        opacity: 0.65;
    }

    52% {
        left: 120%;
        opacity: 0.38;
    }

    58%,
    100% {
        left: 120%;
        opacity: 0;
    }
}


/* Very subtle floating motion */

.portrait-scene::before {
    animation:
        glass-panel-float 7s ease-in-out infinite alternate;
}

.portrait-scene::after {
    animation:
        glass-highlight-float 9s ease-in-out infinite alternate;
}


@keyframes glass-panel-float {

    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(-4px, 8px, 0);
    }
}


@keyframes glass-highlight-float {

    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(3px, -6px, 0);
    }
}


/* Mobile adjustments */

@media (max-width: 600px) {

    .portrait-scene::before {
        top: 28px;
        right: 4px;
        bottom: 22px;
        left: 28px;
    }

    .portrait-scene::after {
        top: 42px;
        right: 17px;
        bottom: 36px;
        left: 42px;
    }

    .portrait-image-layer::after {
        animation-duration: 9.5s;
    }
}


/* Reduced-motion accessibility */

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

    .portrait-scene::before,
    .portrait-scene::after,
    .portrait-image-layer::after {
        animation: none !important;
        transform: none !important;
    }
}

/* =========================================================
   ABOUT PEGGY — FINAL SURGICAL OVERRIDE
   Keeps the existing site intact and replaces only the
   portrait treatment and About-section typography.
   ========================================================= */

.about-preview {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 48%),
        #f7f4ec;
}

.about-preview::before {
    content: none;
}

.about-preview-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: clamp(46px, 6vw, 88px);
}

.about-preview-copy {
    max-width: 650px;
}

.about-preview-copy .section-kicker {
    margin-bottom: 20px;
}

.about-eyebrow {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-preview-copy h2 {
    max-width: 700px;
    margin-bottom: 34px;
    font-size: clamp(3.2rem, 5.7vw, 5.25rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.96;
}

.about-preview-copy > p:not(.section-kicker):not(.about-eyebrow) {
    max-width: 620px;
    color: #46515a;
}

.about-preview-copy .about-lead {
    color: #2f3c47;
    font-size: clamp(1.08rem, 1.55vw, 1.22rem);
    line-height: 1.75;
}

.about-link {
    margin-top: 10px;
}

.about-preview-portrait {
    position: relative;
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 0;
}

.portrait-scene {
    --portrait-parallax: 0px;
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 620px;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    transform: none;
}

/* Oversized, nearly invisible brand tree behind Peggy */
.portrait-scene::before {
    content: "";
    position: absolute;
    top: 2%;
    right: -10%;
    bottom: 4%;
    left: -12%;
    z-index: 0;
    background-image: url("images2/ffmlogowithouttext.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.075;
    filter: none;
    pointer-events: none;
    animation: none;
    transform: translate3d(0, calc(var(--portrait-parallax) * -0.18), 0);
}

.portrait-scene::after,
.portrait-paper-layer,
.portrait-shadow-layer,
.portrait-divider,
.portrait-image-layer::after {
    content: none;
    display: none;
}

.portrait-image-layer {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    margin: 0 auto;
    transform: translate3d(0, var(--portrait-parallax), 0) scale(1.01);
    transform-origin: center bottom;
    transition: filter 450ms ease;
    will-change: transform;
}

.portrait-image-layer img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 24px 30px rgba(30, 53, 87, 0.11));
    -webkit-mask-image: none;
    mask-image: none;
}

@media (max-width: 1020px) {
    .about-preview-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
        gap: 44px;
    }

    .portrait-scene {
        min-height: 560px;
    }
}

@media (max-width: 820px) {
    .about-preview-grid {
        grid-template-columns: 1fr;
    }

    .about-preview-copy {
        max-width: 680px;
    }

    .about-preview-portrait {
        width: min(100%, 520px);
    }

    .portrait-scene {
        min-height: 540px;
    }
}

@media (max-width: 600px) {
    .about-preview-copy h2 {
        font-size: clamp(3rem, 15vw, 4.15rem);
    }

    .portrait-scene {
        min-height: 440px;
    }

    .portrait-scene::before {
        right: -4%;
        left: -4%;
    }

    .portrait-image-layer {
        width: min(100%, 430px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .portrait-scene::before,
    .portrait-image-layer {
        transform: none !important;
    }
}
