/* ============================================================
   Winjit US - About and Contact
   Uses the page family already established on the landing and
   industry pages: the .in-hero band with glass stat tiles, the
   .in-dec card grid, and the site .contact-form. Only what those
   do not already cover lives here.
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   Hero - reuses .lp-hero (landing page background: aurora,
   engineering grid, horizon glow). That component's sub/CTA
   reveal is driven by js/landing.js adding .is-ready, which
   this page doesn't load, so show the sub directly and give it
   the same one-shot CSS entrance the other .in-hero pages use.
   ------------------------------------------------------------ */
.ab-hero__inner h1 { animation: in-rise 900ms var(--ease-out) both; }
.ab-hero__inner .lp-hero__sub {
  opacity: 1; transform: none;
  animation: in-rise 900ms var(--ease-out) 150ms both;
}

/* "We are Winjit" reuses .lp-impact-grid / .lp-cell as-is from
   landing.css - no page-specific overrides needed. */

/* ------------------------------------------------------------
   Values We Vibe By - reuses .lp-gov's dark governance band and
   card grid; three values instead of that component's usual four
   ------------------------------------------------------------ */
#values .lp-gov__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { #values .lp-gov__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { #values .lp-gov__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   Leadership - the .in-mark card with a portrait above it
   ------------------------------------------------------------ */
.ab-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: 34px; }
.ab-person {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-card);
  transition: opacity 500ms var(--ease-out), transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 250ms ease;
}
.ab-person:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue-lift); border-color: var(--blue-hover-border); }
/* placeholder until real portraits are supplied */
.ab-person__photo {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; display: grid; place-items: center; align-content: center; gap: 6px;
  background: linear-gradient(150deg, var(--grad-soft-stops));
  border-bottom: 1px solid var(--strokes);
}
.ab-person__photo span {
  font-family: var(--ff-display); font-size: 30px; font-weight: 700; color: var(--primary); opacity: .5;
}
.ab-person__photo em { font-style: normal; font-size: 11px; letter-spacing: .04em; color: var(--grey-500); }
.ab-person__body { padding: 20px 20px 22px; }
.ab-person h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--grey-900); }
.ab-person__role { margin: 0 0 10px; font-size: 14px; color: var(--grey-600); }
.ab-person__link { font-size: 12.5px; color: var(--grey-400); font-style: italic; }
@media (max-width: 800px) { .ab-people { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------
   Contact - split hero (headline, deck, stats, globe graphic)
   next to a flat-field lead form, direct details in a strip below
   ------------------------------------------------------------ */
.ab-contact { position: relative; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }

.ab-contact__globe {
  position: absolute; left: -6%; bottom: -12%; width: min(60%, 720px);
  pointer-events: none; user-select: none; z-index: 0;
}

.ab-contact__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .87fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.ab-contact__intro { display: flex; flex-direction: column; }
.ab-contact__intro .ab-direct { margin-top: auto; }
.ab-contact__intro h2 { font-weight: 700; max-width: 14ch; }
.ab-contact__intro .lp-deck { max-width: 42ch; }

.ab-contact__stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.ab-contact__num {
  display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(30px, 3vw, 38px); color: var(--grey-900); line-height: 1;
}
.ab-contact__num em { font-style: normal; color: var(--live-green); }
.ab-contact__stats p { margin: 8px 0 0; max-width: 16ch; font-size: 14.5px; line-height: 1.4; color: var(--grey-700); }

.ab-form {
  background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-card);
  padding: clamp(10px, 1.2vw, 14px); box-shadow: var(--shadow-blue-lift);
}
.ab-form h3 { font-size: clamp(15px, 1.2vw, 17px); font-weight: 700; margin: 0 0 22px; max-width: 20ch; }
.ab-form input, .ab-form textarea {
  display: block; width: 100%; margin: 0 0 14px; padding: 15px 18px;
  font-family: var(--ff-base); font-size: 15px; color: var(--grey-900);
  background: var(--grey-100); border: 1px solid var(--grey-100); border-radius: var(--radius-control);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ab-form input::placeholder, .ab-form textarea::placeholder { color: var(--grey-500); }
.ab-form input:focus, .ab-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: var(--focus-halo); background: #fff;
}
.ab-form textarea { resize: vertical; }
.ab-form__error { display: block; margin: -10px 0 12px; font-size: 13px; font-weight: 600; color: #B42318; }
.ab-form__error:empty { margin: 0; }
.ab-form input.is-invalid, .ab-form textarea.is-invalid { border-color: #B42318; }
.ab-form__consent { margin: 4px 0 18px; font-size: 13px; line-height: 1.5; color: var(--grey-600); }
.ab-form__consent span { color: var(--primary); }

/* HubSpot embed sits inside the same card boundary as the old
   custom form; the iframe itself is styled from HubSpot's side
   (Style & preview tab), we only control the frame's box here. */
.ab-form--hubspot .hs-form-frame { min-height: 420px; }
.ab-form--hubspot .hs-form-frame iframe { display: block; width: 100% !important; border: 0; }

.ab-submit {
  display: block; width: 100%; justify-content: center;
  background: var(--grey-900); color: #fff; border-radius: var(--radius-pill);
}
.ab-submit:hover { background: #000; }

/* Direct contact - same card weight as the form: this is the
   other half of "how to reach us," not a footer afterthought */
.ab-direct {
  position: relative; z-index: 1; margin-top: clamp(24px, 3vw, 32px);
  background: #fff; border: 1px solid var(--strokes); border-radius: var(--radius-card);
  box-shadow: var(--shadow-blue-lift); padding: clamp(34px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
.ab-direct__item { position: relative; padding-left: clamp(52px, 5vw, 60px); min-height: 52px; }
.ab-direct__icon {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; padding: 7px;
  color: var(--primary); background: var(--soft-blue); border-radius: 50%;
}
.ab-direct h3 {
  margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary);
}
.ab-direct p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--grey-700); }
.ab-direct a { color: var(--grey-900); font-weight: 600; }
.ab-direct a:hover { color: var(--primary); }

.ab-note { margin: 28px 0 0; font-size: 15px; line-height: 1.6; color: var(--grey-600); }
.ab-note a { color: var(--primary); font-weight: 700; }
.ab-note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-global { position: relative; z-index: 1; margin: 28px 0 0; font-size: 15px; color: var(--grey-600); }
.ab-global a { color: var(--primary); font-weight: 700; }
.ab-global a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .ab-contact__grid { grid-template-columns: 1fr; }
  .ab-direct { grid-template-columns: 1fr; gap: 20px; }
}

/* leadership sits on the black surface, so the cards follow it */
.lp-gov .ab-person { background: var(--midnight-card); border-color: var(--midnight-card-border); }
.lp-gov .ab-person:hover { border-color: rgba(0, 237, 135, .45); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.lp-gov .ab-person__photo { background: linear-gradient(150deg, #1C1C22, #14201C); border-bottom-color: var(--midnight-card-border); }
.lp-gov .ab-person__photo span { color: var(--aurora-mint); opacity: .6; }
.lp-gov .ab-person__photo em { color: var(--grey-500); }
.lp-gov .ab-person h3 { color: #fff; }
.lp-gov .ab-person__role { color: var(--grey-400); }

/* LinkedIn link on a leadership card */
.ab-person__link {
  display: inline-flex; align-items: center; gap: 8px; font-style: normal;
  font-size: 13.5px; font-weight: 700; color: var(--primary);
}
.ab-person__link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.ab-person__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-gov .ab-person__link { color: var(--aurora-mint); }

/* supplied portrait sits over the placeholder */
.ab-person__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
}
