:root{
  --night: #1C1712;
  --night-2: #262019;
  --amber: #E8A33D;
  --teal: #2E4A42;
  --rust: #8B4A3A;
  --bone: #F2EDE3;
  --bone-dim: rgba(242,237,227,0.62);
  --rule: rgba(242,237,227,0.14);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--night);
  color: var(--bone);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
}
h1,h2,h3,.display{
  font-family: 'Bitter', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
a{ color: inherit; text-decoration: none; }
.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.coord{
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--amber);
}

/* ---------- header ---------- */
header{ padding: 24px 0; border-bottom: 1px solid var(--rule); }
.header-row{ display:flex; align-items:center; justify-content:space-between; }
.wordmark{ font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.wordmark span{ color: var(--amber); }
nav{ display:flex; gap: 30px; font-size: 0.9rem; }
nav a{ color: var(--bone-dim); transition: color .15s ease; }
nav a:hover{ color: var(--bone); }

/* ---------- hero ---------- */
.hero{ position: relative; padding: 90px 0 70px; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; z-index:0; opacity: 0.9; }
.hero-bg svg{ width:100%; height:100%; }
.hero-content{ position:relative; z-index:1; max-width: 720px; }
.hero .coord{ margin-bottom: 18px; display:block; }
.hero h1{
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.98;
  text-transform: uppercase;
}
.hero h1 em{ font-style: italic; color: var(--amber); }
.hero p.lede{
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--bone-dim);
}
.hero-actions{ margin-top: 34px; display:flex; gap: 24px; align-items:center; }
.btn-primary{
  background: var(--amber);
  color: var(--night);
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  display:inline-block;
}
.link-quiet{ font-size: 0.9rem; border-bottom: 1px solid var(--rule); padding-bottom: 2px; color: var(--bone-dim); }

/* ---------- stats ---------- */
.stats{
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  display:flex;
  gap: 60px;
  flex-wrap: wrap;
}
.stat b{ display:block; font-family:'Bitter',serif; font-size: 1.8rem; color: var(--amber); }
.stat span{ font-size: 0.8rem; color: var(--bone-dim); }

/* ---------- section head ---------- */
.section-head{ display:flex; justify-content:space-between; align-items:baseline; margin: 74px 0 34px; }
.section-head h2{ font-size: 1.9rem; text-transform: uppercase; }
.section-head a{ font-size: 0.88rem; color: var(--amber); border-bottom: 1px solid var(--amber); padding-bottom: 1px; }

/* ---------- featured ---------- */
.featured{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
  align-items:center;
}
.featured h3{ font-size: 2.3rem; line-height: 1.08; margin: 16px 0 18px; text-transform: uppercase; }
.featured p{ color: var(--bone-dim); max-width: 54ch; margin-bottom: 22px; }
.featured-art{ aspect-ratio: 4/3.2; background: var(--night-2); }
.featured-art img, .featured-art svg{ width:100%; height:100%; display:block; object-fit: cover; }

/* ---------- entries ---------- */
.entries{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.entry{ padding: 30px 26px 30px 0; border-right: 1px solid var(--rule); }
.entry:nth-child(3n){ border-right: none; padding-right: 0; }
.entry .coord{ display:block; margin-bottom: 14px; }
.entry-art{ aspect-ratio: 16/10; margin-bottom: 18px; background: var(--night-2); }
.entry-art img, .entry-art svg{ width:100%; height:100%; display:block; object-fit: cover; }
.entry h4{ font-size: 1.15rem; text-transform: uppercase; margin: 0 0 10px; line-height:1.25; }
.entry h4 a:hover{ color: var(--amber); }
.entry p{ font-size: 0.9rem; color: var(--bone-dim); margin:0; }

/* ---------- pull quote ---------- */
.pullquote{
  margin: 90px 0;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.pullquote p{
  font-family:'Bitter', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.35;
}
.pullquote cite{ display:block; margin-top: 22px; font-family:'IBM Plex Sans'; font-style:normal; font-size:0.85rem; color: var(--amber); }

/* ---------- single post ---------- */
.post-header{ padding: 70px 0 40px; border-bottom: 1px solid var(--rule); }
.post-header h1{ font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; line-height: 1.05; margin: 16px 0; }
.post-cover{ width:100%; aspect-ratio: 16/8; background: var(--night-2); margin: 30px 0 10px; }
.post-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.post-body{ max-width: 68ch; margin: 50px auto; font-size: 1.05rem; color: rgba(242,237,227,0.88); }
.post-body p{ margin: 0 0 22px; }
.post-body h2, .post-body h3{ text-transform: uppercase; margin: 40px 0 16px; font-size: 1.3rem; }

/* ---------- photo gallery ---------- */

.post-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 40px 0;
}

.post-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin: 0;
}

@media (max-width: 780px) {
  .post-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.back-link{ display:inline-block; margin: 40px 0 0; font-size: 0.9rem; color: var(--amber); }

/* ---------- empty state ---------- */
.empty-state{
  padding: 60px 0;
  border: 1px dashed var(--rule);
  text-align: center;
  color: var(--bone-dim);
}
.empty-state a{ color: var(--amber); border-bottom: 1px solid var(--amber); }

/* ---------- footer ---------- */
footer{ padding: 50px 0 60px; }
.footer-row{
  display:flex; justify-content:space-between; align-items:center;
  font-size: 0.85rem; color: var(--bone-dim);
  padding-top: 24px; border-top: 1px solid var(--rule);
  flex-wrap: wrap; gap: 16px;
}
.footer-links{ display:flex; gap: 22px; }

@media (max-width: 780px){
  .featured{ grid-template-columns: 1fr; }
  .entries{ grid-template-columns: 1fr; }
  .entry{ border-right:none !important; padding-right:0 !important; border-bottom: 1px solid var(--rule); }
  nav{ display:none; }
}
