:root {
  color-scheme: dark;
  --ink: #f7f7f2;
  --muted: #a9ada8;
  --line: rgba(255, 255, 255, 0.16);
  --paper: #050505;
  --paper-2: #0b0c0b;
  --panel: #101210;
  --accent: #c59a4a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  font-size: 0.74rem;
}

.nav {
  gap: clamp(18px, 2.8vw, 36px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
  min-height: calc(100vh - 83px);
  padding: clamp(78px, 10vw, 140px) clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  min-width: 0;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 8.2vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero-content > p {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 900;
}

.button.primary {
  background: #f7f7f2;
  color: #050505;
}

.button.secondary {
  color: #f7f7f2;
}

.profile-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.banner {
  min-height: 155px;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.54)),
    url("assets/toledo-capital-hero.png");
  background-position: center;
  background-size: cover;
}

.profile-body {
  padding: 0 28px 30px;
}

.avatar {
  width: 82px;
  height: 82px;
  margin-top: -41px;
  margin-bottom: 20px;
  border: 4px solid var(--panel);
  background: #000;
  object-fit: cover;
}

.profile-meta h2 {
  margin-bottom: 2px;
  font-size: 1.35rem;
}

.profile-meta p,
.bio {
  color: var(--muted);
}

.bio {
  margin: 20px 0 24px;
  overflow-wrap: anywhere;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px;
}

.profile-stats span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.content-system {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.content-system article {
  min-height: 315px;
  padding: clamp(30px, 4vw, 56px);
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.content-system article:last-child {
  border-right: 0;
}

.content-system span {
  display: block;
  margin-bottom: 76px;
  color: var(--accent);
  font-weight: 900;
}

.content-system h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.5vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.content-system p {
  margin-bottom: 0;
  color: var(--muted);
}

.post-preview {
  padding: clamp(74px, 10vw, 144px) clamp(22px, 5vw, 72px);
  background: var(--paper-2);
}

blockquote {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 5.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .brand-name {
    white-space: normal;
  }

  .hero,
  .content-system {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .content-system article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .content-system article:last-child {
    border-bottom: 0;
  }

  .content-system span {
    margin-bottom: 36px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand {
    gap: 10px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero,
  .post-preview {
    padding-inline: 18px;
  }

  .eyebrow {
    max-width: 320px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.45;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(2.55rem, 12.8vw, 3.3rem);
    letter-spacing: -0.04em;
  }

  .hero-content > p {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .profile-body {
    padding-inline: 22px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  blockquote {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }
}
