:root {
  --bg: #07111c;
  --bg-soft: #0b1724;
  --surface: #0f1f2f;
  --surface-strong: #13283c;
  --line: rgba(133, 211, 255, 0.18);
  --text: #f5f9fc;
  --muted: #9fb0bf;
  --accent: #29b8ff;
  --accent-strong: #63d3ff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(41, 184, 255, 0.08), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(99, 211, 255, 0.05), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - var(--max-width)) / 2));
  background: rgba(7, 17, 28, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  color: var(--accent);
  font-weight: 900;
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.project-card h3,
.media-note h3 {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  max-width: 7ch;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 0 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04111b;
  box-shadow: 0 12px 34px rgba(41, 184, 255, 0.25);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(41, 184, 255, 0.13), transparent 48%),
    linear-gradient(35deg, #0c1b2a, #102b43);
  box-shadow: var(--shadow);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: perspective(600px) rotateX(68deg) scale(1.4) translateY(16%);
  transform-origin: bottom;
}

.hero-device {
  position: absolute;
  background: #050c13;
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 28px 65px rgba(0,0,0,0.38);
}

.hero-device-main {
  width: 42%;
  min-width: 190px;
  aspect-ratio: 0.52;
  left: 18%;
  top: 13%;
  border-radius: 32px;
  transform: rotate(-8deg);
}

.hero-device-secondary {
  width: 33%;
  min-width: 150px;
  aspect-ratio: 0.52;
  right: 10%;
  bottom: 7%;
  border-radius: 28px;
  transform: rotate(10deg);
}

.device-top {
  width: 32%;
  height: 7px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #152536;
}

.device-screen {
  position: absolute;
  inset: 28px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(41, 184, 255, 0.05), rgba(41, 184, 255, 0.18)),
    #102131;
  color: var(--text);
}

.device-screen strong {
  font-size: 1.5rem;
}

.device-screen span {
  color: var(--muted);
  font-size: 0.8rem;
}

.device-screen.compact {
  justify-content: center;
  text-align: center;
}

.device-screen.compact strong {
  font-size: 3rem;
  color: var(--accent-strong);
}

.mini-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-block {
  padding-top: 42px;
  padding-bottom: 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.compact-heading {
  grid-template-columns: 1fr;
}


.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
  padding-top: 24px;
}

.about-copy h2 {
  max-width: 12ch;
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-copy > p + p {
  margin-top: 14px;
}

.about-highlights {
  display: grid;
  gap: 14px;
}

.about-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(41, 184, 255, 0.08), transparent 55%),
    rgba(15, 31, 47, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.about-highlight:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.13), rgba(41, 184, 255, 0.05)),
    rgba(15, 31, 47, 0.72);
}

.about-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(99, 211, 255, 0.2);
  background: rgba(41, 184, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-highlight strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.03rem;
}

.about-highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy h2 {
    max-width: 16ch;
  }
}

@media (max-width: 480px) {
  .about-highlight {
    padding: 18px;
    gap: 14px;
  }

  .about-number {
    width: 38px;
    height: 38px;
  }
}

.projects-split {
  position: relative;
  isolation: isolate;
}

.projects-split::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 6px;
  bottom: 30px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      rgba(243, 236, 249, 0.98) 0%,
      rgba(243, 236, 249, 0.98) 49.5%,
      rgba(8, 22, 34, 0.98) 50.5%,
      rgba(8, 22, 34, 0.98) 100%
    );
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.projects-split::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6px;
  bottom: 30px;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(99, 211, 255, 0.24) 18%,
    rgba(99, 211, 255, 0.24) 82%,
    transparent
  );
}

.projects-split .section-heading {
  position: relative;
  z-index: 1;
  padding: 26px 22px 18px;
  margin-left: 0;
  margin-right: 0;
  border-radius: 20px;
  background:
    linear-gradient(
      90deg,
      rgba(36, 46, 66, 0.98) 0%,
      rgba(36, 46, 66, 0.98) 48%,
      rgba(10, 24, 38, 0.98) 52%,
      rgba(10, 24, 38, 0.98) 100%
    );
  border: 1px solid rgba(133, 211, 255, 0.10);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 40, 60, 0.98), rgba(12, 27, 41, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.project-preview {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.preview-kaori {
  isolation: isolate;
  min-height: 340px;
  background:
    radial-gradient(circle at 18% 18%, rgba(210, 159, 255, 0.34), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(255, 142, 190, 0.2), transparent 30%),
    linear-gradient(135deg, #30234a 0%, #17253d 58%, #0b1824 100%);
}

.preview-kaori::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.06), transparent 34%),
    radial-gradient(circle at 76% 14%, rgba(100, 206, 255, 0.12), transparent 25%);
}

.kaori-art-shell {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.kaori-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  right: -55px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 188, 255, 0.44), rgba(142, 205, 255, 0.18) 34%, transparent 70%);
  filter: blur(8px);
}

.kaori-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center right;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.20));
}

.kaori-visual-copy {
  position: absolute;
  left: 22px;
  bottom: 24px;
  z-index: 3;
  max-width: 46%;
  padding: 14px 18px;
  border: 1px solid rgba(141, 122, 222, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 245, 252, 0.94),
      rgba(241, 244, 255, 0.96)
    );
  box-shadow: 0 10px 28px rgba(70, 70, 120, 0.12);
  backdrop-filter: blur(8px);
}

.kaori-visual-copy span {
  display: block;
  margin-bottom: 6px;
  color: #6b5aa8;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.kaori-visual-copy strong {
  display: block;
  color: #2c3550;
  font-size: 0.98rem;
  line-height: 1.35;
}

.preview-gym {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  overflow: hidden;
  background: #08131d;
}

.gym-showcase {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.gym-showcase-right {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.gym-background-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02) brightness(0.98);
}

.gym-showcase-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 25, 0.7) 0%,
      rgba(6, 16, 25, 0.5) 28%,
      rgba(6, 16, 25, 0.18) 56%,
      transparent 78%
    );
  pointer-events: none;
}

.gym-showcase-left {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.gym-athlete {
  position: absolute;
  z-index: 4;
  width: 14%;
  height: auto;
  max-height: 26%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.24));
}

.gym-athlete-man {
  top: -4px;
  left: 4%;
}

.gym-athlete-woman {
  top: -4px;
  left: 25%;
}

.gym-progress-art {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  width: 55%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.3));
}

.preview-gym .preview-label {
  top: 16px;
  left: 16px;
  z-index: 9;
  padding: 9px 14px;
  border: 1px solid rgba(255, 140, 48, 0.5);
  background:
    linear-gradient(
      135deg,
      rgba(8, 24, 35, 0.96),
      rgba(10, 40, 53, 0.96)
    );
  color: #ffffff;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    inset 3px 0 0 #ff8a32;
  letter-spacing: 0.02em;
}

.preview-gym .preview-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff8a32;
  box-shadow: 0 0 12px rgba(255, 138, 50, 0.85);
}

.preview-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: #dff5ff;
  background: rgba(4, 14, 22, 0.66);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  font-weight: 800;
}

.mock-phone {
  position: absolute;
  width: 38%;
  min-width: 160px;
  aspect-ratio: 0.52;
  right: 16%;
  top: 18%;
  border: 8px solid #05090e;
  border-radius: 28px;
  transform: rotate(8deg);
  box-shadow: 0 26px 55px rgba(0,0,0,0.34);
  background: #101821;
}

.mock-speaker {
  width: 25%;
  height: 5px;
  background: #1a2734;
  border-radius: 999px;
  margin: 7px auto;
}

.mock-screen {
  position: absolute;
  inset: 22px 8px 8px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(212, 169, 255, 0.08), rgba(130, 110, 220, 0.28)),
    #1a2333;
}

.mock-screen span {
  color: #c7b9df;
  font-size: 0.76rem;
}

.mock-screen strong {
  font-size: 1rem;
}

.mock-chip-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.mock-chip-row i {
  width: 24px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}

.dashboard-card {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  padding: 24px;
  border-radius: 22px;
  background: rgba(5, 13, 20, 0.88);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 28px 50px rgba(0,0,0,0.28);
}

.dashboard-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-card strong {
  display: block;
  margin-top: 4px;
  font-size: 2rem;
}

.bar-chart {
  display: flex;
  gap: 10px;
  align-items: end;
  height: 100px;
  margin-top: 20px;
}

.bar-chart i {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: 0 6px 18px rgba(41, 184, 255, 0.18);
}

.project-content {
  padding: 26px;
}

.project-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.project-type {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card h3 {
  margin-bottom: 0;
  font-size: 2rem;
}

.status-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 900;
}

.project-content > p {
  color: var(--muted);
}

.feature-list {
  margin: 20px 0;
  padding-left: 20px;
  color: #d8e4ec;
}

.feature-list li + li {
  margin-top: 7px;
}

.tag-row,
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span,
.tech-grid span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(41, 184, 255, 0.05);
  color: #dff6ff;
  font-size: 0.8rem;
  font-weight: 800;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 900;
}

.prototype-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(223, 198, 255, 0.35);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  color: #eadcff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.prototype-link:hover,
.prototype-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(223, 198, 255, 0.72);
  background: rgba(139, 92, 246, 0.18);
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.video-placeholder {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(4, 11, 18, 0.92), transparent 55%),
    radial-gradient(circle at 30% 20%, rgba(41, 184, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #123553, #0b1c2b 62%, #07111c);
  box-shadow: var(--shadow);
}

.video-showcase {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(220px, 315px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 24% 22%, rgba(139, 92, 246, 0.22), transparent 32%),
    radial-gradient(circle at 78% 72%, rgba(41, 184, 255, 0.15), transparent 30%),
    linear-gradient(135deg, #17142d, #0b1c2b 58%, #07111c);
  box-shadow: var(--shadow);
}

.demo-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-video-grid .video-showcase {
  min-height: 540px;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  padding: 72px 24px 24px;
}

.demo-video-grid .video-copy-static {
  padding-right: 0;
  text-align: center;
  align-items: center;
}

.gym-video-showcase {
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 138, 50, 0.22), transparent 32%),
    radial-gradient(circle at 80% 72%, rgba(41, 184, 255, 0.13), transparent 30%),
    linear-gradient(135deg, #1c1712, #0b1c2b 58%, #07111c);
}

@media (max-width: 900px) {
  .demo-video-grid {
    grid-template-columns: 1fr;
  }
}

.video-showcase .video-badge {
  z-index: 2;
}

.youtube-short-shell {
  width: min(100%, 290px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #05080d;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

.youtube-short-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-copy-static {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 18px;
}

.video-copy-static strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.video-copy-static span {
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .video-showcase {
    grid-template-columns: 1fr;
    padding: 72px 18px 22px;
  }

  .youtube-short-shell {
    width: min(100%, 280px);
  }

  .video-copy-static {
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
}

.video-placeholder::before,
.video-placeholder::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(99, 211, 255, 0.13);
  transform: rotate(45deg);
}

.video-placeholder::before {
  top: -120px;
  right: 0;
}

.video-placeholder::after {
  bottom: -160px;
  left: -60px;
}

.video-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5, 13, 20, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  background: rgba(5, 14, 22, 0.72);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0,0,0,0.28);
}

.video-copy {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.video-copy span {
  color: var(--muted);
}

.media-side {
  display: grid;
  gap: 16px;
}

.media-thumb,
.media-note {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.media-thumb {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: end;
  padding: 16px;
  overflow: hidden;
  font-weight: 900;
}

.media-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 13, 20, 0.76), transparent);
}

.media-thumb span {
  position: relative;
  z-index: 1;
}

.media-thumb-kaori {
  background:
    radial-gradient(circle at 30% 25%, rgba(186, 129, 255, 0.4), transparent 30%),
    linear-gradient(135deg, #31234d, #132438);
}

.media-thumb-gym {
  background:
    radial-gradient(circle at 75% 20%, rgba(41, 184, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #0e2536, #0b1824);
}

.media-note {
  padding: 22px;
}

.media-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.tech-grid {
  gap: 12px;
}

.tech-grid span {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  background: linear-gradient(180deg, rgba(19, 40, 60, 0.9), rgba(12, 27, 41, 0.9));
}

.site-footer {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  background: #050c13;
}

.footer-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 56px;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .hero-visual {
    min-height: 420px;
  }

  .project-grid,
  .media-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(8, 20, 31, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-device-main {
    left: 12%;
    width: 44%;
  }

  .hero-device-secondary {
    right: 7%;
    width: 34%;
  }

  .project-preview {
    min-height: 250px;
  }

  .mock-phone {
    width: 42%;
    right: 12%;
  }

  .dashboard-card {
    left: 7%;
    right: 7%;
  }

  .video-placeholder {
    min-height: 360px;
  }

  .footer-inner {
    padding-top: 34px;
    padding-bottom: 34px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand span:last-child {
    font-size: 0.9rem;
  }

  .project-content {
    padding: 22px;
  }

  .project-title-row {
    align-items: center;
  }

  .project-card h3 {
    font-size: 1.7rem;
  }

  .tag-row span,
  .tech-grid span {
    font-size: 0.74rem;
  }
}


@media (max-width: 720px) {
  .preview-kaori {
    min-height: 290px;
  }

  .kaori-art {
    width: min(73%, 325px);
    right: -7%;
    bottom: -9%;
  }

  .kaori-visual-copy {
    left: 16px;
    bottom: 24px;
    max-width: 58%;
  }
}




.projects-split #kaori,
.projects-split #gymprogapp {
  backdrop-filter: blur(4px);
}

.projects-split #kaori {
  background:
    linear-gradient(180deg, rgba(255, 252, 255, 0.98), rgba(243, 247, 255, 0.98));
  border-color: rgba(153, 120, 208, 0.22);
  color: #172235;
}

.projects-split #kaori .project-type {
  color: #78658f;
}

.projects-split #kaori .project-content > p,
.projects-split #kaori .feature-list {
  color: #53627a;
}

.projects-split #kaori .status-pill,
.projects-split #kaori .tag-row span {
  border-color: rgba(117, 95, 170, 0.2);
  background: rgba(159, 126, 214, 0.08);
  color: #5b4c7a;
}

.projects-split #kaori .text-link {
  color: #7358a8;
}

.projects-split #gymprogapp {
  background:
    linear-gradient(180deg, rgba(15, 31, 47, 0.99), rgba(8, 20, 31, 0.99));
}

@media (max-width: 900px) {
  .projects-split::before {
    background:
      linear-gradient(
        180deg,
        rgba(248, 236, 255, 0.98) 0%,
        rgba(226, 240, 255, 0.98) 48%,
        rgba(8, 22, 34, 0.98) 52%,
        rgba(5, 15, 24, 0.98) 100%
      );
  }

  .projects-split::after {
    top: 50%;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(99, 211, 255, 0.22) 18%,
      rgba(99, 211, 255, 0.22) 82%,
      transparent
    );
  }
}

@media (max-width: 720px) {
  .kaori-art {
    width: min(64%, 300px);
    right: 0;
    bottom: 0;
  }

  .projects-split .section-heading {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
  }
}


.preview-kaori .preview-label {
  background: linear-gradient(135deg, #7f6eea, #9c7cf4);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(123, 97, 255, 0.22);
}

@media (max-width: 720px) {
  .kaori-art {
    width: 74%;
    height: 100%;
    right: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center right;
  }

  .kaori-visual-copy {
    max-width: 60%;
    left: 16px;
    bottom: 16px;
  }
}


.projects-split #kaori .prototype-link {
  border-color: rgba(111, 78, 166, 0.28);
  background: linear-gradient(135deg, #7f6eea, #9c7cf4);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(123, 97, 255, 0.18);
}

.projects-split #kaori .prototype-link:hover,
.projects-split #kaori .prototype-link:focus-visible {
  border-color: rgba(111, 78, 166, 0.5);
  background: linear-gradient(135deg, #725fdc, #8f70ec);
  color: #ffffff;
}









.preview-gym .preview-label {
  top: 16px;
  left: 16px;
  z-index: 9;
  padding: 9px 14px;
  border: 1px solid rgba(255, 140, 48, 0.5);
  background:
    linear-gradient(
      135deg,
      rgba(8, 24, 35, 0.96),
      rgba(10, 40, 53, 0.96)
    );
  color: #ffffff;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    inset 3px 0 0 #ff8a32;
  letter-spacing: 0.02em;
}

.preview-gym .preview-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff8a32;
  box-shadow: 0 0 12px rgba(255, 138, 50, 0.85);
}






@media (max-width: 900px) {
  .gym-athlete {
    width: 15%;
    max-height: 25%;
  }

  .gym-athlete-man {
    left: 3%;
  }

  .gym-athlete-woman {
    left: 25%;
  }

  .gym-progress-art {
    width: 58%;
    max-height: 88%;
  }
}

@media (max-width: 720px) {
  .preview-gym {
    min-height: 300px;
  }

  .gym-athlete {
    width: 17%;
    max-height: 24%;
  }

  .gym-athlete-man {
    top: -2px;
    left: 2%;
  }

  .gym-athlete-woman {
    top: -2px;
    left: 26%;
  }

  .gym-progress-art {
    width: 62%;
    max-height: 86%;
  }

  .preview-gym .preview-label {
    top: 12px;
    left: 12px;
    padding: 8px 12px;
  }
}


.preview-gym .preview-label {
  left: auto;
  right: 18px;
}

@media (max-width: 720px) {
  .preview-gym .preview-label {
    left: auto;
    right: 12px;
  }
}


/* Personalized portfolio hero: Kaori + GymProgApp */
.hero.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  min-height: 720px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-split .hero-copy h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-split .hero-text {
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(41, 184, 255, 0.05);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(99, 211, 255, 0.45);
  background: rgba(41, 184, 255, 0.10);
}

.hero-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 550px;
}

.hero-app {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-app-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.hero-app-content {
  position: relative;
  z-index: 4;
  max-width: 92%;
  padding: 78px 22px 22px;
}

.hero-app-kicker {
  margin: 0 0 9px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-app h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-app-content > p:last-child {
  margin: 0;
  max-width: 30ch;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Kaori half */
.hero-app-kaori {
  background:
    radial-gradient(circle at 20% 18%, rgba(222, 177, 255, 0.35), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(255, 160, 207, 0.22), transparent 30%),
    linear-gradient(150deg, #4a326a 0%, #2c2f5b 48%, #16283b 100%);
}

.hero-app-kaori::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(18, 17, 41, 0.08) 36%, rgba(17, 18, 37, 0.70) 100%);
  pointer-events: none;
}

.hero-app-kaori .hero-app-badge {
  background: linear-gradient(135deg, #8d78ef, #b68cff);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 9px 20px rgba(126, 95, 238, 0.25);
}

.hero-app-kaori .hero-app-kicker {
  color: #e5d8ff;
}

.hero-app-kaori h2 {
  color: #fff;
}

.hero-app-kaori .hero-app-content > p:last-child {
  color: #ded8ed;
}

.hero-kaori-image {
  position: absolute;
  z-index: 1;
  right: -14%;
  bottom: -1%;
  width: 118%;
  height: 72%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.03) drop-shadow(0 20px 34px rgba(0,0,0,0.24));
}

/* GymProgApp half */
.hero-app-gym {
  background: #08131d;
}

.hero-app-gym .hero-app-badge {
  background: linear-gradient(135deg, rgba(8, 24, 35, 0.96), rgba(10, 40, 53, 0.96));
  color: #fff;
  border: 1px solid rgba(255, 140, 48, 0.5);
  box-shadow:
    0 9px 20px rgba(0,0,0,0.28),
    inset 3px 0 0 #ff8a32;
}

.hero-app-gym .hero-app-kicker {
  color: #79d9ff;
}

.hero-app-gym h2 {
  color: #fff;
}

.hero-app-gym .hero-app-content > p:last-child {
  color: #b8c6d1;
}

.hero-gym-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-gym-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.78) saturate(1.06);
}

.hero-gym-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.26) 0%, rgba(7, 16, 24, 0.60) 54%, rgba(7, 16, 24, 0.90) 100%),
    linear-gradient(90deg, rgba(7, 16, 24, 0.82) 0%, rgba(7, 16, 24, 0.38) 64%, transparent 100%);
}

.hero-gym-panel {
  position: absolute;
  z-index: 3;
  left: -4%;
  bottom: 0;
  width: 86%;
  max-height: 56%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.34));
}

@media (max-width: 1100px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-duo {
    min-height: auto;
  }

  .hero-app {
    min-height: 460px;
  }

  .hero-kaori-image {
    width: 88%;
    right: -4%;
  }

  .hero-gym-panel {
    width: 72%;
  }
}

@media (max-width: 720px) {
  .hero.hero-split {
    padding-top: 42px;
    gap: 30px;
  }

  .hero-split .hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .hero-duo {
    grid-template-columns: 1fr;
  }

  .hero-app {
    min-height: 410px;
  }

  .hero-app-content {
    padding: 72px 18px 18px;
  }

  .hero-kaori-image {
    width: 78%;
    height: 66%;
    right: -2%;
  }

  .hero-gym-panel {
    width: 68%;
    max-height: 52%;
  }
}


/* Immersive hero experiment — easy to revert via Git history */
.hero-world {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #08131d;
}

.hero-world-bg {
  position: absolute;
  inset-block: 0;
  z-index: -4;
  width: 50%;
}

.hero-world-kaori-bg {
  left: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 221, 248, 0.30), transparent 24%),
    radial-gradient(circle at 70% 34%, rgba(171, 139, 255, 0.34), transparent 32%),
    linear-gradient(145deg, #f5eafd 0%, #d8dfff 38%, #6b62a6 100%);
}

.hero-world-gym-bg {
  right: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 140, 48, 0.18), transparent 28%),
    radial-gradient(circle at 42% 70%, rgba(41, 184, 255, 0.13), transparent 34%),
    linear-gradient(145deg, #0f2535, #07111c 72%);
}

.hero-world-divider {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 50%;
  z-index: -1;
  width: 150px;
  transform: translateX(-50%) rotate(6deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.16) 48%,
    rgba(255,255,255,0.04) 52%,
    transparent
  );
  filter: blur(1px);
  pointer-events: none;
}

.hero-world-inner {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(650px, 1.28fr);
  gap: 30px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero-world-copy {
  position: relative;
  z-index: 8;
  padding: 28px 0;
}

.hero-world-copy .eyebrow {
  color: #a8eaff;
}

.hero-role {
  display: inline-block;
  margin: 2px 0 16px;
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-world-copy h1 {
  max-width: 8.5ch;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.8rem, 7vw, 7.1rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-wrap: balance;
  text-shadow: 0 18px 50px rgba(0,0,0,0.24);
}

.hero-world-copy .hero-text {
  max-width: 560px;
  color: #d1dce5;
  font-size: 1.05rem;
}

.hero-world-stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 640px;
  overflow: visible;
}

.hero-world-side {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.hero-world-kaori {
  border-radius: 34px 0 0 34px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255,255,255,0.36), transparent 24%),
    linear-gradient(180deg, rgba(99, 84, 155, 0.22), rgba(61, 45, 97, 0.46));
  box-shadow:
    -18px 30px 70px rgba(75, 49, 112, 0.22),
    inset 0 0 0 1px rgba(255,255,255,0.20);
}

.hero-world-gym {
  border-radius: 0 34px 34px 0;
  background: #07111c;
  box-shadow:
    18px 30px 70px rgba(0,0,0,0.30),
    inset 0 0 0 1px rgba(99,211,255,0.12);
}

.world-kicker {
  position: absolute;
  top: 22px;
  z-index: 7;
  font-size: 4.2rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  opacity: 0.11;
  pointer-events: none;
}

.hero-world-kaori .world-kicker {
  left: 18px;
  color: #4b3578;
}

.hero-world-gym .world-kicker {
  right: 18px;
  color: #ff963e;
}

.world-copy {
  position: absolute;
  top: 42px;
  z-index: 8;
  width: min(84%, 330px);
}

.hero-world-kaori .world-copy {
  left: 26px;
  color: #2a2440;
}

.hero-world-gym .world-copy {
  right: 26px;
  text-align: right;
  color: #fff;
}

.world-name {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-world-kaori .world-name {
  color: #765da5;
}

.hero-world-gym .world-name {
  color: #ff9b45;
}

.world-copy strong {
  display: block;
  font-size: clamp(1.65rem, 2.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.world-copy small {
  display: block;
  margin-top: 10px;
  line-height: 1.55;
  font-size: 0.78rem;
}

.hero-world-kaori .world-copy small {
  color: rgba(43, 35, 67, 0.76);
}

.hero-world-gym .world-copy small {
  color: rgba(235,243,249,0.76);
}

.hero-world-kaori-art {
  position: absolute;
  z-index: 3;
  left: -20%;
  bottom: -1%;
  width: 138%;
  height: 78%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.04) drop-shadow(0 18px 36px rgba(75, 56, 112, 0.22));
}

.kaori-orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}

.kaori-orb-one {
  width: 180px;
  height: 180px;
  left: -44px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(184,152,255,0.12) 66%, transparent 72%);
}

.kaori-orb-two {
  width: 130px;
  height: 130px;
  right: -34px;
  top: 180px;
  background: radial-gradient(circle, rgba(255,201,234,0.82), rgba(143,199,255,0.10) 64%, transparent 72%);
}

.kaori-star {
  position: absolute;
  z-index: 6;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 0 18px rgba(255,255,255,0.68);
  animation: kaori-float 4.5s ease-in-out infinite;
}

.star-one { left: 12%; bottom: 38%; font-size: 1.5rem; }
.star-two { right: 12%; bottom: 29%; font-size: 1.15rem; animation-delay: 1.2s; }
.star-three { right: 24%; top: 28%; font-size: 1.35rem; animation-delay: 2.1s; }

.hero-world-gym-bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.60) saturate(1.08) contrast(1.03);
}

.hero-world-gym::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,16,25,0.26) 0%, rgba(6,16,25,0.58) 46%, rgba(6,16,25,0.94) 100%),
    radial-gradient(circle at 80% 24%, rgba(255,128,32,0.18), transparent 30%);
  pointer-events: none;
}

.hero-world-gym-man,
.hero-world-gym-woman {
  position: absolute;
  z-index: 4;
  bottom: 0;
  height: 43%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.34));
}

.hero-world-gym-man {
  right: 4%;
}

.hero-world-gym-woman {
  left: 3%;
  height: 37%;
  opacity: 0.96;
}

.hero-world-progress {
  position: absolute;
  z-index: 5;
  left: 3%;
  right: 3%;
  bottom: 4%;
  width: 94%;
  max-height: 39%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.36));
}

.hero-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-center-badge i {
  width: 1px;
  height: 86px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.58), transparent);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-cue i {
  font-style: normal;
  animation: hero-bounce 1.8s ease-in-out infinite;
}

@keyframes kaori-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.72; }
  50% { transform: translateY(-9px) rotate(8deg); opacity: 1; }
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 1180px) {
  .hero-world-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 76px;
  }

  .hero-world-copy {
    max-width: 780px;
  }

  .hero-world-copy h1 {
    max-width: 10ch;
  }

  .hero-world-stage {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .hero-world {
    min-height: auto;
  }

  .hero-world-bg {
    width: 100%;
    height: 50%;
  }

  .hero-world-kaori-bg {
    top: 0;
    bottom: auto;
  }

  .hero-world-gym-bg {
    top: auto;
    bottom: 0;
  }

  .hero-world-divider {
    top: 50%;
    bottom: auto;
    left: -5%;
    width: 110%;
    height: 100px;
    transform: translateY(-50%) rotate(-3deg);
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
  }

  .hero-world-copy h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-world-copy .hero-text {
    max-width: none;
  }

  .hero-world-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-world-side {
    min-height: 430px;
  }

  .hero-world-kaori {
    border-radius: 28px 28px 0 0;
  }

  .hero-world-gym {
    border-radius: 0 0 28px 28px;
  }

  .hero-center-badge {
    display: none;
  }

  .hero-world-kaori-art {
    width: 100%;
    left: 0;
    height: 68%;
  }

  .hero-world-progress {
    max-height: 38%;
  }

  .hero-world-gym-man,
  .hero-world-gym-woman {
    height: 34%;
  }

  .hero-scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kaori-star,
  .hero-scroll-cue i {
    animation: none;
  }
}


/* Unified portfolio hero experiment */
.hero-showcase {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 12% 20%, rgba(179, 142, 255, 0.16), transparent 25%),
    radial-gradient(circle at 88% 28%, rgba(255, 137, 49, 0.12), transparent 28%),
    linear-gradient(135deg, #0a1723 0%, #101d2b 42%, #0a141e 100%);
}

.hero-showcase-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.48), transparent 90%);
}

.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-showcase::before {
  width: 560px;
  height: 560px;
  left: -180px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(154, 112, 236, 0.16), transparent 70%);
}

.hero-showcase::after {
  width: 620px;
  height: 620px;
  right: -210px;
  top: -210px;
  background: radial-gradient(circle, rgba(255, 135, 45, 0.12), transparent 70%);
}

.hero-showcase-inner {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(620px, 1.18fr);
  gap: 28px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 74px;
}

.hero-showcase-copy {
  position: relative;
  z-index: 10;
}

.hero-showcase-copy .eyebrow {
  color: #7edcff;
}

.hero-showcase-copy .hero-role {
  display: inline-block;
  margin: 2px 0 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-showcase-copy h1 {
  max-width: 8.8ch;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3.6rem, 6.3vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-showcase-copy .hero-text {
  max-width: 560px;
  color: #b7c6d2;
  font-size: 1.08rem;
}

.hero-tech-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: rgba(230, 241, 248, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-tech-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b7cf4, #ff923e);
}

.hero-showcase-scene {
  position: relative;
  min-height: 650px;
  overflow: visible;
}

.hero-showcase-scene::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 82%;
  height: 120px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.34), transparent 68%);
  filter: blur(14px);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-kaori {
  width: 360px;
  height: 360px;
  left: 6%;
  top: 14%;
  background: radial-gradient(circle, rgba(197, 167, 255, 0.28), rgba(139, 92, 246, 0.08) 58%, transparent 72%);
}

.hero-glow-gym {
  width: 380px;
  height: 380px;
  right: 1%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(255, 137, 49, 0.20), rgba(41, 184, 255, 0.06) 58%, transparent 74%);
}

.hero-character {
  position: absolute;
  z-index: 3;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(0,0,0,0.30));
}

.hero-character-kaori {
  left: -4%;
  bottom: 0;
  width: 58%;
  max-height: 78%;
  object-position: left bottom;
}

.hero-character-gym {
  right: 1%;
  bottom: 0;
  width: 31%;
  max-height: 66%;
  object-position: right bottom;
}

.hero-phone {
  position: absolute;
  z-index: 5;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 26px;
  background: rgba(7, 16, 25, 0.78);
  box-shadow: 0 28px 54px rgba(0,0,0,0.30);
  backdrop-filter: blur(14px);
}

.hero-phone-kaori {
  top: 72px;
  left: 29%;
  width: 230px;
  min-height: 250px;
  padding: 22px;
  transform: rotate(-6deg);
  background:
    linear-gradient(160deg, rgba(169, 132, 241, 0.25), rgba(64, 47, 97, 0.14)),
    rgba(13, 18, 29, 0.84);
}

.hero-phone-kaori strong {
  display: block;
  margin-top: 28px;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-phone-kaori small {
  display: block;
  margin-top: 12px;
  color: #cfc5e9;
  line-height: 1.55;
}

.hero-phone-gym {
  right: 10%;
  top: 170px;
  width: 250px;
  padding: 16px;
  transform: rotate(5deg);
  background:
    linear-gradient(160deg, rgba(255, 137, 49, 0.10), rgba(41, 184, 255, 0.06)),
    rgba(6, 15, 24, 0.88);
}

.hero-phone-gym img {
  width: 100%;
  height: auto;
}

.hero-phone-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hero-phone-kaori .hero-phone-label {
  color: #eadfff;
  background: rgba(151, 113, 231, 0.18);
  border: 1px solid rgba(189, 158, 255, 0.25);
}

.hero-phone-gym .hero-phone-label {
  margin-bottom: 12px;
  color: #ffd2af;
  background: rgba(255, 137, 49, 0.12);
  border: 1px solid rgba(255, 137, 49, 0.28);
}

.hero-floating-chip {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(8, 18, 28, 0.76);
  color: #f5f9fc;
  box-shadow: 0 14px 28px rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
}

.hero-floating-chip span {
  font-size: 1rem;
}

.chip-kaori {
  left: 18%;
  bottom: 11%;
}

.chip-kaori span {
  color: #c6a8ff;
}

.chip-gym {
  right: 7%;
  bottom: 16%;
}

.chip-gym span {
  color: #ff963e;
}

.hero-showcase .hero-scroll-cue {
  bottom: 18px;
}

@media (max-width: 1180px) {
  .hero-showcase-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 80px;
  }

  .hero-showcase-copy {
    max-width: 820px;
  }

  .hero-showcase-copy h1 {
    max-width: 11ch;
  }

  .hero-showcase-scene {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase-copy h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-tech-line {
    gap: 8px;
  }

  .hero-showcase-scene {
    min-height: 610px;
  }

  .hero-character-kaori {
    width: 72%;
    left: -14%;
  }

  .hero-character-gym {
    width: 40%;
    right: -5%;
  }

  .hero-phone-kaori {
    top: 54px;
    left: 23%;
    width: 190px;
  }

  .hero-phone-gym {
    top: 265px;
    right: 3%;
    width: 205px;
  }

  .chip-kaori {
    left: 5%;
    bottom: 12%;
  }

  .chip-gym {
    right: 2%;
    bottom: 5%;
  }
}

@media (max-width: 480px) {
  .hero-showcase-scene {
    min-height: 540px;
  }

  .hero-phone-kaori {
    left: 18%;
    width: 170px;
  }

  .hero-phone-gym {
    width: 180px;
  }

  .hero-floating-chip {
    font-size: 0.68rem;
  }
}


/* Full-page thematic redesign: project worlds */
.about-ribbon {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 236, 255, 0.98), rgba(235, 246, 255, 0.98) 48%, rgba(235, 246, 255, 0.92));
  color: #172235;
  border-bottom: 1px solid rgba(117, 95, 170, 0.16);
}

.about-ribbon::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -100px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 120, 235, 0.16), transparent 70%);
}

.about-ribbon-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 34px 52px;
  align-items: end;
  padding-top: 64px;
  padding-bottom: 62px;
}

.about-ribbon .eyebrow {
  color: #765da5;
}

.about-ribbon h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-ribbon-inner > p {
  max-width: 62ch;
  margin: 0;
  color: #56657a;
  font-size: 1rem;
}

.about-ribbon-tech {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-ribbon-tech span {
  padding: 8px 12px;
  border: 1px solid rgba(117, 95, 170, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.60);
  color: #5b4c7a;
  font-size: 0.8rem;
  font-weight: 850;
}

.project-world {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  isolation: isolate;
}

.project-world-bg,
.project-world-overlay {
  position: absolute;
  inset: 0;
}

.project-world-bg {
  z-index: -4;
}

.project-world-overlay {
  z-index: -2;
  pointer-events: none;
}

.project-world-inner {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(560px, 1.22fr);
  gap: 44px;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 74px;
}

.project-world-copy {
  position: relative;
  z-index: 8;
}

.world-eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-world-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.project-world-copy h3 {
  max-width: 11ch;
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-world-copy > p {
  max-width: 58ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.75;
}

.world-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.world-feature-row span {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.world-actions {
  margin-top: 28px;
}

.world-primary,
.world-secondary {
  min-height: 46px;
  padding-inline: 18px;
}

.project-world-visual {
  position: relative;
  min-height: 640px;
}

.project-world-kaori {
  background:
    linear-gradient(180deg, #f7efff 0%, #e8ecff 60%, #d8e6ff 100%);
  color: #2c3550;
}

.project-world-kaori-bg {
  background:
    radial-gradient(circle at 72% 28%, rgba(172, 137, 255, 0.26), transparent 28%),
    radial-gradient(circle at 86% 70%, rgba(255, 169, 214, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(228, 232, 255, 0.24));
}

.project-world-kaori .project-world-overlay {
  background:
    linear-gradient(100deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.76) 36%, rgba(255,255,255,0.08) 72%);
}

.project-world-kaori .world-eyebrow {
  color: #7a60aa;
}

.project-world-kaori .project-world-copy > p {
  color: #59687c;
}

.project-world-kaori .world-feature-row span {
  border: 1px solid rgba(120, 91, 174, 0.18);
  background: rgba(255,255,255,0.62);
  color: #675382;
}

.kaori-primary {
  background: linear-gradient(135deg, #7f6eea, #a57df4);
  color: #fff;
}

.kaori-secondary {
  border: 1px solid rgba(117, 95, 170, 0.24);
  background: rgba(255,255,255,0.60);
  color: #5c4a78;
}

.kaori-world-visual {
  overflow: visible;
}

.kaori-world-character {
  position: absolute;
  z-index: 3;
  right: -4%;
  bottom: -6%;
  width: 92%;
  height: 95%;
  object-fit: cover;
  object-position: center right;
  border-radius: 44% 44% 10% 10% / 32% 32% 8% 8%;
  filter: drop-shadow(0 34px 42px rgba(83, 59, 122, 0.24));
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.kaori-moon {
  position: absolute;
  z-index: 1;
  width: 420px;
  height: 420px;
  right: 10%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #ddceff 58%, rgba(183, 154, 244, 0.12) 70%, transparent 72%);
  box-shadow: 0 0 70px rgba(173, 142, 238, 0.24);
}

.kaori-world-star {
  position: absolute;
  z-index: 5;
  color: #fff;
  text-shadow: 0 0 16px rgba(130, 98, 213, 0.52);
  animation: kaori-float 4.4s ease-in-out infinite;
}

.star-a { top: 18%; right: 10%; font-size: 1.7rem; }
.star-b { top: 38%; left: 9%; font-size: 1.2rem; animation-delay: 1.1s; }
.star-c { bottom: 24%; right: 18%; font-size: 1.35rem; animation-delay: 2s; }

.floating-feature {
  position: absolute;
  z-index: 8;
  min-width: 190px;
  padding: 13px 15px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(67, 49, 102, 0.16);
  backdrop-filter: blur(10px);
}

.floating-feature span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-feature strong {
  font-size: 0.9rem;
}

.kaori-feature-one {
  left: 1%;
  top: 32%;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(118, 91, 170, 0.16);
  color: #4d4166;
}

.kaori-feature-two {
  right: 1%;
  bottom: 16%;
  background: rgba(104, 81, 154, 0.82);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
}

.project-world-gym {
  background: #07111c;
  color: #fff;
}

.gym-world-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.05) brightness(0.58);
}

.gym-world-overlay {
  background:
    linear-gradient(90deg, rgba(5,14,22,0.94) 0%, rgba(5,14,22,0.58) 42%, rgba(5,14,22,0.42) 72%, rgba(5,14,22,0.78) 100%),
    radial-gradient(circle at 76% 32%, rgba(255,128,32,0.16), transparent 30%);
}

.gym-world-inner {
  grid-template-columns: minmax(580px, 1.18fr) minmax(340px, 0.82fr);
}

.gym-world-copy {
  text-align: left;
}

.project-world-gym .world-eyebrow {
  color: #ff9a45;
}

.project-world-gym .project-world-copy > p {
  color: #c6d1da;
}

.project-world-gym .world-feature-row span {
  border: 1px solid rgba(255, 142, 55, 0.25);
  background: rgba(5, 17, 27, 0.62);
  color: #eaf3f8;
}

.gym-primary {
  background: linear-gradient(135deg, #ff8a32, #ffb258);
  color: #1a1008;
}

.gym-secondary {
  border: 1px solid rgba(99,211,255,0.24);
  background: rgba(7, 21, 32, 0.66);
  color: #dff6ff;
}

.gym-world-visual {
  overflow: visible;
}

.gym-world-progress {
  position: absolute;
  z-index: 5;
  left: 4%;
  bottom: 7%;
  width: 70%;
  max-height: 58%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 24px 42px rgba(0,0,0,0.38));
}

.gym-world-man,
.gym-world-woman {
  position: absolute;
  z-index: 4;
  bottom: 0;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(0,0,0,0.42));
}

.gym-world-man {
  right: 0;
  width: 34%;
  max-height: 62%;
}

.gym-world-woman {
  left: 50%;
  width: 28%;
  max-height: 54%;
}

.gym-light {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(12px);
}

.gym-light-one {
  width: 260px;
  height: 260px;
  right: 6%;
  top: 12%;
  background: radial-gradient(circle, rgba(255,126,27,0.26), transparent 68%);
}

.gym-light-two {
  width: 300px;
  height: 300px;
  left: 10%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(41,184,255,0.12), transparent 70%);
}

.demo-stage {
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at 12% 18%, rgba(139,92,246,0.10), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255,138,50,0.08), transparent 28%),
    linear-gradient(180deg, #0a1622, #07111c);
}

.demo-stage-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}

.demo-stage-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.demo-stage-heading > p {
  margin: 0;
  color: var(--muted);
}

.demo-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.demo-panel {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}

.demo-panel-kaori {
  background:
    radial-gradient(circle at 18% 18%, rgba(193,157,255,0.28), transparent 30%),
    linear-gradient(145deg, #292044, #101b2c 68%);
}

.demo-panel-gym {
  background:
    radial-gradient(circle at 84% 16%, rgba(255,138,50,0.20), transparent 28%),
    linear-gradient(145deg, #251a12, #0d1924 68%);
}

.demo-panel-copy {
  align-self: end;
  padding-bottom: 22px;
}

.demo-panel-copy span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.demo-panel-kaori .demo-panel-copy span {
  color: #c7a8ff;
}

.demo-panel-gym .demo-panel-copy span {
  color: #ff9a45;
}

.demo-panel-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.demo-panel-copy p {
  margin: 0;
  color: var(--muted);
}

.stack-band {
  padding: 68px 0;
  background:
    linear-gradient(90deg, rgba(243,236,249,0.98), rgba(233,244,255,0.98));
  color: #172235;
  border-top: 1px solid rgba(117,95,170,0.14);
}

.stack-band-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: center;
}

.stack-band .eyebrow {
  color: #6d58a0;
}

.stack-band h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stack-band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-band-list span {
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(84,102,130,0.14);
  background: rgba(255,255,255,0.64);
  color: #425169;
  font-weight: 850;
  font-size: 0.86rem;
}

@media (max-width: 1020px) {
  .project-world-inner,
  .gym-world-inner,
  .about-ribbon-inner,
  .stack-band-inner,
  .demo-stage-heading {
    grid-template-columns: 1fr;
  }

  .project-world-inner,
  .gym-world-inner {
    min-height: auto;
  }

  .project-world-visual {
    min-height: 520px;
  }

  .gym-world-copy {
    grid-row: 1;
  }

  .gym-world-visual {
    grid-row: 2;
  }

  .demo-panel {
    grid-template-columns: 1fr;
  }

  .demo-panel-copy {
    align-self: auto;
    padding-bottom: 0;
  }
}

@media (max-width: 720px) {
  .about-ribbon-inner {
    padding-top: 48px;
    padding-bottom: 46px;
  }

  .project-world {
    min-height: auto;
  }

  .project-world-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .project-world-copy h2 {
    font-size: clamp(3.6rem, 18vw, 5.6rem);
  }

  .project-world-copy h3 {
    max-width: 14ch;
  }

  .project-world-visual {
    min-height: 430px;
  }

  .kaori-world-character {
    width: 110%;
    right: -12%;
  }

  .kaori-moon {
    width: 300px;
    height: 300px;
  }

  .floating-feature {
    min-width: 150px;
    padding: 11px 12px;
  }

  .gym-world-progress {
    width: 82%;
  }

  .gym-world-man {
    width: 42%;
  }

  .gym-world-woman {
    width: 36%;
    left: 42%;
  }

  .demo-stage {
    padding-top: 58px;
  }

  .demo-stage-grid {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    min-height: 560px;
  }
}


/* Polish pass: richer color, smoother transitions, safer headings */
.about-ribbon {
  background:
    radial-gradient(circle at 12% 20%, rgba(182, 145, 255, 0.16), transparent 26%),
    radial-gradient(circle at 84% 22%, rgba(126, 219, 255, 0.14), transparent 28%),
    linear-gradient(115deg, #f8f3ff 0%, #edf5ff 52%, #eefaff 100%);
}

.about-ribbon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: linear-gradient(
    180deg,
    rgba(238, 246, 255, 0) 0%,
    rgba(231, 237, 255, 0.72) 55%,
    rgba(224, 229, 255, 0.96) 100%
  );
  pointer-events: none;
}

.project-world-kaori {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 205, 236, 0.28), transparent 26%),
    radial-gradient(circle at 78% 24%, rgba(151, 126, 255, 0.28), transparent 30%),
    radial-gradient(circle at 86% 76%, rgba(115, 211, 255, 0.20), transparent 28%),
    linear-gradient(180deg, #f8f2ff 0%, #ebeaff 40%, #dfe9ff 72%, #c8d7ef 100%);
}

.project-world-kaori::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 20;
  height: 120px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(201, 216, 239, 0) 0%,
      rgba(57, 66, 91, 0.10) 30%,
      rgba(19, 30, 44, 0.52) 72%,
      rgba(7, 17, 28, 0.98) 100%
    );
}

.project-world-gym::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  z-index: 10;
  height: 110px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(23, 34, 50, 0.96) 0%,
      rgba(14, 28, 42, 0.72) 34%,
      rgba(7, 17, 28, 0.12) 100%
    );
}

.project-world-kaori-bg {
  background:
    radial-gradient(circle at 68% 20%, rgba(192, 163, 255, 0.30), transparent 26%),
    radial-gradient(circle at 86% 68%, rgba(255, 183, 222, 0.20), transparent 28%),
    radial-gradient(circle at 62% 78%, rgba(117, 213, 255, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.68), rgba(224, 232, 255, 0.20));
}

.project-world-kaori .project-world-overlay {
  background:
    linear-gradient(
      100deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.78) 34%,
      rgba(246, 239, 255, 0.34) 58%,
      rgba(221, 232, 255, 0.08) 82%
    );
}

.kaori-moon {
  box-shadow:
    0 0 80px rgba(173, 142, 238, 0.28),
    0 0 130px rgba(121, 203, 255, 0.12);
}

.project-world-gym {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 136, 40, 0.14), transparent 26%),
    radial-gradient(circle at 18% 74%, rgba(41, 184, 255, 0.08), transparent 30%),
    #07111c;
}

.gym-world-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5,14,22,0.96) 0%,
      rgba(5,14,22,0.74) 28%,
      rgba(5,14,22,0.48) 55%,
      rgba(5,14,22,0.58) 78%,
      rgba(5,14,22,0.84) 100%
    ),
    radial-gradient(circle at 76% 32%, rgba(255,128,32,0.20), transparent 30%);
}

.gym-world-copy {
  min-width: 0;
}

.project-world-gym .project-world-copy h2 {
  max-width: 100%;
  font-size: clamp(3.6rem, 6.4vw, 6.2rem);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.project-world-gym .project-world-copy h3 {
  max-width: 12ch;
}

.demo-stage {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(139,92,246,0.12), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255,138,50,0.10), transparent 28%),
    linear-gradient(180deg, #0a1622 0%, #08121c 56%, #0b1724 100%);
}

.demo-stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  background:
    linear-gradient(180deg, rgba(7,17,28,0.88), rgba(7,17,28,0));
  pointer-events: none;
}

.stack-band {
  background:
    radial-gradient(circle at 10% 30%, rgba(174, 142, 247, 0.14), transparent 24%),
    radial-gradient(circle at 88% 26%, rgba(115, 211, 255, 0.12), transparent 26%),
    linear-gradient(105deg, #f5efff 0%, #edf6ff 52%, #f7fbff 100%);
}

@media (max-width: 1020px) {
  .project-world-gym .project-world-copy h2 {
    max-width: 10ch;
  }
}

@media (max-width: 720px) {
  .project-world-kaori::after,
  .project-world-gym::before {
    height: 80px;
  }

  .project-world-gym .project-world-copy h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
    max-width: 100%;
  }
}


/* Final polish pass */
.about-ribbon-inner {
  padding-top: 46px;
  padding-bottom: 44px;
  gap: 24px 42px;
}

.about-ribbon h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
}

.about-ribbon-tech {
  gap: 8px;
}

.about-ribbon-tech span {
  padding: 7px 11px;
  font-size: 0.76rem;
}

.project-world-kaori .project-world-copy::before,
.project-world-kaori .project-world-copy::after {
  content: "✦";
  position: absolute;
  z-index: -1;
  color: rgba(133, 102, 213, 0.20);
  text-shadow: 0 0 18px rgba(134, 101, 215, 0.18);
  pointer-events: none;
}

.project-world-kaori .project-world-copy::before {
  top: -34px;
  right: 18%;
  font-size: 1.7rem;
}

.project-world-kaori .project-world-copy::after {
  bottom: -18px;
  left: 8%;
  font-size: 1.05rem;
}

.project-world-gym .project-world-copy h2 {
  font-size: clamp(3.2rem, 5.5vw, 5.4rem);
  max-width: 9ch;
  overflow-wrap: normal;
  word-break: normal;
}

.project-world-gym .project-world-copy h3 {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  max-width: 11ch;
}

.stack-band {
  position: relative;
  overflow: hidden;
}

.stack-band::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,184,255,0.10), transparent 70%);
  pointer-events: none;
}

.stack-band-list {
  position: relative;
  z-index: 2;
}

.stack-band-list span {
  position: relative;
  padding-left: 28px;
}

.stack-band-list span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #8f79e8;
  box-shadow: 0 0 0 4px rgba(143,121,232,0.08);
}

.stack-band-list span:nth-child(2n)::before {
  background: #29b8ff;
  box-shadow: 0 0 0 4px rgba(41,184,255,0.08);
}

.stack-band-list span:nth-child(3n)::before {
  background: #ff8a32;
  box-shadow: 0 0 0 4px rgba(255,138,50,0.08);
}

.demo-panel {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.demo-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 28px 58px rgba(0,0,0,0.30);
}

@media (max-width: 1020px) {
  .about-ribbon-inner {
    gap: 18px;
  }

  .project-world-gym .project-world-copy h2 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .about-ribbon-inner {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .about-ribbon h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .project-world-gym .project-world-copy h2 {
    font-size: clamp(2.9rem, 14vw, 4.6rem);
    max-width: 100%;
  }

  .project-world-gym .project-world-copy h3 {
    max-width: 14ch;
  }

  .stack-band-list span {
    padding-left: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-panel {
    transition: none;
  }

  .demo-panel:hover {
    transform: none;
  }
}


/* Contact */
.contact-stage {
  position: relative;
  overflow: hidden;
  padding: 86px 0 92px;
  background:
    radial-gradient(circle at 14% 20%, rgba(143,121,232,0.14), transparent 26%),
    radial-gradient(circle at 86% 28%, rgba(41,184,255,0.11), transparent 28%),
    linear-gradient(135deg, #0a1622 0%, #0b1925 56%, #09131d 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-stage::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,50,0.10), transparent 70%);
  pointer-events: none;
}

.contact-stage-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(560px, 1.2fr);
  gap: 54px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 9ch;
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 54ch;
  margin: 0;
  color: #aebdcc;
  font-size: 1rem;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-link {
  position: relative;
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 5px 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    rgba(9, 22, 34, 0.72);
  color: #f5f9fc;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(0,0,0,0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

a.contact-link:hover,
a.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(99,211,255,0.30);
  background:
    linear-gradient(135deg, rgba(41,184,255,0.08), rgba(143,121,232,0.04)),
    rgba(9, 22, 34, 0.84);
}

.contact-link-kicker {
  color: #7edcff;
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-link strong {
  grid-column: 1;
  font-size: 1.45rem;
  line-height: 1.1;
}

.contact-link-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #63d3ff;
  font-size: 1.45rem;
}

.contact-link-pending {
  opacity: 0.66;
  cursor: default;
}

.contact-link-pending .contact-link-kicker {
  color: #b7a8dd;
}

.contact-link-status {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #8fa0af;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .contact-stage-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-copy h2 {
    max-width: 11ch;
  }
}

@media (max-width: 720px) {
  .contact-stage {
    padding: 62px 0 68px;
  }

  .contact-copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .contact-link {
    min-height: 96px;
    padding: 18px;
  }

  .contact-link-status {
    max-width: 120px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link {
    transition: none;
  }

  a.contact-link:hover,
  a.contact-link:focus-visible {
    transform: none;
  }
}


/* Scale + navigation polish */
.site-header {
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
  background:
    linear-gradient(180deg, rgba(10, 22, 34, 0.96), rgba(7, 17, 28, 0.92));
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}

.brand {
  font-size: 0.96rem;
}

.main-nav {
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 0.84rem;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(41,184,255,0.12), rgba(143,121,232,0.10));
  transform: translateY(-1px);
}

.hero-showcase {
  min-height: 650px;
}

.hero-showcase-inner {
  min-height: 650px;
  grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.1fr);
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 54px;
}

.hero-showcase-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.hero-showcase-copy .hero-text {
  max-width: 520px;
  font-size: 0.98rem;
}

.hero-showcase-scene {
  min-height: 540px;
  transform: scale(0.93);
  transform-origin: center;
}

.hero-phone-kaori {
  width: 205px;
  min-height: 220px;
}

.hero-phone-kaori strong {
  font-size: 1.4rem;
}

.hero-phone-gym {
  width: 220px;
}

.hero-floating-chip {
  padding: 8px 11px;
  font-size: 0.7rem;
}

.project-world {
  min-height: 690px;
}

.project-world-inner {
  min-height: 690px;
  gap: 34px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.project-world-copy h2 {
  font-size: clamp(3.3rem, 6vw, 5.6rem);
}

.project-world-copy h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.project-world-visual {
  min-height: 560px;
}

.project-world-gym .project-world-copy h2 {
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.demo-stage {
  padding-top: 60px;
  padding-bottom: 68px;
}

.demo-stage-heading h2 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
}

.demo-panel {
  min-height: 540px;
  padding: 24px;
}

.stack-band {
  padding-top: 52px;
  padding-bottom: 52px;
}

.stack-band h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.contact-stage {
  padding-top: 64px;
  padding-bottom: 70px;
}

.contact-copy h2 {
  font-size: clamp(2.7rem, 4.6vw, 4.5rem);
}

.contact-link {
  min-height: 94px;
  padding: 17px 19px;
}

@media (max-width: 1180px) {
  .hero-showcase-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase-copy h1 {
    max-width: 12ch;
  }

  .hero-showcase-scene {
    transform: scale(0.88);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
  }

  .main-nav {
    padding: 8px;
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 10px;
  }

  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase-inner {
    padding-top: 36px;
    padding-bottom: 54px;
  }

  .hero-showcase-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
    max-width: 9ch;
  }

  .hero-showcase-scene {
    min-height: 500px;
    transform: scale(0.82);
    transform-origin: top center;
  }

  .project-world {
    min-height: auto;
  }

  .project-world-inner {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .project-world-copy h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .project-world-visual {
    min-height: 400px;
  }

  .demo-panel {
    min-height: 500px;
  }
}


/* Celestial pastel fantasy skin — reversible visual experiment */
:root {
  --fantasy-ink: #3b3128;
  --fantasy-muted: #756b61;
  --fantasy-cream: #fffaf0;
  --fantasy-cream-2: #f7f0df;
  --fantasy-gold: #c7a768;
  --fantasy-gold-deep: #9f7d42;
  --fantasy-blue: #bfe8f3;
  --fantasy-lilac: #ddd3f5;
  --fantasy-pink: #f3d6df;
}

body {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.80), transparent 24%),
    linear-gradient(180deg, #dff3fa 0%, #eee6fb 36%, #f9f2e5 100%);
  color: var(--fantasy-ink);
}

h1, h2, h3,
.hero-showcase-copy h1,
.project-world-copy h2,
.project-world-copy h3,
.demo-stage-heading h2,
.stack-band h2,
.contact-copy h2 {
  font-family: "Cinzel", Georgia, serif;
}

/* Ornamental navigation */
.site-header {
  position: sticky;
  top: 12px;
  width: min(calc(100% - 36px), 1180px);
  min-height: 56px;
  margin: 12px auto 0;
  padding: 7px 16px;
  border: 1px solid rgba(154, 124, 72, 0.46);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,252,243,0.96), rgba(244,234,211,0.94));
  box-shadow:
    0 8px 24px rgba(95, 75, 42, 0.12),
    inset 0 0 0 2px rgba(255,255,255,0.70);
  backdrop-filter: blur(16px);
}

.site-header::before,
.site-header::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(171, 137, 75, 0.76);
  font-size: 0.72rem;
}

.site-header::before { left: -12px; }
.site-header::after { right: -12px; }

.brand {
  color: #5c4b36;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  color: var(--fantasy-gold-deep);
}

.main-nav {
  gap: 2px;
  padding: 3px;
  border: 0;
  background: transparent;
}

.main-nav a {
  color: #655b50;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #3f352b;
  background: rgba(213, 193, 154, 0.22);
  transform: none;
}

/* Hero — sky world + parchment panel */
.hero-showcase {
  min-height: 690px;
  margin-top: -80px;
  padding-top: 108px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.84), transparent 17%),
    radial-gradient(circle at 62% 26%, rgba(223, 208, 255, 0.65), transparent 28%),
    radial-gradient(circle at 34% 10%, rgba(255,255,255,0.74), transparent 24%),
    linear-gradient(145deg, #d8f1f7 0%, #cae7f2 36%, #e6dcf7 68%, #f5ead8 100%);
}

.hero-showcase-backdrop {
  opacity: 0.28;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,0.85), transparent 12%),
    radial-gradient(circle at 84% 14%, rgba(255,255,255,0.70), transparent 16%);
  mask-image: none;
}

.hero-showcase::before {
  width: 780px;
  height: 300px;
  left: 44%;
  bottom: 20px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(255,255,255,0.52), rgba(180,205,216,0.08) 70%, transparent 72%);
  filter: blur(6px);
}

.hero-showcase::after {
  width: 440px;
  height: 440px;
  right: -80px;
  top: 70px;
  background: radial-gradient(circle, rgba(255, 231, 185, 0.42), transparent 70%);
}

.hero-showcase-inner {
  min-height: 650px;
  grid-template-columns: minmax(330px, 0.88fr) minmax(520px, 1.12fr);
  gap: 36px;
  padding-top: 42px;
  padding-bottom: 58px;
}

.hero-showcase-copy {
  padding: 34px 34px 30px;
  border: 1px solid rgba(165, 133, 77, 0.45);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,253,247,0.97), rgba(248,240,221,0.94));
  box-shadow:
    0 20px 50px rgba(94, 75, 44, 0.14),
    inset 0 0 0 3px rgba(255,255,255,0.66);
}

.hero-showcase-copy::before,
.hero-showcase-copy::after {
  content: "✦";
  position: absolute;
  color: rgba(173, 141, 84, 0.62);
  font-size: 0.78rem;
}

.hero-showcase-copy::before { top: 12px; left: 14px; }
.hero-showcase-copy::after { bottom: 12px; right: 14px; }

.hero-showcase-copy .eyebrow,
.hero-showcase-copy .hero-role {
  color: #6f655b;
}

.hero-showcase-copy h1 {
  max-width: 10ch;
  margin-bottom: 20px;
  color: #46372d;
  font-size: clamp(2.8rem, 4.5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-showcase-copy .hero-text {
  color: #675d55;
  font-size: 0.95rem;
}

.button-primary,
.kaori-primary,
.gym-primary {
  background:
    linear-gradient(180deg, #fffaf0, #ead7a6);
  color: #4c3a28;
  border: 1px solid rgba(158,126,70,0.46);
  box-shadow:
    0 8px 18px rgba(137,106,58,0.14),
    inset 0 0 0 2px rgba(255,255,255,0.58);
}

.button-secondary,
.kaori-secondary,
.gym-secondary {
  border: 1px solid rgba(151,120,72,0.36);
  background: rgba(255,252,244,0.72);
  color: #564638;
}

.hero-tech-line {
  color: #786c61;
}

.hero-tech-line i {
  background: var(--fantasy-gold);
}

.hero-showcase-scene {
  min-height: 560px;
  transform: scale(0.92);
}

.hero-phone {
  border-color: rgba(255,255,255,0.64);
  box-shadow: 0 24px 50px rgba(77, 64, 47, 0.16);
  backdrop-filter: blur(10px);
}

.hero-phone-kaori {
  background:
    linear-gradient(160deg, rgba(238,224,255,0.90), rgba(255,250,247,0.76));
  color: #4c4160;
  border-color: rgba(141, 113, 181, 0.28);
}

.hero-phone-kaori strong { color: #4a3e58; }
.hero-phone-kaori small { color: #766b84; }
.hero-phone-kaori .hero-phone-label {
  color: #5c4c76;
  background: rgba(182, 155, 224, 0.20);
  border-color: rgba(141, 113, 181, 0.24);
}

.hero-phone-gym {
  background:
    linear-gradient(160deg, rgba(255,248,232,0.88), rgba(238,246,249,0.78));
  border-color: rgba(166,132,79,0.30);
}

.hero-phone-gym .hero-phone-label {
  color: #66503a;
  background: rgba(226, 196, 143, 0.26);
  border-color: rgba(166,132,79,0.28);
}

.hero-floating-chip {
  color: #5c4d40;
  border-color: rgba(163,132,79,0.26);
  background: rgba(255,250,240,0.86);
  box-shadow: 0 12px 24px rgba(104,86,58,0.12);
}

.hero-character-kaori {
  filter: drop-shadow(0 18px 32px rgba(116, 89, 145, 0.20));
}

.hero-character-gym {
  filter: drop-shadow(0 18px 30px rgba(129, 87, 42, 0.20));
}

.hero-scroll-cue {
  color: #776859;
}

/* About */
.about-ribbon {
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.90), transparent 24%),
    linear-gradient(115deg, #f8f0e0 0%, #e8eef9 50%, #eee4f7 100%);
  color: #4a3d33;
  border-bottom: 1px solid rgba(165, 132, 77, 0.20);
}

.about-ribbon h2 { color: #4b3d32; }
.about-ribbon-inner > p { color: #6d635a; }
.about-ribbon .eyebrow { color: #9a7c4a; }

.about-ribbon-tech span,
.stack-band-list span {
  border-color: rgba(162,131,79,0.20);
  background: rgba(255,252,245,0.74);
  color: #62554a;
}

/* Kaori */
.project-world-kaori {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.88), transparent 25%),
    radial-gradient(circle at 78% 26%, rgba(209,193,244,0.44), transparent 32%),
    linear-gradient(180deg, #fbf7ee 0%, #f1eaf8 48%, #dceaf3 100%);
  color: #463a32;
}

.project-world-kaori .project-world-copy h2,
.project-world-kaori .project-world-copy h3 {
  color: #493c33;
}

.project-world-kaori .project-world-copy > p {
  color: #6f665e;
}

.project-world-kaori .world-eyebrow {
  color: #9b7e4c;
}

.project-world-kaori .world-feature-row span {
  border-color: rgba(153, 122, 73, 0.20);
  background: rgba(255,252,245,0.76);
  color: #665848;
}

.kaori-world-character {
  border-radius: 44% 44% 14% 14% / 30% 30% 12% 12%;
  filter: drop-shadow(0 28px 42px rgba(110, 83, 135, 0.22));
}

.kaori-feature-one,
.kaori-feature-two {
  background: rgba(255,250,240,0.88);
  border: 1px solid rgba(159,126,74,0.22);
  color: #594a3e;
}

/* Gym — keep content, soften world into warm fantasy */
.project-world-gym {
  background:
    linear-gradient(180deg, #c7d7dc 0%, #d6c9bd 40%, #b8a98f 100%);
  color: #fffaf0;
}

.gym-world-background img {
  filter: saturate(0.86) contrast(0.96) brightness(0.72) sepia(0.10);
}

.gym-world-overlay {
  background:
    linear-gradient(90deg,
      rgba(59,48,39,0.76) 0%,
      rgba(63,52,43,0.52) 32%,
      rgba(79,63,47,0.32) 58%,
      rgba(47,42,38,0.56) 100%),
    radial-gradient(circle at 74% 28%, rgba(255,232,190,0.18), transparent 32%);
}

.project-world-gym .world-eyebrow {
  color: #f3dba9;
}

.project-world-gym .project-world-copy > p {
  color: #f2ebe3;
}

.project-world-gym .world-feature-row span {
  border-color: rgba(255,238,201,0.28);
  background: rgba(70,55,42,0.34);
  color: #fff9ee;
}

/* Demos — light pastel media cards */
.demo-stage {
  color: #493d34;
  background:
    radial-gradient(circle at 12% 18%, rgba(210,192,241,0.36), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(255,224,178,0.34), transparent 28%),
    linear-gradient(180deg, #f7f1e6 0%, #e8eef7 52%, #f3e9f6 100%);
}

.demo-stage::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.56), transparent);
}

.demo-stage-heading h2 {
  color: #4a3d33;
}

.demo-stage-heading > p {
  color: #70645b;
}

.demo-panel {
  border-color: rgba(158,126,72,0.20);
  box-shadow: 0 22px 46px rgba(100, 79, 47, 0.10);
}

.demo-panel-kaori {
  background:
    linear-gradient(145deg, rgba(244,235,255,0.95), rgba(255,250,244,0.96));
}

.demo-panel-gym {
  background:
    linear-gradient(145deg, rgba(255,240,216,0.94), rgba(234,243,246,0.94));
}

.demo-panel-copy strong {
  color: #4c4037;
}

.demo-panel-copy p {
  color: #756b63;
}

.demo-panel-kaori .demo-panel-copy span {
  color: #8d72ae;
}

.demo-panel-gym .demo-panel-copy span {
  color: #a46f3f;
}

/* Tech + contact + footer */
.stack-band {
  background:
    radial-gradient(circle at 10% 30%, rgba(255,255,255,0.82), transparent 22%),
    linear-gradient(105deg, #f7efe0 0%, #e8eef7 52%, #efe4f6 100%);
  color: #493d34;
}

.stack-band .eyebrow { color: #9a7c4a; }
.stack-band h2 { color: #4a3d33; }

.contact-stage {
  color: #4b3f35;
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,0.86), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(218,205,244,0.34), transparent 26%),
    linear-gradient(135deg, #f7efdf 0%, #e6eef7 56%, #eee4f6 100%);
  border-top-color: rgba(159,127,75,0.18);
}

.contact-copy h2 { color: #4a3d33; }
.contact-copy > p:not(.eyebrow) { color: #71675f; }

.contact-link {
  border-color: rgba(158,126,72,0.20);
  background: rgba(255,252,245,0.74);
  color: #4b3f35;
  box-shadow: 0 16px 30px rgba(105, 83, 49, 0.10);
}

a.contact-link:hover,
a.contact-link:focus-visible {
  border-color: rgba(154,124,72,0.40);
  background: rgba(255,250,239,0.92);
}

.contact-link-kicker,
.contact-link-arrow {
  color: #9a7c4a;
}

.contact-link-pending .contact-link-kicker {
  color: #8b7d70;
}

.contact-link-status {
  background: rgba(170,145,102,0.10);
  color: #8a7a6b;
}

.site-footer {
  background: #f2eadb;
  color: #594c40;
  border-top-color: rgba(157,126,74,0.20);
}

.footer-links a {
  color: #8b6f42;
}

/* Mobile refinement */
@media (max-width: 760px) {
  .site-header {
    top: 6px;
    width: min(calc(100% - 18px), 1180px);
    margin-top: 6px;
    padding-inline: 12px;
  }

  .hero-showcase {
    margin-top: -68px;
    padding-top: 92px;
  }

  .hero-showcase-copy {
    padding: 26px 22px 24px;
  }

  .hero-showcase-copy h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.8rem);
    max-width: 10ch;
  }

  .hero-showcase-scene {
    transform: scale(0.78);
  }

  .demo-panel {
    min-height: 470px;
  }
}


/* Hero v2: horizontal game-inspired banner with real Kaori background */
.hero-showcase {
  position: relative;
  min-height: 560px;
  margin-top: 8px;
  padding: 26px 0 34px;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(120deg, rgba(224,244,250,0.95), rgba(235,226,249,0.92) 52%, rgba(248,238,220,0.92));
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: -3;
  background:
    url("../assets/images/fondo2examen.webp") center 42% / cover no-repeat;
  filter: blur(12px) saturate(1.05) brightness(0.90);
  transform: scale(1.08);
  opacity: 0.52;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246,249,250,0.90) 0%, rgba(244,243,251,0.72) 42%, rgba(247,240,229,0.48) 100%),
    radial-gradient(circle at 75% 26%, rgba(255,255,255,0.38), transparent 25%);
}

.hero-showcase-backdrop {
  display: none;
}

.hero-showcase-inner {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-showcase-copy {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-showcase-copy::before,
.hero-showcase-copy::after {
  display: none;
}

.hero-showcase-copy .eyebrow {
  margin-bottom: 8px;
  color: #7d6a59;
}

.hero-showcase-copy .hero-role {
  margin-bottom: 12px;
  color: #6d6258;
}

.hero-showcase-copy h1 {
  max-width: 10.5ch;
  margin: 0 0 18px;
  color: #43372f;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.8rem, 4.9vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 24px rgba(255,255,255,0.34);
}

.hero-showcase-copy .hero-text {
  max-width: 560px;
  margin-bottom: 22px;
  color: #62584f;
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-actions {
  gap: 10px;
  margin-top: 0;
}

.hero-showcase .button {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 12px;
}

.hero-showcase .button-primary {
  background: linear-gradient(180deg, #fff6d7, #e8cf8f);
  color: #4b3b2c;
  border: 1px solid rgba(151,118,66,0.42);
  box-shadow: 0 10px 22px rgba(130,101,56,0.16);
}

.hero-showcase .button-secondary {
  border: 1px solid rgba(143,116,78,0.26);
  background: rgba(255,255,255,0.40);
  color: #52463b;
  backdrop-filter: blur(10px);
}

.hero-tech-line {
  margin-top: 20px;
  color: #74695f;
  font-size: 0.74rem;
}

.hero-tech-line i {
  background: #b58d53;
}

.hero-showcase-scene {
  position: relative;
  min-height: 455px;
  transform: none;
}

.hero-showcase-scene::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 82%;
  height: 110px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(116,96,76,0.14), transparent 70%);
  filter: blur(12px);
}

.hero-glow-kaori {
  width: 330px;
  height: 330px;
  left: 7%;
  top: 15%;
  background: radial-gradient(circle, rgba(214,191,255,0.48), rgba(167,134,222,0.10) 58%, transparent 74%);
}

.hero-glow-gym {
  width: 340px;
  height: 340px;
  right: 0;
  bottom: 8%;
  background: radial-gradient(circle, rgba(255,211,159,0.38), rgba(127,203,226,0.10) 58%, transparent 74%);
}

.hero-character-kaori {
  left: -1%;
  bottom: -4%;
  width: 56%;
  max-height: 72%;
  filter: drop-shadow(0 20px 34px rgba(104,75,132,0.22));
}

.hero-character-gym {
  right: 0;
  bottom: -2%;
  width: 28%;
  max-height: 59%;
  filter: drop-shadow(0 18px 30px rgba(115,81,44,0.20));
}

.hero-phone {
  border-radius: 22px;
  box-shadow: 0 22px 42px rgba(93,75,53,0.15);
}

.hero-phone-kaori {
  top: 44px;
  left: 28%;
  width: 210px;
  min-height: 214px;
  padding: 18px;
  transform: rotate(-5deg);
  background:
    linear-gradient(160deg, rgba(242,229,255,0.92), rgba(255,250,244,0.82));
}

.hero-phone-kaori strong {
  margin-top: 24px;
  font-size: 1.42rem;
}

.hero-phone-gym {
  top: 128px;
  right: 9%;
  width: 225px;
  padding: 14px;
  transform: rotate(5deg);
  background:
    linear-gradient(160deg, rgba(255,247,228,0.92), rgba(232,245,249,0.82));
}

.hero-floating-chip {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,250,240,0.82);
  color: #57483c;
  border-color: rgba(158,126,74,0.24);
  box-shadow: 0 10px 22px rgba(105,83,53,0.12);
}

.chip-kaori {
  left: 16%;
  bottom: 10%;
}

.chip-gym {
  right: 4%;
  bottom: 15%;
}

.hero-scroll-cue {
  bottom: 8px;
  color: #746658;
}

@media (max-width: 1100px) {
  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 10px;
  }

  .hero-showcase-copy {
    max-width: 760px;
  }

  .hero-showcase-copy h1 {
    max-width: 12ch;
  }

  .hero-showcase-scene {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .hero-showcase {
    margin-top: 0;
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .hero-showcase-inner {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .hero-showcase-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    max-width: 11ch;
  }

  .hero-showcase-copy .hero-text {
    font-size: 0.93rem;
  }

  .hero-showcase-scene {
    min-height: 420px;
  }

  .hero-character-kaori {
    width: 66%;
    left: -9%;
  }

  .hero-character-gym {
    width: 34%;
    right: -3%;
  }

  .hero-phone-kaori {
    left: 24%;
    width: 180px;
  }

  .hero-phone-gym {
    right: 1%;
    top: 205px;
    width: 185px;
  }

  .chip-kaori {
    left: 3%;
  }

  .chip-gym {
    right: 1%;
    bottom: 5%;
  }
}


/* Hero life pass: layered Kaori world + ornamental frame */
.hero-showcase {
  margin: 18px auto 34px;
  width: min(calc(100% - 44px), 1500px);
  min-height: 610px;
  border-radius: 28px;
  border: 1px solid rgba(156, 124, 73, 0.34);
  box-shadow:
    0 26px 70px rgba(97, 75, 48, 0.14),
    inset 0 0 0 3px rgba(255,255,255,0.44);
  overflow: hidden;
  isolation: isolate;
}

.hero-showcase::before {
  inset: -36px;
  background:
    url("../assets/images/fondomap.webp") center 38% / cover no-repeat;
  filter: blur(10px) saturate(1.02) brightness(0.82);
  transform: scale(1.10);
  opacity: 0.64;
}

.hero-showcase::after {
  background:
    linear-gradient(
      90deg,
      rgba(248, 245, 239, 0.90) 0%,
      rgba(241, 238, 247, 0.72) 38%,
      rgba(233, 238, 247, 0.46) 62%,
      rgba(246, 236, 220, 0.32) 100%
    ),
    radial-gradient(circle at 74% 30%, rgba(255,255,255,0.44), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,250,242,0.22));
}

.hero-showcase .hero-showcase-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.58), transparent 18%),
    radial-gradient(circle at 82% 14%, rgba(255,242,205,0.34), transparent 17%),
    radial-gradient(circle at 64% 82%, rgba(195,174,245,0.26), transparent 24%);
  pointer-events: none;
}

.hero-showcase::marker {
  display: none;
}

.hero-showcase-inner::before,
.hero-showcase-inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 6;
  width: 54px;
  height: 54px;
  opacity: 0.74;
  background:
    linear-gradient(135deg, transparent 44%, rgba(164,129,71,0.72) 45%, rgba(164,129,71,0.72) 49%, transparent 50%),
    linear-gradient(45deg, transparent 44%, rgba(164,129,71,0.72) 45%, rgba(164,129,71,0.72) 49%, transparent 50%);
}

.hero-showcase-inner::before {
  left: 10px;
  top: 8px;
}

.hero-showcase-inner::after {
  right: 10px;
  bottom: 8px;
  transform: rotate(180deg);
}

.hero-showcase-copy {
  position: relative;
  z-index: 7;
  max-width: 610px;
  padding: 28px 30px 26px;
  border: 1px solid rgba(157, 123, 69, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,252,245,0.74), rgba(248,241,228,0.60));
  box-shadow:
    0 16px 32px rgba(101, 76, 47, 0.10),
    inset 0 0 0 2px rgba(255,255,255,0.36);
  backdrop-filter: blur(8px);
}

.hero-showcase-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.65rem, 4.4vw, 4.5rem);
  line-height: 0.99;
}

.hero-showcase-scene {
  z-index: 5;
}

.hero-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  filter: saturate(0.92);
}

.hero-ornament-stars {
  width: 300px;
  height: 180px;
  right: 3%;
  top: 3%;
  background-image: url("../assets/images/tripleestrella.webp");
  background-position: top right;
  opacity: 0.38;
  animation: ornament-drift 7s ease-in-out infinite;
}

.hero-ornament-rose {
  width: 260px;
  height: 260px;
  left: 46%;
  bottom: -68px;
  background-image: url("../assets/images/rosa.webp");
  background-position: bottom center;
  opacity: 0.20;
  transform: rotate(-8deg);
}

.hero-showcase-scene::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12% 0 0 12%;
  background:
    url("../assets/images/star.webp") 92% 14% / 82px auto no-repeat,
    url("../assets/images/star.webp") 8% 74% / 54px auto no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

.hero-character-kaori,
.hero-character-gym,
.hero-phone,
.hero-floating-chip {
  animation: hero-scene-float 6s ease-in-out infinite;
}

.hero-phone-gym,
.chip-gym,
.hero-character-gym {
  animation-delay: 1.1s;
}

.hero-phone-kaori,
.chip-kaori {
  animation-delay: 0.45s;
}

.hero-phone {
  box-shadow:
    0 22px 42px rgba(93,75,53,0.15),
    0 0 0 1px rgba(255,255,255,0.26);
}

.hero-floating-chip {
  backdrop-filter: blur(12px);
}

@keyframes hero-scene-float {
  0%, 100% { transform: translateY(0) rotate(var(--hero-rotate, 0deg)); }
  50% { transform: translateY(-7px) rotate(var(--hero-rotate, 0deg)); }
}

@keyframes ornament-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.hero-phone-kaori { --hero-rotate: -5deg; }
.hero-phone-gym { --hero-rotate: 5deg; }
.hero-character-kaori,
.hero-character-gym,
.hero-floating-chip { --hero-rotate: 0deg; }

@media (max-width: 1100px) {
  .hero-showcase {
    width: min(calc(100% - 26px), 1500px);
  }

  .hero-showcase-copy {
    max-width: 760px;
  }

  .hero-ornament-rose {
    left: 52%;
  }
}

@media (max-width: 760px) {
  .hero-showcase {
    width: min(calc(100% - 14px), 1500px);
    margin-top: 8px;
    border-radius: 22px;
  }

  .hero-showcase-copy {
    padding: 22px 20px 20px;
  }

  .hero-showcase-copy h1 {
    font-size: clamp(2.25rem, 10.8vw, 3.45rem);
  }

  .hero-ornament-stars {
    width: 180px;
    height: 110px;
    right: -20px;
  }

  .hero-ornament-rose {
    width: 180px;
    height: 180px;
    left: 36%;
    bottom: -48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-character-kaori,
  .hero-character-gym,
  .hero-phone,
  .hero-floating-chip,
  .hero-ornament-stars {
    animation: none;
  }
}


/* About + moving app gallery */
.about-soft {
  position: relative;
  width: min(calc(100% - 44px), 1500px);
  margin: 28px auto 30px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(154, 122, 71, 0.24);
  background: linear-gradient(135deg, #f7f1e5 0%, #edf3f9 52%, #eee5f7 100%);
  box-shadow:
    0 22px 54px rgba(89, 70, 45, 0.10),
    inset 0 0 0 2px rgba(255,255,255,0.42);
}

.about-soft-bg {
  position: absolute;
  inset: -18px;
  background:
    linear-gradient(90deg, rgba(255,250,241,0.90), rgba(241,239,248,0.72) 48%, rgba(231,239,248,0.68)),
    url("../assets/images/fondobye.webp") center 45% / cover no-repeat;
  filter: blur(4px) saturate(0.94);
  transform: scale(1.05);
  opacity: 0.58;
}

.about-soft::before,
.about-soft::after {
  content: "✦";
  position: absolute;
  z-index: 2;
  color: rgba(166, 130, 73, 0.56);
  font-size: 0.84rem;
}

.about-soft::before {
  top: 16px;
  left: 18px;
}

.about-soft::after {
  right: 18px;
  bottom: 16px;
}

.about-soft-inner {
  position: relative;
  z-index: 3;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.about-soft-copy h2 {
  max-width: 12ch;
  margin: 0 0 16px;
  color: #463a31;
  font-size: clamp(2.1rem, 3.7vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-soft-copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 0;
  color: #6d6259;
  line-height: 1.72;
}

.about-soft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.about-soft-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(154,122,71,0.20);
  background: rgba(255,252,246,0.74);
  color: #625448;
  font-size: 0.76rem;
  font-weight: 850;
}

.about-soft-side {
  display: flex;
  justify-content: flex-end;
}

.about-soft-card {
  position: relative;
  max-width: 430px;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid rgba(151,119,69,0.22);
  background:
    linear-gradient(145deg, rgba(255,253,247,0.72), rgba(240,235,248,0.68));
  box-shadow: 0 18px 38px rgba(91,72,47,0.10);
  backdrop-filter: blur(9px);
}

.about-card-kicker {
  display: block;
  margin-bottom: 7px;
  color: #9a7b49;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-soft-card strong {
  display: block;
  margin-bottom: 10px;
  color: #4a3d34;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.about-soft-card p {
  margin: 0;
  color: #73685f;
  line-height: 1.65;
}

.app-gallery {
  width: min(calc(100% - 44px), 1500px);
  margin: 0 auto 42px;
  padding: 34px 0 18px;
}

.app-gallery-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
}

.app-gallery-heading h2 {
  margin: 0;
  color: #493d34;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.app-gallery-heading > p {
  margin: 0;
  color: #756960;
  line-height: 1.7;
}

.app-carousel {
  position: relative;
  padding: 0 52px;
}

.app-carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
}

.app-carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 520ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.app-carousel-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 360px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(149,118,70,0.22);
  background: rgba(255,251,245,0.82);
  box-shadow: 0 18px 42px rgba(96,76,50,0.12);
}

.app-carousel-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.app-carousel-card-kaori img {
  object-position: center;
}

.app-carousel-card-gym img {
  object-fit: contain;
  padding: 12px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,186,117,0.18), transparent 28%),
    linear-gradient(145deg, #141b24, #0d151d 68%);
}

.app-carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 16px;
}

.app-carousel-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-carousel-card-kaori .app-carousel-meta span {
  color: #6a5388;
  background: rgba(196,169,235,0.22);
}

.app-carousel-card-gym .app-carousel-meta span {
  color: #8d5b2d;
  background: rgba(241,190,129,0.26);
}

.app-carousel-meta strong {
  color: #4c4037;
  font-size: 0.92rem;
}

.app-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(151,119,69,0.28);
  border-radius: 50%;
  background: rgba(255,249,238,0.90);
  color: #6d5740;
  box-shadow: 0 10px 22px rgba(93,72,44,0.12);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.app-carousel-prev { left: 0; }
.app-carousel-next { right: 0; }

.app-carousel-btn:hover,
.app-carousel-btn:focus-visible {
  background: #fff8e9;
  border-color: rgba(151,119,69,0.46);
}

@media (max-width: 1050px) {
  .about-soft-inner,
  .app-gallery-heading {
    grid-template-columns: 1fr;
  }

  .about-soft-side {
    justify-content: flex-start;
  }

  .app-carousel-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  .about-soft,
  .app-gallery {
    width: min(calc(100% - 14px), 1500px);
  }

  .about-soft-inner {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .about-soft-copy h2 {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .app-carousel {
    padding: 0 38px;
  }

  .app-carousel-card {
    flex-basis: 100%;
  }

  .app-carousel-card img {
    height: 270px;
  }
}


/* Interactive Figma prototype modals */
.prototype-trigger {
  font: inherit;
  cursor: pointer;
}

.prototype-modal {
  width: min(94vw, 1180px);
  max-width: none;
  height: min(88vh, 860px);
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.prototype-modal::backdrop {
  background: rgba(20, 22, 34, 0.62);
  backdrop-filter: blur(9px);
}

.prototype-modal-shell {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 36px 90px rgba(39, 31, 31, 0.30);
}

.prototype-modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 24px;
}

.prototype-modal-header h2 {
  margin: 2px 0 4px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.prototype-modal-header p {
  margin: 0;
  font-size: 0.88rem;
}

.prototype-modal-kicker {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.prototype-modal-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.54);
  color: inherit;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

.prototype-modal-frame-wrap {
  position: relative;
  min-height: 0;
  margin: 0 18px 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.40);
}

.prototype-modal-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  background: transparent;
}

.prototype-modal-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* Kaori modal */
.prototype-modal-kaori .prototype-modal-shell {
  color: #4c3f5f;
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,0.84), transparent 26%),
    radial-gradient(circle at 86% 20%, rgba(199,176,255,0.44), transparent 28%),
    linear-gradient(145deg, #f8f1ff 0%, #e9efff 52%, #f6eaf5 100%);
  box-shadow:
    0 36px 90px rgba(83, 61, 112, 0.26),
    inset 0 0 0 3px rgba(255,255,255,0.30);
}

.prototype-modal-kaori .prototype-modal-shell::before,
.prototype-modal-kaori .prototype-modal-shell::after {
  content: "✦";
  position: absolute;
  z-index: 1;
  color: rgba(128, 91, 193, 0.30);
  font-size: 1.5rem;
}

.prototype-modal-kaori .prototype-modal-shell::before {
  top: 20px;
  left: 18px;
}

.prototype-modal-kaori .prototype-modal-shell::after {
  right: 76px;
  top: 28px;
}

.prototype-modal-kaori .prototype-modal-kicker {
  color: #8267a8;
}

.prototype-modal-kaori .prototype-modal-header p {
  color: #776a83;
}

.prototype-modal-kaori .prototype-modal-frame-wrap {
  border-color: rgba(129, 97, 178, 0.20);
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,0.88), transparent 22%),
    linear-gradient(145deg, rgba(255,255,255,0.66), rgba(232,223,249,0.68));
}

/* Gym modal */
.prototype-modal-gym .prototype-modal-shell {
  color: #f7f3ec;
  background:
    radial-gradient(circle at 84% 18%, rgba(255,146,62,0.22), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(41,184,255,0.12), transparent 28%),
    linear-gradient(145deg, #152431 0%, #0b1721 58%, #171611 100%);
  border-color: rgba(255,171,93,0.28);
  box-shadow:
    0 36px 90px rgba(0,0,0,0.34),
    inset 0 0 0 2px rgba(255,147,62,0.08);
}

.prototype-modal-gym .prototype-modal-kicker {
  color: #ffad65;
}

.prototype-modal-gym .prototype-modal-header p {
  color: #c5d0d7;
}

.prototype-modal-gym .prototype-modal-close {
  border-color: rgba(255,165,87,0.30);
  background: rgba(13,28,39,0.78);
  color: #fff8ef;
}

.prototype-modal-gym .prototype-modal-frame-wrap {
  border-color: rgba(255,151,63,0.24);
  background:
    radial-gradient(circle at 86% 12%, rgba(255,136,44,0.15), transparent 22%),
    linear-gradient(145deg, rgba(14,31,42,0.92), rgba(8,18,27,0.96));
}

@media (max-width: 760px) {
  .prototype-modal {
    width: calc(100vw - 14px);
    height: calc(100vh - 20px);
  }

  .prototype-modal-shell {
    border-radius: 20px;
  }

  .prototype-modal-header {
    padding: 16px 16px 14px;
  }

  .prototype-modal-frame-wrap {
    margin: 0 8px 8px;
    border-radius: 16px;
  }

  .prototype-modal-frame {
    min-height: 480px;
  }

  .prototype-modal-close {
    width: 38px;
    height: 38px;
  }
}


/* App Gallery compact pass */
.app-gallery {
  margin-top: 18px;
  margin-bottom: 24px;
  padding-top: 20px;
  padding-bottom: 8px;
}

.app-gallery-heading {
  gap: 24px;
  margin-bottom: 16px;
}

.app-gallery-heading h2 {
  max-width: 11ch;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 0.98;
}

.app-gallery-heading > p {
  max-width: 58ch;
  font-size: 0.92rem;
  line-height: 1.55;
}

.app-carousel {
  padding-inline: 46px;
}

.app-carousel-card {
  min-height: 300px;
  border-radius: 20px;
}

.app-carousel-card img {
  height: 245px;
}

.app-carousel-meta {
  padding: 11px 13px 13px;
}

.app-carousel-meta strong {
  font-size: 0.84rem;
}

.app-carousel-meta span {
  font-size: 0.62rem;
  padding: 5px 8px;
}

.app-carousel-btn {
  width: 36px;
  height: 36px;
  font-size: 1.35rem;
}

@media (max-width: 1050px) {
  .app-gallery {
    margin-top: 14px;
  }

  .app-gallery-heading h2 {
    max-width: 14ch;
  }

  .app-carousel-card img {
    height: 225px;
  }
}

@media (max-width: 720px) {
  .app-gallery {
    margin-top: 10px;
    margin-bottom: 18px;
    padding-top: 14px;
  }

  .app-gallery-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .app-gallery-heading h2 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .app-gallery-heading > p {
    font-size: 0.86rem;
  }

  .app-carousel {
    padding-inline: 34px;
  }

  .app-carousel-card {
    min-height: 280px;
  }

  .app-carousel-card img {
    height: 220px;
  }
}


/* App Gallery split-panel polish */
.app-gallery {
  position: relative;
  width: min(calc(100% - 44px), 1500px);
  margin: 18px auto 28px;
  padding: 20px 0 26px;
  overflow: visible;
  background: transparent;
}

.app-gallery::before {
  content: "";
  position: absolute;
  inset: -18px -12px -22px;
  z-index: -2;
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,0.72), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(213,195,247,0.30), transparent 30%),
    linear-gradient(135deg, rgba(235,244,251,0.84), rgba(245,237,250,0.88) 52%, rgba(248,241,228,0.84));
  filter: blur(1px);
}

.app-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 70%, rgba(255,255,255,0.38), transparent 26%),
    radial-gradient(circle at 78% 24%, rgba(255,220,158,0.14), transparent 24%);
}

.app-gallery-heading {
  position: relative;
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto 18px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(168,133,75,0.34);
  background:
    linear-gradient(135deg, rgba(255,252,246,0.80), rgba(241,238,248,0.70));
  box-shadow:
    0 18px 40px rgba(88,68,41,0.10),
    0 5px 14px rgba(135,109,69,0.06),
    inset 0 0 0 2px rgba(255,255,255,0.38);
  backdrop-filter: blur(12px);
}

.app-gallery-heading::before,
.app-gallery-heading::after {
  content: "✦";
  position: absolute;
  color: rgba(169,132,73,0.48);
  font-size: 0.74rem;
}

.app-gallery-heading::before {
  top: 12px;
  left: 14px;
}

.app-gallery-heading::after {
  right: 14px;
  bottom: 12px;
}

.app-gallery-heading h2 {
  max-width: 12ch;
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
}

.app-gallery-heading > p {
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.52;
}

.app-carousel {
  position: relative;
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
  padding: 16px 46px 18px;
  border-radius: 24px;
  border: 1px solid rgba(173,137,76,0.38);
  background:
    linear-gradient(145deg, rgba(255,249,239,0.68), rgba(232,237,247,0.70) 54%, rgba(245,236,247,0.70));
  box-shadow:
    0 22px 46px rgba(83,64,37,0.12),
    0 10px 26px rgba(88,103,132,0.08),
    inset 0 0 0 2px rgba(255,255,255,0.34);
  backdrop-filter: blur(14px);
  transform: translateY(0);
  animation: gallery-panel-float 6s ease-in-out infinite;
}

.app-carousel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px solid rgba(211,180,119,0.22);
  pointer-events: none;
}

.app-carousel-viewport {
  border-radius: 18px;
  filter: drop-shadow(0 14px 22px rgba(75,60,39,0.08));
}

.app-carousel-card {
  min-height: 260px;
  border-radius: 18px;
  border-color: rgba(188,151,88,0.30);
  box-shadow:
    0 14px 28px rgba(41,35,28,0.10),
    0 0 0 1px rgba(255,255,255,0.16);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.app-carousel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(191,153,86,0.48);
  box-shadow:
    0 20px 34px rgba(56,44,29,0.16),
    0 0 0 1px rgba(255,247,224,0.28);
}

.app-carousel-card img {
  height: 205px;
}

.app-carousel-meta {
  min-height: 52px;
  padding: 10px 12px 12px;
}

.app-carousel-btn {
  width: 34px;
  height: 34px;
  border-color: rgba(176,139,77,0.44);
  background:
    linear-gradient(180deg, rgba(255,252,244,0.96), rgba(239,222,185,0.92));
  color: #7d6139;
  box-shadow:
    0 10px 18px rgba(87,65,34,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.48);
}

.app-carousel-btn:hover,
.app-carousel-btn:focus-visible {
  background:
    linear-gradient(180deg, #fffdf8, #ead6a8);
  transform: translateY(-50%) scale(1.06);
}

@keyframes gallery-panel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 1050px) {
  .app-gallery-heading {
    width: min(calc(100% - 20px), 1320px);
  }

  .app-carousel {
    width: min(calc(100% - 28px), 1240px);
  }
}

@media (max-width: 720px) {
  .app-gallery {
    width: min(calc(100% - 14px), 1500px);
  }

  .app-gallery-heading {
    width: 100%;
    padding: 18px 18px;
    margin-bottom: 14px;
  }

  .app-gallery-heading h2 {
    font-size: clamp(1.6rem, 8.5vw, 2.15rem);
  }

  .app-gallery-heading > p {
    font-size: 0.84rem;
  }

  .app-carousel {
    width: 100%;
    padding: 13px 34px 15px;
    border-radius: 20px;
  }

  .app-carousel-card {
    min-height: 240px;
  }

  .app-carousel-card img {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-carousel {
    animation: none;
  }
}


/* App Gallery final polish */
.app-gallery-heading {
  min-height: 118px;
  padding: 18px 22px;
  margin-bottom: 22px;
}

.app-gallery-heading h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
}

.app-gallery-heading > p {
  max-width: 50ch;
  font-size: 0.84rem;
  line-height: 1.48;
}

.app-carousel {
  box-shadow:
    0 24px 52px rgba(83,64,37,0.13),
    0 10px 28px rgba(88,103,132,0.09),
    0 0 44px rgba(207,184,236,0.12),
    inset 0 0 0 2px rgba(255,255,255,0.34);
}

.app-carousel::after {
  content: "";
  position: absolute;
  inset: -18px 8% -22px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(206, 191, 234, 0.22) 0%,
    rgba(206, 191, 234, 0.08) 42%,
    transparent 72%
  );
  filter: blur(14px);
  pointer-events: none;
}

@media (max-width: 720px) {
  .app-gallery-heading {
    min-height: auto;
    padding: 16px 16px;
    margin-bottom: 18px;
  }

  .app-gallery-heading h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .app-gallery-heading > p {
    font-size: 0.80rem;
  }
}


/* Global site texture using the supplied fantasy city background */
html {
  background: #eef2f4;
}

body {
  position: relative;
  background:
    linear-gradient(
      rgba(246, 244, 239, 0.90),
      rgba(241, 240, 245, 0.90)
    ),
    url("../assets/images/mainfondo.jpg") center top / cover repeat-y fixed;
  background-blend-mode: normal;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(247, 246, 242, 0.76) 0%,
      rgba(239, 241, 247, 0.82) 34%,
      rgba(245, 239, 236, 0.80) 68%,
      rgba(241, 239, 246, 0.84) 100%
    );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("../assets/images/mainfondo.jpg") center top / 980px auto repeat-y;
  opacity: 0.075;
  filter: saturate(0.82) contrast(0.96);
}

/* Let light sections reveal a little of the page-wide illustration */
.about-soft,
.app-gallery,
.stack-band,
.contact-stage {
  background-color: transparent;
}

.about-soft,
.app-gallery-heading,
.app-carousel,
.stack-band,
.contact-stage {
  backdrop-filter: blur(1.5px);
}

/* Keep themed sections readable while allowing a faint environment to show */
.about-soft {
  background:
    linear-gradient(135deg, rgba(247,241,229,0.84), rgba(237,243,249,0.84) 52%, rgba(238,229,247,0.84));
}

.app-gallery::before {
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,0.66), transparent 26%),
    radial-gradient(circle at 86% 24%, rgba(213,195,247,0.24), transparent 30%),
    linear-gradient(135deg, rgba(235,244,251,0.72), rgba(245,237,250,0.76) 52%, rgba(248,241,228,0.72));
}

.stack-band {
  background:
    radial-gradient(circle at 10% 30%, rgba(255,255,255,0.74), transparent 22%),
    linear-gradient(105deg, rgba(247,239,224,0.80), rgba(232,238,247,0.80) 52%, rgba(239,228,246,0.80));
}

.contact-stage {
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,0.76), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(218,205,244,0.26), transparent 26%),
    linear-gradient(135deg, rgba(247,239,223,0.82), rgba(230,238,247,0.82) 56%, rgba(238,228,246,0.82));
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
    background-size: 760px auto;
  }

  body::after {
    background-size: 760px auto;
    opacity: 0.06;
  }
}


/* Contact quest card */
.contact-stage {
  position: relative;
  padding: 72px 0 80px;
  background:
    linear-gradient(rgba(243,240,235,0.78), rgba(239,239,246,0.82)),
    url("../assets/images/mainfondo.jpg") center 62% / cover no-repeat;
  border-top: 1px solid rgba(170,137,79,0.16);
}

.contact-quest-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(520px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 46px 50px;
  border-radius: 30px;
  border: 1px solid rgba(177,139,72,0.52);
  background:
    linear-gradient(135deg, rgba(255,251,241,0.86), rgba(238,240,249,0.82) 58%, rgba(247,235,225,0.84));
  box-shadow:
    0 28px 64px rgba(77,58,34,0.14),
    0 8px 24px rgba(77,82,117,0.08),
    inset 0 0 0 3px rgba(255,255,255,0.38);
  backdrop-filter: blur(12px);
}

.contact-quest-card::before,
.contact-quest-card::after {
  content: "✦";
  position: absolute;
  color: rgba(170,132,70,0.54);
  font-size: 0.85rem;
}

.contact-quest-card::before {
  top: 16px;
  left: 18px;
}

.contact-quest-card::after {
  right: 18px;
  bottom: 14px;
}

.contact-quest-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,0.72), transparent 24%),
    radial-gradient(circle at 86% 24%, rgba(202,181,239,0.24), transparent 30%),
    radial-gradient(circle at 74% 88%, rgba(255,188,106,0.10), transparent 24%);
}

.contact-quest-copy,
.contact-quest-actions {
  position: relative;
  z-index: 2;
}

.contact-quest-kicker {
  margin: 0 0 12px;
  color: #9b783f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-quest-copy h2 {
  max-width: 10ch;
  margin: 0 0 18px;
  color: #47392f;
  font-size: clamp(2.5rem, 4.6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.contact-quest-copy > p {
  max-width: 56ch;
  margin: 0;
  color: #6c6158;
  line-height: 1.72;
}

.contact-quest-actions {
  display: grid;
  gap: 14px;
}

.contact-quest-link {
  position: relative;
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(169,135,77,0.24);
  background: rgba(255,251,245,0.70);
  color: #4c4037;
  text-decoration: none;
  box-shadow:
    0 14px 28px rgba(85,67,43,0.09),
    inset 0 1px 0 rgba(255,255,255,0.56);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

a.contact-quest-link:hover,
a.contact-quest-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(165,127,64,0.44);
  box-shadow:
    0 20px 34px rgba(74,56,34,0.13),
    0 0 0 1px rgba(255,246,220,0.32);
}

.contact-quest-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.42);
}

.contact-quest-link small {
  display: block;
  margin-bottom: 4px;
  color: #9b7d52;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-quest-link strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.1;
}

.contact-quest-arrow {
  color: #9a743c;
  font-size: 1.25rem;
}

.contact-quest-github {
  background:
    linear-gradient(135deg, rgba(233,243,250,0.88), rgba(243,237,250,0.84));
}

.contact-quest-github .contact-quest-icon {
  color: #2c4057;
  background: rgba(194,218,233,0.52);
}

.contact-quest-linkedin {
  background:
    linear-gradient(135deg, rgba(232,242,252,0.72), rgba(247,248,251,0.74));
}

.contact-quest-linkedin .contact-quest-icon {
  color: #2d6ca3;
  background: rgba(186,218,244,0.48);
}

.contact-quest-cv {
  background:
    linear-gradient(135deg, rgba(255,245,219,0.82), rgba(248,237,217,0.80));
}

.contact-quest-cv .contact-quest-icon {
  color: #8e662c;
  background: rgba(242,215,161,0.50);
}

.contact-quest-link.is-pending {
  opacity: 0.68;
  cursor: default;
}

.contact-quest-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(116,93,66,0.07);
  color: #8d8175;
  font-size: 0.70rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  .contact-quest-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 34px;
  }

  .contact-quest-copy h2 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  .contact-stage {
    padding: 52px 0 60px;
  }

  .contact-quest-card {
    width: min(calc(100% - 14px), var(--max-width));
    padding: 30px 20px;
    border-radius: 24px;
  }

  .contact-quest-copy h2 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }

  .contact-quest-link {
    min-height: 88px;
    padding: 15px 16px;
  }

  .contact-quest-icon {
    width: 42px;
    height: 42px;
  }

  .contact-quest-status {
    max-width: 90px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-quest-link {
    transition: none;
  }

  a.contact-quest-link:hover,
  a.contact-quest-link:focus-visible {
    transform: none;
  }
}


/* Split tech stack: Android apps + portfolio web */
.stack-band {
  position: relative;
  padding: 68px 0 74px;
  background:
    linear-gradient(rgba(246,242,235,0.78), rgba(238,241,247,0.80)),
    url("../assets/images/mainfondo.jpg") center 44% / cover no-repeat;
  border-top: 1px solid rgba(171,137,79,0.16);
  border-bottom: 1px solid rgba(171,137,79,0.14);
}

.stack-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 24px;
}

.stack-heading h2 {
  max-width: 12ch;
  margin: 0;
  color: #483b31;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.stack-heading > p {
  max-width: 58ch;
  margin: 0;
  color: #71655b;
  line-height: 1.7;
}

.stack-worlds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.stack-world {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(164,129,70,0.28);
  box-shadow:
    0 22px 46px rgba(80,61,37,0.11),
    inset 0 0 0 2px rgba(255,255,255,0.30);
  backdrop-filter: blur(12px);
}

.stack-world::before,
.stack-world::after {
  content: "✦";
  position: absolute;
  z-index: 2;
  font-size: 0.76rem;
}

.stack-world::before {
  top: 14px;
  left: 16px;
}

.stack-world::after {
  right: 16px;
  bottom: 14px;
}

.stack-world-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stack-world-head,
.stack-world-list {
  position: relative;
  z-index: 3;
}

.stack-world-kicker {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack-world h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.stack-world-head p {
  max-width: 48ch;
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
}

.stack-world-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.stack-world-list span {
  position: relative;
  padding: 9px 12px 9px 27px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.stack-world-list span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Android card blends Kaori lavender with Gym cyan/orange */
.stack-world-android {
  color: #463d55;
  background:
    radial-gradient(circle at 16% 16%, rgba(210,185,249,0.34), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255,184,112,0.20), transparent 28%),
    linear-gradient(145deg, rgba(250,246,255,0.90), rgba(233,242,249,0.88));
}

.stack-world-android::before,
.stack-world-android::after {
  color: rgba(126,93,177,0.42);
}

.stack-world-android .stack-world-kicker {
  color: #7b609c;
}

.stack-world-android .stack-world-head p {
  color: #71677d;
}

.stack-world-android .stack-world-list span {
  border: 1px solid rgba(126,96,166,0.18);
  background: rgba(255,255,255,0.62);
  color: #5f536d;
}

.stack-world-android .stack-world-list span::before {
  background: #9a7be4;
  box-shadow: 0 0 0 4px rgba(154,123,228,0.08);
}

.stack-world-android .stack-world-list span:nth-child(2n)::before {
  background: #29b8ff;
  box-shadow: 0 0 0 4px rgba(41,184,255,0.08);
}

.stack-world-android .stack-world-list span:nth-child(3n)::before {
  background: #ff9a45;
  box-shadow: 0 0 0 4px rgba(255,154,69,0.08);
}

/* Web card uses cream/gold/sky accents */
.stack-world-web {
  color: #4a4037;
  background:
    radial-gradient(circle at 84% 16%, rgba(133,206,240,0.22), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(244,211,150,0.18), transparent 28%),
    linear-gradient(145deg, rgba(255,250,241,0.92), rgba(235,243,248,0.88));
}

.stack-world-web::before,
.stack-world-web::after {
  color: rgba(168,130,68,0.48);
}

.stack-world-web .stack-world-kicker {
  color: #9a773d;
}

.stack-world-web .stack-world-head p {
  color: #75695f;
}

.stack-world-web .stack-world-list span {
  border: 1px solid rgba(166,130,70,0.20);
  background: rgba(255,252,246,0.68);
  color: #625449;
}

.stack-world-web .stack-world-list span::before {
  background: #c9a25d;
  box-shadow: 0 0 0 4px rgba(201,162,93,0.08);
}

.stack-world-web .stack-world-list span:nth-child(2n)::before {
  background: #4fc3e8;
  box-shadow: 0 0 0 4px rgba(79,195,232,0.08);
}

@media (max-width: 940px) {
  .stack-heading,
  .stack-worlds {
    grid-template-columns: 1fr;
  }

  .stack-heading {
    gap: 16px;
  }

  .stack-heading h2 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .stack-band {
    padding: 52px 0 58px;
  }

  .stack-world {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .stack-world h3 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .stack-world-list {
    margin-top: 18px;
  }
}


/* Tech stack detail + heading polish */
.stack-heading {
  position: relative;
  padding: 22px 26px;
  margin-bottom: 26px;
  border-radius: 22px;
  border: 1px solid rgba(169,135,77,0.22);
  background:
    linear-gradient(135deg, rgba(255,252,246,0.68), rgba(239,240,248,0.62));
  box-shadow:
    0 14px 34px rgba(84,64,39,0.08),
    inset 0 0 0 2px rgba(255,255,255,0.26);
  backdrop-filter: blur(8px);
}

.stack-heading::before,
.stack-heading::after {
  content: "✦";
  position: absolute;
  color: rgba(165,129,68,0.42);
  font-size: 0.72rem;
}

.stack-heading::before {
  top: 12px;
  left: 14px;
}

.stack-heading::after {
  right: 14px;
  bottom: 12px;
}

.stack-heading-title,
.stack-heading-note {
  position: relative;
  z-index: 2;
}

.stack-heading .eyebrow {
  margin-bottom: 8px;
}

.stack-heading h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

.stack-heading-note {
  max-width: 620px;
  padding-left: 22px;
  border-left: 2px solid rgba(190,151,86,0.30);
}

.stack-heading-note > span {
  display: inline-block;
  margin-bottom: 7px;
  color: #98753e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack-heading-note > p {
  margin: 0;
  color: #70645a;
  font-size: 0.92rem;
  line-height: 1.62;
}

.stack-worlds {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: start;
}

.stack-world-android {
  min-height: 460px;
}

.stack-world-web {
  min-height: 300px;
}

.android-stack-groups {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 24px;
}

.android-stack-group {
  padding: 13px 14px 14px;
  border-radius: 17px;
  border: 1px solid rgba(126,96,166,0.12);
  background: rgba(255,255,255,0.30);
}

.android-stack-group-title {
  display: block;
  margin-bottom: 9px;
  color: #6c5885;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.android-stack-group .stack-world-list {
  margin-top: 0;
  gap: 7px;
}

.android-stack-group .stack-world-list span {
  padding: 7px 10px 7px 24px;
  font-size: 0.70rem;
}

.android-stack-group .stack-world-list span::before {
  left: 9px;
  width: 6px;
  height: 6px;
}

@media (max-width: 1120px) {
  .stack-worlds {
    grid-template-columns: 1fr;
  }

  .stack-world-web {
    min-height: auto;
  }
}

@media (max-width: 940px) {
  .stack-heading-note {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(190,151,86,0.24);
  }
}

@media (max-width: 720px) {
  .stack-heading {
    padding: 18px 18px;
  }

  .stack-heading h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .android-stack-groups {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stack-world-android {
    min-height: auto;
  }
}


/* Collapsible Android tech stack */
.stack-world-android {
  min-height: 300px;
  transition: min-height 220ms ease, box-shadow 220ms ease;
}

.stack-world-preview {
  position: relative;
  z-index: 3;
  margin-top: 22px;
}

.android-stack-details {
  position: relative;
  z-index: 4;
  margin-top: 16px;
}

.android-stack-details > summary {
  width: fit-content;
  margin-left: auto;
  padding: 7px 2px;
  list-style: none;
  color: #735b91;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
}

.android-stack-details > summary::-webkit-details-marker {
  display: none;
}

.android-stack-details > summary:hover,
.android-stack-details > summary:focus-visible {
  color: #4f3c67;
}

.android-stack-details > summary i {
  display: inline-block;
  margin-left: 4px;
  font-style: normal;
  transition: transform 180ms ease;
}

.details-less {
  display: none;
}

.android-stack-details[open] .details-more {
  display: none;
}

.android-stack-details[open] .details-less {
  display: inline;
}

.android-stack-details[open] > summary {
  margin-bottom: 14px;
}

.android-stack-details[open] > summary i {
  transform: translateY(-1px);
}

.android-stack-details:not([open]) .android-stack-groups {
  display: none;
}

.android-stack-details[open] .android-stack-groups {
  animation: stack-expand 220ms ease both;
}

@keyframes stack-expand {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-world-android,
  .android-stack-details > summary i {
    transition: none;
  }

  .android-stack-details[open] .android-stack-groups {
    animation: none;
  }
}


/* Gallery: personal projects + selected professional work */
.app-carousel-card-feature img {
  object-fit: cover;
  padding: 0;
}

.app-carousel-card-work {
  background:
    radial-gradient(circle at 80% 18%, rgba(184, 192, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(247, 246, 251, 0.96), rgba(238, 241, 248, 0.96));
}

.app-carousel-card-work img {
  object-fit: contain;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.72), transparent 32%),
    linear-gradient(145deg, #edf0f7, #f7f4ef);
}

.app-carousel-card-portrait img {
  object-fit: contain;
  padding: 12px 18px;
}

.app-carousel-card-pulpi {
  border-color: rgba(98, 86, 186, 0.28);
}

.app-carousel-card-pulpi .app-carousel-meta span {
  color: #6152a6;
  background: rgba(103, 86, 190, 0.13);
}

.app-carousel-card-humanetime {
  border-color: rgba(113, 93, 214, 0.26);
}

.app-carousel-card-humanetime .app-carousel-meta span {
  color: #6655bd;
  background: rgba(112, 92, 214, 0.12);
}

.app-carousel-card-feature.app-carousel-card-kaori {
  border-color: rgba(151, 116, 215, 0.28);
}

.app-carousel-card-feature.app-carousel-card-gym {
  border-color: rgba(237, 139, 64, 0.30);
}

@media (min-width: 1051px) {
  .app-carousel-card-portrait img {
    max-width: 76%;
    margin-inline: auto;
  }
}


/* Gallery repair + Pulpi Behance CTA */
.app-carousel-card-feature.app-carousel-card-kaori img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #141738;
}

.app-carousel-meta-with-link {
  gap: 12px;
  align-items: center;
}

.app-carousel-meta-with-link > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.app-carousel-external {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102, 82, 170, 0.22);
  background: rgba(103, 86, 190, 0.10);
  color: #5f4fa4;
  font-size: 0.68rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.app-carousel-external:hover,
.app-carousel-external:focus-visible {
  transform: translateY(-1px);
  background: rgba(103, 86, 190, 0.16);
  border-color: rgba(102, 82, 170, 0.34);
}

@media (max-width: 720px) {
  .app-carousel-meta-with-link {
    align-items: flex-start;
  }

  .app-carousel-external {
    padding: 6px 9px;
    font-size: 0.64rem;
  }
}


/* Compact Behance CTA in hero */
.button-behance-mini {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid rgba(116, 88, 185, 0.26);
  background: rgba(255,255,255,0.48);
  color: #6752a3;
  font-size: 0.74rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow:
    0 7px 16px rgba(89,67,132,0.08),
    inset 0 1px 0 rgba(255,255,255,0.55);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button-behance-mini:hover,
.button-behance-mini:focus-visible {
  transform: translateY(-1px);
  background: rgba(245,239,255,0.78);
  border-color: rgba(116, 88, 185, 0.42);
}

@media (max-width: 720px) {
  .button-behance-mini {
    padding: 8px 11px;
    font-size: 0.70rem;
  }
}


/* Behance contact CTA */
.contact-quest-behance {
  background:
    linear-gradient(135deg, rgba(242,238,255,0.90), rgba(235,244,252,0.86));
  border-color: rgba(111, 89, 185, 0.24);
}

.contact-quest-behance .contact-quest-icon {
  color: #5f4aa5;
  background: rgba(210, 198, 246, 0.52);
}

.contact-quest-behance .contact-quest-arrow {
  color: #6c55ae;
}

.contact-quest-behance:hover,
.contact-quest-behance:focus-visible {
  border-color: rgba(111, 89, 185, 0.42);
  box-shadow:
    0 20px 34px rgba(80, 61, 124, 0.13),
    0 0 0 1px rgba(239, 232, 255, 0.42);
}
