/* PRESTIQQ — Premium mobile-first editorial stylesheet */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-card: #161618;
  --border: #27272a;
  --border-soft: #1f1f22;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #e4e4e7;
  --link: #a78bfa;
  --link-hover: #c4b5fd;
  --category: #c4b5fd;
  --max-width: 720px;
  --site-width: 1100px;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --radius: 12px;
  --radius-sm: 8px;
  --space: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --transition: 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space);
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}
.logo:hover { color: var(--text); }
.logo span { color: var(--text-muted); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.12em; display: block; margin-top: 1px; }

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

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
}
.main-nav.open { display: block; }

.main-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.main-nav a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: var(--bg-card);
}

.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.ig-btn:hover {
  background: var(--border);
  color: var(--text);
}

/* Main */
main { flex: 1; }

.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow { max-width: var(--max-width); margin-left: auto; margin-right: auto; }

/* Hero */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--border-soft);
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}
.btn-secondary:hover { border-color: var(--text-muted); color: var(--text); }

/* Sections */
.section { padding: var(--space-xl) 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.section-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Article cards */
.article-grid {
  display: grid;
  gap: 1rem;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: border-color var(--transition), background var(--transition);
}
.article-card:hover {
  border-color: var(--border);
  background: var(--bg-elevated);
}
.article-card .category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--category);
  margin-bottom: 0.5rem;
}
.article-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.article-card h2 a { color: var(--text); }
.article-card h2 a:hover { color: var(--link); }
.article-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.article-card .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--link);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

/* Categories strip */
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.cat-pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
}
.cat-pill:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* Article page */
.article-header {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border-soft);
}
.article-header .category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--category);
  margin-bottom: 0.75rem;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.article-header .dek {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 38rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-body {
  padding: var(--space-xl) 0;
}
.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 2.25rem 0 0.85rem;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
}
.article-body p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}
.article-body li { margin-bottom: 0.5rem; line-height: 1.6; }
.article-body blockquote {
  border-left: 3px solid var(--border);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-body .pull-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: normal;
  color: var(--text);
  border: none;
  padding: 1.5rem 0;
  margin: 2rem 0;
  text-align: center;
  line-height: 1.4;
}

/* Instagram CTA box */
.ig-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}
.ig-cta p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.ig-cta a.btn { margin: 0 auto; }

/* Related */
.related {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-soft);
}
.related .article-grid { margin-top: 1rem; }

/* Read next */
.read-next {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
}
.read-next .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.read-next a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.read-next a:hover { color: var(--link); }
.read-next p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

/* Static pages */
.page-header {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--border-soft);
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--text-secondary);
  max-width: 36rem;
}
.page-body {
  padding: var(--space-xl) 0;
}
.page-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}
.page-body p, .page-body li {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* About highlight */
.about-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}
.about-box h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* Contact form styling (static) */
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.contact-info p { margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
  padding: 0.25rem 0;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-secondary); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }
  .main-nav ul {
    flex-direction: row;
    gap: 0.15rem;
  }
  .main-nav a {
    padding: 0.4rem 0.75rem;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .article-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .header-inner { padding: 1rem 1.5rem; }
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .article-grid.featured {
    grid-template-columns: 1.4fr 1fr;
  }
  .article-card.large h2 { font-size: 1.55rem; }
  .article-card.large p { font-size: 1rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .ig-cta, .nav-toggle { display: none; }
  body { background: white; color: black; }
  .article-body p { color: #222; }
}
