/* About page — CI Redesign (Papier/Tinte) */
.about-page-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-color: var(--bg, #0F1118);
  background-image: var(--bg-grad);
}

/* app.css .kq sets overflow:hidden — allow document scroll on /about/ */
body.about-page-body {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

.app-shell.about-app-shell.kq {
  min-height: 100dvh;
  height: auto;
  overflow: visible;
}

.about-app-shell .app-header.global-header {
  margin-bottom: 0;
}

.about-main {
  width: min(56rem, calc(100vw - 2.5rem));
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  flex: 1;
}

.about-shell.kq {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: 0;
  overflow: visible;
  height: auto;
}

.about-topbar {
  display: none;
}

.about-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-back-link {
  color: var(--text-3);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.about-back-link:hover {
  color: var(--signal);
}

.about-lang-toggle,
.about-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.14s;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.about-lang-toggle:hover,
.about-icon-btn:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.about-icon-btn {
  font-size: 0;
}

.about-icon-btn::after {
  content: '☀';
  font-size: 16px;
}

html[data-theme="light"] .about-icon-btn::after,
.about-shell[data-theme="light"] .about-icon-btn::after {
  content: '☾';
}

.about-hero {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 2rem 24px 28px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.about-hero-logo {
  display: block;
  width: min(20rem, 78vw);
  height: auto;
  max-width: 320px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.about-hero-claim {
  font-family: var(--display, var(--font-display));
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--signal);
  margin: 0;
}

.about-section {
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.4rem;
}

.about-section h2 {
  font-family: var(--display, var(--font-display));
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin: 0 0 0.75rem;
}

.about-section p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-legal-links {
  margin-top: 0.75rem !important;
  font-size: 0.88rem !important;
}

.about-legal-links a {
  color: var(--signal);
  font-weight: 600;
  text-decoration: none;
}

.about-legal-links a:hover {
  text-decoration: underline;
}

.about-kalle {
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius, 18px);
}

.about-kalle-inner {
  display: grid;
  grid-template-columns: 1fr min(340px, 42vw);
  align-items: stretch;
  gap: 0;
}

.about-kalle-copy {
  padding: 1.5rem 1.6rem;
}

.about-kalle-intro {
  font-weight: 700;
  color: var(--text-1) !important;
}

.about-kalle-role {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--mono, var(--font-mono));
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.about-kalle-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 0 var(--radius, 18px) var(--radius, 18px) 0;
  overflow: hidden;
  background: var(--papier, #F1ECE0);
  border-left: 1px solid var(--line);
  min-height: 0;
  align-self: stretch;
}

.about-kalle-figure {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1408 / 768;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}

.about-cta {
  display: flex;
  width: 100%;
  max-width: 20rem;
  margin: 1.5rem auto 0;
  text-decoration: none;
  justify-content: center;
}

.about-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-3);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .about-kalle-inner {
    grid-template-columns: 1fr;
  }

  .about-kalle-visual {
    min-height: 0;
    order: -1;
    border-left: none;
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius, 18px) var(--radius, 18px) 0 0;
  }

  .about-kalle-figure {
    border-radius: 0;
  }
}

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

  .hub-about-visual {
    min-height: 240px;
    order: -1;
  }
}
