/* ==========================================================================
   Y2K — one page. Loaded on a/y2k.html only.

   Founder, 2026-09-26: the page is Annie's Claude artifact, shell excepted.
   Rank by gloss: floating objects on a pastel-metallic ground, no visible
   grid, ordered by specular highlight. The chrome name and the translucent
   coloured blobs lead (the flare and sparkles went with the withdrawn card
   line, 2026-09-29); the demonstration panels are frosted and carry a travelling
   highlight; the record is the most matte thing here (solid pearl panels,
   ink at AA). Objects alternate their offset so they float rather than
   stack on a column; nothing leads by size alone.

   Gloss, translucency and gradient-clipped type belong to DISPLAY type and
   to decoration only (h1, panel headings, the demonstration chips). Every
   sentence sits on a calm solid or near-solid light ground in ink.

   MOTION (declared only under prefers-reduced-motion: no-preference):
   blobs breathe on a 7s loop, panel highlights travel every 13-15s,
   one demonstration panel drifts 8px over 12s. Nothing flashes, no hue
   cycles. The record never moves.

   Contrast (text / ground, WCAG):
   ink    #1D2340 on pearl #F4F5FB ...... 14.9  (body)
   ink2   #454C74 on pearl .............. 8.0   (secondary)
   kind   #4F56A0 on pearl .............. 6.1   (kind-of-claim labels, dt)
   link   #3B3FD8 on pearl .............. 6.6
   ink    #1D2340 on ground #C8D0E6 ..... 9.9   (hero defining line)
   Chrome headings: darkest stop #1D2340, lightest #6C79A3 (3.9:1 on pearl,
   large bold type only).
   ========================================================================== */
@font-face {
  font-family: "Nunito X";
  src: url("fonts/nunito.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito X";
  src: url("fonts/nunito-italic.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

.yk-page {
  --yk-ink: #1D2340;
  --yk-ink2: #454C74;
  --yk-kind: #4F56A0;
  --yk-link: #3B3FD8;
  --yk-pearl: #F4F5FB;
  --yk-pearl2: #E8EBF6;
  --yk-line: #C9CFE6;
  --yk-pink: #FBD3EE;
  --yk-ice: #D6E4FF;
  --yk-face: "Nunito X", "Varela Round", "Trebuchet MS", sans-serif;
  background: #DFE4F2;
  overflow-x: clip;
}
.yk-page main {
  /* pastel metallic ground: silver, ice, lilac. SUPPORTED (colour). */
  background:
    radial-gradient(ellipse at 20% 4%, #FFFFFF, transparent 40%),
    radial-gradient(ellipse at 90% 14%, #CFE6FF, transparent 45%),
    radial-gradient(ellipse at 30% 60%, #F3D6FF, transparent 50%),
    radial-gradient(ellipse at 80% 90%, #D8E4FA, transparent 50%),
    linear-gradient(160deg, #DFE4F2, #C8D0E6 50%, #E8DFF4);
  color: var(--yk-ink);
  font: 500 1.0625rem/1.6 var(--yk-face);
  overflow-x: clip;
  position: relative;
}
.yk-page main :focus-visible { outline: 3px solid var(--yk-link); outline-offset: 3px; border-radius: 12px; }

/* ---- the display voice: chrome, on headings only ------------------------ */
.yk-chrome { color: var(--yk-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .yk-chrome {
    background: linear-gradient(180deg, #1D2340 0%, #454C74 42%, #6C79A3 52%, #2C3560 64%, #1D2340 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) { .yk-chrome { background: none; color: CanvasText; } }

.yk-wrap, .yk-rw {
  position: relative;
  max-width: 62.5rem;
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 1rem;
  overflow-x: clip;
}
.yk-rw { padding-top: 0; padding-bottom: 5rem; }

/* ---- blobs: translucent coloured shells, smooth curves, no sharp edges ----
   (kcc:form-1, kcc:form-2). Decoration, hidden from assistive technology. */
.yk-blob {
  position: absolute;
  width: var(--yk-s); height: calc(var(--yk-s) * 0.86);
  pointer-events: none;
  border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%;
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 calc(var(--yk-s) * 0.08) calc(var(--yk-s) * 0.12) rgba(255,255,255,.75), inset 0 calc(var(--yk-s) * -0.1) calc(var(--yk-s) * 0.18) rgba(29,35,64,.14), 0 10px 18px -12px rgba(40,50,110,.35);
  z-index: 0;
}
.yk-blob--p { background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.85) 0 10%, rgba(255,154,223,.5) 36%, rgba(255,154,223,.28)); }
.yk-blob--i { background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.85) 0 10%, rgba(166,200,255,.55) 36%, rgba(166,200,255,.3)); }
.yk-blob--l { background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.85) 0 10%, rgba(243,214,255,.6) 36%, rgba(243,214,255,.32)); }

/* ---- the hero: the glossiest, nearest object ----------------------------- */
.yk-hero { position: relative; z-index: 1; text-align: center; padding: 3rem 0 1.5rem; }
.yk-era, .yk-aka li {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(40,50,110,.35);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--yk-ink);
  margin: 0;
}
.yk-h1 {
  position: relative;
  margin: 0.4rem 0 0;
  font: 900 clamp(96px, 20vw, 220px)/0.9 var(--yk-face);
  letter-spacing: -0.04em;
  color: #6C79A3;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .yk-h1 {
    background: linear-gradient(180deg, #FFFFFF 0%, #DFE6F5 28%, #6C79A3 50%, #F5F8FF 56%, #8E9BC4 78%, #3D4A78 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(29,35,64,.28);
    filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 10px 18px rgba(60,70,130,.35));
  }
}
@media (forced-colors: active) { .yk-h1 { background: none; color: CanvasText; -webkit-text-stroke: 0; filter: none; } }
.yk-def {
  position: relative;
  margin: 0.75rem auto 0; max-width: 34rem;
  font: 800 clamp(1.125rem, 2.2vw, 1.5rem)/1.35 var(--yk-face);
  color: var(--yk-ink);
}
.yk-aka { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.yk-aka li { font-weight: 600; }

/* ---- the objects ---------------------------------------------------------- */
.yk-pn {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  margin: 2.1rem 6% 2.1rem 0;
}
.yk-pn--r { margin: 2.1rem 0 2.1rem 6%; }
.yk-pn--wide { margin-left: 0; margin-right: 0; }
.yk-pn > * { position: relative; z-index: 1; }
/* highlights sit under the content, never over a sentence */
.yk-pn::before, .yk-pn::after { z-index: 0; }
.yk-pn p { margin: 0 0 0.8rem; }
.yk-pn > :last-child { margin-bottom: 0; }

/* frosted, glossy: the demonstration panels (rank 2) */
.yk-pn--gloss {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(40,50,110,.4), inset 0 1px 0 #fff;
}
.yk-pn--gloss::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  border-radius: 28px 28px 60% 60% / 28px 28px 30px 30px;
  pointer-events: none;
}
.yk-pn--gloss::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  pointer-events: none;
}

/* matte, solid: the record (rank 3, the most matte thing here) */
.yk-pn--matte {
  background: var(--yk-pearl);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px -20px rgba(40,50,110,.35), inset 0 1px 0 #fff;
}

.yk-h2 { margin: 0 0 0.75rem; font: 900 clamp(1.625rem, 3.6vw, 2.375rem)/1.1 var(--yk-face); letter-spacing: -0.02em; }
.yk-h3 { margin: 0 0 0.5rem; font: 900 1.25rem/1.2 var(--yk-face); color: var(--yk-ink); }
.yk-n { font-weight: 700; }
.yk-small { font-size: 0.9375rem; color: var(--yk-ink2); }
.yk-kind {
  display: block;
  font: 800 0.75rem/1.4 var(--yk-face);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yk-kind);
  margin-bottom: 0.25rem;
}
.yk-page .yk-a { color: var(--yk-link); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yk-page .yk-a:hover { color: var(--yk-ink); }

/* ---- rank by gloss ------------------------------------------------------ */
.yk-rule { background: rgba(255,255,255,.8); border-radius: 18px; padding: 0.9rem 1.1rem; }
.yk-rank { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0 1rem; align-items: end; }
.yk-g {
  position: relative; overflow: hidden;
  height: 150px; border-radius: 24px;
  display: grid; place-items: end center; padding: 0.75rem;
  text-align: center; font-weight: 800; font-size: 0.9375rem; line-height: 1.3;
  color: var(--yk-ink);
  background: linear-gradient(160deg, #C8D4F2, #A9B8E0);
  border: 1px solid rgba(255,255,255,.8);
}
.yk-g span { position: relative; }
.yk-g--1 { transform: translateY(-14px) scale(1.04); box-shadow: 0 24px 30px -12px rgba(40,50,110,.45); }
.yk-g--1::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 6%; height: 48%;
  border-radius: 20px 20px 50% 50%;
  background: linear-gradient(#fff, rgba(255,255,255,.1));
}
.yk-g--2 { box-shadow: 0 12px 20px -12px rgba(40,50,110,.35); }
.yk-g--2::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 8%; height: 30%;
  border-radius: 20px 20px 50% 50%;
  background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0));
}
.yk-g--3 { background: #B6BED6; border-color: #B6BED6; }

/* ---- blob and shell: the research's form findings ---------------------- */
.yk-shells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0 1rem; }
.yk-shell { position: relative; height: 150px; display: grid; place-items: end center; padding: 0.75rem; text-align: center; font-weight: 800; font-size: 0.9375rem; line-height: 1.3; color: var(--yk-ink); }
.yk-shell i { position: absolute; inset: 0.5rem 1.25rem 2.4rem; border-radius: 48% 52% 46% 54% / 58% 58% 42% 42%; border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 10px 14px rgba(255,255,255,.7), 0 14px 20px -14px rgba(40,50,110,.45); }
.yk-shell span { position: relative; }
.yk-shell--whole i { background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.9) 0 8%, rgba(166,200,255,.55) 34%, rgba(166,200,255,.32)); }
.yk-shell--accent i { background: linear-gradient(180deg, rgba(255,154,223,.35) 0 38%, #E8EBF6 38%); }
.yk-shell--accent i::after { content: ""; position: absolute; left: 12%; right: 12%; top: 8%; height: 22%; border-radius: 50%; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.yk-shell--corner i { background: #C8D4F2; border-radius: 4px; box-shadow: none; outline: 2px dashed rgba(29,35,64,.4); outline-offset: -8px; }
.yk-tri__doc { margin-top: 0.5rem; }

/* ---- same chrome, three languages ------------------------------------- */
.yk-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.75rem; }
.yk-tri { margin: 0; }
.yk-tri figcaption { font-size: 0.9375rem; margin-top: 0.6rem; }
.yk-tri__k { font-weight: 800; }
.yk-chip {
  height: 130px; border-radius: 24px;
  display: grid; place-items: center;
  font: 900 44px/1 var(--yk-face);
  color: #fff;
  background: linear-gradient(160deg, #FF9ADF, #A6C8FF);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 12px 20px -12px rgba(40,50,110,.4);
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.yk-chip--v { font: 500 26px/1 var(--yk-face); letter-spacing: 0.4em; filter: saturate(.8); outline: 2px dashed rgba(29,35,64,.4); outline-offset: -10px; }
.yk-chip--f {
  background: rgba(255,255,255,.6);
  color: var(--yk-ink);
  font: italic 600 0.875rem/1.4 var(--yk-face);
  text-align: center;
  border: 2px dashed #6C79A3;
  box-shadow: none; text-shadow: none;
}

/* ---- THE RECORD ------------------------------------------------------------- */
/* The shell's scroll reveal must never leave the record at opacity 0.
   (Outranks site.css's .js-reveal rule.) */
.yk-page main > section.yk-rec { opacity: 1; transform: none; transition: none; will-change: auto; }
.yk-rec { position: relative; z-index: 1; }

.yk-meta, .yk-four { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; }
.yk-meta > div, .yk-four > div { min-width: 0; }
.yk-meta dt, .yk-four dt { font: 900 0.75rem/1.4 var(--yk-face); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yk-kind); }
.yk-meta dd, .yk-four dd { margin: 0.15rem 0 0; }
.yk-meta__wide { grid-column: 1 / -1; }
.yk-meta a { color: var(--yk-link); }
.yk-four { margin-top: 1rem; }
.yk-four--one { grid-template-columns: 1fr; }

.yk-claim { font: 800 clamp(1.25rem, 2.4vw, 1.625rem)/1.35 var(--yk-face); letter-spacing: -0.01em; }
.yk-dx {
  background: var(--yk-pink);
  border-radius: 20px;
  padding: 0.9rem 1.1rem;
  font-weight: 800;
}

.yk-tw { overflow-x: auto; }
.yk-ct, .yk-rt { width: 100%; border-collapse: collapse; }
.yk-ct th, .yk-ct td, .yk-rt th, .yk-rt td { text-align: left; vertical-align: top; padding: 0.75rem 0.5rem; border-top: 1px solid var(--yk-line); }
.yk-ct th { width: 13rem; }
.yk-ct td p { margin: 0 0 0.4rem; }
.yk-ct .yk-kind { margin: 0.35rem 0 0; }
.yk-rt thead th { font: 900 0.75rem/1.4 var(--yk-face); letter-spacing: 0.12em; text-transform: uppercase; color: var(--yk-kind); border-top: 0; }
.yk-rt tbody th { font-weight: 700; }
.yk-yes { font-weight: 800; }
.yk-no { color: var(--yk-ink2); }
.yk-none { color: var(--yk-ink2); font-style: italic; }
.yk-firm { font-weight: 700; }

.yk-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.yk-page a.yk-pill {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 1rem;
  border-radius: 999px;
  background: var(--yk-ice);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff;
  color: var(--yk-ink); font-weight: 700; text-decoration: none;
}
.yk-page a.yk-pill--dim { background: var(--yk-pearl2); }
.yk-page a.yk-pill:hover { background: #fff; }

.yk-swatch { list-style: none; margin: 0 0 0.3rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.yk-swatch li { display: inline-flex; align-items: center; gap: 0.45rem; }
.yk-swatch i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(29,35,64,.25); box-shadow: inset 0 3px 4px rgba(255,255,255,.7); }
.yk-swatch code { font: 700 0.8125rem/1 var(--yk-face); color: var(--yk-ink); }

.yk-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 0.75rem; }
.yk-area { background: #fff; border-radius: 22px; padding: 1rem 1.1rem; border: 1px solid var(--yk-line); }
.yk-area ul { list-style: none; margin: 0; padding: 0; }
.yk-area li + li { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--yk-line); }
.yk-area p { margin: 0; }

.yk-conf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.yk-page a.yk-tile, .yk-page div.yk-tile {
  display: flex; flex-direction: column; gap: 0.3rem; height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--yk-line);
  color: var(--yk-ink);
  text-decoration: none;
}
.yk-page a.yk-tile:hover { border-color: var(--yk-link); box-shadow: 0 10px 20px -14px rgba(40,50,110,.5); }
.yk-tile__n { font: 900 1.25rem/1.2 var(--yk-face); color: var(--yk-ink); }
.yk-page a.yk-tile .yk-tile__n { color: var(--yk-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yk-tile .yk-kind { margin: 0; }
.yk-tile__t { font-size: 0.9375rem; color: var(--yk-ink); }

.yk-use { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.9rem; }
.yk-page a.yk-btn {
  display: flex; flex-direction: column; gap: 0.2rem;
  min-height: 44px; padding: 0.9rem 1.3rem;
  border-radius: 26px;
  background: var(--yk-pearl2);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 10px 18px -14px rgba(40,50,110,.55);
  color: var(--yk-ink);
  text-decoration: none;
}
.yk-page a.yk-btn b { font: 900 1.0625rem/1.25 var(--yk-face); }
.yk-page a.yk-btn span { font-size: 0.9375rem; color: var(--yk-ink2); }
.yk-page a.yk-btn--lead { background: var(--yk-pink); }
.yk-page a.yk-btn:hover { background: #fff; }
.yk-foot { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 1.25rem; }
.yk-foot .yk-a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- motion: slow, ambient, and only when allowed ----------------------- */
@media (prefers-reduced-motion: no-preference) {
  .yk-blob { animation: yk-breathe 7s ease-in-out infinite; animation-delay: var(--yk-d); }
  .yk-pn--gloss::after { animation: yk-sheen 13s linear infinite; }
  .yk-pn--r.yk-pn--gloss::after { animation-duration: 15s; animation-delay: 4s; }
  .yk-drift { animation: yk-drift 12s ease-in-out infinite alternate; }
}
@keyframes yk-breathe { 50% { transform: scale(.94) rotate(4deg); } }
@keyframes yk-sheen { from { left: -40%; } to { left: 140%; } }
@keyframes yk-drift { to { transform: translateY(-8px); } }

/* ---- narrow ---------------------------------------------------------------- */
@media (max-width: 720px) {
  .yk-rank, .yk-three, .yk-meta, .yk-four { grid-template-columns: 1fr; }
  .yk-pn, .yk-pn--r { margin-left: 0; margin-right: 0; }
  .yk-g { height: 96px; }
  .yk-g--1 { transform: none; }
  .yk-shells { grid-template-columns: 1fr; }
  .yk-shell { height: 130px; width: 100%; max-width: 15rem; margin-inline: auto; }
  .yk-ct, .yk-ct tbody, .yk-ct tr, .yk-ct th, .yk-ct td { display: block; width: auto; }
  .yk-ct td { border-top: 0; padding-top: 0; }
}
/* the research table keeps its three columns in the panel without scrolling */
@media (max-width: 480px) {
  .yk-rt th, .yk-rt td { padding-inline: 0.25rem; }
  .yk-rt { font-size: 0.9375rem; }
  .yk-rt thead th { letter-spacing: 0.04em; }
}
