/* ClearFrame Production — site.css */
/* Teal + dark cinema editorial */

:root {
  --teal:       #0d9488;
  --teal-light: #14b8a6;
  --teal-dim:   #0f766e;
  --bg:         #0c0f12;
  --bg-card:    #141a20;
  --bg-surface: #1a2028;
  --text:       #d4d8dc;
  --text-muted: #8a929a;
  --text-head:  #eef0f2;
  --border:     #232c36;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --max-w: 1140px;
  --max-w-narrow: 740px;
  --radius: 6px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:         #f4f6f7;
    --bg-card:    #ffffff;
    --bg-surface: #edf0f2;
    --text:       #2a2e33;
    --text-muted: #5c6470;
    --text-head:  #111418;
    --border:     #d0d5da;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,15,18,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: light) {
  .site-header { background: rgba(244,246,247,.9); }
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -.02em;
}
.site-logo span { color: var(--teal); }

.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .15s;
}
.site-nav a:hover, .site-nav a.active { color: var(--teal-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: .2s;
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: .8rem;
  }
  .site-nav.open { display: flex; }
}

/* ── Hero ── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-head);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .6rem;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Card grid ── */
.card-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-body { padding: 1.25rem; }
.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  background: rgba(13,148,136,.12);
  padding: .2rem .55rem;
  border-radius: 3px;
  margin-bottom: .55rem;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-head);
  margin-bottom: .45rem;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--teal-light); }
.card-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .8rem;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Article ── */
.article-header {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1rem;
  text-align: center;
}
.article-header__cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .8rem;
}
.article-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-head);
  line-height: 1.22;
  margin-bottom: .7rem;
}
.article-header__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .5rem;
}
.article-header__meta {
  font-size: .8rem;
  color: var(--text-muted);
}

.article-hero {
  max-width: 860px;
  margin: 1.5rem auto 0;
  height: 240px;
  border-radius: var(--radius);
}

.article-body {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.article-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-head);
  margin: 2rem 0 .7rem;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-head);
  margin: 1.6rem 0 .5rem;
}
.article-body p {
  margin-bottom: 1.1rem;
  font-size: .95rem;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.1rem 1.4rem;
  font-size: .95rem;
}
.article-body li { margin-bottom: .35rem; }
.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: .8rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--bg-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ── Page (about / contact / legal) ── */
.page-wrap {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}
.page-wrap h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 1.2rem;
}
.page-wrap h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-head);
  margin: 1.6rem 0 .5rem;
}
.page-wrap p {
  margin-bottom: 1rem;
  font-size: .95rem;
}
.page-wrap ul {
  margin: 0 0 1rem 1.4rem;
  font-size: .95rem;
}
.page-wrap li { margin-bottom: .35rem; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}
.footer-links a {
  font-size: .8rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--teal-light); }
.site-footer__copy {
  font-size: .75rem;
  color: var(--text-muted);
}
