/* =========================================================
   CERBERUS
   Past · Present · Future
   ========================================================= */

:root {
  --bg: #0b0b0d;
  --bg-soft: #111114;

  --text: #e8e6e3;
  --text-soft: #aaa7a2;
  --text-dim: #66636a;

  --line: #252329;
  --line-soft: #18171b;

  /* Future */
  --accent: #8f7cff;
  --accent-soft: rgba(143, 124, 255, 0.12);

  --content-width: 760px;
  --page-width: 1120px;
}


/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans SC",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 17px;
  line-height: 1.8;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 32px 32px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;

  letter-spacing: 0.18em;
}

.site-title::before {
  content: "III";
  color: var(--accent);
  font-family: Georgia, serif;

  font-size: 9px;
  letter-spacing: 2px;

  margin-right: 13px;
  vertical-align: middle;

  opacity: 0.85;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  color: var(--text-soft);

  font-size: 13px;
  letter-spacing: 0.08em;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}


/* =========================================================
   Main
   ========================================================= */

.site-main {
  min-height: calc(100vh - 220px);
}


/* =========================================================
   Article / General Content
   ========================================================= */

.page,
.post {
  width: calc(100% - 48px);
  max-width: var(--content-width);

  margin: 0 auto;
  padding: 100px 0 120px;
}

.page h1,
.post h1 {
  margin: 0 0 38px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 400;

  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page h2,
.post h2 {
  margin-top: 64px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.page h3,
.post h3 {
  margin-top: 45px;
  font-size: 20px;
  font-weight: 500;
}

.page p,
.post p {
  margin: 0 0 26px;
}

.page a,
.post a {
  color: var(--accent);
  border-bottom: 1px solid rgba(143, 124, 255, 0.35);
}

.page blockquote,
.post blockquote {
  margin: 45px 0;
  padding: 5px 0 5px 25px;

  border-left: 1px solid var(--accent);

  color: var(--text-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
}


/* =========================================================
   Time Language
   Past / Present / Future
   ========================================================= */

.time-axis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  max-width: var(--page-width);
  margin: 0 auto;

  padding: 105px 32px 85px;

  border-bottom: 1px solid var(--line-soft);
}

.time-item {
  position: relative;
}

.time-item:not(:last-child)::after {
  content: "";
  position: absolute;

  top: 7px;
  right: 28px;

  width: 1px;
  height: 38px;

  background: var(--line);
}

.time-label {
  display: block;

  margin-bottom: 8px;

  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.time-word {
  display: block;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 400;
}


/* Past */

.time-past .time-label,
.time-past .time-word {
  color: var(--text-dim);
}


/* Present */

.time-present .time-label {
  color: var(--text-soft);
}

.time-present .time-word {
  color: var(--text);
}


/* Future */

.time-future .time-label,
.time-future .time-word {
  color: var(--accent);
}

.time-future .time-word {
  text-shadow: 0 0 28px var(--accent-soft);
}


/* =========================================================
   Journal List
   ========================================================= */

.journal {
  max-width: var(--page-width);
  margin: 0 auto;

  padding: 85px 32px 120px;
}

.journal-heading {
  margin-bottom: 40px;

  color: var(--text-dim);

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.journal-entry {
  display: grid;
  grid-template-columns: 130px 1fr;

  padding: 34px 0;

  border-top: 1px solid var(--line);

  transition: opacity 0.2s ease;
}

.journal-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.journal-entry:hover {
  opacity: 0.72;
}

.entry-date {
  padding-top: 6px;

  color: var(--text-dim);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.entry-title {
  margin: 0 0 8px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 400;

  line-height: 1.3;
}

.entry-meta {
  color: var(--text-dim);

  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;

  padding: 38px 32px 48px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  color: var(--text-dim);

  font-size: 10px;
  letter-spacing: 0.13em;
}

.footer-name {
  color: var(--text-soft);
}

.footer-motto {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.footer-year {
  text-align: right;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

  body {
    font-size: 16px;
  }

  .header-inner {
    padding: 25px 22px;
  }

  .site-title {
    font-size: 16px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 11px;
  }

  .time-axis {
    padding: 70px 22px 55px;
  }

  .time-item:not(:last-child)::after {
    display: none;
  }

  .time-word {
    font-size: 21px;
  }

  .journal {
    padding: 60px 22px 90px;
  }

  .journal-entry {
    display: block;
    padding: 27px 0;
  }

  .entry-date {
    margin-bottom: 8px;
  }

  .page,
  .post {
    width: calc(100% - 44px);
    padding: 70px 0 90px;
  }

  .footer-inner {
    padding: 30px 22px;

    grid-template-columns: 1fr auto;
  }

  .footer-motto {
    display: none;
  }
}
/* =========================================================
   Post Details
   ========================================================= */

.post-header {
  margin-bottom: 65px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}

.post-header .entry-meta {
  margin-bottom: 20px;
}

.post-description {
  max-width: 620px;
  color: var(--text-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.post-body {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

.post-end {
  margin-top: 90px;
  padding-top: 28px;

  border-top: 1px solid var(--line);

  display: flex;
  justify-content: space-between;

  color: var(--text-dim);

  font-size: 11px;
  letter-spacing: 0.1em;
}

.post-end span {
  color: var(--accent);
}

.post-end a {
  color: var(--text-soft);
  border: 0;
}

.post-end a:hover {
  color: var(--accent);
}
/* =========================================================
   Time Introduction
   ========================================================= */

.time-intro {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 76px 32px 0;
}

.time-intro p {
  margin: 0;

  color: var(--text-dim);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.time-axis {
  padding-top: 55px;
}

.time-meaning {
  display: block;
  margin-top: 15px;

  color: var(--text-dim);

  font-size: 10px;
  letter-spacing: 0.08em;
}

.time-future .time-meaning {
  color: rgba(143, 124, 255, 0.55);
}

@media (max-width: 700px) {

  .time-intro {
    padding: 55px 22px 0;
  }

  .time-axis {
    padding-top: 38px;
  }

  .time-meaning {
    display: none;
  }
}
/* =========================================================
   About
   ========================================================= */

.about-kicker {
  margin-bottom: 25px;

  color: var(--accent);

  font-size: 10px;
  letter-spacing: 0.22em;
}

.about-page > p:first-of-type {
  color: var(--text-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.about-times {
  margin: 70px 0;
  border-top: 1px solid var(--line);
}

.about-time {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.about-time h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.about-time p {
  color: var(--text-soft);
}

.about-past {
  opacity: 0.58;
}

.about-present h3 {
  color: var(--text);
}

.about-future h3 {
  color: var(--accent);
}

.about-signature {
  margin-top: 75px;

  color: var(--text-dim);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.8;
}
/* =========================================================
   About — Minimal
   ========================================================= */

.about-page {
  max-width: 680px;
  min-height: 650px;
}

.about-kicker {
  margin-bottom: 28px;

  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.about-page h1 {
  margin-bottom: 38px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 400;
}

.about-lead {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.7;
}

.about-page p {
  max-width: 600px;
  color: var(--text-soft);
}

.about-note {
  margin-top: 65px !important;

  color: var(--text-dim) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
}
/* =========================================================
   Archive
   ========================================================= */

.archive {
  max-width: var(--page-width);
  min-height: 720px;

  margin: 0 auto;
  padding: 100px 32px 130px;
}

.archive-header {
  margin-bottom: 90px;
}

.archive-kicker {
  display: block;
  margin-bottom: 20px;

  color: var(--text-dim);

  font-size: 10px;
  letter-spacing: 0.22em;
}

.archive-header h1 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 400;
}

.archive-year {
  display: grid;
  grid-template-columns: 130px 1fr;

  margin-bottom: 75px;
}

.archive-year-label {
  color: var(--text-dim);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.archive-list {
  border-top: 1px solid var(--line);
}

.archive-entry {
  display: grid;
  grid-template-columns: 85px 1fr 100px;
  gap: 20px;

  padding: 24px 0;

  border-bottom: 1px solid var(--line);

  align-items: baseline;
}

.archive-entry time {
  color: var(--text-dim);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.archive-entry-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;

  transition: color 0.2s ease;
}

.archive-entry-category {
  color: var(--text-dim);

  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.archive-entry:hover .archive-entry-title {
  color: var(--accent);
}

@media (max-width: 700px) {

  .archive {
    padding: 70px 22px 90px;
  }

  .archive-header {
    margin-bottom: 60px;
  }

  .archive-year {
    display: block;
  }

  .archive-year-label {
    margin-bottom: 20px;
  }

  .archive-entry {
    grid-template-columns: 65px 1fr;
  }

  .archive-entry-category {
    display: none;
  }
}
