/* About page v1 (owner approved the plan 2026-11-23). Surfaces: black opening (real team photo) → white story →
   paper names → dark values → warm team → white life wall → grey trust banner → close. One idea per section. */

/* Opening: the real team photo fades into the black; heading sits over the faded foot. */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 clamp(64px, 8vw, 104px); }
.ab-hero__img { margin: 0; position: relative; height: clamp(380px, 56vw, 680px); }
.ab-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.ab-hero__img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--wv-black) 30%, transparent) 0%, transparent 28%, transparent 46%, var(--wv-black) 100%); }
.ab-hero__in { position: relative; z-index: 1; margin-top: clamp(-150px, -11vw, -80px); }
.banner__k { font-size: 15px; font-weight: 500; color: var(--wv-night-muted); margin-bottom: 14px; }
.ab-hero .banner__h { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.04em; text-wrap: balance; }

/* Our story: years quiet in the margin, one sentence each, beside one real office photo. */
.ab-story { padding: clamp(80px, 10vw, 136px) 0; background: var(--wv-white); }
.ab-story__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.ab-years { list-style: none; margin: 36px 0 0; padding: 0; }
.ab-years li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--wv-line); }
.ab-years li:last-child { border-bottom: 1px solid var(--wv-line); }
.ab-years__y { font: 600 15px/1.6 var(--wv-font-text); color: var(--wv-muted); font-variant-numeric: tabular-nums; }
.ab-years p { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--wv-black); text-wrap: pretty; }
.ab-story__img { margin: 0; }
.ab-story__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

/* Gold highlighter (same mark as the case studies, css/work.css .wk-hl): sweeps in once on scroll (js/site.js). */
.wk-hl { padding: 0.06em 0.2em; margin: 0 -0.08em; border-radius: 3px; color: var(--wv-black); font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(color-mix(in srgb, var(--wv-gold) 55%, var(--wv-white)), color-mix(in srgb, var(--wv-gold) 55%, var(--wv-white))) no-repeat 0 0 / 100% 100%;
  transition: background-size 900ms var(--wv-ease); }
.wk-js .wk-hl { background-size: 0 100%; }
.wk-js .wk-hl.is-on { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .wk-hl { transition: none; } .wk-js .wk-hl { background-size: 100% 100%; } }
/* On black, the marked words stay white until the gold sweeps in, then turn black on the gold. */
.wk-js :is(.dark, .ab-hero) .wk-hl { color: var(--wv-white); transition: background-size 900ms var(--wv-ease), color 300ms var(--wv-ease) 300ms; }
.wk-js :is(.dark, .ab-hero) .wk-hl.is-on { color: var(--wv-black); }

/* Companies we have worked with (owner 2026-11-23: v1 dotted paragraph read noisy): a centred cloud in three sizes,
   one colour, no separators. Case-study names link: they turn black with a gold underline on hover. */
.ab-names { padding: clamp(88px, 11vw, 144px) 0; background: var(--wv-paper); border-top: 1px solid var(--wv-line); text-align: center; }
.ab-names__list { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; max-width: 1100px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: clamp(14px, 1.8vw, 24px) clamp(28px, 3.6vw, 56px); font-family: var(--wv-font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: color-mix(in srgb, var(--wv-muted) 80%, var(--wv-paper)); }
.ab-n1 { font-size: clamp(30px, 3.6vw, 52px); color: var(--wv-body); }
.ab-n2 { font-size: clamp(22px, 2.3vw, 32px); }
.ab-n3 { font-size: clamp(17px, 1.6vw, 22px); }
.ab-names__list a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color var(--wv-dur) var(--wv-ease), color var(--wv-dur) var(--wv-ease); }
.ab-names__list a:hover, .ab-names__list a:focus-visible { color: var(--wv-black); text-decoration-color: var(--wv-gold-deep); }

/* What we believe: three big lines on hairlines, each with one real moment. */
.ab-values { padding: clamp(88px, 11vw, 144px) 0; background: var(--wv-night); }
.ab-values__h { font: 600 15px/1.3 var(--wv-font-text); color: var(--wv-night-muted); }
.ab-values__list { list-style: none; margin: 28px 0 0; padding: 0; }
.ab-values__list li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 64px); align-items: baseline; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--wv-night-line); }
.ab-values__list li:last-child { border-bottom: 1px solid var(--wv-night-line); }
.ab-values__t { font: 700 clamp(40px, 5.4vw, 76px)/1 var(--wv-font-display); letter-spacing: -0.04em; color: var(--wv-white); }
.ab-values__list p { margin: 0; max-width: 40ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--wv-night-body); text-wrap: pretty; }

/* The people you will work with: real portraits on a warm surface; the human line shows on hover/focus (always on touch). */
.ab-team { padding: clamp(80px, 10vw, 128px) 0; background: color-mix(in srgb, var(--wv-gold-soft) 45%, var(--wv-white)); }
.ab-team__grid { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.ab-person { outline: none; }
.ab-person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform 500ms var(--wv-ease), box-shadow 500ms var(--wv-ease); }
.ab-person:hover img, .ab-person:focus-visible img { transform: translateY(-4px); box-shadow: 0 20px 40px color-mix(in srgb, var(--wv-black) 14%, transparent); }
.ab-person:focus-visible img { outline: 2px solid var(--wv-gold-deep); outline-offset: 4px; }
.ab-person__n { margin: 18px 0 0; font: 600 20px/1.3 var(--wv-font-display); letter-spacing: -0.01em; color: var(--wv-black); }
.ab-person__n:has(.ab-person__in) { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ab-person__in { display: grid; place-items: center; width: 36px; height: 36px; margin: -8px -8px -8px 0; flex: none; border-radius: 8px; color: var(--wv-muted); transition: color var(--wv-dur) var(--wv-ease), background var(--wv-dur) var(--wv-ease); }
.ab-person__in:hover, .ab-person__in:focus-visible { color: var(--wv-black); background: color-mix(in srgb, var(--wv-gold) 30%, var(--wv-white)); }
.ab-person__r { margin: 2px 0 0; font-size: 15px; color: var(--wv-muted); }
.ab-person__l { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--wv-body); opacity: 0; transform: translateY(4px); transition: opacity var(--wv-dur) var(--wv-ease), transform var(--wv-dur) var(--wv-ease); }
.ab-person:hover .ab-person__l, .ab-person:focus-visible .ab-person__l { opacity: 1; transform: none; }
@media (hover: none) { .ab-person__l { opacity: 1; transform: none; } }

/* Life at Webvoltz: two slow film strips of real photos, opposite directions (ambient loop), pause while hovered. */
.ab-life { padding: clamp(80px, 10vw, 128px) 0; background: var(--wv-white); overflow: hidden; }
.ab-life__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ab-life__sub { margin-top: 12px; font-size: clamp(17px, 1.4vw, 20px); color: var(--wv-body); }
.ab-life__go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--wv-line); border-radius: 6px; font-weight: 600; color: var(--wv-black); text-decoration: none;
  transition: border-color var(--wv-dur) var(--wv-ease), background var(--wv-dur) var(--wv-ease); }
.ab-life__go:hover, .ab-life__go:focus-visible { border-color: var(--wv-black); background: var(--wv-paper); }
.ab-life__go svg { transition: transform var(--wv-dur) var(--wv-ease); }
.ab-life__go:hover svg { transform: translateX(4px); }
.ab-film { margin-top: 44px; display: grid; gap: 14px; }
.ab-film__row { overflow: hidden; }
.ab-film__track, .ab-film__dup { display: flex; gap: 14px; width: max-content; }
.ab-film__dup { padding-left: 0; }
.ab-film img { height: clamp(170px, 20vw, 290px); width: auto; border-radius: 10px; object-fit: cover; }
.ab-film__row--a .ab-film__track { animation: film 90s linear infinite; }
.ab-film__row--b .ab-film__track { animation: film 100s linear infinite reverse; }
.ab-film__row:hover .ab-film__track { animation-play-state: paused; }
@keyframes film { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .ab-film__track { animation: none !important; }
  .ab-film__row { overflow-x: auto; }
  .ab-film__dup { display: none; }
}

/* Trust: one contained banner (not full width) with the real certificate. */
.ab-trust { padding: 0 0 clamp(80px, 10vw, 128px); background: var(--wv-white); }
.ab-trust__box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 2.4vw, 28px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--wv-line); border-radius: 12px; background: color-mix(in srgb, var(--wv-line) 32%, var(--wv-white)); color: var(--wv-body); text-decoration: none;
  transition: border-color var(--wv-dur) var(--wv-ease), box-shadow var(--wv-dur) var(--wv-ease); }
.ab-trust__box:hover, .ab-trust__box:focus-visible { border-color: var(--wv-black); box-shadow: 0 14px 32px color-mix(in srgb, var(--wv-black) 8%, transparent); }
.ab-trust__box img { width: 84px; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 10px 22px color-mix(in srgb, var(--wv-black) 18%, transparent); transition: transform 500ms var(--wv-ease); }
.ab-trust__box:hover img { transform: rotate(-1deg) scale(1.04); }
.ab-trust__t b { display: block; font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--wv-font-display); letter-spacing: -0.02em; color: var(--wv-black); }
.ab-trust__t > span { display: block; margin-top: 4px; font-size: 16px; }
.ab-trust__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wv-black); white-space: nowrap; }
.ab-trust__go svg { transition: transform var(--wv-dur) var(--wv-ease); }
.ab-trust__box:hover .ab-trust__go svg { transform: translateX(4px); }

/* Phones and narrow screens. */
@media (max-width: 900px) {
  .ab-story__grid { grid-template-columns: 1fr; }
  .ab-story__img img { aspect-ratio: 4 / 3; }
  .ab-values__list li { grid-template-columns: 1fr; gap: 10px; }
  .ab-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-trust__box { grid-template-columns: auto 1fr; }
  .ab-trust__go { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ab-hero__img { height: 300px; }
  .ab-hero__in { margin-top: -56px; }
  .ab-years li { grid-template-columns: 56px 1fr; gap: 14px; }
  .ab-team__grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .ab-person__n { font-size: 17px; }
  .ab-person__r, .ab-person__l { font-size: 14px; }
  .ab-trust__box img { width: 64px; }
}
