/* tailend.dev /about/ : one narrow column of short chapters. Built by about-src/build.py. */
.ab { max-width: 720px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(72px, 10vw, 128px); box-sizing: content-box; }

.ab-hero { margin: 0 0 clamp(40px, 6vw, 64px); }
.ab-eyebrow { display: flex; align-items: center; gap: 12px; font: 500 15px/1.2 var(--text); color: var(--muted); margin: 0 0 18px; }
.ab h1 { font: 800 clamp(38px, 6vw, 60px)/1.05 var(--display); letter-spacing: -0.035em; color: var(--ink); margin: 0; }
.ab-logo { display: block; width: 36px; height: 36px; flex: none; }
.ab-hero-art { margin: clamp(32px, 5vw, 48px) 0 clamp(32px, 5vw, 44px); }
.ab-intro { font: 400 clamp(19px, 2.2vw, 22px)/1.55 var(--text); color: var(--ink); margin: 0 0 16px; }

.ab-ch { margin: 0; padding: clamp(32px, 4.5vw, 44px) 0 clamp(18px, 3vw, 28px); border-top: 1px solid var(--line); }
.ab-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px !important; font: 600 12.5px/1 var(--text) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.ab-kicker b { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.ab-art { margin: 0 0 22px; }
.ab-art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.ab-ch h2 { font: 700 clamp(24px, 3vw, 30px)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 14px; }
.ab-ch p, .ab-close p { font: 400 18px/1.7 var(--text); color: var(--ink-2); margin: 0 0 14px; }

/* The long-tail query, typed out */
/* A chatbot composer: a broad ask is typed, memory chips appear under it, and each one becomes part of the real search. */
.ab-chat { margin: 26px 0 28px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); box-shadow: var(--paper); overflow: hidden; }
.ab-chat-box { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; font: 500 17px/1.5 var(--text); color: var(--ink); min-height: 28px; }
.ab-chat-text { flex: 1; min-width: 0; }
.ab-caret { display: none; width: 2px; height: 1.2em; background: var(--lead); margin-left: -8px; animation: ab-caret 1s steps(1) infinite; }
.ab-chat.typing .ab-caret { display: inline-block; }
.ab-send { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; transition: background .3s, transform .3s; }
.ab-chat-mem { padding: 14px 20px 16px; border-top: 1px dashed var(--line-2); background: color-mix(in srgb, var(--lead) 4%, var(--surface)); }
.ab-chat-lab { display: block; margin: 0 0 10px; font: 600 12px/1 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.ab-chat-mem ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ab-chat-mem li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font: 500 14.5px/1.2 var(--text); color: var(--ink-2);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), border-color .4s, background .4s, color .4s; }
.ab-chat-out { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 16px 20px; border-top: 1px solid var(--line); font: 500 16.5px/1.5 var(--text); color: var(--ink); }
.ab-q-icon { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--lead); border-radius: 50%; position: relative; box-sizing: border-box; }
.ab-q-icon::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--lead); right: -4px; bottom: -6px; transform: rotate(-45deg); border-radius: 1px; }
.ab-chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ab-chat-q .f { padding-bottom: 1px; border-bottom: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.ab-chat-q .g, .ab-chat-q .f { transition: opacity .5s ease; }

.js .ab-chat.arm .ab-chat-mem li { opacity: 0; transform: translateY(6px) scale(.96); }
.js .ab-chat.arm .ab-chat-mem li.on { opacity: 1; transform: none; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--ink); }
.js .ab-chat.arm.done .ab-chat-mem li.on { border-color: var(--line-2); background: var(--surface); color: var(--ink-2); }
.js .ab-chat.arm .ab-chat-q .g, .js .ab-chat.arm .ab-chat-q .f { opacity: 0; }
.js .ab-chat.arm .ab-chat-q .on { opacity: 1; }
.js .ab-chat.arm.sent .ab-send { background: var(--lead); transform: scale(1.08); }

.ab-close { border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 56px); }
.ab-sign { font: 600 17px/1.4 var(--display) !important; color: var(--ink) !important; margin-top: 24px !important; }
.ab-sign span { display: block; font: 400 15px/1.4 var(--text); color: var(--muted); }
.ab-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 40px 0 0; }
.ab-facts dt { font: 800 28px/1 var(--display); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ab-facts dd { margin: 6px 0 0; font: 400 14.5px/1.4 var(--text); color: var(--muted); }
.ab .ab-tj { font-size: 15px; color: var(--muted); margin-top: 32px; }
.ab-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: no-preference) {
  .js .ab-ring { stroke-dasharray: 100; animation: ab-draw 1.6s cubic-bezier(.6, 0, .2, 1) .3s both; }
  .js .ab-dot { transform-box: fill-box; transform-origin: center; animation: ab-pop .55s cubic-bezier(.3, 1.6, .5, 1) 1.7s both, ab-blink 7s ease-in-out 4s 2; }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@keyframes ab-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ab-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes ab-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.12); } }
@keyframes ab-caret { 50% { opacity: 0; } }

/* Illustrations: drawn in with a soft wipe, then the orange accent comes alive. */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 112%; }
.ab-wipe { position: relative; display: block; }
.ab-fx { position: absolute; display: block; pointer-events: none; opacity: 0; }
.ab-lit, .ab-flick { border-radius: 40%; transform: scale(1.9); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 65%, transparent) 0%, transparent 100%); }
.ab-ping { aspect-ratio: 1; border: 2px solid var(--accent); border-radius: 50%; transform: translate(-50%, -50%) scale(.5); }

@media (prefers-reduced-motion: no-preference) {
  .js .ab-wipe { --p: 0%; -webkit-mask: linear-gradient(90deg, #000 calc(var(--p) - 14%), transparent var(--p)); mask: linear-gradient(90deg, #000 calc(var(--p) - 14%), transparent var(--p)); }
  .js .in .ab-wipe { --p: 114%; transition: --p 1.9s cubic-bezier(.55, .05, .25, 1); }
  .js .in .ab-lit { animation: ab-on 1s ease-out 1.6s forwards, ab-breathe 5s ease-in-out 2.6s 2 alternate forwards; }
  .js .in .ab-flick { animation: ab-flicker 1.2s steps(1, end) 1.7s forwards, ab-breathe 5s ease-in-out 2.9s 2 alternate forwards; }
  .js .in .ab-ping { animation: ab-ping 3s ease-out 2.2s 3; }
}
@keyframes ab-on { to { opacity: .85; } }
@keyframes ab-breathe { from { opacity: .85; transform: scale(1.9); } to { opacity: .45; transform: scale(2.2); } }
@keyframes ab-flicker { 0% { opacity: 0; } 12% { opacity: .9; } 22% { opacity: .1; } 36% { opacity: .85; } 44% { opacity: .05; } 60%, 100% { opacity: .85; } }
@keyframes ab-ping { 0% { opacity: .85; transform: translate(-50%, -50%) scale(.5); } 70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }

/* Hero: full-bleed street. The overlay walkers are positioned in container units so they scale with the picture. */
html { overflow-x: clip; }
.ab-hero-art { position: relative; width: min(1240px, 100vw); margin-left: calc(50% - min(620px, 50vw)); margin-right: 0; }
.ab-walk { position: absolute; inset: 0; display: block; overflow: hidden; container-type: inline-size; pointer-events: none; }
.ab-hero-art img { display: block; width: 100%; height: auto; }
.ab-hero-art .ab-wipe { mix-blend-mode: multiply; }
.ab-pair { position: absolute; left: 0; top: 84%; display: flex; align-items: flex-end; gap: 1.1cqw; opacity: 0; pointer-events: none; transform: translate(-18cqw, -100%); }
.ab-sp { display: block; overflow: hidden; flex: none; }
.ab-adult { height: 12cqw; aspect-ratio: .6081; }
.ab-kid { height: 8cqw; aspect-ratio: .6267; }
.ab-sp img { display: block; width: 800%; height: 100%; max-width: none; mix-blend-mode: normal; }
@media (prefers-reduced-motion: no-preference) {
  .js .ab-hero-art.in .ab-pair { animation: ab-stroll 10.6s linear 3.5s 1 forwards; }
  .js .ab-hero-art.in .ab-adult img { animation: ab-frames .8s steps(8) infinite; }
  .js .ab-hero-art.in .ab-kid img { animation: ab-frames .54s steps(8) infinite; }
}
@keyframes ab-frames { to { transform: translateX(-100%); } }
@keyframes ab-stroll { 0% { opacity: 0; top: 83%; transform: translate(-18cqw, -100%); } 3% { opacity: 1; } 97% { opacity: 1; } 100% { opacity: 0; top: 88%; transform: translate(104cqw, -100%); } }
.ab-occ { position: absolute; display: block; max-width: none; }
@media print { .js .ab-chat.arm .ab-chat-mem li, .js .ab-chat.arm .ab-chat-q .g, .js .ab-chat.arm .ab-chat-q .f { opacity: 1; transform: none; } }
