:root {
  --bg: #080707;
  --bg2: #15110d;
  --panel: rgba(255, 247, 224, 0.065);
  --panel2: rgba(255, 247, 224, 0.105);
  --line: rgba(230, 194, 113, 0.22);
  --gold: #d8aa55;
  --gold2: #f0d48a;
  --text: #f4ead6;
  --muted: #b9aa8a;
  --dark: #120f0b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(216, 170, 85, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(127, 75, 34, 0.22), transparent 34rem),
    linear-gradient(180deg, #080707, #14100d 45%, #080707);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.page {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 34px) 58px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 104px) clamp(20px, 6vw, 82px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 72% 20%, rgba(216, 170, 85, 0.22), transparent 25rem),
    rgba(12, 10, 8, 0.72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(90deg, transparent 0 48px, rgba(216,170,85,.22) 49px, transparent 50px),
    linear-gradient(0deg, transparent 0 48px, rgba(216,170,85,.18) 49px, transparent 50px);
  mask-image: radial-gradient(circle at 50% 35%, #000, transparent 72%);
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  right: clamp(22px, 6vw, 80px);
  top: clamp(16px, 5vw, 60px);
  color: rgba(240, 212, 138, 0.2);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(110px, 18vw, 260px);
  line-height: 1;
}

.eyebrow {
  position: relative;
  margin: 0 0 14px;
  color: var(--gold2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

h1 {
  position: relative;
  max-width: 850px;
  font-size: clamp(2.65rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.lead {
  position: relative;
  max-width: 730px;
  margin: 28px 0 0;
  color: #dfd1b3;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold2);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 212, 138, .72);
  background: rgba(240, 212, 138, .08);
}

.btn--primary {
  color: #20170d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
}

.hero__note {
  position: relative;
  width: fit-content;
  max-width: 760px;
  margin-top: 34px;
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  background: rgba(0, 0, 0, .22);
}

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

.about__card, .books {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  padding: 28px;
}

.about__card h2, .books h2, .section-head h2 {
  color: #fff6df;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about__card p, .books p, .section-head p {
  color: var(--muted);
  line-height: 1.7;
}

.posts {
  margin-top: 60px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 420px;
  margin: 0;
}

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

.post {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 194, 113, .16);
  border-radius: 18px;
  background: rgba(8, 7, 7, .58);
  transition: transform .2s ease, border-color .2s ease;
}

.post:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 212, 138, .55);
}

.post__image {
  height: 124px;
  background-position: center;
  background-size: cover;
  background-color: #14100d;
}

.post__image--fallback {
  display: grid;
  place-items: center;
  color: rgba(240, 212, 138, .5);
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  background:
    radial-gradient(circle, rgba(216,170,85,.18), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.05), transparent);
}

.post__body {
  padding: 14px;
}

.post__meta {
  margin-bottom: 8px;
  color: rgba(185, 170, 138, .72);
  font-size: .73rem;
}

.post h3 {
  color: #fff4dd;
  font-size: 1.15rem;
  line-height: 1.05;
}

.post p {
  display: -webkit-box;
  min-height: 88px;
  margin: 10px 0 13px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.post a {
  color: var(--gold2);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.books {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
}

.books p {
  max-width: 720px;
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero { border-radius: 24px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .about { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .books { display: block; }
  .books .btn { margin-top: 18px; }
}

@media (max-width: 480px) {
  .page { padding-left: 12px; padding-right: 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .post__image { height: 170px; }
}
