:root {
  --red-dark:    #1a0005;
  --red-deep:    #4d0010;
  --red-core:    #8b0020;
  --red-bright:  #c0002a;
  --red-vivid:   #e8003a;
  --pink-warm:   #e8527a;
  --pink-light:  #f2a0b8;
  --pink-pale:   #fce0e8;
  --text-muted:  #e8a0b4;
  --mono:        'Share Tech Mono', monospace;
  --serif:       'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--pink-pale);
  background-image:
    linear-gradient(to bottom, #fde8f0 0%, #f0b8c8 12%, #c4607a 35%, #7a1030 58%, #3d0010 78%, #1a0005 100%);
  background-attachment: fixed;
  color: var(--red-deep);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}



/* ── HEADER ── */
header {
  padding: 3.5rem 2rem 2.5rem;
  border-bottom: 1px solid rgba(180,0,40,0.25);
  text-align: center;
  background: rgba(253,232,240,0.18);
}

.site-eyebrow {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--red-deep);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  animation: fadeDown 0.8s ease both;
}

h1.site-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-core) 40%, var(--red-vivid) 75%, var(--pink-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeDown 0.9s 0.1s ease both;
}

.site-subtitle {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--red-core);
  margin-top: 0.8rem;
  animation: fadeDown 1s 0.2s ease both;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  background: rgba(253,220,232,0.3);
  border-bottom: 1px solid rgba(180,0,40,0.15);
  flex-wrap: wrap;
}

nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red-core);
  padding: 0.4rem 0.9rem;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

nav a:hover {
  color: var(--red-dark);
  border-color: var(--red-bright);
  background: rgba(180,0,40,0.1);
}

/* ── LAYOUT ── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 6rem;
  animation: fadeUp 1s 0.2s ease both;
}

.page-wrap.narrow {
  max-width: 680px;
}

/* ── SECTION HEADER ── */
.section-header {
  margin-bottom: 2.5rem;
}

.section-header .tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  display: block;
  margin-bottom: 0.3rem;
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--red-dark);
  border-left: 3px solid var(--red-bright);
  padding-left: 0.9rem;
}

/* ── HOME: MAIN SECTION ── */
.main-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 600px) {
  .main-section { grid-template-columns: 1fr; }
}

.image-wrap { position: relative; }

.image-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(140,0,30,0.4);
  z-index: 0;
}

.image-wrap::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(140,0,30,0.15);
  z-index: 0;
}

.image-wrap img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: saturate(0.9) contrast(1.05);
}

.image-placeholder {
  width: 100%;
  height: 320px;
  background: linear-gradient(145deg, #f0b0c0 0%, #d04060 50%, var(--red-core) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,220,230,0.5);
  position: relative;
  z-index: 1;
}

.main-text .label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.main-text h2 {
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  color: var(--red-dark);
  margin-bottom: 1rem;
}

.main-text p {
  font-size: 1rem;
  color: var(--red-deep);
  line-height: 1.85;
}

/* ── BLOG INDEX: ENTRY LIST ── */
.entry-list {
  list-style: none;
}

.entry-list li {
  border-bottom: 1px solid rgba(140,0,30,0.15);
}

.entry-list a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1rem 0.3rem;
  text-decoration: none;
  transition: padding-left 0.2s;
}

.entry-list a:hover {
  padding-left: 0.5rem;
}

.entry-list a:hover .entry-title {
  color: var(--red-dark);
}

.entry-date {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--red-deep);
  transition: color 0.2s;
}

/* ── BLOG ENTRY PAGE ── */
.entry-meta {
  margin-bottom: 2rem;
}

.entry-meta .entry-date {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  display: block;
  margin-bottom: 0.5rem;
}

.entry-meta h2 {
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--red-dark);
  border-left: 3px solid var(--red-bright);
  padding-left: 0.9rem;
  line-height: 1.2;
}

.entry-body p {
  font-size: 1rem;
  color: var(--red-deep);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.entry-body p:last-child { margin-bottom: 0; }
.entry-body em { color: var(--red-vivid); font-style: italic; }
.entry-body strong { color: var(--red-dark); font-weight: 700; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red-core);
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}

.back-link:hover { color: var(--red-dark); }
.back-link::before { content: '←'; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(140,0,30,0.2);
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(20,0,6,0.5);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(90deg, var(--pink-warm), var(--red-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: rgba(200,100,120,0.45);
  text-transform: uppercase;
}

/* ── STATUS BAR ── */
.status-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(20,0,6,0.88);
  border-top: 1px solid rgba(180,0,40,0.3);
  padding: 0.3rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(200,100,120,0.5);
  z-index: 100;
}

.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red-vivid);
  display: inline-block;
  margin-right: 0.4rem;
  animation: pulse 2s ease-in-out infinite;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

::selection { background: var(--red-bright); color: var(--pink-pale); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pink-pale); }
::-webkit-scrollbar-thumb { background: var(--red-core); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--red-bright); }