/* Ai-kyo case study. Lavender appears only as glow behind the character
   (client colour, used intentionally); UI stays on Trygon tokens. */
.ak-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 40px) clamp(20px, 5vw, 64px) clamp(48px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 100svh;
}
.ak-hero .eyebrow a { color: inherit; }
.ak-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 14px 0 22px;
}
.ak-hero .lede { color: var(--text-muted); font-size: 1.125rem; line-height: 1.7; max-width: 44ch; margin: 0; }
.ak-meta { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.ak-meta li { display: grid; gap: 4px; }
.ak-meta b { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); font-weight: 500; }
.ak-meta span { font-size: 14px; color: #fff; }

.ak-stage { position: relative; display: grid; justify-items: center; --aikyo-bg: transparent; }
.ak-stage::before {
  content: "";
  position: absolute;
  inset: 4% 8% 22%;
  background: radial-gradient(ellipse at 50% 55%, rgba(170, 140, 240, 0.3), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.ak-stage aikyo-mascot { position: relative; width: 100%; height: clamp(320px, 52vh, 560px); }
.ak-stage__hint { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.06em; color: var(--text-subtle); text-align: center; }
.ak-hint-touch { display: none; }
@media (pointer: coarse) {
  .ak-hint-pointer { display: none; }
  .ak-hint-touch { display: inline; }
}
.ak-moods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 560px; }
.ak-moods button,
.ak-toggle button {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 9px 14px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ak-moods button:hover,
.ak-toggle button:hover { color: #fff; border-color: rgba(201, 182, 255, 0.5); }
.ak-moods button[aria-pressed="true"],
.ak-toggle button[aria-pressed="true"] { color: #fff; border-color: var(--cyan); background: rgba(0, 229, 255, 0.1); }
.ak-moods button:focus-visible,
.ak-toggle button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.ak-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--border-subtle);
}
.ak-section__head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.ak-section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.ak-section__head--row > div:first-child { max-width: 62ch; }
.ak-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 12px 0 16px;
}
.ak-section__head p:not(.eyebrow),
.ak-plush p:not(.eyebrow) { color: var(--text-muted); line-height: 1.75; margin: 0; }
.ak-poses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 960px; }
.ak-pose,
.ak-outfit {
  margin: 0;
  position: relative;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 18px 12px 12px;
  background: radial-gradient(ellipse 70% 60% at 50% 62%, rgba(160, 130, 230, 0.16), transparent 72%), rgba(10, 14, 22, 0.5);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.ak-pose img { width: 100%; height: auto; max-height: 320px; object-fit: contain; transition: transform 0.6s var(--ease-out); }
.ak-pose:hover img { transform: translateY(-6px) scale(1.04); }
figure figcaption { margin-top: 10px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-subtle); }

.ak-toggle { display: inline-flex; }
.ak-toggle button + button { border-left: 0; }
.ak-wardrobe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 960px; }
.ak-outfit { aspect-ratio: 3 / 4; }
.ak-outfit img {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 34px;
  width: 84%;
  height: calc(100% - 52px);
  object-fit: contain;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}
.ak-outfit .is-pose { opacity: 0; transform: translateY(8px); }
.ak-wardrobe[data-view="pose"] .is-standing,
.ak-outfit:hover .is-standing { opacity: 0; transform: translateY(-8px); }
.ak-wardrobe[data-view="pose"] .is-pose,
.ak-outfit:hover .is-pose { opacity: 1; transform: none; }
.ak-wardrobe[data-view="pose"] .ak-outfit:hover .is-pose { opacity: 0; }
.ak-wardrobe[data-view="pose"] .ak-outfit:hover .is-standing { opacity: 1; transform: none; }

.ak-plush { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ak-plush__img { margin: 0; position: relative; }
.ak-plush__img::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(170, 140, 240, 0.28), transparent 65%);
  filter: blur(20px);
}
.ak-plush__img img { position: relative; width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.ak-dims { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.ak-dims li { display: grid; gap: 2px; }
.ak-dims b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.ak-dims span { font-size: 13px; color: var(--text-muted); }
.ak-swatches { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.ak-swatches li { display: grid; gap: 4px; font-size: 12px; }
.ak-swatches i { display: block; height: 38px; border: 1px solid rgba(255, 255, 255, 0.12); }
.ak-swatches b { color: #fff; font-weight: 500; }
@media (max-width: 768px) {
  .ak-hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--header-height) + 24px); }
  .ak-stage aikyo-mascot { height: 340px; }
  .ak-moods { gap: 6px; }
  .ak-moods button { padding: 8px 11px; font-size: 11px; }
  .ak-poses { gap: 6px; }
  .ak-pose { padding: 12px 6px 8px; }
  .ak-wardrobe { gap: 6px; }
  .ak-outfit img { bottom: 28px; height: calc(100% - 40px); }
  .ak-plush { grid-template-columns: 1fr; }
  .ak-plush__img img { max-width: 300px; }
  .ak-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (hover: none) {
  .ak-outfit:hover .is-standing { opacity: 1; transform: none; }
  .ak-outfit:hover .is-pose { opacity: 0; }
  .ak-wardrobe[data-view="pose"] .ak-outfit:hover .is-pose { opacity: 1; }
  .ak-wardrobe[data-view="pose"] .ak-outfit:hover .is-standing { opacity: 0; }
}
