/* /about/ (owner, 24 Nov 2026: "so boring", "flat bgs everywhere"). The hero, grounds and index come from
   assets/css/company.css; this file draws the AI-against-AI panel, the name block and the bento. Tokens only. */

/* ------------------------------------------------------------ hero: AI against AI */
.ab-duel { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.ab-side { position: relative; padding: var(--sp-5); border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); box-shadow: var(--e1); }
.ab-side.atk { border-color: color-mix(in srgb, var(--red-500) 30%, transparent); background: radial-gradient(90% 60% at 0% 0%, color-mix(in srgb, var(--red-500) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--navy-850), var(--navy-900)); }
.ab-side.def { border-color: var(--teal-a40); background: radial-gradient(90% 60% at 100% 0%, var(--teal-a12), transparent 70%), linear-gradient(180deg, var(--navy-825), var(--navy-900));
  box-shadow: var(--e2), 0 30px 80px -30px var(--teal-a24); }
.ab-k { margin: 0 0 var(--sp-4); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-400); }
.atk .ab-k { color: var(--red-300); }
.def .ab-k { color: var(--teal-300); }
.ab-side ul { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.ab-side li { display: grid; gap: 4px; }
.ab-side li span { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-400); }
.ab-side li b { font: 600 var(--fs-md)/1.3 var(--display); color: var(--ink-50); }
.ab-side li i { position: relative; display: block; height: 4px; margin-top: 6px; border-radius: var(--r-full); background: var(--line); overflow: hidden; }
.ab-side li i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; animation: ab-fill 2.4s var(--ease-decelerate) both; }
.atk li i::after { background: linear-gradient(90deg, color-mix(in srgb, var(--red-500) 40%, transparent), var(--red-400)); }
.def li i::after { background: linear-gradient(90deg, var(--teal-a40), var(--teal-400)); }
.ab-side li:nth-child(2) i::after { animation-delay: .25s; }
.ab-side li:nth-child(3) i::after { animation-delay: .5s; }
@keyframes ab-fill { from { width: 0; } }
.ab-side .co-live { position: absolute; right: var(--sp-4); top: var(--sp-4); margin: 0; padding: 4px 10px; }
.ab-mid { position: relative; display: grid; align-content: center; justify-items: center; gap: var(--sp-6); }
.ab-mid span { position: relative; width: 100%; height: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--red-500) 50%, transparent), var(--teal-a60)); overflow: hidden; }
.ab-mid span::after { content: ''; position: absolute; top: -2px; left: -8px; width: 8px; height: 6px; border-radius: var(--r-full); background: var(--teal-300); box-shadow: 0 0 10px var(--teal-400);
  animation: ab-run 2.2s linear infinite; }
.ab-mid span:nth-child(2)::after { animation-delay: .7s; }
.ab-mid span:nth-child(3)::after { animation-delay: 1.4s; }
@keyframes ab-run { to { left: 100%; } }
.ab-mid em { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); background: var(--navy-950); font: 600 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; font-style: normal; color: var(--ink-200); }

/* ------------------------------------------------------------ origin: the standard head, then three aligned cards
   (owner, 24 Nov 2026: "boxes are imbalanced and not aligned"). The name card runs the full width (kanji left, the
   Kurikara Ryuo text right of a dashed divider); the two meaning cards sit below it as equal halves. All three share one
   card style, padding and gap, and every edge lines up with the card above or beside it. */
@font-face { font-family: 'Kurikara JP'; src: url('/assets/fonts/noto-sans-jp-500-kurikara.woff') format('woff'); font-weight: 500; font-style: normal;
  font-display: swap; unicode-range: U+4F3D, U+5036, U+5229, U+738B, U+7F85, U+9F8D; }
/* The large kanji in brush calligraphy (owner, 24 Nov 2026: "change the kanji font to something more artistic"): Yuji Syuku
   (SIL OFL 1.1), the Google Fonts subset for these four characters only (text=倶利伽羅, 3.4 KB), self-hosted like every
   site font (no Google Fonts hop, design review C20/C21). Plain navy ink, no effects; the sans stack is the fallback. */
@font-face { font-family: 'Kurikara Brush'; src: url('/assets/fonts/yuji-syuku-kurikara.woff2') format('woff2'); font-weight: 400; font-style: normal;
  font-display: swap; unicode-range: U+4F3D, U+5036, U+5229, U+7F85; }
.ab-origin { --ja: 'Kurikara JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', Meiryo, sans-serif; }
.ab-origin { display: grid; gap: var(--sp-4); }
.ab-name, .ab-means li { position: relative; display: flex; flex-direction: column; padding: var(--sp-6); border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--paper-line); box-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 6%, transparent), 0 16px 36px -20px color-mix(in srgb, var(--navy-950) 30%, transparent); overflow: hidden; }
.ab-name::after, .ab-means li::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: var(--r-full); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal-400) 14%, transparent), transparent); }
.ab-origin p { margin: 0; color: var(--paper-ink-2); text-wrap: pretty; }
/* the name card: the kanji in plain navy ink and the pronunciation, then the Kurikara Ryuo text */
.ab-origin .ab-name { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--sp-7); }
.ab-name .ab-word-ja { font: 400 clamp(56px, 3.6vw + 28px, 88px)/1.15 'Kurikara Brush', var(--ja); color: var(--paper-ink); }
.ab-name .ab-word-say { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-3); margin-top: var(--sp-3);
  font: 500 var(--fs-md)/1.4 var(--display); color: var(--paper-ink); }
.ab-word-say span { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--teal-ink); }
.ab-def { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: var(--sp-7); border-left: 1px dashed var(--paper-line-strong); }
.ab-def > p:last-child { max-width: 62ch; }
/* From 1024 up the name card splits on the same line as the cards below: the dashed divider sits over their gap and
   the Kurikara Ryuo text starts where "Resolve" starts (card border + padding + number gutter on each side of the 16 px gap). */
@media (min-width: 1024px) {
  .ab-origin .ab-name { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--sp-4) + 2 * (var(--sp-6) + 56px + 1px)); }
  .ab-name::before { content: ''; position: absolute; left: 50%; top: var(--sp-6); bottom: var(--sp-6); border-left: 1px dashed var(--paper-line-strong); }
  .ab-def { padding-left: 0; border-left: 0; }
}
.ab-means .ab-prac { padding-top: var(--sp-4); border-top: 1px dashed var(--paper-line-strong); }
.ab-def .ab-def-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-2); }
.ab-def-h b { font: 600 var(--fs-xl)/1.2 var(--display); color: var(--paper-ink); }
.ab-def-h span { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--paper-ink-2); }
/* the meaning cards: two equal halves, number in the left gutter, footers on one line */
.ab-means { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 var(--sp-4); margin: 0; padding: 0; list-style: none; }
.ab-means li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding-left: calc(var(--sp-6) + 56px); }
.ab-n { position: absolute; left: var(--sp-6); top: var(--sp-6); font: 600 var(--fs-2xl)/1 var(--display); letter-spacing: var(--tr-tight); color: var(--teal-ink); }
.ab-means .h3 { margin: 0 0 var(--sp-2); }
.ab-means li > p:not(.ab-prac) { margin-bottom: var(--sp-5); }
.ab-means .ab-prac { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); align-items: baseline; align-content: flex-start; color: var(--paper-ink); font-weight: 500; }
.ab-prac span { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--teal-ink); }

/* ------------------------------------------------------------ principle, mission, vision: a bento with drawings */
.ab-bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: var(--sp-4); }
.ab-tile { position: relative; display: flex; flex-direction: column; padding: var(--sp-6); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(80% 70% at 100% 0%, var(--teal-a06), transparent 70%), linear-gradient(180deg, var(--navy-825), var(--navy-900)); box-shadow: var(--edge-hi), var(--e1);
  transition: border-color var(--dur-base) var(--ease-standard), transform var(--dur-slow) var(--ease-standard); }
.ab-tile:hover { border-color: var(--teal-a40); transform: translateY(-2px); }
.ab-tile.big { grid-row: span 2; }
.ab-tag { margin: 0 0 var(--sp-4); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--teal-300); }
.ab-tile .h3 { margin: 0 0 var(--sp-2); font-size: var(--fs-2xl); letter-spacing: var(--tr-tight); color: var(--ink-50); }
.ab-tile.big .h3 { font-size: var(--fs-3xl); letter-spacing: var(--tr-h1); }
.ab-tile > p:not(.ab-tag) { margin: 0; max-width: 46ch; color: var(--ink-200); }
.ab-ev { display: grid; gap: var(--sp-2); margin-top: auto; padding: var(--sp-4); border-radius: var(--r-md); border: 1px solid var(--line); background: color-mix(in srgb, var(--navy-950) 40%, transparent); }
.ab-tile.big > p:not(.ab-tag) { margin-bottom: var(--sp-6); }
.ab-ev-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--sp-1) var(--sp-2); font: 600 var(--fs-sm)/1 var(--display); color: var(--ink-50); }
.ab-ev-h em { font: 400 var(--fs-xs)/1 var(--mono); font-style: normal; color: var(--ink-400); }
.ev { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--navy-950) 50%, transparent); font: 500 var(--fs-sm)/1.3 var(--display); color: var(--ink-50);
  animation: ab-in .6s var(--ease-decelerate) both; }
.ev:nth-child(2) { animation-delay: .15s; }
.ev:nth-child(3) { animation-delay: .3s; }
.ev:nth-child(4) { animation-delay: .45s; }
.ev i { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--ink-400); }
.ev em { font: 400 var(--fs-xs)/1 var(--mono); font-style: normal; color: var(--ink-400); }
.ev.ok { border-color: var(--teal-a40); background: var(--teal-a06); }
.ev.ok i { background: var(--teal-400); box-shadow: 0 0 0 3px var(--teal-a24); }
.ev.ok em { color: var(--teal-300); }
@keyframes ab-in { from { opacity: 0; transform: translateY(8px); } }
/* Mission: who the defense covers and what each one stands to lose (owner, 24 Nov 2026: "the ai bars...whats going on?"). */
.ab-aud { margin-top: auto; padding-top: var(--sp-4); container-type: inline-size; }
.ab-aud ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.ab-aud li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: var(--sp-3); row-gap: 2px; align-items: center; padding: 10px var(--sp-3);
  border-radius: var(--r-sm); border: 1px solid var(--line); background: color-mix(in srgb, var(--navy-950) 50%, transparent); animation: ab-in .6s var(--ease-decelerate) both; }
.ab-aud li:nth-child(2) { animation-delay: .1s; }
.ab-aud li:nth-child(3) { animation-delay: .2s; }
.ab-aud li:nth-child(4) { animation-delay: .3s; }
.ab-aud svg { grid-row: span 2; width: 30px; height: 30px; padding: 5px; border-radius: var(--r-sm); border: 1px solid var(--teal-a24); background: var(--teal-a06);
  fill: none; stroke: var(--teal-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ab-aud b { align-self: end; font: 600 var(--fs-sm)/1.25 var(--display); color: var(--ink-50); }
.ab-aud span { align-self: start; font: 400 var(--fs-xs)/1.35 var(--display); color: var(--ink-200); }
/* In a narrow tile (1024-1279) the names carry the row and the details wait for more room; the principle tile's evidence
   rows share any height the right column adds, so neither side opens a gap. Below 1024 the three tiles stack. */
@container (max-width: 399px) {
  .ab-aud svg { grid-row: auto; }
  .ab-aud b { align-self: center; }
  .ab-aud span { display: none; }
}
@media (min-width: 1024px) { .ab-tile.big .ab-ev { flex-grow: 1; grid-template-rows: auto; grid-auto-rows: 1fr; } }
.ab-hosts { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-5); }
.ab-hosts span { padding: 6px 10px; border-radius: var(--r-full); border: 1px solid var(--line-strong); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); color: var(--ink-200); }
.ab-hosts span:last-child { border-color: var(--teal-a40); color: var(--teal-300); background: var(--teal-a06); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1023px) {
  .ab-bento { grid-template-columns: minmax(0, 1fr); }
  .ab-tile.big { grid-row: auto; }
}
@media (max-width: 767px) {
  .ab-duel { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .ab-mid { display: none; }
  .ab-bento { grid-template-columns: minmax(0, 1fr); }
  .ab-tile { padding: var(--sp-5); }
  .ab-name, .ab-means li { padding: var(--sp-5); }
  .ab-origin .ab-name { grid-template-columns: minmax(0, 1fr); }
  .ab-def { margin-top: var(--sp-5); padding: var(--sp-4) 0 0; border-left: 0; border-top: 1px dashed var(--paper-line-strong); }
  .ab-means { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--sp-4); }
  .ab-means li { display: flex; grid-row: auto; }
  .ab-means li { padding-left: calc(var(--sp-5) + 44px); }
  .ab-n { left: var(--sp-5); top: var(--sp-5); font-size: var(--fs-xl); }
  .ab-aud ul { grid-template-columns: minmax(0, 1fr); }
  .ab-aud svg { grid-row: span 2; }
  .ab-aud b { align-self: end; }
  .ab-aud span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-side li i::after, .ab-mid span::after, .ev, .ab-aud li { animation: none; }
  .ab-tile { transition: none; }
  .ab-tile:hover { transform: none; }
}
