/* =====================================================================
   About page (/aboutus/)
   Builds on /products/hardware/hw-landing.css (tokens, buttons, reveals,
   letter animation). Everything here is namespaced .ab-*.
===================================================================== */
:root { --ab-gold: #b8893a; --ab-gold-2: #d9b36a; }
html.ab-modal-lock { overflow: hidden; }
.ab-page { background: #ffffff; }
.ab-page h1, .ab-page h2, .ab-page h3 { text-transform: none; }
.ab-page .hw-eyebrow, .ab-page .ab-kicker { text-transform: uppercase; }

/* ---------- Kicker (centered gold label between lines) ---------- */
.ab-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 10px;
    color: var(--ab-gold);
    font-family: var(--hw-sans);
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}
.ab-kicker::before, .ab-kicker::after {
    content: "";
    width: clamp(28px, 3.4vw, 54px);
    height: 1.5px;
    background: var(--ab-gold-2);
    transform: scaleX(0);
    transition: transform 0.9s var(--hw-ease) 0.25s;
}
.ab-kicker::before { transform-origin: right; }
.ab-kicker::after { transform-origin: left; }
.ab-kicker.is-in::before, .ab-kicker.is-in::after { transform: scaleX(1); }
.ab-kicker--left { justify-content: flex-start; }
.ab-kicker--left::before { display: none; }

/* ---------- Hero ---------- */
.ab-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(440px, 34vw, 620px);
    overflow: hidden;
    background: linear-gradient(90deg, #f6f1ea 0%, #f3ede5 45%, #efe8df 100%);
}
.ab-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 64%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.ab-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 60%;
    transform: scale(1.12);
    translate: var(--px, 0px) var(--py, 0px);
    opacity: 0;
    transition: transform 6s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 1.2s var(--hw-ease), translate 0.9s var(--hw-ease);
}
.hw-ready .ab-hero-media img { transform: scale(1.04); opacity: 1; }

.ab-hero-inner { position: relative; z-index: 2; padding-block: clamp(36px, 4vw, 70px); }
.ab-eyebrow { color: var(--hw-ink); }
.ab-eyebrow .hw-eyebrow-line { background: var(--ab-gold-2); }
.ab-hero-title {
    margin: 0 0 clamp(18px, 2vw, 30px);
    font-size: clamp(52px, 6.6vw, 112px);
    line-height: 0.98;
}
.ab-l1 { color: var(--hw-ink); }
.ab-l3 {
    background: linear-gradient(100deg, #a8762b 0%, #d9b36a 45%, #a8762b 90%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: abShine 6s ease-in-out 2s infinite;
}
.ab-l3 .hw-char { color: transparent; }
@keyframes abShine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

.ab-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(22px, 2.4vw, 36px); }
.ab-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1px solid rgba(31, 36, 33, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 26px rgba(31, 36, 33, 0.06);
    transition: transform 0.5s var(--hw-ease), box-shadow 0.5s var(--hw-ease);
}
.ab-stat:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(31, 36, 33, 0.1); }
.ab-stat strong { color: var(--hw-green); font-family: var(--hw-serif); font-size: clamp(28px, 2.4vw, 38px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ab-stat > span { max-width: 7.5em; color: var(--hw-text); font-size: 14px; font-weight: 600; line-height: 1.3; }

.ab-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.ab-play {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hw-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.ab-play-ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--hw-green);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: var(--hw-green);
    font-size: 18px;
    transition: transform 0.35s var(--hw-ease), background 0.4s var(--hw-ease), color 0.4s var(--hw-ease);
}
.ab-play-ring i { margin-left: 3px; }
.ab-play-ring::before, .ab-play-ring::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(13, 92, 47, 0.45);
    animation: abRipple 2.6s var(--hw-ease) infinite;
}
.ab-play-ring::after { animation-delay: 1.3s; }
.ab-play:hover .ab-play-ring, .ab-play:focus-visible .ab-play-ring { background: var(--hw-green); color: #ffffff; }
.ab-play:focus-visible { outline: none; }
.ab-play:focus-visible .ab-play-ring { box-shadow: 0 0 0 4px rgba(13, 92, 47, 0.2); }
.ab-play-text strong { display: block; font-size: 17px; font-weight: 700; }
.ab-play-text span { color: var(--hw-text); font-size: 14.5px; }
@keyframes abRipple { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Welcome (checklist + curved photo) ---------- */
.ab-why { padding-block: clamp(52px, 6vw, 100px) clamp(30px, 3vw, 50px); overflow: hidden; }
.ab-why-inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 70px); }
.ab-why-title { margin: 0 0 16px; font-family: var(--hw-serif); font-weight: 600; line-height: 1.05; }
.ab-why-title span { display: block; color: #6b6f6c; font-size: clamp(26px, 2.5vw, 40px); }
.ab-why-title em { display: block; color: var(--hw-green); font-size: clamp(36px, 3.6vw, 60px); font-style: normal; }
.ab-why-text { margin: 0 0 22px; max-width: 34em; color: var(--hw-text); font-size: clamp(15.5px, 1.1vw, 18px); line-height: 1.7; }
.ab-checks { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.ab-checks li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hw-ink);
    font-size: clamp(15.5px, 1.1vw, 18px);
    transition: opacity 0.9s var(--hw-ease), transform 1s var(--hw-ease), color 0.3s;
}
.ab-checks li:hover { color: var(--hw-green); }
.ab-checks svg { flex-shrink: 0; width: 26px; height: 26px; fill: none; stroke: var(--hw-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-checks svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s var(--hw-ease) calc(var(--d, 0) * 80ms + 0.25s); }
.ab-checks svg path { stroke-width: 2.4; transition-delay: calc(var(--d, 0) * 80ms + 0.75s); }
.ab-checks li.is-in svg * { stroke-dashoffset: 0; }
.ab-checks li:hover svg { animation: abPop 0.5s var(--hw-ease); }
@keyframes abPop { 50% { transform: scale(1.18); } }

.ab-why-media {
    position: relative;
    aspect-ratio: 1.6;
    border-radius: 50% 0 0 50% / 70% 0 0 70%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(31, 36, 33, 0.14);
    margin-right: calc(-1 * var(--hw-gutter));
}
.ab-why-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); transition: transform 2.4s var(--hw-ease); }
.ab-why-media.is-in img { transform: scale(1); }
.ab-why-media:hover img { transform: scale(1.04); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"].is-in, [data-reveal="left"].is-in { transform: none; }

/* ---------- Strengths timeline ---------- */
.ab-journey { padding-block: clamp(30px, 3.4vw, 56px) clamp(44px, 5vw, 80px); }
.ab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.ab-step {
    position: relative;
    display: block;
    padding: clamp(22px, 2vw, 30px);
    border: 1.5px solid var(--hw-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(31, 36, 33, 0.06);
    cursor: pointer;
    outline: none;
    overflow: hidden;
    transition: opacity 0.9s var(--hw-ease), transform 0.6s var(--hw-ease), border-color 0.45s var(--hw-ease), box-shadow 0.5s var(--hw-ease);
    transition-delay: calc(var(--d, 0) * 90ms), 0s, 0s, 0s;
}
.ab-step::before {                               /* soft green wash on the active card */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(13, 92, 47, 0.07) 0%, rgba(13, 92, 47, 0) 60%);
    opacity: 0;
    transition: opacity 0.5s var(--hw-ease);
}
.ab-step::after {                                /* timer bar while auto-playing */
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--hw-green);
    transform: scaleX(0);
    transform-origin: left;
}
.ab-steps.is-timing .ab-step.is-active::after { animation: abTimer var(--delay, 4500ms) linear forwards; }
@keyframes abTimer { to { transform: scaleX(1); } }
.ab-step.is-active { border-color: var(--hw-green); box-shadow: 0 20px 44px rgba(13, 92, 47, 0.14); }
.ab-step.is-active.is-in { transform: translateY(-6px); }
.ab-step.is-active::before { opacity: 1; }
.ab-step:focus-visible { box-shadow: 0 0 0 4px rgba(13, 92, 47, 0.2); }
.ab-step > * { position: relative; }
.ab-step-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #f3efe7;
    color: var(--ab-gold);
    transition: background 0.45s var(--hw-ease), color 0.45s var(--hw-ease), transform 0.6s var(--hw-ease);
}
.ab-step-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-step.is-active .ab-step-icon { background: var(--hw-green); color: #ffffff; transform: rotate(-8deg) scale(1.06); }
.ab-step-num {
    position: absolute;
    top: clamp(18px, 1.8vw, 26px);
    right: clamp(20px, 2vw, 28px);
    color: rgba(31, 36, 33, 0.08);
    font-family: var(--hw-serif);
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    transition: color 0.5s var(--hw-ease), transform 0.6s var(--hw-ease);
}
.ab-step.is-active .ab-step-num { color: rgba(13, 92, 47, 0.16); transform: translateY(-4px); }
.ab-step h3 { margin: 0 0 8px; color: var(--hw-ink); font-family: var(--hw-sans); font-size: clamp(17px, 1.3vw, 21px); font-weight: 700; transition: color 0.4s; }
.ab-step.is-active h3 { color: var(--hw-green); }
.ab-step p { margin: 0; color: var(--hw-text); font-size: 15px; line-height: 1.65; }

.ab-track { position: relative; display: flex; justify-content: space-between; margin: 34px calc(100% / 6) 0; height: 16px; align-items: center; }
.ab-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #dcdcd6; transform: translateY(-50%); }
.ab-track-fill {
    position: absolute;
    left: 0;
    top: 50%;
    height: 2px;
    width: 100%;
    background: var(--hw-green);
    transform: translateY(-50%) scaleX(var(--p, 0));
    transform-origin: left;
    transition: transform 0.8s var(--hw-ease);
}
.ab-dot {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    border: 2px solid #9aa09c;
    border-radius: 50%;
    background: #ffffff;
    transition: background 0.4s var(--hw-ease), border-color 0.4s var(--hw-ease), transform 0.5s var(--hw-ease);
}
.ab-dot.is-on { border-color: var(--hw-green); background: var(--hw-green); }
.ab-dot.is-current { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(13, 92, 47, 0.14); }

/* ---------- Help (photo + two columns) ---------- */
.ab-mv {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    align-items: center;
    background: #f7f6f2;
    overflow: hidden;
}
.ab-mv-media { position: relative; align-self: stretch; min-height: clamp(220px, 20vw, 330px); border-top-right-radius: 70% 100%; overflow: hidden; }
.ab-mv-media::after {                           /* gold edge */
    content: "";
    position: absolute;
    inset: 0;
    border-top-right-radius: inherit;
    box-shadow: inset -3px 0 0 var(--ab-gold-2);
    pointer-events: none;
}
.ab-mv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.4s var(--hw-ease); }
.ab-mv-media.is-in img { transform: scale(1); }
.ab-mv-cols { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; gap: clamp(20px, 3vw, 50px); padding: clamp(30px, 3vw, 50px) clamp(20px, 4vw, 70px); }
.ab-mv-rule { align-self: stretch; background: #d9d6cc; }
.ab-mv-item {
    display: block;
    padding: 18px;
    border-radius: 16px;
    color: var(--hw-ink);
    text-decoration: none !important;
    transition: opacity 0.9s var(--hw-ease), transform 0.6s var(--hw-ease), background 0.4s var(--hw-ease), box-shadow 0.5s var(--hw-ease);
}
.ab-mv-item.is-in:hover { background: #ffffff; transform: translateY(-5px); box-shadow: 0 18px 36px rgba(31, 36, 33, 0.08); }
.ab-mv-icon { display: block; width: 46px; height: 46px; margin-bottom: 14px; fill: none; stroke: var(--hw-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-mv-label { display: block; color: var(--hw-text); font-size: 15.5px; }
.ab-mv-big { display: block; margin: 2px 0; color: var(--hw-ink); font-family: var(--hw-serif); font-size: clamp(24px, 2.2vw, 36px); font-weight: 600; line-height: 1.2; transition: color 0.35s; }
.ab-mv-item:hover .ab-mv-big { color: var(--hw-green); }
.ab-ring { transform-origin: 30% 70%; }
.ab-mv-item:hover .ab-ring { animation: abRing 0.9s var(--hw-ease); }
.ab-wave { opacity: 0.35; transition: opacity 0.4s; }
.ab-mv-item:hover .ab-wave { opacity: 1; }
.ab-mv-item:hover .ab-headset { animation: abPop 0.6s var(--hw-ease); }
@keyframes abRing { 0%, 100% { transform: none; } 15%, 45%, 75% { transform: rotate(-12deg); } 30%, 60% { transform: rotate(12deg); } }

/* ---------- Video modal ---------- */
.ab-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(12, 18, 15, 0);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    transition: background 0.35s var(--hw-ease), backdrop-filter 0.35s var(--hw-ease);
}
.ab-modal[hidden] { display: none; }
.ab-modal.is-open { background: rgba(12, 18, 15, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ab-modal-box {
    position: relative;
    width: min(100%, 980px);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.35s var(--hw-ease), transform 0.5s var(--hw-ease);
}
.ab-modal.is-open .ab-modal-box { opacity: 1; transform: none; }
.ab-modal-frame, .ab-modal-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; overflow: hidden; }
.ab-modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: var(--hw-ink);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s var(--hw-ease), background 0.3s, color 0.3s;
}
.ab-modal-close:hover, .ab-modal-close:focus-visible { background: var(--hw-green); color: #ffffff; transform: rotate(90deg); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ab-hero { flex-direction: column; align-items: stretch; min-height: 0; }
    .ab-hero-media { position: relative; order: 2; width: 100%; height: clamp(240px, 52vw, 420px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%); }
    .ab-hero-inner { padding-bottom: 10px; }
    .ab-why-inner { grid-template-columns: 1fr; }
    .ab-why-media { order: -1; margin-right: calc(-1 * var(--hw-gutter)); border-radius: 50% 0 0 50% / 60% 0 0 60%; }
    .ab-steps { grid-template-columns: 1fr; }
    .ab-step.is-active.is-in { transform: none; }
    .ab-track { display: none; }
    .ab-mv { grid-template-columns: 1fr; }
    .ab-mv-media { min-height: 220px; border-top-right-radius: 0; border-bottom-right-radius: 50% 26%; border-bottom-left-radius: 50% 26%; }
    .ab-mv-media::after { box-shadow: inset 0 -3px 0 var(--ab-gold-2); }
}
@media (max-width: 600px) {
    .ab-mv-cols { grid-template-columns: 1fr; padding: 22px 16px 30px; gap: 6px; }
    .ab-mv-rule { height: 1px; }
    .ab-modal-close { top: -52px; right: 0; }
    .ab-stat { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
    .ab-l3, .ab-play-ring::before, .ab-play-ring::after { animation: none !important; }
    .ab-hero-media img { opacity: 1; transition: none; }
    .ab-checks svg * { stroke-dashoffset: 0; }
    .ab-steps .ab-step::after { display: none; }
}
