/* ==========================================================
   BLOGSTARS — main.css
   Переменные, reset, типографика, grain, утилиты
   Editorial Luxury — Cormorant Garamond replaces playful script
   ========================================================== */

:root {
  /* Colors — Aurelia-style: тёмный #252525 + lime */
  --color-bg:          #252525;
  --color-bg-alt:      #2C2C2C;
  --color-bg-card:     #1F1F1F;
  --color-bg-dark:     #252525;
  --color-text:        #FFFFFF;
  --color-text-soft:   rgba(255,255,255,0.7);
  --color-text-light:  #FFFFFF;
  --color-text-muted:  rgba(255,255,255,0.55);
  --color-accent:      #CCFF00;
  --color-accent-deep: #99CC00;
  --color-accent-muted:#88AA00;
  --color-border:      rgba(255,255,255,0.10);
  --color-border-soft: rgba(255,255,255,0.05);

  /* Typography — Aurelia set */
  --font-display:      'Anton', 'Bebas Neue', sans-serif;
  --font-body:         'Poppins', 'Inter', system-ui, sans-serif;
  --font-serif:        'Cormorant Garamond', 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-padding:   140px 0;
  --container-max:     1320px;
  --container-padding: 0 48px;

  /* Radius — sharp brutalism (Aurelia) */
  --radius-sm:         0px;
  --radius-md:         0px;
  --radius-lg:         0px;

  /* Transitions */
  --transition-fast:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-mid:    0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows — тоньше, без "material" эффекта */
  --shadow-card:       0 1px 2px rgba(0,0,0,0.04);
  --shadow-hover:      0 8px 24px rgba(0,0,0,0.08);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select, button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--color-accent); outline-offset: 4px; }

::selection { background: var(--color-accent); color: #0D0D0D; }

/* ===== Grain overlay (subtle, luxury paper) ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background-image: url("../assets/grain.svg");
  background-size: 300px 300px;
  background-repeat: repeat;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

/* ===== Typography ===== */
.h1, h1, .h2, h2, .h3, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: var(--color-text);
}

.h1, h1 { font-size: clamp(56px, 13vw, 180px); }
.h2, h2 { font-size: clamp(40px, 6vw, 84px); }
.h3, h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 400; }

/* Serif italic accent — editorial antiqva, не playful script */
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

/* Editorial small-caps label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--color-text-muted);
}

.eyebrow--accent { color: var(--color-accent); }

/* Section title — editorial, без rotation */
.section-title {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 70px;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.section-title__serif {
  display: block;
  font-family: var(--font-serif);
  
  font-weight: 300;
  font-size: 0.55em;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1;
}

.body-text { font-size: 16px; line-height: 1.7; color: var(--color-text); font-weight: 400; }

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  width: 100%;
  margin: 40px 0;
}

.divider--gold {
  border-top-color: var(--color-accent);
}

/* Gold bullets — сдержанно */
.bullets-gold {
  list-style: none;
}
.bullets-gold li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
}
.bullets-gold li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 1px;
  background: var(--color-accent);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root { --container-padding: 0 32px; }
}
@media (max-width: 768px) {
  :root {
    --section-padding: 90px 0;
    --container-padding: 0 22px;
  }
  .section-title { margin-bottom: 40px; }
}
