/* MahilaBol — Amarpreet & Public Work page
   Scoped to body.about-page so it can be added without changing other pages. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

.about-page {
  --ap-magenta: #c31570;
  --ap-magenta-dark: #98104f;
  --ap-plum: #421032;
  --ap-plum-deep: #2b0a22;
  --ap-rose: #f8e8f1;
  --ap-rose-soft: #fff7fb;
  --ap-gold: #e7b34f;
  --ap-ink: #2e2530;
  --ap-muted: #6f6470;
  --ap-line: #eadde5;
  --ap-white: #ffffff;
  --ap-shell: 1180px;
  margin: 0;
  color: var(--ap-ink);
  background: var(--ap-white);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-page img { display: block; max-width: 100%; }
.about-page a { color: inherit; }
.about-page button, .about-page a { -webkit-tap-highlight-color: transparent; }
.about-page h1, .about-page h2, .about-page h3, .about-page p { margin-top: 0; }
.about-page h1, .about-page h2, .about-page h3 {
  color: var(--ap-plum);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
}

.ap-shell { width: min(calc(100% - 40px), var(--ap-shell)); margin-inline: auto; }
.ap-skip-link {
  position: fixed; z-index: 1000; left: 20px; top: 14px; transform: translateY(-180%);
  padding: 10px 16px; border-radius: 8px; color: var(--ap-white); background: var(--ap-plum);
  font-weight: 700; text-decoration: none; transition: transform .2s ease;
}
.ap-skip-link:focus { transform: translateY(0); }

.ap-header {
  position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(66,16,50,.09); backdrop-filter: blur(14px);
}
.ap-header__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ap-brand { flex: 0 0 auto; text-decoration: none; }
.ap-brand img { width: 126px; height: auto; }
.ap-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.ap-nav > a:not(.ap-button) {
  position: relative; padding: 12px 10px; color: #4c3a49; font-size: .91rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.ap-nav > a:not(.ap-button)::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--ap-magenta); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.ap-nav > a:hover::after, .ap-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.ap-nav > a[aria-current="page"] { color: var(--ap-magenta-dark); }
.ap-menu-button {
  display: none; align-items: center; gap: 10px; border: 0; color: var(--ap-plum); background: transparent;
  font: inherit; font-weight: 700; cursor: pointer;
}
.ap-menu-button__icon { width: 25px; display: grid; gap: 4px; }
.ap-menu-button__icon span { display: block; height: 2px; background: currentColor; border-radius: 10px; }

.ap-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 2px solid transparent; border-radius: 999px; font-size: .96rem;
  font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.ap-button:hover { transform: translateY(-2px); }
.ap-button:focus-visible, .ap-nav a:focus-visible, .ap-menu-button:focus-visible {
  outline: 3px solid rgba(195,21,112,.28); outline-offset: 3px;
}
.ap-button--solid { color: var(--ap-white); background: linear-gradient(135deg, var(--ap-magenta), var(--ap-magenta-dark)); box-shadow: 0 10px 22px rgba(152,16,79,.21); }
.ap-button--solid:hover { box-shadow: 0 14px 28px rgba(152,16,79,.27); }
.ap-button--outline { color: var(--ap-plum); border-color: rgba(66,16,50,.28); background: var(--ap-white); }
.ap-button--outline:hover { border-color: var(--ap-magenta); color: var(--ap-magenta-dark); }
.ap-button--outline-light { color: var(--ap-white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.ap-button--outline-light:hover { border-color: var(--ap-white); background: rgba(255,255,255,.12); }
.ap-button--small { min-height: 42px; margin-left: 8px; padding: 10px 18px; }

.ap-eyebrow {
  margin-bottom: 12px; color: var(--ap-magenta-dark); font-size: .76rem; font-weight: 800;
  letter-spacing: .14em; line-height: 1.3; text-transform: uppercase;
}
.ap-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 0%, var(--ap-rose-soft) 50%, #f2dae7 100%); }
.ap-hero::before {
  content: ""; position: absolute; inset: auto 0 0; height: 6px;
  background: linear-gradient(90deg, var(--ap-magenta), var(--ap-gold), var(--ap-plum));
}
.ap-hero__orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.ap-hero__orb--one { width: 410px; height: 410px; right: -180px; top: -170px; background: rgba(195,21,112,.09); }
.ap-hero__orb--two { width: 240px; height: 240px; left: 46%; bottom: -170px; background: rgba(231,179,79,.12); }
.ap-hero__grid { position: relative; z-index: 1; min-height: 680px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(330px,.72fr); align-items: center; gap: clamp(50px,8vw,105px); padding-block: 76px 86px; }
.ap-hero__copy { max-width: 690px; }
.ap-hero h1 { margin-bottom: 22px; font-size: clamp(3.4rem,7vw,6.3rem); letter-spacing: -.045em; }
.ap-hero__lead { max-width: 680px; margin-bottom: 18px; color: #4b3545; font-size: clamp(1.18rem,2vw,1.48rem); line-height: 1.5; }
.ap-hero__copy > p:not(.ap-eyebrow):not(.ap-hero__lead) { max-width: 640px; color: var(--ap-muted); font-size: 1.02rem; }
.ap-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ap-portrait-card { position: relative; width: min(100%,430px); justify-self: end; margin: 0; }
.ap-portrait-card::before {
  content: ""; position: absolute; inset: 24px -20px -22px 28px; z-index: -1; border-radius: 44% 44% 22px 22px;
  background: linear-gradient(145deg, var(--ap-magenta), var(--ap-plum)); opacity: .95;
}
.ap-portrait-card__frame { overflow: hidden; aspect-ratio: 4 / 5; border: 10px solid var(--ap-white); border-radius: 48% 48% 22px 22px; background: #ead8e2; box-shadow: 0 26px 60px rgba(66,16,50,.22); }
.ap-portrait-card__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.ap-portrait-card figcaption {
  position: absolute; left: -36px; right: 32px; bottom: 25px; padding: 18px 22px; border-left: 4px solid var(--ap-gold);
  border-radius: 5px 16px 16px 5px; color: var(--ap-white); background: rgba(43,10,34,.92); box-shadow: 0 14px 35px rgba(43,10,34,.25); backdrop-filter: blur(8px);
}
.ap-portrait-card figcaption span { display: block; margin-bottom: 4px; color: #f6c968; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ap-portrait-card figcaption strong { display: block; font-size: .98rem; line-height: 1.45; }

.ap-proof { position: relative; z-index: 2; color: var(--ap-white); background: var(--ap-plum); }
.ap-proof__grid { display: grid; grid-template-columns: repeat(3,1fr); }
.ap-proof article { min-height: 164px; display: grid; align-content: center; gap: 7px; padding: 28px 42px; border-right: 1px solid rgba(255,255,255,.14); }
.ap-proof article:last-child { border-right: 0; }
.ap-proof strong { color: #f6c968; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.85rem,3vw,2.7rem); line-height: 1; }
.ap-proof span { max-width: 250px; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.5; }

.ap-section { padding-block: 96px; }
.ap-section--light { background: #fffafd; }
.ap-section-heading { margin-bottom: 46px; }
.ap-section-heading h2, .ap-context-intro h2, .ap-cta h2 { margin-bottom: 16px; font-size: clamp(2.3rem,4.4vw,4rem); letter-spacing: -.035em; }
.ap-section-heading > p:last-child { color: var(--ap-muted); }
.ap-section-heading--split { display: grid; grid-template-columns: minmax(0,.95fr) minmax(320px,.75fr); align-items: end; gap: 80px; }
.ap-section-heading--split > p { margin-bottom: 12px; }
.ap-section-heading--center { max-width: 780px; margin-inline: auto; text-align: center; }

.ap-focus-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ap-focus-card { position: relative; overflow: hidden; min-height: 320px; padding: 38px 32px 32px; border: 1px solid var(--ap-line); border-radius: 20px; background: var(--ap-white); box-shadow: 0 12px 35px rgba(66,16,50,.06); }
.ap-focus-card::after { content: ""; position: absolute; inset: auto -20px -45px auto; width: 145px; height: 145px; border-radius: 50%; background: var(--ap-rose); opacity: .7; }
.ap-focus-card__number { display: inline-grid; width: 44px; height: 44px; place-items: center; margin-bottom: 42px; border-radius: 50%; color: var(--ap-magenta-dark); background: var(--ap-rose); font-weight: 800; }
.ap-focus-card h3 { position: relative; z-index: 1; margin-bottom: 14px; font-size: 1.55rem; }
.ap-focus-card p { position: relative; z-index: 1; margin-bottom: 0; color: var(--ap-muted); }

.ap-public-work { background: var(--ap-white); }
.ap-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ap-gallery-card { overflow: hidden; margin: 0; border: 1px solid var(--ap-line); border-radius: 18px; background: var(--ap-white); box-shadow: 0 14px 40px rgba(66,16,50,.08); transition: transform .25s ease, box-shadow .25s ease; }
.ap-gallery-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(66,16,50,.14); }
.ap-gallery-card__image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ap-rose); }
.ap-gallery-card__image::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent,rgba(43,10,34,.32)); pointer-events: none; }
.ap-gallery-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ap-gallery-card:hover img { transform: scale(1.035); }
.ap-gallery-card__tag { position: absolute; z-index: 2; left: 16px; bottom: 14px; padding: 7px 11px; border-radius: 999px; color: var(--ap-white); background: rgba(66,16,50,.88); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(5px); }
.ap-gallery-card figcaption { min-height: 178px; padding: 25px 26px 26px; }
.ap-gallery-card h3 { margin-bottom: 10px; font-size: 1.37rem; }
.ap-gallery-card p { margin-bottom: 0; color: var(--ap-muted); font-size: .94rem; line-height: 1.6; }
.ap-gallery-note { max-width: 880px; margin: 35px auto 0; padding: 18px 22px; border-left: 4px solid var(--ap-gold); border-radius: 0 12px 12px 0; color: #645560; background: #fff9eb; font-size: .88rem; }

.ap-section--plum { color: var(--ap-white); background: linear-gradient(145deg,var(--ap-plum-deep),var(--ap-plum)); }
.ap-context-grid { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(60px,9vw,120px); }
.ap-context-intro { position: sticky; top: 132px; align-self: start; }
.ap-context-intro .ap-eyebrow { color: #f6c968; }
.ap-context-intro h2 { color: var(--ap-white); }
.ap-context-intro p:last-child { color: rgba(255,255,255,.7); }
.ap-timeline { position: relative; }
.ap-timeline::before { content: ""; position: absolute; left: 88px; top: 12px; bottom: 12px; width: 1px; background: rgba(255,255,255,.22); }
.ap-timeline article { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 38px; padding: 0 0 43px; }
.ap-timeline article:last-child { padding-bottom: 0; }
.ap-timeline article::before { content: ""; position: absolute; left: 82px; top: 7px; width: 13px; height: 13px; border: 3px solid var(--ap-plum); border-radius: 50%; background: #f6c968; }
.ap-timeline span { padding-top: 1px; color: #f6c968; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.ap-timeline h3 { margin-bottom: 8px; color: var(--ap-white); font-family: "DM Sans",sans-serif; font-size: 1.1rem; }
.ap-timeline p { margin-bottom: 0; color: rgba(255,255,255,.7); font-size: .94rem; }

.ap-cta { padding-block: 78px; color: var(--ap-white); background: linear-gradient(120deg,var(--ap-magenta-dark),var(--ap-magenta)); }
.ap-cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 55px; }
.ap-cta .ap-eyebrow { color: #ffe2a5; }
.ap-cta h2 { max-width: 700px; margin-bottom: 12px; color: var(--ap-white); }
.ap-cta p:last-child { max-width: 680px; margin-bottom: 0; color: rgba(255,255,255,.82); }
.ap-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.ap-cta .ap-button--solid { color: var(--ap-magenta-dark); background: var(--ap-white); box-shadow: 0 12px 28px rgba(43,10,34,.2); }

.ap-footer { color: rgba(255,255,255,.76); background: #21071a; }
.ap-footer__top { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; padding-block: 66px 52px; }
.ap-footer__brand img { width: 118px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: .92; }
.ap-footer__brand p { max-width: 270px; color: var(--ap-white); font-family: "Fraunces",Georgia,serif; font-size: 1.22rem; line-height: 1.45; }
.ap-footer__links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.ap-footer__links h2 { margin-bottom: 17px; color: var(--ap-white); font-family: "DM Sans",sans-serif; font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; }
.ap-footer__links a { display: table; margin: 9px 0; color: rgba(255,255,255,.7); font-size: .9rem; text-decoration: none; }
.ap-footer__links a:hover { color: var(--ap-white); }
.ap-footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 20px 25px; border-top: 1px solid rgba(255,255,255,.11); font-size: .78rem; }
.ap-footer__bottom p { margin: 0; }

.ap-dialog { width: min(calc(100% - 32px),520px); padding: 0; border: 0; border-radius: 20px; color: var(--ap-ink); background: transparent; box-shadow: 0 30px 90px rgba(43,10,34,.38); }
.ap-dialog::backdrop { background: rgba(33,7,26,.72); backdrop-filter: blur(5px); }
.ap-dialog__panel { position: relative; margin: 0; padding: 36px; border-radius: 20px; background: var(--ap-white); }
.ap-dialog__panel h2 { margin-bottom: 14px; font-size: 1.8rem; }
.ap-dialog__panel > p:not(.ap-eyebrow) { color: var(--ap-muted); }
.ap-dialog__close { position: absolute; top: 13px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--ap-plum); background: var(--ap-rose); font-size: 1.45rem; cursor: pointer; }
.ap-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 26px; }

@media (max-width: 980px) {
  .ap-menu-button { display: inline-flex; }
  .ap-header__inner { min-height: 76px; }
  .ap-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 1px); display: none; padding: 16px; border: 1px solid var(--ap-line); border-radius: 0 0 18px 18px; background: var(--ap-white); box-shadow: 0 20px 45px rgba(66,16,50,.14); }
  .ap-nav.is-open { display: grid; }
  .ap-nav > a:not(.ap-button) { padding: 12px 10px; }
  .ap-nav > a:not(.ap-button)::after { bottom: 3px; }
  .ap-nav .ap-button { margin: 8px 0 0; }
  .ap-hero__grid { grid-template-columns: 1fr minmax(290px,.65fr); gap: 45px; }
  .ap-hero h1 { font-size: clamp(3.3rem,8vw,5rem); }
  .ap-section-heading--split { grid-template-columns: 1fr; gap: 12px; }
  .ap-focus-grid, .ap-gallery { grid-template-columns: repeat(2,1fr); }
  .ap-focus-card { min-height: 285px; }
  .ap-context-grid { grid-template-columns: 1fr; gap: 50px; }
  .ap-context-intro { position: static; max-width: 680px; }
  .ap-cta__inner { grid-template-columns: 1fr; gap: 30px; }
  .ap-cta__actions { justify-content: flex-start; }
  .ap-footer__top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  .ap-shell { width: min(calc(100% - 28px),var(--ap-shell)); }
  .ap-brand img { width: 110px; }
  .ap-hero__grid { min-height: auto; grid-template-columns: 1fr; gap: 55px; padding-block: 55px 78px; }
  .ap-hero__copy { text-align: left; }
  .ap-hero h1 { font-size: clamp(3.1rem,16vw,4.7rem); }
  .ap-hero__actions { display: grid; }
  .ap-hero__actions .ap-button { width: 100%; }
  .ap-portrait-card { width: min(91%,410px); justify-self: center; }
  .ap-portrait-card figcaption { left: -12px; right: 14px; bottom: 18px; }
  .ap-proof__grid { grid-template-columns: 1fr; }
  .ap-proof article { min-height: 130px; padding: 25px 24px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .ap-proof article:last-child { border-bottom: 0; }
  .ap-section { padding-block: 70px; }
  .ap-section-heading { margin-bottom: 32px; }
  .ap-focus-grid, .ap-gallery { grid-template-columns: 1fr; }
  .ap-focus-card { min-height: 270px; }
  .ap-focus-card__number { margin-bottom: 34px; }
  .ap-gallery-card figcaption { min-height: auto; }
  .ap-timeline::before { left: 12px; }
  .ap-timeline article { grid-template-columns: 1fr; gap: 6px; padding: 0 0 40px 42px; }
  .ap-timeline article::before { left: 6px; }
  .ap-timeline span { padding: 0; }
  .ap-cta { padding-block: 64px; }
  .ap-cta__actions { display: grid; }
  .ap-footer__links { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ap-footer__bottom { flex-direction: column; gap: 7px; }
  .ap-dialog__panel { padding: 32px 24px 24px; }
  .ap-dialog__actions { display: grid; }
}

@media (max-width: 460px) {
  .ap-menu-button__label { display: none; }
  .ap-portrait-card::before { inset: 18px -10px -15px 20px; }
  .ap-footer__links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *, .about-page *::before, .about-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
