/* =========================================================================
   About page. Loaded via $pageStyles, after theme-refresh.css.
   ========================================================================= */

/* ---------- hero ---------- */
.about__hero {
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    min-height: 340px; padding: 6rem 0; color: #fff;
    background: linear-gradient(105deg, rgba(20,18,15,.9) 0%, rgba(20,18,15,.66) 52%, rgba(20,18,15,.28) 100%),
                url(../img/banner/haram.jpg) center/cover;
}
.about__hero--inner { position: relative; z-index: 1; max-width: 620px; }
.about__hero--eyebrow {
    display: block; text-transform: uppercase; letter-spacing: 3.4px;
    font-size: 1.06rem; font-weight: 600; color: var(--primary-color); margin-bottom: 1.4rem;
}
.about__hero--title {
    font-family: var(--font-serif); font-weight: 500; color: #fff;
    font-size: 3.4rem; line-height: 1.16; margin: 0 0 1.4rem;
}
@media (min-width: 992px) { .about__hero--title { font-size: 4.4rem; } }
.about__hero--desc { color: rgba(255,255,255,.82) !important; font-size: 1.56rem !important; line-height: 2.8rem; margin: 0; }
.about__hero--crumbs {
    display: flex; align-items: center; gap: .6rem;
    margin-top: 2rem; font-size: 1.2rem; color: rgba(255,255,255,.62);
}
.about__hero--crumbs a { color: rgba(255,255,255,.62); }
.about__hero--crumbs a:hover { color: var(--primary-color); }

/* ---------- shared section shell ---------- */
.about__section { padding: var(--section-y) 0; }
.about__section--ivory { background: var(--ivory); }

/* ---------- story split ---------- */
.about__story { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
@media (max-width: 991px) { .about__story { grid-template-columns: 1fr; gap: 2.6rem; } }
.about__story--media { position: relative; }
.about__story--media img { width: 100%; border-radius: 16px; display: block; aspect-ratio: 4 / 3.4; object-fit: cover; }
/* thin gold rule tracing the bottom-right of the photo; only the part that sits
   outside the image is drawn, so it never crosses the picture */
.about__story--media::before {
    content: ""; position: absolute; pointer-events: none;
    left: 2rem; right: -1.6rem; top: 2rem; bottom: -1.6rem;
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    border-bottom-right-radius: 16px;
    opacity: .55;
}
@media (max-width: 991px) { .about__story--media::before { right: 0; } }
.about__story--eyebrow {
    display: block; text-transform: uppercase; letter-spacing: 3px;
    font-size: 1.06rem; font-weight: 600; color: var(--primary-deep); margin-bottom: 1.2rem;
}
.about__story--title { font-family: var(--font-serif); font-weight: 500; font-size: 3rem; line-height: 1.2; margin: 0 0 1.8rem; }
.about__story p { font-size: 1.52rem !important; line-height: 2.8rem; margin-bottom: 1.5rem; }

/* ---------- stat band ---------- */
.about__stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 767px) { .about__stats { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
.about__stat { text-align: center; }
.about__stat strong {
    display: block; font-family: var(--font-serif); font-weight: 500;
    font-size: 3.4rem; line-height: 1; color: var(--primary-color); margin-bottom: .7rem;
}
.about__stat span {
    font-family: var(--font-jost); font-size: 1.16rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; color: var(--ink-600);
}

/* ---------- values ---------- */
.about__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 991px) { .about__values { grid-template-columns: 1fr; } }
.about__value {
    background: #fff; border: 1px solid var(--border-color); border-radius: 16px;
    padding: 3rem 2.6rem; height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.about__value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about__value--icon {
    width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--ivory); color: var(--primary-color); border: 1px solid var(--border-color);
}
.about__value--title { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 500; margin: 0 0 .9rem; }
.about__value p { font-size: 1.44rem !important; line-height: 2.5rem; margin: 0; }

/* ---------- craft timeline ---------- */
.about__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
@media (max-width: 991px) { .about__steps { grid-template-columns: 1fr 1fr; gap: 2.6rem; } }
@media (max-width: 520px) { .about__steps { grid-template-columns: 1fr; } }
.about__step { position: relative; padding-top: 3.4rem; }
/* the connecting rule + node, drawn per step so it reflows with the grid */
.about__step::before {
    content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px;
    background: var(--border-color3);
}
.about__step:last-child::before { right: 50%; }
.about__step:first-child::before { left: 50%; }
.about__step::after {
    content: ""; position: absolute; left: 50%; top: 4px;
    width: 11px; height: 11px; margin-left: -5.5px;
    background: var(--primary-color); transform: rotate(45deg);
}
@media (max-width: 991px) {
    .about__step::before, .about__step:first-child::before, .about__step:last-child::before { left: 50%; right: 50%; }
}
.about__step--num {
    display: block; text-align: center; font-family: var(--font-jost);
    font-size: 1.08rem; font-weight: 700; letter-spacing: 2.4px;
    text-transform: uppercase; color: var(--primary-deep); margin-bottom: 1rem;
}
.about__step--title { font-family: var(--font-serif); font-size: 1.95rem; font-weight: 500; text-align: center; margin: 0 0 .8rem; }
.about__step p { font-size: 1.38rem !important; line-height: 2.4rem; text-align: center; margin: 0; }

/* ---------- closing CTA ---------- */
.about__cta {
    position: relative; overflow: hidden; border-radius: 18px;
    padding: 5rem 3rem; text-align: center; color: #fff;
    background: linear-gradient(160deg, rgba(28,26,22,.9), rgba(28,26,22,.7)),
                url(../img/banner/traditional.jpg) center/cover;
    background-color: var(--secondary-color);
}
.about__cta--title { font-family: var(--font-serif); font-weight: 500; font-size: 3rem; color: #fff; margin: 0 0 1.2rem; }
.about__cta p { color: rgba(255,255,255,.8) !important; max-width: 54ch; margin: 0 auto 2.6rem; font-size: 1.5rem !important; }
.about__cta--actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; }
.about__cta--ghost { background: transparent !important; border-color: rgba(255,255,255,.5) !important; color: #fff !important; }
.about__cta--ghost:hover { background: #fff !important; border-color: #fff !important; color: var(--secondary-color) !important; }
