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

:root {
  --ink: #0b1016;
  --paper: #f2f1ed;
  --mist: #8a9098;
  --fjord: #3a5a6e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 32px;
  display: flex;
  align-items: center;
}

.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 16, 22, 0.7) 0%,
    rgba(11, 16, 22, 0.3) 30%,
    rgba(11, 16, 22, 0.05) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 32px 8vh;
  max-width: 900px;
}

.hero-content h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero-sub {
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Homepage Post Sections ---- */

.hp-post {
  padding: 100px 32px;
}

.hp-post--wide {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-post--dark {
  background: var(--ink);
  color: #fff;
}

.hp-post--light {
  background: var(--paper);
  color: var(--ink);
}

.hp-post-meta {
  margin-bottom: 24px;
}

.hp-post-date {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* Post 1: Large display heading, two-column body */

.hp-post-title--large {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.hp-post-title--large a {
  color: inherit;
  text-decoration: none;
}

.hp-post-title--large a:hover {
  opacity: 0.75;
}

.hp-post-body--two-col {
  columns: 2;
  column-gap: 48px;
  font-size: 16px;
  line-height: 1.7;
}

.hp-post-body--two-col p {
  margin-bottom: 20px;
  break-inside: avoid;
}

.hp-post--dark .hp-post-body--two-col {
  color: rgba(255, 255, 255, 0.72);
}

/* Post 2: Offset layout, editorial */

.hp-post-offset {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.hp-post-title--editorial {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.hp-post-title--editorial a {
  color: inherit;
  text-decoration: none;
}

.hp-post-title--editorial a:hover {
  opacity: 0.65;
}

.hp-post--light .hp-post-date {
  color: var(--ink);
}

.hp-post-offset-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11, 16, 22, 0.75);
}

.hp-post-offset-body p {
  margin-bottom: 20px;
}

/* Post 3: Centered, monumental heading */

.hp-post--centered {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-post-title--monumental {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
}

.hp-post-title--monumental a {
  color: inherit;
  text-decoration: none;
}

.hp-post-title--monumental a:hover {
  opacity: 0.75;
}

.hp-post-body--single {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.hp-post-body--single p {
  margin-bottom: 20px;
}

/* Read more link */

.hp-post-link {
  display: inline-block;
  margin-top: 32px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
}

.hp-post--dark .hp-post-link {
  color: rgba(255, 255, 255, 0.6);
}

.hp-post--dark .hp-post-link:hover {
  color: #fff;
}

.hp-post--light .hp-post-link {
  color: var(--fjord);
}

.hp-post--light .hp-post-link:hover {
  color: var(--ink);
}

/* ---- Article Pages ---- */

.post-header {
  padding: 160px 32px 80px;
}

.post-header--dark {
  background: var(--ink);
  color: #fff;
}

.post-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.post-header-inner .post-date {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.post-header-inner h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.post-body {
  padding: 64px 32px 100px;
  background: var(--ink);
  color: #fff;
}

.post-body--wide {
  max-width: 1200px;
  margin: 0 auto;
}

.post-body h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 48px;
  margin-bottom: 16px;
}

.post-body h2:first-child {
  margin-top: 0;
}

.post-body p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
  max-width: 860px;
}

.post-body strong {
  font-weight: 500;
  color: #fff;
}

/* ---- Footer ---- */

.site-footer {
  padding: 48px 32px;
  background: var(--ink);
}

.site-footer p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .hp-post { padding: 64px 20px; }
  .hp-post-body--two-col { columns: 1; }
  .hp-post-offset { grid-template-columns: 1fr; gap: 24px; }
  .post-header { padding: 120px 20px 48px; }
  .post-body { padding: 40px 20px 64px; }
}

@media (max-width: 640px) {
  .site-header { padding: 16px 20px; }
  .wordmark { font-size: 13px; }
  .hero-content { padding: 0 20px 6vh; }
  .hero-sub { font-size: 14px; }
  .site-footer { padding: 32px 20px; }
}
