/* =====================================
   ABOUT PAGE — DESIGN TOKENS
===================================== */

:root {
  --about-max-width: 1220px;
  --about-page-padding: 32px;

  --about-gold: #a57537;
  --about-gold-deep: #7a5528;
  --about-gold-soft: rgba(165, 117, 55, 0.12);
  --about-gold-line: rgba(165, 117, 55, 0.28);

  --about-text-main: #11100f;
  --about-text-muted: rgba(25, 22, 19, 0.68);
  --about-text-soft: rgba(25, 22, 19, 0.46);

  --about-surface: rgba(255, 255, 255, 0.78);
  --about-surface-strong: rgba(255, 255, 255, 0.92);
  --about-surface-warm: rgba(248, 244, 236, 0.76);

  --about-border: rgba(92, 70, 42, 0.14);
  --about-border-strong: rgba(92, 70, 42, 0.24);

  --about-radius-xl: 10px;
  --about-radius-lg: 8px;
  --about-radius-md: 6px;
  --about-radius-pill: 999px;

  --about-shadow-soft: 0 12px 30px rgba(25, 20, 14, 0.065);
  --about-shadow-card: 0 6px 18px rgba(25, 20, 14, 0.05);
  --about-shadow-hover: 0 10px 28px rgba(25, 20, 14, 0.075);

  --about-dark-bg: #040403;
  --about-dark-surface: rgba(11, 10, 9, 0.96);
  --about-dark-surface-soft: rgba(17, 14, 11, 0.94);
  --about-dark-border: rgba(212, 173, 115, 0.18);
  --about-dark-border-strong: rgba(212, 173, 115, 0.34);
  --about-dark-text: rgba(255, 248, 236, 0.96);
  --about-dark-muted: rgba(245, 238, 224, 0.72);
  --about-dark-soft: rgba(224, 209, 184, 0.52);
}

/* =====================================
   ABOUT PAGE — RESET + BASE
===================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  color: var(--about-text-main);
  overflow-x: hidden;

  background:
    radial-gradient(circle at 75% 12%, rgba(165, 117, 55, 0.045), transparent 28%),
    radial-gradient(circle at 16% 76%, rgba(165, 117, 55, 0.026), transparent 32%),
    linear-gradient(
      180deg,
      #f8f4ec 0%,
      #f3eadc 50%,
      #f8f4ec 100%
    ) !important;
}

body::after {
  display: none;
}

.about-page {
  width: 100%;
  max-width: var(--about-max-width);
  margin: 82px auto 78px;
  padding: 0 var(--about-page-padding);
}

/* =====================================
   HERO — OUTER REPORT FRAME
===================================== */

.about-hero {
  display: grid;
  grid-template-columns: 372px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;

  overflow: hidden;
  border-radius: var(--about-radius-xl);
  border: 1px solid var(--about-border);
  background: rgba(255, 255, 255, 0.50);
  box-shadow: var(--about-shadow-soft);
}

/* =====================================
   HERO — PORTRAIT CARD
===================================== */

.about-portrait-card {
  position: relative;
  overflow: hidden;

  min-height: 548px;
  border-radius: 0;

  background: #111;
  border: none;
  border-right: 1px solid rgba(92, 70, 42, 0.14);
  box-shadow: none;
}

.about-portrait-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;

  height: 50%;

  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 25%,
      rgba(0, 0, 0, 0.45) 65%,
      rgba(0, 0, 0, 0.88) 100%
    );

  pointer-events: none;
}

.about-portrait-card::after {
  content: none;
}

.about-portrait {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 10%;

  transform: none;
  transform-origin: center center;

  image-rendering: auto;
  backface-visibility: hidden;

  filter:
    brightness(1.05)
    contrast(1.06)
    saturate(1.02);
}

.about-portrait-overlay {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;

  color: #fff;
}

.about-portrait-overlay h1 {
  margin-bottom: 7px;

  color: rgba(255, 248, 236, 0.98);
  font-size: 25px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.about-portrait-overlay > p {
  margin-bottom: 22px;

  color: var(--about-gold);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-portrait-list {
  display: grid;
  gap: 13px;
  list-style: none;
}

.about-portrait-list li {
  position: relative;
  padding-left: 24px;

  color: rgba(255, 248, 236, 0.88);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 750;
}

.about-portrait-list li::before {
  content: "◆";
  position: absolute;
  top: 0;
  left: 0;

  color: var(--about-gold);
  font-size: 9px;
  line-height: 1.4;
}

/* =====================================
   HERO — COPY
===================================== */

.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  max-width: none;
  padding: 42px 44px 0;
}

.about-kicker {
  display: block;
  margin-bottom: 13px;

  color: var(--about-gold-deep);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.about-hero-copy h2 {
  max-width: 650px;
  margin-bottom: 18px;

  color: var(--about-text-main);
  font-size: clamp(38px, 3.4vw, 54px);
  line-height: 1.03;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.about-hero-copy h2 span,
.about-hero-copy h2 strong {
  display: block;
}

.about-hero-copy h2 strong {
  color: var(--about-gold-deep);
  font-weight: 820;
}

.about-rule {
  width: 54px;
  height: 2px;
  margin: 0 0 22px;

  background: var(--about-gold);
  border-radius: 0;
}

.about-hero-copy > p {
  max-width: 620px;
  margin-bottom: 13px;

  color: var(--about-text-muted);
  font-size: 14.5px;
  line-height: 1.58;
  font-weight: 600;
}

.about-hero-copy > p:last-of-type {
  margin-bottom: 0;
}

/* =====================================
   HERO — PRINCIPLES STRIP
===================================== */

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;
  max-width: 640px;

  margin: 30px 0 0;
  padding: 22px 0 18px;

  background: transparent;
  border: none;
  border-top: 1px solid rgba(122, 85, 40, 0.16);
  box-shadow: none;
}

.about-principles div {
  position: relative;
  min-height: 76px;
  padding: 2px 24px 0;
}

.about-principles div:first-child {
  padding-left: 0;
}

.about-principles div:last-child {
  padding-right: 0;
}

.about-principles div + div {
  border-left: 1px solid rgba(122, 85, 40, 0.12);
}

.about-principles span {
  display: block;
  margin-bottom: 10px;

  color: var(--about-gold-deep);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
}

.about-principles strong {
  display: block;
  margin-bottom: 7px;

  color: var(--about-text-main);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-principles p {
  max-width: 155px;

  color: var(--about-text-muted);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 600;
}

/* =====================================
   DARK MODE — PRINCIPLES STRIP
===================================== */

body.dark-mode .about-principles {
  border-top-color: rgba(212, 173, 115, 0.2);
}

body.dark-mode .about-principles div + div {
  border-left-color: rgba(212, 173, 115, 0.16);
}

body.dark-mode .about-principles span {
  color: var(--about-gold);
}

body.dark-mode .about-principles strong {
  color: var(--about-dark-text);
}

body.dark-mode .about-principles p {
  color: var(--about-dark-muted);
}

/* =====================================
   ABOUT + RESEARCH — REPORT BODY
===================================== */

.about-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 0;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto 42px;
  padding: 0;

  overflow: hidden;
  border-radius: 0 0 var(--about-radius-xl) var(--about-radius-xl);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--about-border);
  border-top: none;
  box-shadow: var(--about-shadow-card);
  backdrop-filter: none;
}

.about-main-copy {
  padding: 38px 44px 42px;
  border-right: 1px solid rgba(92, 70, 42, 0.14);
}

.about-main-copy h3,
.about-research-panel h3 {
  margin-bottom: 22px;

  color: var(--about-text-main);
  font-size: 23px;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.about-main-copy p {
  max-width: 520px;
  margin-bottom: 16px;

  color: var(--about-text-muted);
  font-size: 13.5px;
  line-height: 1.68;
  font-weight: 600;
}

.about-main-copy p:last-child {
  margin-bottom: 0;
}

/* =====================================
   RESEARCH PANEL
===================================== */

.about-research-panel {
  padding: 38px 44px 42px;
  border-left: none;
}

.research-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: start;

  padding: 15px 0;
  border-bottom: 1px solid rgba(92, 70, 42, 0.14);
}

.research-row:first-of-type {
  padding-top: 0;
}

.research-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.research-row > span {
  color: var(--about-gold-deep);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.research-row strong {
  display: block;
  margin-bottom: 5px;

  color: var(--about-text-main);
  font-size: 13px;
  font-weight: 850;
}

.research-row p {
  color: var(--about-text-muted);
  font-size: 12.5px;
  line-height: 1.48;
  font-weight: 600;
}

/* =====================================
   CREDENTIALS
===================================== */

.about-credentials {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.about-section-heading {
  display: grid;
  justify-items: center;
  gap: 10px;

  margin-bottom: 22px;
  text-align: center;
}

.about-section-heading h3 {
  color: var(--about-text-main);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.about-section-heading span {
  width: 48px;
  height: 2px;

  background: var(--about-gold);
  border-radius: 0;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.credential-card {
  min-height: 168px;
  padding: 22px 20px;

  border-radius: var(--about-radius-lg);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--about-border);
  box-shadow: none;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.credential-card:hover {
  transform: translateY(-2px);
  border-color: var(--about-border-strong);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.credential-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  margin-bottom: 22px;

  color: var(--about-gold-deep);
  font-size: 18px;
  font-weight: 850;

  border-radius: var(--about-radius-md);
  background: rgba(165, 117, 55, 0.08);
  border: 1px solid rgba(165, 117, 55, 0.18);
}

.credential-card span {
  display: block;
  margin-bottom: 9px;

  color: var(--about-text-soft);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.credential-card h4 {
  color: var(--about-text-main);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.credential-card p {
  margin-top: 8px;

  color: var(--about-text-muted);
  font-size: 12.5px;
  line-height: 1.42;
  font-weight: 600;
}

/* =====================================
   CONTACT
===================================== */

.about-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;

  padding: 26px 32px;
  border-radius: var(--about-radius-lg);

  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--about-border);
  box-shadow: none;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  color: var(--about-gold-deep);
  font-size: 24px;

  border-radius: var(--about-radius-md);
  background: rgba(165, 117, 55, 0.08);
  border: 1px solid rgba(165, 117, 55, 0.18);
}

.about-contact h3 {
  margin-bottom: 5px;

  color: var(--about-text-main);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.about-contact p {
  max-width: 640px;

  color: var(--about-text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--about-radius-md);

  color: #fff;
  font-size: 12.5px;
  font-weight: 850;
  text-decoration: none;

  background: #151716;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.contact-actions a:hover {
  transform: translateY(-1px);
  background: #282420;
  box-shadow: none;
}

/* =====================================
   REVEAL ANIMATION
===================================== */

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   DARK MODE
===================================== */

body.dark-mode {
  background:
    radial-gradient(circle at 80% 10%, rgba(212, 173, 115, 0.045), transparent 32%),
    radial-gradient(circle at 8% 78%, rgba(184, 139, 79, 0.03), transparent 36%),
    linear-gradient(180deg, #030303 0%, var(--about-dark-bg) 100%) !important;
}

body.dark-mode .about-hero,
body.dark-mode .about-main-card,
body.dark-mode .credential-card,
body.dark-mode .about-contact {
  background: rgba(10, 9, 8, 0.88);
  border-color: var(--about-dark-border);
  box-shadow: none;
}

body.dark-mode .about-hero-copy h2,
body.dark-mode .about-main-copy h3,
body.dark-mode .about-research-panel h3,
body.dark-mode .about-section-heading h3,
body.dark-mode .research-row strong,
body.dark-mode .credential-card h4,
body.dark-mode .about-contact h3 {
  color: var(--about-dark-text);
}

body.dark-mode .about-hero-copy h2 strong,
body.dark-mode .about-kicker,
body.dark-mode .research-row > span {
  color: var(--about-gold);
}

body.dark-mode .about-hero-copy > p,
body.dark-mode .about-main-copy p,
body.dark-mode .research-row p,
body.dark-mode .credential-card p,
body.dark-mode .about-contact p {
  color: var(--about-dark-muted);
}

body.dark-mode .credential-card span {
  color: var(--about-dark-soft);
}

body.dark-mode .about-rule,
body.dark-mode .about-section-heading span {
  background: var(--about-gold);
}

body.dark-mode .about-main-card,
body.dark-mode .about-contact,
body.dark-mode .credential-card {
  border-color: var(--about-dark-border);
}

body.dark-mode .about-main-copy,
body.dark-mode .research-row,
body.dark-mode .about-principles div + div {
  border-color: rgba(212, 173, 115, 0.14);
}

body.dark-mode .credential-card:hover {
  background: rgba(18, 15, 12, 0.94);
  border-color: var(--about-dark-border-strong);
}

body.dark-mode .credential-icon,
body.dark-mode .contact-icon {
  color: var(--about-gold);
  background: rgba(212, 173, 115, 0.10);
  border-color: rgba(212, 173, 115, 0.22);
}

body.dark-mode .contact-actions a {
  color: #111;
  background: linear-gradient(135deg, #d5ad6d, #a57537);
  border-color: rgba(212, 173, 115, 0.34);
}

body.dark-mode .contact-actions a:hover {
  background: linear-gradient(135deg, #e3bf83, #b88445);
}

/* =====================================
   RESPONSIVE — LARGE DESKTOP
===================================== */

@media (min-width: 1440px) {
  .about-page {
    max-width: 1240px;
    margin-top: 88px;
  }

  .about-hero,
  .about-main-card,
  .about-credentials,
  .about-contact {
    max-width: 1200px;
  }

  .about-hero {
    grid-template-columns: 380px minmax(0, 1fr);
  }

  .about-portrait-card {
    min-height: 560px;
  }

  .about-hero-copy h2 {
    max-width: 670px;
    font-size: clamp(42px, 3.2vw, 56px);
  }
}

/* =====================================
   RESPONSIVE — TABLET
===================================== */

@media (max-width: 1180px) {
  .about-page {
    padding: 0 24px;
  }

  .about-hero {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .about-portrait-card {
    min-height: 500px;
  }

  .about-portrait-overlay {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .about-portrait-overlay h1 {
    font-size: 23px;
  }

  .about-hero-copy {
    padding: 34px 34px 0;
  }

  .about-hero-copy h2 {
    font-size: clamp(36px, 4.4vw, 50px);
  }

  .about-principles {
    width: calc(100% + 34px);
    margin-right: -34px;
  }

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

  .about-main-copy {
    border-right: none;
    border-bottom: 1px solid rgba(92, 70, 42, 0.14);
  }

  .about-research-panel {
    padding-left: 44px;
  }

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

  .about-contact {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

/* =====================================
   RESPONSIVE — MOBILE
===================================== */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden !important;
  }

  .about-page {
    max-width: 100%;
    margin: 52px auto 72px;
    padding: 0 16px;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 34px;
  }

  .about-portrait-card {
    min-height: 520px;
  }

  .about-portrait-overlay {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .about-portrait-overlay h1 {
    font-size: 25px;
  }

  .about-portrait-overlay > p {
    margin-bottom: 20px;
    font-size: 10.5px;
  }

  .about-portrait-list {
    gap: 12px;
  }

  .about-portrait-list li {
    padding-left: 24px;
    font-size: 12.5px;
  }

  .about-hero-copy {
    padding: 28px 24px 0;
  }

  .about-kicker {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .about-hero-copy h2 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.03;
  }

  .about-rule {
    margin-bottom: 20px;
  }

  .about-hero-copy > p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.64;
  }

  .about-principles {
    grid-template-columns: 1fr;
    gap: 0;

    width: calc(100% + 48px);
    max-width: none;

    margin: 24px -24px 0;
    padding: 0;

    border-top: 1px solid rgba(122, 85, 40, 0.18);
  }

  .about-principles div {
    min-height: auto;
    padding: 24px 24px;
  }

  .about-principles div:first-child {
    padding-left: 24px;
  }

  .about-principles div:last-child {
    padding-right: 24px;
  }

  .about-principles div + div {
    border-left: none;
    border-top: 1px solid rgba(122, 85, 40, 0.14);
  }

  .about-principles span {
    margin-bottom: 12px;
  }

  .about-principles strong {
    margin-bottom: 9px;
    font-size: 22px;
    line-height: 1.15;
  }

  .about-principles p {
    max-width: none;
    font-size: 16px;
    line-height: 1.45;
  }

  body.dark-mode .about-principles {
    border-top-color: rgba(212, 173, 115, 0.2);
  }

  body.dark-mode .about-principles div + div {
    border-top-color: rgba(212, 173, 115, 0.16);
  }

  .about-main-card {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .about-main-copy,
  .about-research-panel {
    padding: 28px 24px;
  }

  .about-main-copy {
    border-right: none;
    border-bottom: 1px solid rgba(92, 70, 42, 0.14);
  }

  .about-main-copy h3,
  .about-research-panel h3 {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .about-main-copy p {
    font-size: 13.5px;
    line-height: 1.68;
  }

  .research-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px 0;
  }

  .research-row > span {
    font-size: 16px;
  }

  .credential-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-section-heading h3 {
    font-size: 22px;
  }

  .credential-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .credential-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }

  .about-contact {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .about-contact h3 {
    font-size: 21px;
  }

  .about-contact p {
    font-size: 13.5px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: auto;
    width: 100%;
  }

  .contact-actions a {
    width: 100%;
    min-height: 46px;
  }
}

/* =====================================
   RESPONSIVE — SMALL MOBILE
===================================== */

@media (max-width: 420px) {
  .about-page {
    padding: 0 12px;
  }

  .about-portrait-card {
    min-height: 500px;
  }

  .about-hero-copy h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .about-principles {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
  }
}