/* ZIONX Ltd. - placeholder style. The real look comes later. */

:root {
  --bg: #fafaf7;
  --ink: #16181d;
  --muted: #464a52;
  --line: #d6d6cf;
  --link: #0b57d0;
  --focus: #0b57d0;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214;
    --ink: #ececea;
    --muted: #b8bac0;
    --line: #34363c;
    --link: #8ab4f8;
    --focus: #8ab4f8;
  }
}

:root[data-theme="dark"] {
  --bg: #111214;
  --ink: #ececea;
  --muted: #b8bac0;
  --line: #34363c;
  --link: #8ab4f8;
  --focus: #8ab4f8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 16px;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

main {
  width: 100%;
  max-width: 32rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.label {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.status {
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.home {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Team page: pyramid org chart. Each card: portrait, name, work time, quote. */

.team-page {
  align-items: flex-start;
}

.team-page main {
  max-width: 64rem;
}

.pyramid {
  margin: 0 0 1.5rem;
}

.tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0;
  list-style: none;
}

.tier + .tier {
  border-top: 1px solid var(--line);
}

.card {
  width: min(100%, 10rem);
  text-align: center;
}

.card img {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--line);
}

.card .name {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.card .since {
  margin: 0 0 0.375rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.card .quote {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.45;
}

.card .quote p {
  margin: 0;
}

.card .quote p::before {
  content: "\201C";
}

.card .quote p::after {
  content: "\201D";
}
