/* =========================
   ROOT VARIABLES (SYSTEM)
========================= */
:root {
  --bg: #0d0d0d;
  --text: #f5f5f5;
  --muted: rgba(255,255,255,0.6);
  --line: rgba(255,255,255,0.08);

  /* Orbis Vox accent (VERY subtle use only) */
  --accent: #c26a2e;

  --max-width: 1100px;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Lock scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* =========================
   GLOBAL
========================= */
img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

a:hover {
  opacity: 0.7;
  color: var(--accent);
}

/* ORBIS LINE SYSTEM */

.section-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

.meta-line {
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin: 0.4rem 0 1rem;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3 {
  font-weight: 500;
  letter-spacing: 0.08em;
}

h1 {
  font-weight: 300;
}

h2 {
  position: relative;
  margin-bottom: 1.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.25em;
}

/* Section label line */
h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.6rem;
}

/* =========================
   NAV
========================= */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  opacity: 0.8;
}

.logo::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  margin-top: 4px;
}

.menu-toggle {
  font-size: 1.3rem;
  cursor: pointer;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 1.5rem 0;
}

.mobile-menu a {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

/* =========================
   HERO
========================= */
.hero {
  height: 80vh;
  position: relative;
  margin-top: 60px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0,0,0,0.6)
  );
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.7)
  );
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  z-index: 2;
}

.hero-text h1 {
  letter-spacing: 0.18em;
}

.hero-text p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================
   SECTIONS
========================= */
.container {
  padding: 2.5rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.intro p {
  max-width: 580px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Section divider */
.container + .container {
  border-top: 1px solid var(--line);
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.grid img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.grid img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* =========================
   DISPATCH
========================= */
.dispatch-list {
  list-style: none;
}

.dispatch-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.dispatch-list li::before {
  content: "●";
  font-size: 0.5rem;
  color: var(--accent);
}

.dispatch-list li:hover {
  color: var(--text);
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  display: inline-block;
  margin-top: 0.6rem;
}

/* =========================
   TABLET
========================= */
@media (min-width: 768px) {

  .hero-text h1 {
    font-size: 2.6rem;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1024px) {

  .nav-inner {
    padding: 1rem 2rem;
  }

  .container {
    padding: 3.5rem 2rem;
  }

  .hero-text {
    left: 2rem;
    bottom: 3rem;
  }

  .hero-text h1 {
    font-size: 3.2rem;
  }

}

/* =========================
   DISPATCH PAGE
========================= */

.dispatch-page {
  margin-top: 80px;
}

/* Title block */
.dispatch-title {
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.dispatch-intro {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 500px;
}

/* Feed */
.dispatch-feed {
  border-top: 1px solid var(--line);
}

/* Item */
.dispatch-item {
  position: relative;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.dispatch-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

/* Meta */
.dispatch-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* Heading */
.dispatch-heading {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

/* Excerpt */
.dispatch-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 600px;
}

/* Hover behaviour */
.dispatch-item a:hover .dispatch-heading {
  opacity: 0.7;
}

/* =========================
   SINGLE DISPATCH
========================= */

.single-dispatch {
  margin-top: 60px;
}

/* HERO */
.single-hero {
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
}

.single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

/* CONTAINER */
.single-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* META */
.single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.single-meta::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}

/* TITLE */
.single-title {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* CONTENT */
.single-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #eaeaea;
}

/* PARAGRAPHS */
.single-content p {
  margin-bottom: 1.2rem;
}

/* IMAGES INSIDE CONTENT */
.single-content img {
  margin: 2rem 0;
}

/* SUBHEADINGS */
.single-content h2,
.single-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

/* LINKS */
.single-content a {
  text-decoration: underline;
  opacity: 0.9;
}

/* LISTS */
.single-content ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.single-content li {
  margin-bottom: 0.5rem;
}

/* =========================
   DESKTOP REFINEMENT
========================= */

@media (min-width: 1024px) {

  .single-title {
    font-size: 2rem;
  }

  .single-container {
    padding: 3rem 1rem 4rem;
  }

}