/* HatchDesk theme: about styles. Used by Home/AboutUs. Requires core.css. */

/* ==========================================================================
   About page (/Home/AboutUs) - markup lives in Views/Home/AboutUs.cshtml
   Reuses the home hero, stats, marquee, headings and .hd-dark section.
   ========================================================================== */
.hd.hd-about { background: var(--hd-paper); margin-top: -96px; overflow-x: clip; }
.hd .hd-ab-hero-grid { display: grid; gap: 48px; align-items: center; }
.hd .hd-ab-hero-grid > * { min-width: 0; }

/* hero visual: office photo in a circle, ringed by slow orbits and a light streak on its edge */
.hd .hd-ab-orbit { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; }
.hd .hd-ab-ring { position: absolute; border-radius: 999px; pointer-events: none; }
.hd .hd-ab-ring-outer { inset: 0; border: 1px solid rgba(255, 255, 255, .16); animation: hd-spin 48s linear infinite; }
.hd .hd-ab-ring-inner { inset: 8%; border: 1px dashed rgba(255, 255, 255, .28); animation: hd-spin 32s linear infinite reverse; }
.hd .hd-ab-ring i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 999px; background: var(--hd-lime); box-shadow: 0 0 0 4px rgba(124, 200, 255, .2), 0 0 18px var(--hd-lime); }
.hd .hd-ab-ring-inner i { top: auto; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: var(--hd-cyan); box-shadow: 0 0 0 4px rgba(65, 169, 252, .25), 0 0 16px var(--hd-cyan); }
/* light streak travelling around the photo edge (conic gradient masked to a thin ring) */
.hd .hd-ab-comet { position: absolute; inset: calc(16% - 7px); border-radius: 999px; pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0 55%, rgba(65, 169, 252, .9) 78%, var(--hd-lime) 92%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    animation: hd-spin 5s linear infinite; }
.hd .hd-ab-photo { position: absolute; inset: 16%; overflow: hidden; border-radius: 999px; border: 6px solid rgba(255, 255, 255, .14); background: rgba(11, 16, 32, .3);
    box-shadow: 0 40px 80px -24px rgba(11, 16, 32, .65); animation: hd-zoom-in 1s var(--hd-ease) both; }
.hd .hd-ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.08); transition: transform 1.2s var(--hd-ease); }
.hd .hd-ab-orbit:hover .hd-ab-photo img { transform: scale(1.16); }
.hd .hd-ab-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 40px -16px rgba(11, 16, 32, .5); }
.hd .hd-ab-badge-loc { left: 0; top: 18%; background: rgba(255, 255, 255, .95); color: var(--hd-ink); animation: hd-bob 6s ease-in-out infinite; }
.hd .hd-ab-badge-loc i { color: var(--hd-brand); }
.hd .hd-ab-badge-est { right: 2%; bottom: 14%; background: var(--hd-lime); color: var(--hd-ink); font-family: var(--hd-display); animation: hd-bob 7s ease-in-out -3s infinite; }
.hd .hd-ab-badge-est b { font-weight: 500; color: rgba(11, 16, 32, .78); }
@keyframes hd-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .hd .hd-ab-ring, .hd .hd-ab-comet, .hd .hd-ab-photo, .hd .hd-ab-badge { animation: none; }
    .hd .hd-ab-photo img { transition: none; }
}

/* why we are here */
.hd .hd-ab-why { padding: 40px 0 48px; }
.hd .hd-ab-why-head { display: grid; gap: 24px; }
.hd .hd-ab-why-copy p { font-size: 18px; line-height: 1.7; }
.hd .hd-ab-why-copy p + p { margin-top: 20px; }
.hd .hd-ab-why-copy .hd-ab-strong { color: var(--hd-ink); }

/* bento */
.hd .hd-bento { display: grid; gap: 16px; margin-top: 56px; }
.hd .hd-bento-card { position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 16, 32, .05); }
.hd .hd-bento-card h3 { font-family: var(--hd-display); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--hd-ink); }
.hd .hd-bento-card p { margin-top: 10px; }
.hd .hd-bento-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hd .hd-bento-ic { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 17px; }
.hd .hd-bento-ic.indigo { background: rgba(43, 63, 208, .1); color: var(--hd-indigo); }
.hd .hd-bento-ic.cyan { background: rgba(65, 169, 252, .12); color: #0891B2; }
.hd .hd-bento-mission { display: flex; flex-direction: column; min-height: 320px; padding: 36px 36px 64px; background: var(--hd-grad); color: rgba(255, 255, 255, .85); box-shadow: none; }
.hd .hd-bento-mission h3 { margin-top: auto; padding-top: 48px; font-size: 30px; color: #fff; }
.hd .hd-bento-mission p { max-width: 420px; font-size: 18px; }
.hd .hd-bento-code { position: absolute; right: 32px; bottom: 24px; font-family: var(--hd-mono); font-size: 12px; color: rgba(255, 255, 255, .5); }
.hd .hd-bento-photo { min-height: 220px; padding: 0; background: var(--hd-ink); }
.hd .hd-bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hd .hd-bento-commit { background: var(--hd-lime); color: rgba(11, 16, 32, .75); box-shadow: none; }
.hd .hd-bento-commit > i { font-size: 20px; color: var(--hd-ink); }
.hd .hd-bento-commit h3 { margin-top: 24px; }
.hd .hd-bento-commit p { font-size: 14px; }
.hd .hd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hd .hd-chips li { padding: 8px 16px; border-radius: 999px; background: var(--hd-paper); font-size: 14px; font-weight: 500; color: var(--hd-ink); }

/* founder */
.hd .hd-ab-founder-sec { padding: 48px 0; }
.hd .hd-founder { display: grid; overflow: hidden; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 16, 32, .05); }
.hd .hd-founder-photo { position: relative; min-height: 380px; background: linear-gradient(180deg, var(--hd-paper), #E8ECF8); }
.hd .hd-founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hd .hd-founder-badge { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; color: var(--hd-ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hd .hd-founder-badge i { color: var(--hd-brand); }
.hd .hd-founder-body { display: flex; flex-direction: column; justify-content: center; padding: 36px 28px; }
.hd .hd-founder-body blockquote { margin-top: 20px; font-family: var(--hd-display); font-size: 26px; font-weight: 600; line-height: 1.35; color: var(--hd-ink); }
.hd .hd-founder-body > p:not(.hd-kick) { margin-top: 20px; }
.hd .hd-founder-sign { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hd-line); }
.hd .hd-founder-sign b { display: block; font-family: var(--hd-display); color: var(--hd-ink); }
.hd .hd-founder-sign span { font-size: 14px; }

/* team */
.hd .hd-ab-team { padding-top: 64px; }
.hd .hd-team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.hd .hd-member { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 24px; background: linear-gradient(180deg, #E9EDF7, #D6DCEF); }
.hd .hd-member img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--hd-ease), filter .5s; }
.hd .hd-member figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .92); font-size: 12px; line-height: 1.4; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hd .hd-member figcaption b { display: block; font-family: var(--hd-display); font-size: 14px; color: var(--hd-ink); }
/* optional bio (2 lines max) and LinkedIn button, both set in Admin > About us */
.hd .hd-member figcaption.has-in { padding-right: 52px; }
.hd .hd-member-bio { display: -webkit-box; margin-top: 6px; overflow: hidden; font-size: 11px; line-height: 1.45; color: var(--hd-muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hd .hd-member-in { position: absolute; top: 50%; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: #0A66C2; font-size: 14px; color: #fff; transform: translateY(-50%); transition: transform .2s var(--hd-ease); }
.hd .hd-member-in:hover, .hd .hd-member-in:focus-visible { color: #fff; transform: translateY(-50%) scale(1.08); }
/* two-column phone grid: keep the caption small so the photo stays visible */
@media (max-width: 639.98px) {
    .hd .hd-member-bio { display: none; }
    .hd .hd-member figcaption.has-in { padding-right: 40px; }
    .hd .hd-member-in { right: 8px; width: 26px; height: 26px; font-size: 12px; }
}
/* greyscale -> colour only where hover exists, so touch screens always show colour */
@media (hover: hover) {
    .hd .hd-member img { filter: grayscale(1); }
    .hd .hd-member:hover img { filter: none; transform: scale(1.05); }
}

/* testimonials */
.hd.hd-about .hd-work-head { flex-wrap: wrap; }
.hd .hd-ab-trust { display: flex; align-items: center; gap: 8px; }
.hd .hd-ab-trust .stars { color: var(--hd-lime); letter-spacing: 2px; }
.hd .hd-ab-quotes { display: grid; gap: 16px; margin-top: 48px; }
.hd .hd-ab-quote { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); transition: transform .3s var(--hd-ease), border-color .3s; }
.hd .hd-ab-quote:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .25); }
.hd .hd-ab-quote-top { display: flex; align-items: center; justify-content: space-between; }
.hd .hd-ab-quote-top span { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .8); }
.hd .hd-ab-quote-top i { margin-left: auto; font-size: 24px; color: var(--hd-lime); } /* stays right when there is no project tag */
.hd .hd-ab-quote blockquote { flex: 1; margin-top: 24px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.hd .hd-ab-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .6); }
.hd .hd-ab-quote figcaption img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.hd .hd-ab-quote figcaption b { display: block; font-size: 14px; color: #fff; }

/* cta */
.hd .hd-ab-cta-sec { padding: 80px 0; }
.hd .hd-ab-cta { position: relative; overflow: hidden; padding: 56px 28px; border-radius: 32px; background: var(--hd-grad); color: rgba(255, 255, 255, .85); }
.hd .hd-ab-cta h2 { position: relative; margin-top: 16px; max-width: 680px; font-family: var(--hd-display); font-size: 34px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.hd .hd-ab-cta-sub { position: relative; margin-top: 16px; max-width: 560px; font-size: 17px; }
.hd .hd-ab-cta .hd-hero-ctas { position: relative; }
.hd .hd-ab-hiring { padding: 2px 8px; border-radius: 999px; background: rgba(52, 211, 153, .2); font-family: var(--hd-body); font-size: 10px; color: #A7F3D0; }

@media (min-width: 640px) {
    .hd .hd-team { grid-template-columns: repeat(3, 1fr); }
    .hd .hd-founder-body { padding: 48px; }
    .hd .hd-founder-body blockquote { font-size: 30px; }
    .hd .hd-ab-cta { padding: 64px 56px; border-radius: 40px; }
    .hd .hd-ab-cta h2 { font-size: 48px; }
}
@media (min-width: 768px) {
    .hd .hd-bento { grid-template-columns: repeat(4, 1fr); }
    .hd .hd-bento-mission { grid-column: span 2; grid-row: span 2; }
    .hd .hd-bento-vision { grid-column: span 2; }
    .hd .hd-bento-expertise { grid-column: span 4; }
    .hd .hd-bento-photo { min-height: 0; }
    .hd .hd-team { grid-template-columns: repeat(4, 1fr); }
    .hd .hd-ab-quotes { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .hd .hd-ab-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; }
    .hd .hd-ab-h1 { font-size: 54px; }
    .hd .hd-ab-orbit { max-width: 440px; margin-right: 0; }
    .hd .hd-ab-why-head { grid-template-columns: 1fr 1.1fr; gap: 48px; }
    .hd .hd-founder { grid-template-columns: .9fr 1.1fr; }
}
@media (min-width: 1280px) {
    .hd .hd-ab-h1 { font-size: 64px; }
}
@media (max-width: 639px) {
    .hd .hd-bento-mission { min-height: 280px; padding: 28px 28px 56px; }
    .hd .hd-bento-code { right: 28px; bottom: 22px; }
    .hd .hd-bento-mission h3 { font-size: 26px; }
    .hd .hd-founder-photo { min-height: 320px; }
    .hd .hd-ab-cta-sec { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hd .hd-member img, .hd .hd-ab-quote { transition: none; }
}
