/* =============================================
   Becoming Unbounded — stylesheet
   Colors:
     #163C52  dark navy (header, footer, hero)
     #EF3355  crimson accent (buttons, highlights)
     #FFD6DC  light pink (borders, hover tints)
     #FFF8F4  off-white (page background)
     #7A9099  slate gray (secondary/muted)
   ============================================= */

/* --- Reset & base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background: #FFF8F4;
  color: #163C52;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.7;
}

a { color: #EF3355; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* --- Container --------------------------------------------- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Header ------------------------------------------------ */
.site-header {
  background: #163C52;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #EF3355;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-logo {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF8F4;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFD6DC;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover { color: #EF3355; text-decoration: none; }

/* --- Hero -------------------------------------------------- */
.hero {
  background: #163C52;
  color: #FFF8F4;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-headline {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: #FFF8F4;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: #FFD6DC;
  margin-bottom: 2rem;
  font-style: italic;
}

/* --- Button ------------------------------------------------ */
.btn {
  display: inline-block;
  background: #EF3355;
  color: #FFF8F4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #d4213f;
  transform: translateY(-2px);
  text-decoration: none;
}

/* --- Intro section ----------------------------------------- */
.intro {
  padding: 3.5rem 0;
  border-bottom: 1px solid #FFD6DC;
}

.intro-body {
  max-width: 680px;
}

.intro-body p {
  margin-bottom: 1.2rem;
}

.intro-body p:last-child { margin-bottom: 0; }

/* --- Teaser cards ------------------------------------------ */
.teasers {
  padding: 3.5rem 0 4rem;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #fff;
  border: 1px solid #FFD6DC;
  border-top: 4px solid #EF3355;
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #163C52;
}

.card p {
  font-size: 0.92rem;
  color: #7A9099;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #EF3355;
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

/* --- Footer ------------------------------------------------ */
.site-footer {
  background: #163C52;
  color: #FFD6DC;
  padding: 1.75rem 0;
  text-align: center;
  border-top: 3px solid #EF3355;
}

.footer-inner p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 640px) {
  .hero-headline { font-size: 1.9rem; }

  .header-inner { flex-direction: column; align-items: flex-start; }

  .site-nav { gap: 1rem; }

  .teaser-grid { grid-template-columns: 1fr; }
}

/* --- Daily Log --------------------------------------------- */
.log-header {
  background: #163C52;
  color: #FFF8F4;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 3px solid #EF3355;
}

.log-header h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #FFF8F4;
  margin-bottom: 0.5rem;
}

.log-header p {
  color: #FFD6DC;
  font-style: italic;
  font-size: 1.05rem;
}

.log-feed {
  padding: 2.5rem 0 4rem;
}

.log-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #FFD6DC;
}

.log-count {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: #7A9099;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #EF3355;
  border: 2px solid #EF3355;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background: #EF3355;
  color: #FFF8F4;
  transform: translateY(-2px);
  text-decoration: none;
}

.log-entry {
  padding: 2rem 0;
  border-bottom: 1px solid #FFD6DC;
}

.log-entry:last-of-type {
  border-bottom: none;
}

.log-entry-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.log-date {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  color: #7A9099;
  text-transform: uppercase;
}

.log-milestone {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #EF3355;
  border: 1.5px solid #EF3355;
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
}

.log-entry-body {
  font-size: 0.97rem;
  line-height: 1.75;
}

.log-entry-body p {
  margin-bottom: 1rem;
}

.log-entry-body p:last-child {
  margin-bottom: 0;
}

.log-entry-body ul, .log-entry-body ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

.log-entry-body li {
  margin-bottom: 0.35rem;
}

.log-entry-footer {
  margin-top: 1rem;
}

.log-permalink {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #7A9099;
  text-decoration: none;
  transition: color 0.2s;
}

.log-permalink:hover {
  color: #EF3355;
  text-decoration: none;
}

.log-end-nav {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.log-end-nav p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: #7A9099;
  margin-bottom: 1rem;
}

/* --- Daily Log Single -------------------------------------- */
.log-single {
  padding: 2.5rem 0 4rem;
}

.log-breadcrumb {
  margin-bottom: 2rem;
}

.log-breadcrumb a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7A9099;
  text-decoration: none;
  transition: color 0.2s;
}

.log-breadcrumb a:hover {
  color: #EF3355;
  text-decoration: none;
}

.log-entry-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #FFD6DC;
}

.log-entry-nav a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #7A9099;
  text-decoration: none;
  transition: color 0.2s;
}

.log-entry-nav a:hover {
  color: #EF3355;
  text-decoration: none;
}

@media (max-width: 640px) {
  .log-controls { flex-direction: column; align-items: flex-start; }
  .log-entry-nav { flex-direction: column; }
}

/* --- Articles ---------------------------------------------- */
.articles-header {
  background: #163C52;
  color: #FFF8F4;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 3px solid #EF3355;
}

.articles-header h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #FFF8F4;
  margin-bottom: 0.5rem;
}

.articles-header p {
  color: #FFD6DC;
  font-style: italic;
  font-size: 1.05rem;
}

.articles-feed {
  padding: 2.5rem 0 4rem;
}

.article-list {
  list-style: none;
}

.article-item {
  padding: 2rem 0;
  border-bottom: 1px solid #FFD6DC;
}

.article-item:last-child {
  border-bottom: none;
}

.article-meta {
  margin-bottom: 0.4rem;
}

.article-date {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7A9099;
}

.article-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-title a {
  color: #163C52;
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: #EF3355;
  text-decoration: none;
}

.article-description {
  font-size: 0.95rem;
  color: #7A9099;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.articles-empty {
  color: #7A9099;
  font-style: italic;
  padding: 2rem 0;
}

/* --- Article Single ---------------------------------------- */
.article-single {
  padding: 2.5rem 0 4rem;
}

.article-breadcrumb {
  margin-bottom: 2rem;
}

.article-breadcrumb a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7A9099;
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumb a:hover {
  color: #EF3355;
  text-decoration: none;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #FFD6DC;
}

.article-heading {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #163C52;
  margin: 0.4rem 0 0.75rem;
}

.article-lede {
  font-size: 1.1rem;
  color: #7A9099;
  font-style: italic;
  line-height: 1.6;
}

.article-content {
  max-width: 680px;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content h2, .article-content h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #163C52;
}

.article-content ul, .article-content ol {
  margin: 0.75rem 0 1.2rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.article-content hr {
  border: none;
  border-top: 1px solid #FFD6DC;
  margin: 2rem 0;
}

.article-entry-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #FFD6DC;
}

.article-entry-nav a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #7A9099;
  text-decoration: none;
  transition: color 0.2s;
}

.article-entry-nav a:hover {
  color: #EF3355;
  text-decoration: none;
}

@media (max-width: 640px) {
  .article-heading { font-size: 1.6rem; }
  .article-entry-nav { flex-direction: column; }
}
