*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #c0392b;
  --red-light: #fdf0ef;
  --red-border: #f5c6c2;
  --bg: #faf9f7;
  --bg2: #f2f0ec;
  --text: #111;
  --text-muted: #999;
  --text-secondary: #444;
  --border: #e4e0da;
  --border-light: #edeae5;
  --green: #2d7a2d;
  --green-light: #f0f7f0;
  --green-border: #c2dfc2;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: 64px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: calc(100vh - 64px);
  border-bottom: 0.5px solid var(--border);
}

.hero-left {
  padding: 5rem 4rem 5rem 3rem;
  border-right: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
}

.hero-right {
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: multiply;
}

.hero-tagline {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-tagline .accent { color: var(--red); }

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
}

.score-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.score-num {
  font-size: 96px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}

.score-denom {
  font-size: 24px;
  color: #ccc;
  font-weight: 400;
}

.score-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* COMMENT */
.comment-section {
  padding: 5rem 3rem;
  border-bottom: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 5rem;
  align-items: start;
}

.section-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 6px;
}

.comment-text {
  font-size: 20px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.comment-text a {
  color: var(--red);
  border-bottom: 1px solid var(--red-border);
  transition: border-color 0.15s;
}

.comment-text a:hover { border-bottom-color: var(--red); }

/* ARCHIVE */
.archive-section {
  padding: 5rem 3rem;
  border-bottom: 0.5px solid var(--border);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.section-link {
  font-size: 12px;
  color: var(--red);
}

.chart-wrap {
  margin-bottom: 3rem;
  height: 60px;
}

.chart-wrap svg { width: 100%; height: 60px; }

.archive-row {
  display: grid;
  grid-template-columns: 240px 1fr 64px;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 0.5px solid var(--border-light);
  transition: opacity 0.15s;
}

.archive-row:hover { opacity: 0.6; }
.archive-row:last-child { border-bottom: none; }

.arc-week { font-size: 13px; color: var(--text-muted); }
.archive-row.current .arc-week { color: var(--text); font-weight: 500; }

.arc-bar-wrap { height: 2px; background: var(--border-light); border-radius: 2px; }
.arc-bar { height: 2px; background: #ddd; border-radius: 2px; }
.archive-row.current .arc-bar { background: var(--red); }

.arc-score { font-size: 15px; font-weight: 600; color: var(--text); text-align: right; }

/* ABOUT */
.about-section {
  padding: 5rem 3rem;
  border-bottom: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.about-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.about-title .accent { color: var(--red); }

.about-text {
  font-size: 14px;
  line-height: 1.9;
  color: #888;
}

.about-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.04em;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.method-card {
  background: var(--bg2);
  border-radius: 10px;
  padding: 1.5rem;
}

.method-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.method-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FOOTER */
.site-footer {
  padding: 1.75rem 3rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy { font-size: 12px; color: #bbb; }
.footer-tag { font-size: 12px; color: #bbb; font-style: italic; }

/* ARCHIVE PAGE */
.archive-page { padding: 5rem 3rem; max-width: 960px; }
.archive-page-title { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.archive-page-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 4rem; }

.archive-full-row {
  display: grid;
  grid-template-columns: 220px 72px 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 0.5px solid var(--border-light);
  color: inherit;
  transition: opacity 0.15s;
}

.archive-full-row:hover { opacity: 0.6; }
.archive-full-row:last-child { border-bottom: none; }

.afr-week { font-size: 13px; color: var(--text-muted); }
.afr-score { font-size: 32px; font-weight: 700; color: var(--red); line-height: 1; letter-spacing: -0.02em; }
.afr-comment { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* SINGLE */
.single-indeks { padding: 5rem 3rem; max-width: 800px; }
.single-week { font-size: 11px; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2rem; }
.single-score-wrap { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.single-score { font-size: 96px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.single-score-den { font-size: 24px; color: #ccc; }
.single-bar { height: 2px; background: var(--border); border-radius: 2px; max-width: 320px; margin: 1.5rem 0 3rem; }
.single-bar-fill { height: 2px; background: var(--red); border-radius: 2px; }
.single-comment { font-size: 20px; line-height: 1.85; color: var(--text-secondary); }
.single-comment a { color: var(--red); border-bottom: 1px solid var(--red-border); }
.back-link { display: inline-block; margin-top: 3rem; font-size: 13px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 1.5rem; border-right: none; border-bottom: 0.5px solid var(--border); }
  .hero-right { height: 260px; }
  .hero-tagline { font-size: 34px; }
  .score-num { font-size: 72px; }
  .comment-section { grid-template-columns: 1fr; gap: 1rem; padding: 3rem 1.5rem; }
  .archive-section { padding: 3rem 1.5rem; }
  .archive-row { grid-template-columns: 1fr 48px; }
  .arc-bar-wrap { display: none; }
  .about-section { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .site-footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
  .archive-page { padding: 3rem 1.5rem; }
  .archive-full-row { grid-template-columns: 1fr 56px; }
  .afr-comment { display: none; }
  .single-indeks { padding: 3rem 1.5rem; }
  .single-score { font-size: 72px; }
}
