:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --muted: #6f6f6f;
  --soft: #f6f6f4;
  --line: #e7e7e4;
  --gold: #9b7c2e;
  --green: #163f2a;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  color: #303030;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:last-child {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: clamp(36px, 6vw, 70px);
  align-items: start;
  padding: clamp(38px, 7vw, 76px) 0 76px;
}

.latest {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(36px, 6vw, 58px);
  border-bottom: 1px solid var(--line);
}

.latest-meta,
.section-title span,
.post span,
.featured span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.latest-meta {
  margin-bottom: 18px;
}

.latest h1 {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.latest p {
  max-width: 660px;
  margin: 0 0 26px;
  color: #535353;
  font-size: 1.08rem;
  line-height: 1.72;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.text-link::after {
  content: "->";
}

.issue-section {
  padding-top: 38px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-title h2,
.sidebar h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

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

.post {
  min-height: 250px;
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.post a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post h3 {
  margin: 12px 0 12px;
  font-size: clamp(1.48rem, 2.7vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.post p,
.about-panel p,
.featured p,
.newsletter p {
  margin: 0;
  color: #5d5d5d;
  line-height: 1.7;
}

.post span {
  margin-top: auto;
}

.load-more {
  width: 100%;
  min-height: 54px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
}

.sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 34px;
}

.about-panel,
.side-block,
.newsletter {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.about-art {
  position: relative;
  aspect-ratio: 1.05;
  margin-bottom: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f8f8f6 0%, #efeee8 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.paper {
  position: absolute;
  width: 56%;
  height: 62%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.paper::before,
.paper::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  height: 8px;
  background: var(--line);
}

.paper::before {
  top: 26%;
}

.paper::after {
  top: 42%;
  right: 28%;
}

.paper-a {
  left: 12%;
  top: 22%;
  transform: rotate(-9deg);
}

.paper-b {
  right: 10%;
  top: 16%;
  transform: rotate(7deg);
}

.paper-c {
  left: 24%;
  bottom: 10%;
  transform: rotate(1deg);
}

.about-panel h2,
.featured h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.side-block h2,
.newsletter h2 {
  margin-bottom: 18px;
}

.featured a {
  display: grid;
  gap: 12px;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topics a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.topics span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.newsletter {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.newsletter form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.newsletter label {
  display: grid;
  gap: 8px;
  color: #333;
  font-size: 0.88rem;
  font-weight: 800;
}

.newsletter input {
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.newsletter button {
  min-height: 48px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
}

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

.footer .shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

  .layout {
    grid-template-columns: 1fr;
  }

  .latest {
    min-height: auto;
  }

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

  .newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, var(--max));
  }

  .brand-copy small {
    display: none;
  }

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

  .post-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .footer .shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
