/* ==========================================================================
   DINK DISTRICT — Court Theme · About page styles
   (extends theme.css + product.css — tokens, type, buttons, stats, marquee, UGC, footer reused)
   ========================================================================== */

/* ---------- hero ---------- */
.ahero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  background: var(--ink); color: #fff; border-radius: 32px;
  padding: clamp(28px, 4.6vw, 72px);
  min-height: clamp(520px, 52vw, 700px);
}
.ahero::before { /* glow */
  content: ""; position: absolute; z-index: -2; left: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 242, 58, .16), transparent 65%);
}
.ahero::after { /* court lines */
  content: ""; position: absolute; z-index: -1; inset: 22px; border: 1.5px solid rgba(255, 255, 255, .07); border-radius: 22px;
  background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 50% 0 / 1.5px 100% no-repeat;
  pointer-events: none;
}
.ahero__copy { display: grid; gap: 22px; justify-items: start; }
.ahero .eyebrow { color: var(--lime); }
.ahero h1 { font-size: clamp(44px, 5.2vw, 80px); }
.ahero h1 em { display: block; font-style: italic; font-weight: 850; color: var(--lime); }
.ahero p { color: rgba(255, 255, 255, .78); font-size: clamp(15px, 1.25vw, 17.5px); max-width: 50ch; text-wrap: pretty; }
.ahero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ahero__copy > * { animation: cardIn .8s var(--ease) both; }
.ahero__copy > :nth-child(2) { animation-delay: .08s; }
.ahero__copy > :nth-child(3) { animation-delay: .16s; }
.ahero__copy > :nth-child(4) { animation-delay: .24s; }

.collage { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 40vw, 560px); animation: cardIn 1s .15s var(--ease) both; }
.collage figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--ink-2); }
.collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.06); }
.collage figure:nth-child(1) { grid-row: 1 / span 2; border-radius: 120px 24px 24px 24px; }
.collage figure:nth-child(1) img { object-position: 50% 30%; }
.collage figure:nth-child(2) img { object-position: 50% 50%; }
.collage figure:nth-child(3) { border-radius: 24px 24px 90px 24px; }
.collage figcaption { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 31, 28, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 700 11.5px var(--f-body); letter-spacing: .02em; }
.stamp { position: absolute; z-index: 3; left: -34px; bottom: 36px; width: 124px; height: 124px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-m); }
.stamp svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp svg.ring text { font: 800 9px var(--f-display); font-stretch: 100%; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.stamp b { font: 900 italic 26px/1 var(--f-display); font-stretch: 125%; letter-spacing: -.04em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee wrapper ---------- */
.band-marq { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }

/* ---------- story / timeline ---------- */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.story__aside { display: grid; gap: 18px; justify-items: start; position: sticky; top: 100px; }
.story__aside .lede { max-width: 44ch; }
.story__aside blockquote { margin: 10px 0 0; padding: 22px 24px; border-radius: var(--r-l); background: var(--lime); color: var(--ink); font: 750 clamp(18px, 1.7vw, 22px)/1.25 var(--f-display); font-stretch: 108%; letter-spacing: -.015em; text-wrap: balance; }
.story__aside blockquote cite { display: block; margin-top: 14px; font: 700 12px var(--f-body); font-style: normal; letter-spacing: .02em; opacity: .75; }

.ytabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ytab { height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 800 15px var(--f-display); font-stretch: 112%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; transition: all .3s var(--ease); }
.ytab:hover { border-color: var(--ink); transform: translateY(-2px); }
.ytab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.ypanel { display: grid; border-radius: 32px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-s); animation: cardIn .55s var(--ease); }
.ypanel[hidden] { display: none; }
.ypanel__img { position: relative; aspect-ratio: 16 / 9.4; background: var(--ink); overflow: hidden; }
.ypanel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 8s ease-out forwards; transform: scale(1.06); }
@keyframes kb { to { transform: scale(1); } }
.ypanel__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 28, .7)); }
.ypanel__yr { position: absolute; z-index: 2; left: clamp(20px, 2.6vw, 34px); bottom: 14px; font: 900 italic clamp(56px, 8vw, 104px)/.9 var(--f-display); font-stretch: 125%; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--lime); }
.ypanel__body { padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; }
.ypanel__body h3 { font: 800 clamp(22px, 2.3vw, 30px)/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; }
.ypanel__body p { color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.ypanel__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ypanel__facts span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font: 700 12.5px var(--f-body); }
.ypanel__facts .i { width: 16px; height: 16px; color: var(--ink-3); }

/* ---------- values ---------- */
.sec-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sec-intro .h2 { margin-top: 10px; max-width: 18ch; }
.sec-intro p { max-width: 44ch; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.value { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: 26px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); }
.value__n { font: 900 italic 76px/.8 var(--f-display); font-stretch: 125%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(10, 31, 28, .2); margin-bottom: auto; transition: -webkit-text-stroke-color .3s; }
.value:hover .value__n { -webkit-text-stroke-color: var(--ink); }
.value__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, transform .45s var(--ease); }
.value:hover .value__ico { background: var(--lime); transform: rotate(-8deg) scale(1.06); }
.value h3 { font: 800 21px/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; }
.value p { color: var(--muted); font-size: 14.5px; }
.value--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.value--ink p { color: rgba(255, 255, 255, .72); }
.value--ink .value__n { -webkit-text-stroke-color: rgba(255, 255, 255, .28); }
.value--ink:hover .value__n { -webkit-text-stroke-color: var(--lime); }
.value--ink .value__ico { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: var(--lime); }
.value--lime { background: var(--lime); border-color: var(--lime); }
.value--lime p { color: rgba(10, 31, 28, .75); }
.value--lime .value__n { -webkit-text-stroke-color: rgba(10, 31, 28, .35); }
.value--lime .value__ico { background: rgba(10, 31, 28, .08); border-color: rgba(10, 31, 28, .18); }
.value--lime:hover .value__ico { background: var(--ink); color: var(--lime); }

/* ---------- how we test (dark split) ---------- */
.test { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 32px; background: var(--ink); color: #fff; }
.test__img { position: relative; min-height: 440px; }
.test__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.test__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--ink)); }
.test__badge { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-m); animation: floaty 6s ease-in-out infinite; }
.test__badge .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.test__badge b { display: block; font: 800 20px/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.test__badge span { font-size: 12px; color: var(--muted); font-weight: 600; }
.test__body { padding: clamp(28px, 4.4vw, 68px); display: grid; gap: 18px; align-content: center; }
.test .eyebrow { color: var(--lime); }
.test h2 { font-size: clamp(32px, 4.2vw, 60px); }
.test h2 em { color: var(--lime); font-style: italic; }
.test__body > p { color: rgba(255, 255, 255, .74); max-width: 48ch; }
.steps { display: grid; margin-top: 8px; border-top: 1px solid var(--line-inv); }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-inv); transition: padding .4s var(--ease); }
.step:hover { padding-left: 8px; }
.step__n { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font: 800 14px var(--f-display); font-stretch: 112%; color: var(--lime); transition: all .3s; }
.step:hover .step__n { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.step b { display: block; font: 750 18px/1.2 var(--f-display); font-stretch: 108%; letter-spacing: -.01em; margin-bottom: 4px; }
.step p { color: rgba(255, 255, 255, .68); font-size: 14.5px; }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.member { display: grid; gap: 14px; }
.member__pic { position: relative; aspect-ratio: 1 / 1.1; border-radius: var(--r-l); overflow: hidden; background: var(--c, var(--ink)); color: var(--fc, #fff); display: grid; place-items: center; transition: transform .6s var(--ease), border-radius .6s var(--ease); isolation: isolate; }
.member__pic::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 55%); }
.member__pic::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); transform: translate(-50%, -62%); transition: transform .7s var(--ease); }
.member:hover .member__pic { transform: translateY(-6px); border-radius: 80px 24px 24px 24px; }
.member:hover .member__pic::after { transform: translate(-50%, -70%) scale(1.1); }
.member__pic b { font: 900 italic clamp(64px, 8vw, 116px)/1 var(--f-display); font-stretch: 125%; letter-spacing: -.06em; }
.member__pic span { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .28); font: 700 11.5px var(--f-body); }
.member--lime .member__pic span { background: rgba(10, 31, 28, .1); border-color: rgba(10, 31, 28, .2); }
.member h3 { font: 800 19px/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -.015em; }
.member small { display: block; margin-top: 4px; font: 700 10.5px var(--f-display); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.member p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.member--lime .member__pic { --c: var(--lime); --fc: var(--ink); }
.member--blue .member__pic { --c: var(--blue); }
.member--coral .member__pic { --c: var(--coral); }
.member--cream .member__pic { --c: var(--cream-2); --fc: var(--ink); }
.member--cream .member__pic span { background: rgba(10, 31, 28, .06); border-color: var(--line); }

/* ---------- closing band (reuses .news) ---------- */
.news--cta { grid-template-columns: 1.2fr .8fr; }
.news--cta::before { right: -250px; top: -270px; }
.news--cta .news__btns { display: grid; gap: 12px; }
.news--cta .news__btns .btn { height: 56px; }
.news--cta .btn--ghost { --bg: rgba(10, 31, 28, .6); }
.news--cta .btn--ghost:hover { --bg: #fff; }

/* current page in the header nav */
.nav__link[aria-current="page"] { background: rgba(10, 31, 28, .07); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value { min-height: 280px; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: 1fr; }
  .story__aside { position: static; }
}
@media (max-width: 900px) {
  .ahero { grid-template-columns: 1fr; min-height: 0; }
  .ahero::after { background: none; }
  .collage { height: clamp(320px, 70vw, 460px); }
  .stamp { left: auto; right: -8px; bottom: -14px; width: 104px; height: 104px; }
  .stamp b { font-size: 22px; }
  .test { grid-template-columns: 1fr; }
  .test__img { min-height: 300px; }
  .test__img::after { background: linear-gradient(0deg, var(--ink), transparent 60%); }
  .news--cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ahero, .test, .news--cta { border-radius: 24px; }
  .ahero h1 { font-size: clamp(36px, 11vw, 56px); }
  .ahero::after { inset: 12px; border-radius: 16px; }
  .collage { gap: 8px; }
  .collage figure:nth-child(1) { border-radius: 70px 20px 20px 20px; }
  .collage figure:nth-child(3) { border-radius: 20px 20px 60px 20px; }
  .values { grid-template-columns: 1fr; gap: 10px; }
  .value { min-height: 0; }
  .value__n { font-size: 56px; margin-bottom: 8px; }
  .crew { gap: 10px; }
  .member__pic { border-radius: 20px; }
  .member h3 { font-size: 16px; }
  .member p { display: none; }
  .ytab { height: 42px; padding: 0 18px; }
  .ypanel { border-radius: 24px; }
  .sec-intro { align-items: start; }
}
