/* ==========================================================================
   About page — premium "Who We Are / 18+ / Mission / Vision" section
   Brand: IN4 purple (#6528F7 → #6C35FF) + green (#72BF44 → #6DBE45).
   Editorial layout: no equal card grid, story-driven visual hierarchy.
   ========================================================================== */

/* ---- Section shell ------------------------------------------------------ */
.ab-section {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-lav) 100%);
}

/* faint engineering grid — 1 line out of every 8 is tinted, the rest fade out */
.ab-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(108, 53, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(108, 53, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 72%);
  pointer-events: none;
}

.ab-section .container { position: relative; z-index: 1; }

/* ---- Two column layout -------------------------------------------------- */
.ab-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

/* ---- Copy column -------------------------------------------------------- */
.ab-copy .eyebrow { margin-bottom: 14px; }

.ab-copy h2 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 3.1vw + 1rem, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--in4-navy, #111827);
}

.ab-copy h2 .ab-hl {
  background: linear-gradient(120deg, #6528f7 0%, #7b4bff 45%, #6dbe45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ab-copy p {
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--in4-text-muted, #5f6472);
  max-width: 60ch;
}

/* fa.css is linked after this file and resets every .ico to 1em/18px, so the
   glyph sizes for this page's own icons are pinned here (class selectors beat
   the single-class reset in fa.css regardless of link order). */
.ab-pane-icon-inner .ico { font-size: 24px; }
.ab-badge .ico { font-size: 19px; }
.ab-mod-ico .ico { font-size: 19px; }

/* ---- Visual column ------------------------------------------------------ */
.ab-visual { position: relative; }

/* ---- 18+ stat block: glow, no heavy box -------------------------------- */

/* ---- Empty image slot ---------------------------------------------------
   Replaces the former "The Evolution" card. The <img> fills the frame as soon
   as the file exists; until then a tinted empty-state panel shows instead of
   a broken image icon (js/main.js sets .is-empty when the load fails). */
.ab-photo {
  position: relative;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  animation: floatY 8s ease-in-out infinite;
}

.ab-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #f3eeff 0%, #eff5ff 50%, #f1f9ec 100%);
  box-shadow: 0 20px 44px rgba(24, 22, 50, 0.13);
}

.ab-photo-empty {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-xl);
  border: 1.5px dashed rgba(108, 53, 255, 0.28);
  background: linear-gradient(135deg, #f6f2ff 0%, #f0f6ff 50%, #f3faee 100%);
}

.ab-photo-empty .ico {
  font-size: 34px;
  color: rgba(101, 40, 247, 0.34);
}

/* the dashed panel only shows when the image is unavailable */
.ab-photo:not(.is-empty) .ab-photo-empty { display: none; }
.ab-photo.is-empty img { visibility: hidden; }

.ab-photo-ring {
  position: absolute;
  inset: 8% -4% -5% 7%;
  z-index: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, rgba(108, 53, 255, 0.2), rgba(109, 190, 69, 0.22));
}

/* ---- Mission & Vision --------------------------------------------------- */
.ab-mv {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
  background: linear-gradient(135deg, #f8f7ff 0%, #f2f7ff 50%, #f7fff5 100%);
}

.ab-mv::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(101, 40, 247, 0.1), transparent 72%);
  pointer-events: none;
}

.ab-mv .container { position: relative; z-index: 1; }

.ab-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.ab-pane { position: relative; padding-block: clamp(0.5rem, 1vw, 1rem); }

/* divider between the two columns, never a boxed card */
.ab-pane + .ab-pane {
  border-left: 1px solid rgba(108, 53, 255, 0.16);
  padding-left: clamp(2rem, 4vw, 4rem);
}

.ab-pane .eyebrow { margin-bottom: 16px; }
.ab-pane.mission .eyebrow { color: var(--green-700, #508f2b); }
.ab-pane.vision .eyebrow { color: var(--purple-600, #6528f7); }

/* oversized decorative mark behind each column */
.ab-deco {
  position: absolute;
  top: -14px;
  inset-inline-end: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(6rem, 11vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(108, 53, 255, 0.12);
  pointer-events: none;
  user-select: none;
}

.ab-pane.mission .ab-deco { color: rgba(114, 191, 68, 0.16); -webkit-text-stroke: 0; }
.ab-pane.vision .ab-deco { -webkit-text-stroke-color: rgba(59, 130, 246, 0.16); }

/* Slide the two panes in from opposite edges as they scroll into view.
   These selectors (0,3,0) outrank the generic .reveal / .reveal.is-visible
   rules in animations.css, so the global fade-up is replaced rather than
   merged. The decorative quote mark travels with its pane. */
.ab-pane.mission.reveal { transform: translateX(-60px); }
.ab-pane.vision.reveal { transform: translateX(60px); }
.ab-pane.reveal.is-visible { transform: translateX(0); }

@media (max-width: 900px) {
  /* shorter travel on narrow screens so the motion stays comfortable. The
     :not() guard matters: these would otherwise tie .ab-pane.reveal.is-visible
     on specificity and, coming later in the file, would win — leaving the
     panes permanently offset instead of settling at rest. */
  .ab-pane.mission.reveal:not(.is-visible) { transform: translateX(-28px); }
  .ab-pane.vision.reveal:not(.is-visible) { transform: translateX(28px); }
}

/* Icon: an inner disc that scales and fades IN when the pane scrolls into
   view, sends out one soft ripple, then settles into a slow float. The outer
   span is only the positioning box, so the two animations never fight over
   the same element. */
.ab-pane-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.ab-pane-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
}

.ab-pane.mission .ab-pane-icon { color: #6dbe45; }
.ab-pane.vision .ab-pane-icon { color: #6c35ff; }

.ab-pane-icon-inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
}

.ab-pane.mission .ab-pane-icon-inner {
  background: linear-gradient(140deg, #6dbe45 0%, #4fae7d 100%);
  box-shadow: 0 14px 32px rgba(78, 160, 90, 0.32);
}

.ab-pane.vision .ab-pane-icon-inner {
  background: linear-gradient(140deg, #6528f7 0%, #3b82f6 100%);
  box-shadow: 0 14px 32px rgba(101, 40, 247, 0.32);
}

.ab-pane-icon-inner .ico { width: 24px; height: 24px; color: #fff; }

/* entrance + ripple, triggered when the pane gets .is-visible from the
   scroll-reveal observer */
.ab-pane.is-visible .ab-pane-icon-inner {
  animation: abIconIn 0.75s var(--ease) both, abFloat 7s 0.85s ease-in-out infinite;
}

.ab-pane.is-visible .ab-pane-icon::after {
  animation: abIconRipple 1.5s var(--ease) 0.35s both;
}

.ab-pane.vision.is-visible .ab-pane-icon-inner {
  animation: abIconIn 0.75s 0.1s var(--ease) both, abFloat 7s 0.95s ease-in-out infinite;
}

.ab-pane.vision.is-visible .ab-pane-icon::after {
  animation: abIconRipple 1.5s var(--ease) 0.45s both;
}

@keyframes abIconIn {
  0% { transform: scale(0.4) translateY(14px); opacity: 0; }
  60% { transform: scale(1.08) translateY(0); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes abIconRipple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes abFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ab-pane h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.55rem, 1.3vw + 1.1rem, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.16;
  color: var(--in4-navy, #111827);
  max-width: 20ch;
}

.ab-pane p {
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--in4-text-muted, #5f6472);
  max-width: 52ch;
}

/* ---- Hero (about) — homepage look: mgrid, orbs, motes, sheen ------------ */
.page-company .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(108, 53, 255, 0.14), transparent 42%),
    radial-gradient(circle at 84% 82%, rgba(109, 190, 69, 0.12), transparent 40%),
    linear-gradient(180deg, #f7f4ff 0%, #ffffff 100%);
  background-color: #ffffff;
  padding-block: clamp(1.75rem, 3.4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
}

.page-company .page-hero .container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.page-company .page-hero .inner-hero-copy { padding-block: 0; }

/* the eyebrow pill already carries the green dot from hero.css */
.page-company .page-hero .hero-eyebrow {
  display: inline-flex;
  margin: 0 auto 14px;
}

.page-company .page-hero h1 {
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(1.85rem, 2.5vw + 0.95rem, 3rem);
  line-height: 1.1;
}

.page-company .page-hero .lead {
  margin-inline: auto;
  max-width: 58ch;
  margin-top: 14px;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  line-height: 1.6;
}

/* ---- Hero with the office walk-through video ---------------------------
   The clip is portrait, so it is cropped and scaled; the purple overlay keeps
   the white copy readable and hides the softness. */
.page-company .ab-hero--video {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 56vh, 540px);
  padding-block: clamp(3rem, 7vw, 5rem);
  background: #1d1240;
}
.ab-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.ab-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.ab-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(29, 18, 64, 0.5), rgba(29, 18, 64, 0.2)),
    linear-gradient(180deg, rgba(101, 40, 247, 0.22), rgba(29, 18, 64, 0.45));
}
.page-company .ab-hero--video .hero-eyebrow {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.page-company .ab-hero--video h1 { color: #ffffff; }
.page-company .ab-hero--video h1 .grad {
  background: linear-gradient(120deg, #d2c2ff 0%, #b79dff 45%, #a6e07f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.page-company .ab-hero--video .lead { color: rgba(255, 255, 255, 0.86); }

/* ==========================================================================
   Our Story — optimized editorial split
   ========================================================================== */
.ab-story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}

.ab-story-split { align-items: center; }

/* Dual-color title: solid ink lead-in + a teal accent for the destination
   half. Deliberately not the brand purple, which every other section uses. */
.ab-story .section-title {
  margin-top: 14px;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.75rem);
  letter-spacing: -0.03em;
}

.ab-story .section-title em {
  font-style: normal;
  background: linear-gradient(100deg, #0e8c9b 0%, #22c7d6 55%, #6dbe45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ab-story-lead {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--in4-text-muted, #5f6472);
  max-width: 56ch;
}

/* Differentiator rows: white cards, accent bar, white icon on a solid badge */
.ab-story-list { margin: 26px 0 0; gap: 12px; }

.ab-story-list li {
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1px solid var(--in4-border, #e7e8ee);
  box-shadow: 0 6px 18px rgba(24, 22, 50, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ab-story-list li:hover {
  transform: translateX(4px);
  border-color: rgba(101, 40, 247, 0.28);
  box-shadow: 0 12px 28px rgba(24, 22, 50, 0.09);
}

.ab-story-list strong { margin-bottom: 2px; font-size: 16px; }
.ab-story-list p { font-size: 14px; line-height: 1.6; }

/* solid, brand-matched badge with a white glyph */
.ab-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #ffffff;
  flex-shrink: 0;
}

.ab-badge.purple { background: linear-gradient(140deg, #8b5cf6 0%, #6528f7 100%); box-shadow: 0 8px 18px rgba(101, 40, 247, 0.28); }
.ab-badge.green { background: linear-gradient(140deg, #8ed167 0%, #4f9e33 100%); box-shadow: 0 8px 18px rgba(109, 190, 69, 0.28); }
.ab-badge.teal { background: linear-gradient(140deg, #38d3e2 0%, #0e8c9b 100%); box-shadow: 0 8px 18px rgba(34, 199, 214, 0.28); }
.ab-badge .ico { width: 19px; height: 19px; color: #ffffff; }

/* Media: soft glow ring behind the photo, caption underneath */
.ab-story-media {
  position: relative;
  margin: 0;
  animation: floatY 7s ease-in-out infinite;
}

.ab-story-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: 0 22px 50px rgba(24, 22, 50, 0.14);
}

.ab-story-ring {
  position: absolute;
  inset: 6% -4% -4% 6%;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, rgba(108, 53, 255, 0.22), rgba(109, 190, 69, 0.22));
  filter: blur(2px);
  z-index: 0;
}

.ab-story-media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--in4-text-muted, #5f6472);
  text-align: center;
  max-width: 42ch;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .ab-story-ring { inset: 4% -2% -3% 4%; }
}

/* ==========================================================================
   Colourful stats band — LIGHT. White glass cards on a lavender wash with
   soft coloured shadows (no dark background anywhere on this page).
   ========================================================================== */

/* soft coloured halo per cell, echoing the icon accent */

/* ==========================================================================
   Platform Modules — compact tile grid mirroring the home page module set.
   Light cards, per-module accent colour driven by --acc / --acc-soft.
   ========================================================================== */
.ab-modules-section { background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft, #f8f9fc) 100%); }

/* Dual-color heading: solid ink lead-in + a distinct blue accent. Blue is
   used nowhere else on this page, so the line reads differently from the
   teal Our Story title and the purple/green used by the brand elements. */
.ab-modules-section .section-title em.ab-dual {
  font-style: normal;
  color: #1d4ed8;
  text-shadow: 0 6px 18px rgba(29, 78, 216, 0.22);
}

.ab-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.ab-modules-grid a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px 18px;
  border-radius: var(--r-lg);
  background: #ffffff;
  border: 1px solid var(--in4-border, #e7e8ee);
  box-shadow: 0 8px 22px rgba(24, 22, 50, 0.05);
  color: var(--in4-navy, #111827);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ab-modules-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--acc);
  box-shadow: 0 18px 36px rgba(24, 22, 50, 0.1);
  color: var(--in4-navy, #111827);
}

.ab-mod-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 13px;
  color: var(--acc);
  background: var(--acc-soft);
  transition: transform 0.3s var(--ease);
}

.ab-mod-ico .ico { width: 19px; height: 19px; }
.ab-modules-grid a:hover .ab-mod-ico { transform: scale(1.08); }

.ab-mod-name {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.ab-mod-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acc);
  opacity: 0.85;
}

/* first module: the core of the platform, filled in the brand gradient */
.ab-mod-featured a {
  border-color: transparent;
  background: linear-gradient(140deg, #6528f7 0%, #7b4bff 55%, #4518b8 100%);
  box-shadow: 0 16px 34px rgba(101, 40, 247, 0.3);
  color: #ffffff;
}
.ab-mod-featured a:hover {
  border-color: transparent;
  box-shadow: 0 22px 44px rgba(101, 40, 247, 0.38);
  color: #ffffff;
}
.ab-mod-featured .ab-mod-ico { background: rgba(255, 255, 255, 0.18); color: #ffffff; }
.ab-mod-featured .ab-mod-sub { color: #dcd0ff; opacity: 1; }

@media (max-width: 980px) {
  .ab-modules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .ab-modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-mod-name { font-size: 14px; }
}

@media (max-width: 380px) {
  .ab-modules-grid { grid-template-columns: 1fr; }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .ab-grid { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .ab-visual { order: -1; }
  .ab-copy h2 { max-width: 22ch; }
}

@media (max-width: 820px) {
  .ab-mv-grid { grid-template-columns: 1fr; }
  .ab-pane + .ab-pane {
    border-left: 0;
    padding-left: 0;
    padding-top: clamp(2rem, 6vw, 3rem);
    border-top: 1px solid rgba(108, 53, 255, 0.16);
  }
  .ab-deco { font-size: clamp(5rem, 18vw, 8rem); }
}

@media (prefers-reduced-motion: reduce) {
  .ab-pane-icon-inner,
  .ab-story-media,
  .ab-photo { animation: none; }
    .ab-pane-icon::after { display: none; }
  /* no slide-in: land the panes straight at rest */
  .ab-pane.mission.reveal,
  .ab-pane.vision.reveal { transform: none; }
}
/* ==========================================================================
   SaaS for Different Business Sizes (moved here from the HRMS page).
   Each tier gets its own brand hue on a soft tint (green -> violet -> teal),
   so the three cards read as distinct stages at a glance.
   ========================================================================== */
.ab-sizes-section .section-title em.ab-dual {
  font-style: normal;
  color: #6C35FF;
}

.hr-sizes { display: grid; grid-template-columns: 1fr 1.15fr 1.3fr; gap: 18px; align-items: end; }

.hr-size {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--acc) 20%, transparent);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  background: linear-gradient(168deg, var(--acc-soft) 0%, #ffffff 64%);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

/* accent bar across the top edge, fading off to the right */
.hr-size::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--acc) 0%, color-mix(in srgb, var(--acc) 42%, #ffffff) 100%);
}

.hr-size:nth-child(1) { --acc: #378223; --acc-soft: #eaf7e3; }
.hr-size:nth-child(2) { --acc: #7c3aed; --acc-soft: #f1edfe; padding-block: 30px; }
.hr-size:nth-child(3) { --acc: #0e7490; --acc-soft: #e3f5f9; padding-block: 38px; box-shadow: var(--shadow-md); }

/* hover lifts the card and tints its shadow with its own hue */
.hr-size:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--acc) 42%, transparent);
  box-shadow: 0 2px 6px rgba(24, 22, 50, .04), 0 18px 40px color-mix(in srgb, var(--acc) 22%, transparent);
}

.hr-size span { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--acc); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hr-size h3 { font-size: 17px; margin: 10px 0 8px; }
.hr-size p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Centred CTA under the three size cards. Deliberately plain markup — the
   button reuses the site-wide .btn-primary gradient, so only the block needs
   styling here. Compact on purpose: a small supporting line plus a standard
   (not .btn-lg) button, so it reads as an aside to the cards, not a
   competing call to action. */
.hr-sizes-cta {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: clamp(0.25rem, 1vw, 0.75rem);
  text-align: center;
}

.hr-sizes-cta p {
  max-width: 46ch;
  margin: 0 auto clamp(1rem, 1.6vw, 1.125rem);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1023px) {
  .hr-sizes { grid-template-columns: 1fr; align-items: stretch; }
}

@media (max-width: 640px) {
  .hr-sizes-cta .btn { width: 100%; }
  .hr-sizes-cta p { font-size: 14.5px; }
}

/* section title accent phrase: one solid colour (no gradient) */
.ab-story .section-title em {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #0E8C9B;
  -webkit-text-fill-color: #0E8C9B;
}

/* Our Journey: three office photos, one tall on the left and two stacked */
.ab-journey-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 16px);
  aspect-ratio: 1 / 1;
}
.ab-journey-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(24, 22, 50, 0.14);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), filter 0.45s var(--ease);
}
.ab-journey-mosaic .ab-jm-tall { grid-row: 1 / -1; }

/* hover: the photo lifts and grows slightly, the other two soften */
@media (hover: hover) {
  .ab-journey-mosaic:hover img { filter: saturate(0.85) brightness(0.96); }
  .ab-journey-mosaic img:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 26px 50px rgba(75, 32, 200, 0.22);
    filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-journey-mosaic img { transition: none; }
  .ab-journey-mosaic img:hover { transform: none; }
}

/* Our Story: one composed image (its tiles, shadows and light background are
   part of the picture), sitting left of the copy */
.ab-story-single { animation: none; }
.ab-story-single img {
  height: auto;
  border-radius: 0;
  box-shadow: none;
}
