:root {
  --bg: #070b11;
  --bg-elevated: rgba(14, 19, 29, 0.88);
  --panel: rgba(17, 24, 36, 0.9);
  --panel-strong: rgba(21, 29, 42, 0.96);
  --line: rgba(159, 176, 201, 0.18);
  --text: #eef3fb;
  --muted: #aab5c6;
  --accent: #90a8c7;
  --accent-warm: #a98a6b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(120, 138, 164, 0.16), transparent 32%),
    radial-gradient(circle at 20% 20%, rgba(169, 138, 107, 0.12), transparent 18%),
    linear-gradient(180deg, #0a0f17 0%, #06080d 100%);
  font-family: "Aptos", "Trebuchet MS", "Gill Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.012) 18px,
      rgba(255, 255, 255, 0.012) 19px
    );
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(18px);
}

.wordmark {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 700;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.hero-copy,
.hero-panel,
.founder-card,
.command-panel,
.info-card,
.team-card,
.journal-card,
.timeline-item {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(18, 25, 38, 0.96), rgba(11, 16, 24, 0.88)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03));
}

.eyebrow,
.role-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 600;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.48rem;
}

.hero-text,
.section-heading p,
.team-card p,
.founder-copy p,
.journal-card p,
.timeline-item p,
.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.06rem;
  margin: 20px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #071018;
  background: linear-gradient(135deg, #d7dfeb, #94adc9);
}

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

.hero-panel,
.command-panel {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.signal-list,
.command-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li,
.command-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.signal-list li:first-child,
.command-list li:first-child {
  border-top: 0;
  padding-top: 2px;
}

.signal-title {
  color: var(--muted);
}

.signal-value {
  font-weight: 700;
}

.signal-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 34px 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 64ch;
  margin: 0;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
}

.founder-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(18, 24, 36, 0.96), rgba(12, 16, 25, 0.88));
}

.founder-avatar {
  width: 140px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: var(--text);
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 4.8rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(169, 138, 107, 0.26), transparent 40%),
    linear-gradient(180deg, rgba(24, 32, 48, 0.96), rgba(8, 11, 17, 0.96));
}

.system-grid,
.journal-grid,
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.journal-card,
.focus-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--panel);
}

.focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(19, 26, 39, 0.98), rgba(12, 18, 28, 0.94));
}

.focus-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-index {
  margin: 0 0 16px;
  color: var(--accent-warm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  display: grid;
  transition: transform 180ms ease, border-color 180ms ease;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 176, 201, 0.28);
}

.team-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 52% 28%, rgba(133, 153, 178, 0.16), transparent 42%),
    linear-gradient(180deg, #121923 0%, #070b11 100%);
}

.team-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}

.team-card-wide img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

.team-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(7, 11, 17, 0) 0%, rgba(7, 11, 17, 0.72) 62%, rgba(7, 11, 17, 0.92) 100%);
  pointer-events: none;
}

.team-media-badge {
  position: absolute;
  left: 14px;
  right: auto;
  bottom: 14px;
  z-index: 1;
  padding: 12px 15px 13px;
  border: 1px solid rgba(159, 176, 201, 0.18);
  border-radius: 18px;
  background: rgba(9, 13, 20, 0.52);
  backdrop-filter: blur(12px);
}

.team-media-badge h3 {
  font-size: 1.55rem;
  color: var(--text);
}

.team-card-copy {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.team-card-copy p {
  margin: 0;
}

.team-card-copy h3 {
  font-size: 1.9rem;
}

.team-summary {
  color: rgba(238, 243, 251, 0.84);
  line-height: 1.6;
}

.team-detail-label {
  margin-top: 8px;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.team-link {
  width: fit-content;
  margin-top: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.team-link:hover {
  color: #d6e1ef;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(15, 20, 31, 0.9);
}

.timeline-step {
  width: 72px;
  height: 72px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(148, 173, 201, 0.2), rgba(255, 255, 255, 0.05));
  color: var(--text);
  font-family: "Baskerville", "Palatino Linotype", serif;
  font-size: 1.6rem;
}

.journal-section {
  padding-bottom: 20px;
}

.journal-date {
  margin: 0 0 12px;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.journal-link {
  width: fit-content;
  margin-top: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.journal-link:hover {
  color: #d6e1ef;
}

.journal-actions {
  margin-top: 22px;
}

.journal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.journal-post-list {
  display: grid;
  gap: 20px;
}

.journal-post {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(18, 25, 38, 0.96), rgba(11, 16, 24, 0.9)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03));
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-meta .eyebrow {
  margin: 0;
}

.post-tag {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(159, 176, 201, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.post-summary,
.post-outcome {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.profile-inline-link {
  color: #d6e1ef;
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 225, 239, 0.24);
}

.profile-inline-link:hover {
  color: var(--text);
  border-bottom-color: rgba(238, 243, 251, 0.48);
}

.post-highlights {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.post-highlights li + li {
  margin-top: 10px;
}

.agent-activation {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(159, 176, 201, 0.16);
  border-radius: 22px;
  background: rgba(8, 12, 19, 0.54);
}

.activation-label {
  margin: 0 0 14px;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

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

.agent-activation-grid-single {
  grid-template-columns: minmax(0, 320px);
}

.agent-chip {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(159, 176, 201, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.agent-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 176, 201, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.agent-chip img {
  width: 72px;
  height: 88px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  background:
    radial-gradient(circle at 52% 28%, rgba(133, 153, 178, 0.16), transparent 42%),
    linear-gradient(180deg, #121923 0%, #070b11 100%);
}

.agent-chip span {
  display: grid;
  gap: 4px;
}

.agent-chip strong {
  font-size: 1rem;
  font-weight: 700;
}

.agent-chip span span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cta-section {
  padding-top: 14px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(18, 26, 40, 0.98), rgba(12, 18, 27, 0.92));
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.profile-hero {
  padding: 24px 0 34px;
}

.profile-media,
.profile-copy,
.profile-panel,
.profile-stat {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 28px;
}

.profile-media {
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 52% 28%, rgba(133, 153, 178, 0.16), transparent 42%),
    linear-gradient(180deg, #121923 0%, #070b11 100%);
}

.profile-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.profile-copy {
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(18, 25, 38, 0.96), rgba(11, 16, 24, 0.88)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03));
}

.profile-copy h1 {
  max-width: none;
}

.profile-role {
  margin: 14px 0 0;
  color: var(--accent-warm);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-summary {
  margin: 18px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.profile-stat-grid,
.profile-story-grid,
.profile-columns-grid {
  display: grid;
  gap: 20px;
}

.profile-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.profile-stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(9, 13, 20, 0.62);
}

.profile-stat-label {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-stat p,
.profile-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.profile-panel {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(15, 20, 31, 0.9);
}

.profile-panel h3 {
  margin-bottom: 12px;
}

.profile-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.profile-list li + li {
  margin-top: 10px;
}

.profile-note {
  margin-top: 14px;
}

.profile-voice {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(20, 28, 41, 0.96), rgba(12, 17, 26, 0.9)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.profile-voice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.03rem;
}

.profile-voice p + p {
  margin-top: 14px;
}

.profile-voice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.profile-voice-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 50% 18%, rgba(133, 153, 178, 0.14), transparent 42%),
    linear-gradient(180deg, #121923 0%, #070b11 100%);
}

.profile-voice-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.asset-review-grid {
  display: grid;
  gap: 22px;
}

.asset-review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(14, 20, 31, 0.92);
  box-shadow: var(--shadow);
}

.asset-review-card h3 {
  margin-bottom: 8px;
}

.asset-review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.asset-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(9, 13, 20, 0.78);
}

.asset-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 52% 28%, rgba(133, 153, 178, 0.16), transparent 42%),
    linear-gradient(180deg, #121923 0%, #070b11 100%);
}

.asset-figure figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.asset-figure strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.95rem;
}

.asset-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.asset-overview-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: rgba(9, 13, 20, 0.78);
}

.asset-overview-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(159, 176, 201, 0.28);
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.88);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.to-top:hover {
  background: rgba(22, 31, 45, 0.96);
}

@media (max-width: 1080px) {
  .hero-grid,
  .journal-hero-grid,
  .founder-layout,
  .system-grid,
  .journal-grid,
  .agent-activation-grid,
  .team-grid,
  .focus-grid,
  .cta-panel,
  .profile-hero-card,
  .profile-story-grid,
  .profile-columns-grid,
  .profile-stat-grid,
  .profile-voice-layout,
  .asset-overview,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .team-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .team-card-wide img {
    aspect-ratio: 4 / 4.6;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    border-radius: 26px;
    padding: 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-copy,
  .hero-panel,
  .founder-card,
  .command-panel,
  .journal-post,
  .timeline-item,
  .info-card,
  .journal-card,
  .team-card-copy,
  .focus-card,
  .cta-panel,
  .profile-copy,
  .profile-panel,
  .profile-stat,
  .profile-voice {
    padding: 20px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-avatar {
    width: 112px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    width: 60px;
    height: 60px;
  }

  .team-card img {
    aspect-ratio: 4 / 4.8;
  }

  .team-media-badge {
    left: 12px;
    right: auto;
    bottom: 12px;
    padding: 10px 12px 11px;
  }

  .team-media-badge h3 {
    font-size: 1.35rem;
  }

  .profile-media {
    border-radius: 28px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .footer {
    flex-direction: column;
  }
}
