/* ============================================================
   about.css — OmegaPix About
   Cleaner editorial variation of the established OmegaPix style.
============================================================ */

.ab-hero-wrap {
  padding: 24px 0 30px;
  background: #f0e4d4;
}
.ab-hero {
  width: 88%;
  max-width: 1600px;
  min-height: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 52% 48%;
  overflow: hidden;
  border-radius: 24px;
  background: #3f2112;
  box-shadow: 0 8px 40px rgba(42,20,8,.18);
}
.ab-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 66px;
  color: #fff;
  background: linear-gradient(135deg,#351a0d 0%,#512916 44%,#754326 72%,#9a6337 100%);
}
.ab-light-eyebrow { color: #f2c98b !important; }
.ab-hero h1 {
  margin: 10px 0 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(44px,5.2vw,76px);
  line-height: 1.01;
  font-weight: 500;
  color: #fffaf4;
}
.ab-hero h1 em {
  color: #f2c98b;
  font-style: italic;
  font-weight: 500;
}
.ab-rule {
  width: 50px;
  height: 3px;
  margin: 26px 0;
  border-radius: 3px;
  background: linear-gradient(to right,var(--ox-coral),var(--ox-gold));
}
.ab-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,250,244,.84);
  font-size: 15px;
  line-height: 1.9;
}
.ab-hero-photo {
  min-height: 500px;
  overflow: hidden;
  background: #1d1b1a;
}
.ab-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ab-origin {
  padding: 92px 0 86px;
  background: #f8f0e4;
  text-align: center;
}
.ab-narrow { max-width: 1050px; }
.ab-origin h2,
.ab-community h2,
.ab-values h2,
.ab-closing h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ox-espresso);
}
.ab-origin h2 {
  margin: 12px auto 0;
  max-width: 920px;
  font-size: clamp(36px,4.4vw,58px);
  line-height: 1.06;
}
.ab-origin h2 em,
.ab-community h2 em,
.ab-values h2 em,
.ab-closing h2 em {
  color: var(--ox-coral);
  font-style: italic;
}
.ab-copy-two {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 54px;
  max-width: 980px;
  margin: 36px auto 0;
  text-align: left;
}
.ab-copy-two p {
  margin: 0;
  color: #674d3d;
  font-size: 15px;
  line-height: 1.9;
}

.ab-community {
  padding: 92px 0;
  background: linear-gradient(135deg,#eee1d1,#f5eadc 65%,#ead9c5);
}
.ab-community-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 76px;
  align-items: center;
}
.ab-community-number {
  font-family: var(--font-display);
  font-size: clamp(100px,14vw,210px);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -7px;
  color: rgba(102,57,30,.10);
  text-align: center;
  user-select: none;
}
.ab-community-copy { max-width: 760px; }
.ab-community h2 {
  margin: 12px 0 0;
  font-size: clamp(36px,4.4vw,58px);
  line-height: 1.05;
}
.ab-left-rule { margin-left: 0; }
.ab-community-copy p {
  margin: 0;
  color: #674d3d;
  font-size: 15px;
  line-height: 1.9;
}

.ab-values {
  padding: 94px 0;
  background: #f8f0e4;
}
.ab-values-head { max-width: 930px; margin-inline: auto; }
.ab-values-head h2 {
  font-size: clamp(38px,4.5vw,60px);
  line-height: 1.04;
}
.ab-values-head p { max-width: 800px; }
.ab-value-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin-top: 46px;
}
.ab-value {
  min-height: 150px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  border: 1px solid rgba(212,168,85,.22);
  background: rgba(255,255,255,.62);
  box-shadow: 0 8px 28px rgba(42,20,8,.06);
}
.ab-value span {
  color: var(--ox-coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}
.ab-value p {
  margin: 28px 0 0;
  font-family: var(--font-display);
  color: var(--ox-espresso);
  font-size: 22px;
  line-height: 1.15;
}

.ab-closing {
  padding: 8px 0 94px;
  background: #f8f0e4;
}
.ab-closing-card {
  padding: 72px 64px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg,#3a1d10,#5a2e18 55%,#7e4828);
  box-shadow: 0 16px 48px rgba(42,20,8,.17);
}
.ab-closing-kicker {
  color: #f2c98b;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 10px;
  font-weight: 800;
}
.ab-closing h2 {
  margin: 12px auto 0;
  max-width: 980px;
  color: #fffaf4;
  font-size: clamp(38px,4.6vw,62px);
  line-height: 1.04;
}
.ab-closing h2 em { color: #f2c98b; }
.ab-closing p {
  margin: 18px auto 28px;
  color: rgba(255,250,244,.78);
  font-size: 15px;
}

[dir="rtl"] .ab-copy-two,
[dir="rtl"] .ab-community-copy { text-align: right; }
[dir="rtl"] .ab-left-rule { margin-right: 0; margin-left: auto; }

@media (max-width: 1000px) {
  .ab-hero { width: 92%; grid-template-columns: 1fr; }
  .ab-hero-photo { min-height: 420px; order: -1; }
  .ab-hero-copy { padding: 48px 42px 54px; }
  .ab-copy-two { grid-template-columns: 1fr; gap: 22px; }
  .ab-community-grid { grid-template-columns: 1fr; gap: 24px; }
  .ab-community-number { text-align: left; font-size: 116px; }
  .ab-community-copy { max-width: 820px; }
  .ab-value-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .ab-hero-wrap { padding-top: 14px; }
  .ab-hero { width: 94%; border-radius: 16px; }
  .ab-hero-photo { min-height: 290px; }
  .ab-hero-copy { padding: 34px 24px 40px; }
  .ab-hero h1 { font-size: 42px; }
  .ab-origin,.ab-community,.ab-values { padding: 60px 0; }
  .ab-copy-two { text-align: left; }
  .ab-community-number { font-size: 86px; letter-spacing: -3px; }
  .ab-value-grid { grid-template-columns: 1fr; }
  .ab-value { min-height: 126px; }
  .ab-closing { padding-bottom: 60px; }
  .ab-closing-card { padding: 52px 24px; border-radius: 16px; }
}


/* About page minor alignment refinements */
.ab-origin .ox-rule {
  margin-left: auto;
  margin-right: auto;
}
.ab-keep-together {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .ab-keep-together {
    white-space: normal;
  }
}
