﻿/* About page: a short intro, a profile card, what I do, and a call to action. Same glass language as the rest. */
.ab__head { max-width: 1000px; margin: 150px auto 36px; padding: 0 30px; }
.ab__kicker { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #86868b; }
.ab__title { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: .98; font-weight: 700; letter-spacing: -.05em; color: #1d1d1f; }
.ab__lead { margin: 22px 0 0; max-width: 640px; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -.02em; color: #424245; }

.ab__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; padding: 0 30px; align-items: start; }
.ab__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ab__card {
  padding: 24px; border-radius: 28px; color: #1d1d1f;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.5), 0 0 0 .5px rgba(0,0,0,.07), 0 24px 44px -26px rgba(0,0,0,.28);
  transition: transform .5s cubic-bezier(.34, 1.4, .5, 1);
}
.ab__card:hover { transform: translateY(-3px); }
.ab__card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.ab__card p { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; color: #6e6e73; }
.ab__n { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #d9132a; }

.ab__me img { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px rgba(255,255,255,.8), 0 14px 26px -12px rgba(0,0,0,.35); }
.ab__me h2 { margin: 18px 0 2px; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.ab__me p { font-size: 15px; }
.ab__me dl { margin: 22px 0 0; display: grid; gap: 0; }
.ab__me dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.08); font-size: 14px; letter-spacing: -.01em; }
.ab__me dt { color: #86868b; font-weight: 500; }
.ab__me dd { margin: 0; text-align: right; font-weight: 600; }

.ab__cta {
  max-width: 1000px; margin: 64px auto 0; padding: 30px 34px; border-radius: 28px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(160deg, #2a2c33, #131316 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 .5px rgba(0,0,0,.5), 0 30px 46px -26px rgba(0,0,0,.6);
}
.ab__cta h2 { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
.ab__btn { height: 46px; padding: 0 22px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1f; background: linear-gradient(180deg, #fff, #ededf0); transition: transform .45s cubic-bezier(.34, 1.5, .5, 1); }
.ab__btn:hover { transform: translateY(-2px); }
.ab__btn i { font-style: normal; transition: transform .45s cubic-bezier(.34, 1.8, .5, 1); }
.ab__btn:hover i { transform: translate(3px, -3px); }
.ab__cta + .ft { margin-top: 80px; }

@media (max-width: 860px) { .ab__grid { grid-template-columns: 1fr; padding: 0 24px; } .ab__head { padding: 0 24px; margin-top: 120px; } .ab__cta { margin: 48px 24px 0; } }
@media (max-width: 560px) { .ab__cards { grid-template-columns: 1fr; } }

/* ---- refinement: rhythm, entrance, hover and press feedback ---- */
.ab__head { margin-bottom: 44px; }
.ab__lead { max-width: 600px; text-wrap: balance; }
.ab__cards { grid-auto-rows: 1fr; }
.ab__card { display: flex; flex-direction: column; padding: 26px; position: relative; overflow: hidden;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s cubic-bezier(.22, 1, .36, 1); }
.ab__card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(220px 160px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.7), transparent 70%); }
.ab__card:hover { transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.55), 0 0 0 .5px rgba(0,0,0,.07), 0 30px 50px -28px rgba(0,0,0,.3); }
.ab__card:hover::before { opacity: 1; }
.ab__card > * { position: relative; }
.ab__card h3 { margin: auto 0 8px; padding-top: 22px; }
.ab__me h2 { margin-top: 20px; }
.ab__me dl { margin-top: auto; padding-top: 24px; }
.ab__me { min-height: 100%; }

.ab__btn { position: relative; overflow: hidden; transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); }
.ab__btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transition: left .8s cubic-bezier(.22, 1, .36, 1); }
.ab__btn:hover { box-shadow: 0 14px 26px -12px rgba(0,0,0,.6); }
.ab__btn:hover::after { left: 120%; }
.ab__btn:active { transform: scale(.97); transition-duration: .15s; }
.ab__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* entrance: soft rise + fade, staggered through --d; set up only when JS is running */
.js-ab [data-reveal] { opacity: 0; transform: translateY(18px); }
.js-ab [data-reveal].is-in { opacity: 1; transform: none;
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1) var(--d, 0s), transform 1s cubic-bezier(.22, 1, .36, 1) var(--d, 0s), box-shadow .6s cubic-bezier(.22, 1, .36, 1); }
.js-ab .ab__card[data-reveal].is-in:hover { transform: translateY(-2px); transition-delay: 0s; }
.ab__kicker, .ab__title, .ab__lead { transition: none; }

@media (prefers-reduced-motion: reduce) {
  /* no movement, only a gentle fade */
  .js-ab [data-reveal] { transform: none; }
  .js-ab [data-reveal].is-in { transition: opacity .6s ease var(--d, 0s); }
  .ab__card, .ab__card:hover, .js-ab .ab__card[data-reveal].is-in:hover { transform: none; }
  .ab__btn::after { display: none; }
}
@media (max-width: 860px) { .ab__me { min-height: 0; } .ab__me dl { margin-top: 22px; } }
