
/* =========================================
   ABOUT PAGE — MOHAMMAD MUSHIR ALAM SHAIKH
   Standalone stylesheet
========================================= */

/* 1. Design system */

:root {
  --navy: #101b2b;
  --navy-light: #19283c;
  --cream: #f7f5ef;
  --white: #ffffff;
  --gold: #c8a96b;
  --gold-light: #e4d2a5;
  --text: #242c36;
  --muted: #737984;
  --border: rgba(16, 27, 43, 0.12);
  --container: 1200px;
  --transition: 220ms ease;
}

/* 2. Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  color: var(--navy);
  background: var(--gold-light);
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  top: 20px;
}

/* 3. Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-container {
  width: min(1320px, calc(100% - 64px));
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold-light);
  background: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 27px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.brand-text strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2.2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav > a {
  position: relative;
  color: #555d68;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
}

.primary-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav > a:hover,
.primary-nav > a.active {
  color: var(--navy);
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
}

.primary-nav .nav-contact {
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  transition:
    background var(--transition),
    color var(--transition);
}

.nav-contact span {
  margin-left: 8px;
  color: var(--gold-light);
}

.primary-nav .nav-contact:hover {
  color: var(--navy);
  background: var(--gold-light);
}

.primary-nav .nav-contact:hover span {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--navy);
  transition: transform var(--transition);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* 4. Shared section elements */

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #737984;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 1.15;
}

h1,
h2 {
  letter-spacing: -1.2px;
}

h1 span,
h2 span {
  display: block;
  color: var(--gold);
}

/* 5. Hero */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 105px;
  background:
    radial-gradient(
      ellipse at 90% 45%,
      rgba(200, 169, 107, 0.12),
      transparent 40%
    ),
    var(--navy);
}

.about-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.045);
  content: "";
  pointer-events: none;
}

.about-hero .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 65px;
  color: #b9c0ca;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 85px;
}

.hero-copy {
  max-width: 650px;
}

.hero-kicker {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 660px;
  color: var(--white);
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.12;
}

.hero-copy h1 span {
  margin-top: 8px;
  color: var(--gold-light);
}

.hero-description {
  max-width: 510px;
  margin-top: 28px;
  color: #c0c7d0;
  font-size: 15px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 9px;
  color: var(--white);
  border-bottom: 1px solid rgba(200, 169, 107, 0.65);
  font-size: 13px;
  transition: gap var(--transition);
}

.text-link:hover {
  gap: 26px;
}

.text-link span {
  color: var(--gold-light);
}

/* 6. Monogram visual */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

.visual-frame {
  position: relative;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(228, 210, 165, 0.36);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      transparent 55%
    ),
    #17263a;
}

.visual-frame::before,
.visual-frame::after {
  position: absolute;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(200, 169, 107, 0.18);
  content: "";
  transform: rotate(45deg);
}

.visual-frame::before {
  top: 90px;
  right: -55px;
}

.visual-frame::after {
  bottom: 70px;
  left: -55px;
}

.visual-topline,
.visual-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #aab4c0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.monogram {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  place-items: center;
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: clamp(150px, 20vw, 245px);
  line-height: 1;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.visual-caption {
  justify-content: flex-start;
  color: #e0e3e8;
  font-size: 10px;
  letter-spacing: 0.7px;
}

.caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.visual-note {
  position: absolute;
  right: -24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--navy);
  background: var(--gold-light);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
  font-size: 11px;
  font-weight: 600;
}

.note-symbol {
  font-size: 20px;
}

/* 7. Story */

.section-light {
  background: var(--cream);
}

.story-section {
  padding: 120px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.story-grid > .section-label {
  align-self: start;
  padding-top: 12px;
}

.section-label span:first-child {
  color: var(--gold);
}

.story-content {
  max-width: 760px;
}

.story-content h2,
.section-heading h2,
.approach-heading h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.1vw, 54px);
}

.story-content h2 span,
.section-heading h2 span,
.approach-heading h2 span {
  color: #b49456;
}

.story-content p {
  margin-top: 22px;
  color: #656c76;
  font-size: 14px;
  line-height: 2;
}

.story-content .story-lead {
  margin-top: 28px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.8;
}

/* 8. Pillars */

.pillars-section {
  padding: 110px 0 120px;
  background: #eeece5;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

.section-heading .section-label {
  margin-bottom: 25px;
}

.section-heading > p {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  position: relative;
  display: flex;
  min-height: 350px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid rgba(16, 27, 43, 0.1);
  background: var(--cream);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 169, 107, 0.65);
  box-shadow: 0 20px 50px rgba(16, 27, 43, 0.07);
}

.pillar-featured {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.pillar-number {
  color: #858b94;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.pillar-featured .pillar-number {
  color: var(--gold-light);
}

.pillar-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 35px 0 25px;
  color: var(--navy);
  border: 1px solid rgba(200, 169, 107, 0.6);
  font-family: "Playfair Display", serif;
  font-size: 23px;
}

.pillar-featured .pillar-icon {
  color: var(--gold-light);
  border-color: rgba(228, 210, 165, 0.45);
}

.pillar-card h3 {
  color: var(--navy);
  font-size: 25px;
}

.pillar-featured h3 {
  color: var(--white);
}

.pillar-card > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.pillar-featured > p {
  color: #c0c7d0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 25px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.card-link span {
  color: #b49456;
  transition: transform var(--transition);
}

.card-link:hover span {
  transform: translate(3px, -3px);
}

.pillar-featured .card-link {
  color: var(--white);
}

/* 9. Approach */

.approach-section {
  padding: 120px 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.approach-heading .section-label {
  margin-bottom: 28px;
}

.approach-heading > p {
  max-width: 390px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.approach-list {
  border-top: 1px solid var(--border);
}

.approach-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.approach-index {
  padding-top: 3px;
  color: #b49456;
  font-family: "Playfair Display", serif;
  font-size: 19px;
}

.approach-item h3 {
  color: var(--navy);
  font-size: 22px;
}

.approach-item p {
  max-width: 480px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

/* 10. Call to action */

.about-cta {
  padding: 85px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(200, 169, 107, 0.13),
      transparent 32%
    ),
    var(--navy);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-eyebrow {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.cta-copy h2 {
  margin-top: 20px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 50px);
}

.cta-copy h2 span {
  color: var(--gold-light);
}

.cta-copy > p {
  max-width: 510px;
  margin-top: 18px;
  color: #c0c7d0;
  font-size: 13px;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-width: 200px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 18px;
  font-size: 11px;
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.button-light {
  color: var(--navy);
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button-outline:hover {
  color: var(--navy);
  border-color: var(--gold-light);
  background: var(--gold-light);
}

/* 11. Footer */

.site-footer {
  color: var(--white);
  background: #0b1421;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.footer-brand .brand-mark {
  color: var(--navy);
  background: var(--gold-light);
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: #aab4c0;
}

.footer-message {
  color: #aab4c0;
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a,
.footer-bottom a {
  color: #c0c7d0;
  font-size: 10px;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #8e99a7;
  font-size: 10px;
}

.powered-by {
  text-align: center;
}

.powered-by a {
  color: var(--gold-light);
  font-weight: 700;
}

.powered-by a:hover {
  color: var(--white);
}

/* 12. Tablet */

@media (max-width: 1050px) {
  .header-container {
    width: calc(100% - 40px);
  }

  .primary-nav {
    gap: 18px;
  }

  .hero-grid {
    gap: 45px;
  }

  .visual-frame {
    min-height: 400px;
  }

  .story-grid,
  .approach-grid {
    gap: 60px;
  }

  .pillar-card {
    padding: 24px;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}

/* 13. Mobile navigation */

@media (max-width: 900px) {
  .header-container {
    min-height: 76px;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 0;
    z-index: 1001;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 25px 24px 40px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav > a {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .primary-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .primary-nav .nav-contact {
    margin-top: 20px;
    padding: 16px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 6vw, 60px);
  }

  .visual-frame {
    min-height: 340px;
    padding: 18px;
  }

  .story-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-grid > .section-label {
    padding-top: 0;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-card:last-child {
    grid-column: 1 / -1;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 35px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button {
    flex: 1;
  }
}

/* 14. Small mobile */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-container {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }

  .brand-text strong {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .about-hero {
    padding: 40px 0 75px;
  }

  .about-hero .eyebrow {
    margin-bottom: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-visual {
    width: calc(100% - 12px);
    max-width: 400px;
    justify-self: center;
  }

  .visual-frame {
    min-height: 350px;
  }

  .monogram {
    font-size: 180px;
  }

  .visual-note {
    right: -8px;
    bottom: 20px;
    padding: 12px 14px;
    font-size: 10px;
  }

  .story-section,
  .approach-section {
    padding: 75px 0;
  }

  .story-content h2,
  .section-heading h2,
  .approach-heading h2 {
    font-size: 37px;
  }

  .story-content .story-lead {
    font-size: 17px;
  }

  .story-content p {
    font-size: 13px;
  }

  .pillars-section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pillar-card,
  .pillar-card:last-child {
    grid-column: auto;
    min-height: 315px;
    padding: 26px;
  }

  .pillar-icon {
    margin: 28px 0 22px;
  }

  .approach-item {
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding: 23px 0;
  }

  .approach-item h3 {
    font-size: 20px;
  }

  .about-cta {
    padding: 70px 0;
  }

  .cta-copy h2 {
    font-size: 36px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    flex: auto;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .footer-nav {
    gap: 15px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom p {
    line-height: 1.8;
  }

  .powered-by {
    text-align: left;
  }
}

/* 15. Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
