/* About Us (/about-us, Views/Public/About2025.cshtml): the page's own parts, on top of toybox-calm.css.
   Every selector starts with abt- (or .tc-root .abt-). */

/* ---------- Header: the story, the Capterra badge and the stats beside the team photo ---------- */
.abt-hero__grid { display: grid; gap: 40px 56px; align-items: center; }
@media (min-width: 992px) { .abt-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.abt-story p { margin: 0 0 14px; font-size: 1.125rem; line-height: 1.6; }
@media (min-width: 768px) { .abt-story p { font-size: 1.1875rem; } }
/* The motto on a yellow highlight, one box per line when it wraps */
.tc-root .abt-story b strong { padding: 0 .2em; border-radius: .2em; background: var(--tc-yellow); color: var(--tc-ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Capterra's badge is its own shape (a navy speech bubble), so it stands alone: a white sticker edge that follows the
   shape, and the family's offset shadow */
.abt-capterra { display: inline-block; margin: 8px 0 0; border-radius: 12px; transition: transform .15s ease; }
.abt-capterra img { display: block; width: 168px; height: auto; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 5px 0 var(--tc-deep)); }
.abt-capterra:hover { transform: translateY(-2px); }
/* The stats under a faint rule */
.abt-stats { display: flex; flex-wrap: wrap; gap: 18px 44px; margin: 28px 0 0; padding-top: 24px; border-top: 2px solid rgba(255, 255, 255, .18); }
.abt-stat { display: flex; flex-direction: column; gap: 4px; }
.abt-stat__n { font: 700 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1 var(--tc-display); font-variant-numeric: tabular-nums; color: var(--tc-yellow); }
.tc-root .abt-stat__l { margin: 0; font-size: .9688rem; color: #D9D6F5; }
.tc-root .abt-stat__l strong { font-family: var(--tc-display); color: #fff; }
@media (max-width: 575.98px) { .abt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; } }
/* The team photo in an ink frame, with yellow dots behind its corner */
.abt-photo { position: relative; isolation: isolate; margin: 0; }
.abt-photo img { display: block; width: 100%; height: auto; border: 4px solid var(--tc-deep); border-radius: 28px; box-shadow: 0 8px 0 var(--tc-deep), 0 40px 80px -30px rgba(15, 12, 44, .6); }
.abt-photo::before { content: ""; position: absolute; z-index: -1; right: -26px; bottom: -26px; width: 140px; height: 140px; background-image: radial-gradient(rgba(255, 201, 77, .8) 2px, transparent 2.5px); background-size: 14px 14px; }
@media (max-width: 575.98px) { .abt-photo::before { right: -10px; bottom: -16px; width: 100px; height: 100px; } }

/* ---------- Why CanIPhish? and its values ---------- */
.abt-why__head { max-width: 50rem; margin-left: auto; margin-right: auto; }
.tc-root .abt-why__head p { font-size: 1.125rem; }
/* The family's icon tiles, with a bigger tile for the drawn icons */
.abt-values { padding-top: 40px; }
.tc-root .abt-value__icon { width: 76px; height: 76px; margin: -64px 0 16px; border-radius: 22px; box-shadow: 0 5px 0 var(--tc-ink); }
.abt-value__icon svg { display: block; width: 52px; height: 52px; overflow: visible; }

/* ---------- The customers' quotes, two by two ---------- */
.tc-root .abt-stories__label { margin-bottom: 22px; text-align: center; }
.abt-quotes { display: grid; gap: 24px; }
@media (min-width: 900px) { .abt-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.abt-quote { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin: 0; padding: 24px 22px 20px; background: #fff; border: 3px solid var(--tc-ink); border-radius: 24px; box-shadow: var(--tc-drop); }
@media (min-width: 768px) { .abt-quote { padding: 28px 28px 22px; } }
.abt-quote__logo { align-self: flex-start; width: auto; max-width: 180px; height: 36px; object-fit: contain; object-position: 0 50%; }
.abt-quote__words { margin: 0; }
.tc-root .abt-quote__lead { margin: 0 0 10px; font: 700 1.25rem/1.32 var(--tc-display); color: var(--tc-ink); }
.tc-root .abt-quote__body { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--tc-ink-2); }
.abt-quote__by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 16px; border-top: 2px dashed var(--tc-line); }
.abt-quote__photo { flex: none; width: 54px; height: 54px; border: 2px solid var(--tc-ink); border-radius: 50%; object-fit: cover; background: var(--tc-sky-1); }
.abt-quote__who { flex: 1 1 180px; min-width: 0; }
.abt-quote__name { display: block; font: 700 1rem/1.25 var(--tc-display); color: var(--tc-ink); }
.abt-quote__role { display: block; font-size: .875rem; line-height: 1.45; color: var(--tc-muted); }
.abt-quote__more { font-size: .9375rem; }

/* ---------- The team ---------- */
.tc-root .abt-team__title { margin-bottom: 34px; text-align: center; }
/* Five cards: one row of five on a wide screen; three then the last two centred; two by two; then one each */
.abt-members { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.abt-member { position: relative; display: flex; flex: 1 1 100%; flex-direction: column; min-width: 0; padding: 10px; background: #fff; border: 3px solid var(--tc-ink); border-radius: 24px; box-shadow: var(--tc-drop); }
@media (min-width: 560px) { .abt-member { flex: 0 1 calc((100% - 22px) / 2); } }
@media (min-width: 900px) { .abt-member { flex-basis: calc((100% - 44px) / 3); } }
@media (min-width: 1200px) { .abt-member { flex-basis: calc((100% - 88px) / 5); } }
/* The headshot: a square studio portrait on the header's blue, filling its tile (the blue behind shows while it loads) */
.abt-member__pic { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; background: linear-gradient(170deg, #2D2981 0, #3F50C2 100%); }
.abt-member__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.abt-member__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 10px 8px; }
.tc-root .abt-member__role { margin: 0; font: 700 .75rem/1.3 var(--tc-display); letter-spacing: .08em; text-transform: uppercase; color: var(--tc-rust); }
.tc-root .abt-member__name { margin: 0; font: 700 1.375rem/1.2 var(--tc-display); color: var(--tc-ink); }
.tc-root .abt-member__bio { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--tc-ink-2); }
.abt-member__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.abt-member__in { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--tc-ink); border-radius: 12px; background: #fff; box-shadow: 0 3px 0 var(--tc-ink); font-size: 1.4rem; color: var(--tc-ink); text-decoration: none; transition: transform .15s ease, background-color .2s ease; }
.abt-member__in:hover, .abt-member__in:focus { background: var(--tc-yellow); color: var(--tc-ink); text-decoration: none; }
.abt-member__in:hover { transform: translateY(-2px); }
.abt-member__place { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--tc-sky-1); font: 600 .8125rem/1.3 var(--tc-display); color: var(--tc-ink); }
/* On a phone, a compact card: the headshot round beside the name, so five people don't take five screens */
@media (max-width: 559.98px) {
  .abt-member { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 14px; padding: 14px; }
  .abt-member__pic { width: 84px; height: 84px; border: 3px solid var(--tc-ink); border-radius: 50%; }
  /* In the small circle, closer in on the face */
  .abt-member__pic img { transform: scale(1.45); transform-origin: 50% 30%; }
  .abt-member__body { padding: 2px 0 0; }
}
