/* =========================================================================
   Alrasly — About (/about) page chrome. Reuses existing recipes only (no new
   design language): the four-square kicker, navy hero/CTA bands, tone-ramp square
   tiles with committed Lucide icons, and the homepage proof tile (translucent fill
   + brand edge + white count-up number + sky label). Same offwhite + faint-grid
   surface as the service/contact/packages/services pages. Brand law (CLAUDE.md)
   supreme: palette only via tokens, radius 0, squares only, Manrope, AAA.
   ========================================================================= */

/* ---------- page surface (identical to the rest of the site) ---------- */
.ab{ position:relative; background:var(--offwhite); color:var(--ink); }
.ab::before{
	content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5;
	background-image:
		linear-gradient(rgba(41,37,97,.04) 1px,transparent 1px),
		linear-gradient(90deg,rgba(41,37,97,.04) 1px,transparent 1px);
	background-size:72px 72px;
}
.ab-hero,.ab-sec,.ab-proof,.ab-statement,.ab-cta-band{ position:relative; z-index:1; }

/* ---------- shared bits ---------- */
.ab-kick{ display:flex; align-items:center; gap:var(--space-3); margin:0 0 var(--space-4); }
.ab-tick4{ display:grid; grid-template-columns:9px 9px; grid-template-rows:9px 9px; gap:2px; flex:0 0 auto; }
.ab-tick4 i{ width:9px; height:9px; display:block; }
.ab-kick__t{ font-size:var(--fs-caption); font-weight:var(--fw-bold); letter-spacing:.22em; text-transform:uppercase; color:var(--blue); }
.ab-kick--dark .ab-kick__t{ color:var(--sky); }
[dir="rtl"] .ab-kick__t{ letter-spacing:normal; text-transform:none; }
.ab-h2{ font-size:var(--fs-h2); line-height:var(--lh-h2); font-weight:var(--fw-bold); color:var(--navy); max-width:24ch; margin:0 0 var(--space-5); letter-spacing:-.4px; }
.ab-sec{ padding-block:var(--space-8); }
.ab-prose{ font-size:var(--fs-body-lg); line-height:var(--lh-body); color:var(--ink); max-width:72ch; margin:0 0 var(--space-4); }
.ab-prose:last-child{ margin-bottom:0; }
.ab-textlink{ color:var(--blue); font-weight:var(--fw-semibold); text-decoration:none; }
.ab-textlink:hover{ color:var(--blue-hover); text-decoration:underline; }
.ab-textlink--sky{ color:var(--sky); }
.ab-textlink--sky:hover{ color:var(--white); }

/* ---------- HERO (navy band, same treatment as /services & /packages) ---------- */
.ab-hero{
	color:var(--white); overflow:hidden;
	background-image:
		radial-gradient(120% 90% at 82% 18%,rgba(9,91,244,.5),transparent 55%),
		radial-gradient(110% 90% at 95% 95%,rgba(85,70,250,.45),transparent 50%),
		linear-gradient(135deg,#211d4e,#292561 50%,#191636);
	padding-block:clamp(72px,10vw,116px) var(--space-8);
}
.ab-hero__title{ font-size:var(--fs-display); line-height:var(--lh-display); font-weight:var(--fw-bold); letter-spacing:-1px; max-width:18ch; color:var(--white); margin:0; }
/* attention-hook one-liner — sky accent on navy is the one permitted sky-on-dark use (§5) */
.ab-hero__oneliner{ font-size:var(--fs-h3); line-height:var(--lh-h3); font-weight:var(--fw-bold); color:var(--sky); max-width:46ch; margin:var(--space-5) 0 0; }
.ab-hero__squares{ position:absolute; top:var(--space-8); inset-inline-end:var(--space-8); display:grid; grid-template-columns:repeat(3,var(--space-6)); gap:var(--space-2); opacity:.18; }
.ab-hero__squares i{ width:var(--space-6); height:var(--space-6); display:block; background:var(--sky); }

/* ---------- WHY WE EXIST (two-column story + pull-quote) ---------- */
.ab-why__grid{ display:grid; grid-template-columns:1fr; gap:var(--space-6); }
@media (min-width:800px){
	.ab-why__grid{ grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:var(--space-7); align-items:start; }
}
.ab-why__body .ab-prose{ max-width:58ch; }
/* pull-quote card — white, 1px border, 4px blue left accent; big quote ornament +
   navy 700 text (AAA). NOTE: the ornament is blue, not sky — CLAUDE.md §4/§5 make
   sky fill-only / never a glyph on a light background; blue is the allowed
   large/bold accent on white. */
.ab-quote{ position:relative; margin:0; background:var(--white); border:1px solid rgba(41,37,97,.12); border-inline-start:var(--space-1) solid var(--blue); padding:var(--space-6); }
.ab-quote__mark{ display:block; font-size:var(--fs-display); line-height:.6; font-weight:var(--fw-bold); color:var(--blue); }
.ab-quote__t{ font-size:var(--fs-h4); line-height:var(--lh-h4); font-weight:var(--fw-bold); color:var(--navy); margin:var(--space-3) 0 0; }

/* ---------- STATEMENT BAND (navy, full-bleed, faint sky square-grid) ---------- */
.ab-statement{
	color:var(--white); text-align:center; overflow:hidden;
	background-image:
		radial-gradient(120% 120% at 20% 15%,rgba(9,91,244,.4),transparent 55%),
		radial-gradient(120% 120% at 85% 90%,rgba(85,70,250,.38),transparent 50%),
		linear-gradient(135deg,#211d4e,#292561 55%,#191636);
	padding-block:var(--space-8);
}
/* faint sky square-grid texture (CSS only, sky accent on dark — §5 allows this) */
.ab-statement::before{
	content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.6;
	background-image:
		linear-gradient(rgba(174,234,253,.10) 1px,transparent 1px),
		linear-gradient(90deg,rgba(174,234,253,.10) 1px,transparent 1px);
	background-size:28px 28px;
}
.ab-statement__inner{ position:relative; z-index:1; }
.ab-statement .ab-kick{ justify-content:center; }
.ab-statement__h2{ font-size:var(--fs-h2); line-height:var(--lh-h2); font-weight:var(--fw-bold); color:var(--white); max-width:24ch; margin:0 auto; letter-spacing:-.4px; }
.ab-statement__p{ font-size:var(--fs-body-lg); line-height:var(--lh-body); color:rgba(255,255,255,.85); max-width:60ch; margin:var(--space-4) auto 0; }

/* ---------- CARD / TILE (shared by "what makes us different" + "how we work") ----------
   Reuses the packages-card recipe: white square, 1px border, tone top-accent bar
   that grows on hover, subtle lift. Tone drives the bar + the icon tile. */
.ab-cards,.ab-vtiles{ display:grid; gap:var(--space-5); margin:0; padding:0; list-style:none; }
.ab-cards{ grid-template-columns:repeat(4,1fr); }
.ab-vtiles{ grid-template-columns:repeat(3,1fr); }
.ab-card{
	position:relative; display:flex; flex-direction:column; gap:var(--space-4);
	background:var(--white); border:1px solid rgba(41,37,97,.12); padding:var(--space-6);
	transition:transform .35s ease, border-color .25s ease;
}
.ab-card--navy{   --ab-tone:var(--navy); }
.ab-card--blue{   --ab-tone:var(--blue); }
.ab-card--purple{ --ab-tone:var(--purple-blue); }
.ab-card--sky{    --ab-tone:var(--sky); }
/* full-bleed top accent line (§2.9), grows 4→8px on hover */
.ab-card__bar{ position:absolute; top:0; left:0; width:100%; height:var(--space-1); background:var(--ab-tone); transition:height .25s ease; }
.ab-card:hover{ transform:translateY(-6px); border-color:var(--navy); }
.ab-card:hover .ab-card__bar{ height:var(--space-2); }
/* icon tile — tone-coloured square + committed Lucide glyph via mask (recoloured, not edited) */
.ab-card__icon{ width:48px; height:48px; flex:0 0 auto; display:grid; place-items:center; background:var(--ab-tone); }
.ab-card__glyph{ width:24px; height:24px; background:var(--white); -webkit-mask:center / contain no-repeat; mask:center / contain no-repeat; }
.ab-card--sky .ab-card__glyph{ background:var(--navy); } /* navy glyph on sky (§5) */
.ab-card__text{ font-size:var(--fs-small); line-height:var(--lh-small); color:var(--ink); margin:0; }
.ab-card__lead{ color:var(--navy); font-weight:var(--fw-bold); }

/* ---------- PROOF (navy band; KPI count-up tiles — the homepage style) ---------- */
.ab-proof{
	color:var(--white);
	background-image:
		radial-gradient(120% 120% at 15% 10%,rgba(9,91,244,.4),transparent 55%),
		radial-gradient(120% 120% at 88% 92%,rgba(85,70,250,.38),transparent 50%),
		linear-gradient(135deg,#211d4e,#292561 55%,#191636);
	padding-block:var(--space-8);
}
.ab-proof__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-4); margin-block:0; list-style:none; }
.ab-prooftile{
	display:flex; flex-direction:column; gap:var(--space-2);
	background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14);
	padding:var(--space-5); transition:transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.ab-prooftile--blue{   border-color:rgba(9,91,244,.55); }
.ab-prooftile--purple{ border-color:rgba(85,70,250,.50); }
.ab-prooftile--sky{    border-color:rgba(174,234,253,.45); }
.ab-prooftile:hover{ background:rgba(255,255,255,.07); transform:translateY(-3px); }
.ab-prooftile--blue:hover{   border-color:var(--blue); }
.ab-prooftile--purple:hover{ border-color:var(--purple-blue); }
.ab-prooftile--sky:hover{    border-color:var(--sky); }
.ab-prooftile__num{ font-size:var(--fs-h2); line-height:1; font-weight:var(--fw-bold); color:var(--white); font-variant-numeric:tabular-nums; letter-spacing:-.5px; }
.ab-prooftile__label{ font-size:var(--fs-small); line-height:var(--lh-small); color:var(--sky); }

/* ---------- FINAL CTA (navy band) ---------- */
.ab-cta-band{
	color:var(--white); text-align:center;
	background-image:
		radial-gradient(120% 120% at 15% 10%,rgba(9,91,244,.45),transparent 55%),
		radial-gradient(120% 120% at 90% 90%,rgba(85,70,250,.4),transparent 50%),
		linear-gradient(135deg,#211d4e,#292561 55%,#191636);
	padding-block:var(--space-9);
}
.ab-cta-band__title{ font-size:var(--fs-h2); line-height:var(--lh-h2); font-weight:var(--fw-bold); color:var(--white); max-width:24ch; margin:0 auto; letter-spacing:-.4px; }
.ab-btnrow{ display:flex; justify-content:center; margin-top:var(--space-6); }
.ab-band__btn{
	display:inline-block; padding:var(--space-4) var(--space-6); text-decoration:none;
	font-weight:var(--fw-bold); font-size:var(--fs-body); background:var(--white); color:var(--navy);
	transition:background-color .18s ease, color .18s ease;
}
.ab-band__btn:hover{ background:var(--sky); color:var(--navy); }
.ab-band__btn:focus-visible{ outline:2px solid var(--sky); outline-offset:2px; }
.ab-cta-band__more{ margin:var(--space-5) 0 0; }

/* =========================================================================
   MOTION — sitewide reveal (12px / 250ms) + 60ms stagger. One observer only
   (reveal.js adds .is-visible). Hiding gated behind .js so no-JS/crawlers see all.
   Count-up on the numeric proof tiles is handled by reveal.js.
   ========================================================================= */
.js .ab [data-reveal]{ opacity:0; transform:translateY(12px); transition:opacity .25s ease, transform .25s ease; }
.js .ab [data-reveal].is-visible{ opacity:1; transform:none; }
/* the card/tile/proof grids stay put; their children stagger in */
.js .ab .ab-cards[data-reveal],
.js .ab .ab-vtiles[data-reveal],
.js .ab .ab-proof__grid[data-reveal]{ opacity:1; transform:none; transition:none; }
.js .ab .ab-cards[data-reveal] .ab-card,
.js .ab .ab-vtiles[data-reveal] .ab-card,
.js .ab .ab-proof__grid[data-reveal] .ab-prooftile{ opacity:0; transform:translateY(12px); transition:opacity .25s ease, transform .25s ease; }
.js .ab .ab-cards[data-reveal].is-visible .ab-card,
.js .ab .ab-vtiles[data-reveal].is-visible .ab-card,
.js .ab .ab-proof__grid[data-reveal].is-visible .ab-prooftile{ opacity:1; transform:none; }
.js .ab [data-reveal].is-visible > :nth-child(2){ transition-delay:.06s; }
.js .ab [data-reveal].is-visible > :nth-child(3){ transition-delay:.12s; }
.js .ab [data-reveal].is-visible > :nth-child(4){ transition-delay:.18s; }

@media (prefers-reduced-motion:reduce){
	.js .ab [data-reveal],
	.js .ab .ab-cards[data-reveal] .ab-card,
	.js .ab .ab-vtiles[data-reveal] .ab-card,
	.js .ab .ab-proof__grid[data-reveal] .ab-prooftile{ opacity:1 !important; transform:none !important; transition:none !important; }
	.ab-card,.ab-card__bar,.ab-prooftile{ transition:none !important; }
	.ab-card:hover{ transform:none; }
	.ab-card:hover .ab-card__bar{ height:var(--space-1); }
	.ab-prooftile:hover{ transform:none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:900px){
	.ab-cards{ grid-template-columns:repeat(2,1fr); }
	.ab-proof__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px){
	.ab-vtiles{ grid-template-columns:1fr; }
	.ab-hero__squares{ display:none; }
}
@media (max-width:560px){
	.ab-cards{ grid-template-columns:1fr; }
}
