.page-about { background: var(--fama-white, #fff); }
.page-about h1,
.page-about h2,
.page-about h3 { font-weight: 800; letter-spacing: -.035em; }
.qs-kicker { margin: 0 0 14px; color: #e2a500; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.qs-line { display: block; width: 42px; height: 3px; margin-bottom: 16px; border-radius: 99px; background: #e2a500; }

.qs-hero { position: relative; display: flex; align-items: stretch; overflow: hidden; color: #fff; background: linear-gradient(110deg, #101d35 0%, #152743 70%, #1b3154 100%); padding-top: 0; padding-bottom: 0; }
.qs-hero__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 36% 70% at 78% 58%, rgba(226,165,0,.16), transparent 70%); pointer-events: none; }
.qs-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; gap: 40px; padding-block: 0; }
.qs-hero__copy { align-self: center; max-width: 560px; padding-block: 48px; }
.qs-hero h1 { margin: 0 0 14px; max-width: 12em; color: #fff; font-size: clamp(34px, 3.1vw, 46px); line-height: 1.08; }
.qs-lead { max-width: 520px; margin: 0; color: #d7deea; font-size: 16px; font-weight: 500; line-height: 1.6; }
.qs-hero__visual { position: relative; display: flex; align-items: flex-end; justify-content: center; align-self: end; min-width: 0; margin: 0; padding: 0; line-height: 0; }
.qs-hero__visual img { position: relative; z-index: 1; display: block; width: 100%; max-width: 560px; height: auto; margin: 0; padding: 0; border: 0; object-fit: contain; object-position: bottom center; }
.qs-orbit { position: absolute; border: 1.5px solid rgba(226,165,0,.45); border-radius: 50%; pointer-events: none; }
.qs-orbit--one { width: min(280px, 70%); aspect-ratio: 1; height: auto; right: 8%; top: 8%; }
.qs-orbit--two { width: min(190px, 48%); aspect-ratio: 1; height: auto; right: 18%; top: 24%; border-color: rgba(226,165,0,.2); }
@media (min-width: 901px) {
  .qs-hero { min-height: 440px; padding-bottom: 0; }
}

.qs-story { padding: clamp(64px, 7vw, 108px) 0; background: #fff; }
.qs-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.qs-story__photo { margin: 0; width: 100%; height: clamp(350px, 32vw, 440px); border-radius: 24px; overflow: hidden; }
.qs-story__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.qs-story h2 { margin: 0 0 16px; color: #101d35; font-size: clamp(32px, 3vw, 46px); }
.qs-story p { margin: 0 0 16px; color: #667085; font-size: 16px; line-height: 1.75; }
.qs-story p:last-child { margin-bottom: 0; }

.qs-purpose { padding: clamp(64px, 7vw, 108px) 0; background: #f7f8fa; }
.qs-heading { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.qs-heading h2 { margin: 0 0 12px; color: #101d35; font-size: clamp(32px, 3vw, 46px); }
.qs-heading p:last-child { margin: 0 auto; max-width: 520px; color: #667085; }
.qs-purpose .qs-kicker { margin-bottom: 10px; }
.qs-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.qs-card { display: flex; flex-direction: column; height: 100%; padding: 32px 30px; background: #fff; border: 1px solid #e7eaf0; border-radius: 18px; box-shadow: 0 8px 22px rgba(16, 29, 53, .05); transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s; }
.qs-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(16, 29, 53, .08); }
.qs-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: #fff6df; color: #e2a500; }
.qs-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.qs-card h3 { margin: 0 0 8px; color: #101d35; font-size: 20px; }
.qs-card p { margin: 0; color: #667085; font-size: 15px; line-height: 1.7; }

.qs-people { padding: clamp(64px, 7vw, 108px) 0; background: #fff; }
.qs-people__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.qs-person { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 22px; align-items: center; min-height: 100%; padding: 22px; background: #fffdf8; border: 1px solid #e7eaf0; border-radius: 24px; box-shadow: 0 12px 30px rgba(16, 29, 53, .05); transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s; }
.qs-person:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(16, 29, 53, .1); }
.qs-person__mark { display: grid; place-items: center; width: 148px; height: 176px; border-radius: 18px; background: #101d35; color: #e2a500; font-size: 36px; font-weight: 800; overflow: hidden; }
.qs-person__mark img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.qs-person h3 { margin: 0 0 6px; color: #101d35; font-size: 26px; }
.qs-person__role { margin: 0 0 10px; color: #667085; font-size: 14px; font-weight: 600; }
.qs-person__body p:last-child { margin: 0; color: #243047; font-size: 15px; line-height: 1.65; }
.qs-arrow { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #e2a500; color: #101d35; cursor: pointer; transition: background .28s, transform .28s; }
.qs-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .28s; }
.qs-person:hover .qs-arrow { background: #f2d78a; }
.qs-person:hover .qs-arrow svg { transform: translateX(4px); }

.about-final-cta {
    --cta-outer-bg: #F9F6F0;
    --cta-card-bg: #F8ECD8;
    --cta-title-color: #14243C;
    --cta-description-color: #344054;
    --cta-accent-color: #E2A500;
    --cta-button-bg: #E8A500;
    --cta-button-text: #14243C;
    --cta-button-hover: #D39900;
    --cta-decoration-color: #DDB66A;
    width: 100%;
    padding: 52px 0;
    background: var(--cta-outer-bg);
}
.about-final-cta__card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    min-height: 172px;
    padding: 32px clamp(32px, 5.6vw, 80px);
    background: var(--cta-card-bg);
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}
.about-final-cta__content { position: relative; z-index: 1; min-width: 0; }
.about-final-cta__content h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--cta-title-color);
}
.about-final-cta__line {
    display: block;
    width: 48px;
    height: 3px;
    margin: 12px 0 18px;
    background: var(--cta-accent-color);
    border-radius: 3px;
}
.about-final-cta__content p {
    max-width: 600px;
    margin: 0;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--cta-description-color);
}
.about-final-cta__action {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.about-final-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 15px 30px;
    background: var(--cta-button-bg);
    color: var(--cta-button-text);
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 250ms ease, transform 250ms ease;
}
.about-final-cta__button svg { flex-shrink: 0; transition: transform 250ms ease; }
.about-final-cta__button:hover { background: var(--cta-button-hover); color: var(--cta-button-text); }
.about-final-cta__button:hover svg { transform: translateX(4px); }
.about-final-cta__button:focus-visible { outline: 3px solid #14243C; outline-offset: 4px; }
.about-final-cta__decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 39%;
    height: 100%;
    color: var(--cta-decoration-color);
    opacity: 0.30;
    z-index: 0;
    pointer-events: none;
}

.profile-overlay { position: fixed; inset: 0; background: rgba(16, 29, 53, .55); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; z-index: 1000; }
.profile-overlay.is-open { opacity: 1; visibility: visible; }
.profile-drawer { position: fixed; top: 0; right: 0; width: min(540px, 100%); height: 100dvh; display: flex; flex-direction: column; background: #fff; box-shadow: -16px 0 40px rgba(16, 29, 53, .16); transform: translateX(100%); transition: transform .42s cubic-bezier(.22,1,.36,1); z-index: 1001; }
.profile-drawer.is-open { transform: translateX(0); }
.profile-drawer__bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #e7eaf0; }
.profile-drawer__bar p { margin: 0; color: #667085; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #243047; font-size: 26px; line-height: 1; cursor: pointer; }
.profile-drawer__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 22px; }
.profile-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #e7eaf0; }
.profile-portrait { display: grid; place-items: center; width: 112px; height: 132px; border-radius: 16px; background: #101d35; color: #e2a500; font-size: 32px; font-weight: 800; overflow: hidden; }
.profile-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.profile-head h2 { margin: 0 0 6px; color: #101d35; font-size: 26px; }
.profile-head p { margin: 0; color: #667085; font-size: 14px; }
.profile-block { margin: 0 0 20px; }
.profile-block h3 { margin: 0 0 8px; color: #101d35; font-size: 16px; }
.profile-block p, .profile-block li { color: #243047; font-size: 15px; line-height: 1.65; }
.profile-block ul { margin: 0; padding-left: 18px; }
.profile-block li + li { margin-top: 8px; }
.profile-drawer__nav { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px 18px; border-top: 1px solid #e7eaf0; }
.profile-drawer__nav button { border: 1px solid #e7eaf0; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; color: #101d35; cursor: pointer; }
body.profile-lock { overflow: hidden; }

.js-motion .reveal-up, .js-motion .reveal-left, .js-motion .reveal-right { opacity: 0; transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); transition-delay: var(--delay, 0ms); }
.js-motion .reveal-up { transform: translateY(20px); }
.js-motion .qs-card.reveal-up { transition-duration: .7s; }
.js-motion .reveal-left { transform: translateX(-28px); }
.js-motion .reveal-right { transform: translateX(28px); }
.js-motion .is-visible { opacity: 1; transform: none; }
.js-motion .qs-card.is-visible:hover { transform: translateY(-4px); }
.qs-hero [data-motion] { animation: qs-in .75s cubic-bezier(.22,1,.36,1) both; }
.qs-hero [data-motion="title"] { animation-delay: .08s; }
.qs-hero [data-motion="text"] { animation-delay: .18s; }
.qs-hero [data-motion="photo"] { animation-name: qs-photo; animation-delay: .12s; }
@keyframes qs-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes qs-photo { from { opacity: 0; transform: translateX(25px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .qs-pillars { grid-template-columns: 1fr 1fr; }
  .qs-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .qs-hero { min-height: 0; max-height: none; padding-top: 32px; padding-bottom: 0; }
  .qs-hero__grid, .qs-story__grid, .qs-people__grid { grid-template-columns: 1fr; }
  .qs-hero__grid { gap: 16px; }
  .qs-hero__copy { padding: 8px 0 20px; }
  .qs-hero__visual img { width: min(100%, 420px); max-height: none; }
  .qs-story__photo { height: auto; aspect-ratio: 16 / 10; }
  .qs-story__photo img { height: 100%; }
  .qs-person { grid-template-columns: 96px minmax(0, 1fr); }
  .qs-person__mark { width: 96px; height: 120px; }
  .qs-arrow { grid-column: 2; width: 46px; height: 46px; }
}
@media (max-width: 700px) {
  .qs-pillars { grid-template-columns: 1fr; }
  .qs-card:last-child { grid-column: auto; }
}
@media (max-width: 390px) {
  .profile-drawer__body, .profile-drawer__bar, .profile-drawer__nav { padding-left: 20px; padding-right: 20px; }
  .qs-hero h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .qs-hero [data-motion], .js-motion .reveal-up, .js-motion .reveal-left, .js-motion .reveal-right { animation: none; opacity: 1; transform: none; transition: none; }
  .profile-drawer, .profile-overlay { transition: none; }
  .about-final-cta__button,
  .about-final-cta__button svg { transition: none; }
  .about-final-cta__button:hover svg { transform: none; }
}
@media (max-width: 1024px) {
  .about-final-cta { padding: 40px 0; }
  .about-final-cta__card { padding: 32px 36px; gap: 28px; }
  .about-final-cta__content h2 { font-size: 34px; }
  .about-final-cta__content p { font-size: 17px; }
}
@media (max-width: 767px) {
  .about-final-cta { padding: 28px 0; }
  .about-final-cta__card {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 24px;
    padding: 28px 24px;
    border-radius: 16px;
  }
  .about-final-cta__content h2 { font-size: clamp(27px, 7vw, 32px); }
  .about-final-cta__content p { font-size: 16px; line-height: 1.6; }
  .about-final-cta__line { margin: 12px 0 16px; }
  .about-final-cta__action { justify-content: flex-start; }
  .about-final-cta__button {
    min-height: 50px;
    max-width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    white-space: normal;
  }
  .about-final-cta__decoration { width: 65%; opacity: 0.20; }
}
