/* ====== 
   Hello.
   ====== */

@font-face {
  font-family: "NYTImperial";
  src: url("/assets/fonts/imperial-normal-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NYTImperial";
  src: url("/assets/fonts/imperial-normal-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NYTImperial";
  src: url("/assets/fonts/imperial-normal-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NYTImperial";
  src: url("/assets/fonts/imperial-italic-500.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "NYTImperial";
  src: url("/assets/fonts/imperial-italic-600.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "NYTImperial";
  src: url("/assets/fonts/imperial-italic-700.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* =========================
   GLOBAL / RESET
   ========================= */

:root {
  --page-bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "NYTImperial", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 19px;          /* ↑ larger base text */
  line-height: 1.55;
  background: var(--page-bg);
  color: var(--text);
}

/* Selection background */
::selection {
  background: #fc0;
  color: #000;
}
::-moz-selection {
  background: #fc0;
  color: #000;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #999;
}
a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 6px;
  border-radius: 6px;
}

/* =========================
   HERO SPLASH IMAGE
   ========================= */

.hero {
  min-height: 100svh;
  width: 100%;
  position: relative;
  background-image: url("/assets/images/Quas-house-of-fantasy-v2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 45%,
    rgba(0,0,0,0.25) 100%
  );
  pointer-events: none;
}

/* =========================
   FIXED LOGO (NO ROTATION)
   ========================= */

.site-logo {
  position: fixed;
  top: 36px;
  left: 36px;
  z-index: 9999;
  transform: none; /* ← reset rotation */
  display: inline-block;
  user-select: none;
  -webkit-user-drag: none;
  mix-blend-mode: difference;
  opacity: 0.8;
}

.site-logo img {
  display: block;
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 520px) {
  body { font-size: 18px; }

  .site-logo {
    top: 20px;
    left: 20px;
  }

  .site-logo img {
    height: 44px;
  }
}

/* =========================
   PAGE CONTAINER
   ========================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 18px 60px;
}

/* =========================
   NEWS LIST (LANDING)
   ========================= */

.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(70vw, 900px);
}

.news-item {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.news-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
}

.news-link img {
  width: 100%;
  height: auto;
  display: block;
  background: #eee;
}

.news-title {
  font-size: 26px;        /* ↑ larger desktop titles */
  line-height: 1.2;
  font-weight: 600;
}

.news-link:hover .news-title,
.news-link:focus-visible .news-title {
  color: #999;
}

/* =========================
   SITE INTRO (NOW BELOW NEWS)
   ========================= */

.site-intro {
  width: min(70vw, 900px);
  margin: 40px auto 0;     /* space above */
  padding-top: 24px;
}

.site-intro p {
  margin: 0;
  line-height: 1.6;
}

.site-intro strong {
  font-weight: 600;
}

/* =========================
   LANDING — RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .news-list,
  .site-intro {
    width: 100%;
    padding: 0 10px;
  }

  .news-link {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .news-title {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .news-list,
  .site-intro {
    padding: 0 6px;
  }

  .news-title {
    font-size: 20px;
  }
}

/* =========================================================
   ARTICLE TEMPLATE
   ========================================================= */

.article {
  margin: 0 auto;
  padding: 96px 18px 70px; /* ↑ extra top space for logo */
}


.article-header,
.article-body,
.article-footer {
  max-width: 580px;
  margin: 0 auto;
}

.article-title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 600;
}

.article-deck {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.article-date {
  margin: 0 0 16px;
  color: var(--muted);
}

.article-body p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.article-body h2 {
  margin: 22px 0 10px;
  font-size: 22px;
  font-weight: 600;
}

/* Big images */
.article-figure {
  max-width: 1920px;
  margin: 28px auto;
  padding: 0 18px;
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  background: #eee;
}

.article-caption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.article-footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.12);
  color: var(--muted);
}

@media (max-width: 900px) {
  .article-title { font-size: 28px; }
  .article-figure { padding: 0 10px; }
}

@media (max-width: 520px) {
  .article {
    padding: 112px 14px 60px; /* ↑ clears logo on small screens */
  }

  .article-title {
    font-size: 24px;
  }

  .article-figure {
    padding: 0 6px;
  }
}

