/* ============================================================
   eImage — Photography Education Blog
   Design System: Charcoal #1A1A1A, Warm White #F5F5F0,
   Amber #E8A838, Steel Blue #4A6B8A, Muted Red #C04A3D
   Display: Archivo | Body: Spline Sans
   ============================================================ */

:root {
  --c-charcoal: #1A1A1A;
  --c-charcoal-2: #2a2a2a;
  --c-charcoal-3: #333;
  --c-white: #F5F5F0;
  --c-white-2: #ebebe5;
  --c-amber: #E8A838;
  --c-amber-dark: #c98e2a;
  --c-steel: #4A6B8A;
  --c-steel-light: #6a8aaa;
  --c-red: #C04A3D;
  --c-red-dark: #a03a2d;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Spline Sans', sans-serif;

  --max-width: 1200px;
  --content-width: 760px;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 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);
  background: var(--c-white);
  color: var(--c-charcoal);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-steel); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-amber); }
ul, ol { padding-left: 1.4em; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-charcoal);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1.1em; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-amber);
  display: inline-block;
  margin-bottom: 0.6em;
}
.text-amber { color: var(--c-amber); }
.text-steel { color: var(--c-steel); }
.text-red { color: var(--c-red); }

/* ===== Layout ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--c-charcoal); color: var(--c-white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--c-white); }
.section-tint { background: var(--c-white-2); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Skip link ===== */
.skip-link {
  position: absolute; top: -60px; left: 0;
  background: var(--c-amber); color: var(--c-charcoal);
  padding: 10px 20px; font-weight: 700; z-index: 9999;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(245, 245, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem; font-weight: 600;
  color: var(--c-charcoal);
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--c-amber); background: rgba(232,168,56,0.08); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  width: 26px; height: 3px; background: var(--c-charcoal);
  border-radius: 2px; transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 13px 28px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.btn-primary { background: var(--c-amber); color: var(--c-charcoal); }
.btn-primary:hover { background: var(--c-amber-dark); color: var(--c-charcoal); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--c-charcoal); border-color: var(--c-charcoal); }
.btn-outline:hover { background: var(--c-charcoal); color: var(--c-white); }
.btn-light { background: var(--c-white); color: var(--c-charcoal); }
.btn-light:hover { background: var(--c-amber); color: var(--c-charcoal); }
.btn-ghost-light { background: transparent; color: var(--c-white); border-color: rgba(245,245,240,0.4); }
.btn-ghost-light:hover { background: var(--c-white); color: var(--c-charcoal); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--c-charcoal);
  color: var(--c-white);
  min-height: 580px;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; padding: 80px 0; }
.hero h1 { color: var(--c-white); max-width: 720px; }
.hero h1 .text-amber { color: var(--c-amber); }
.hero p { font-size: 1.18rem; max-width: 560px; color: rgba(245,245,240,0.85); margin-top: 16px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* ===== Cards ===== */
.card {
  background: var(--c-white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--c-charcoal); }
.card-img img, .card-img svg { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card-body h3 a { color: var(--c-charcoal); }
.card-body h3 a:hover { color: var(--c-amber); }
.card-body p { color: #555; font-size: 0.95rem; margin-bottom: 12px; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: #888; }
.card-tag {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c-amber); padding: 4px 10px;
  background: rgba(232,168,56,0.12); border-radius: 20px;
}

/* ===== Featured tutorial ===== */
.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--c-charcoal); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.featured-img { min-height: 340px; overflow: hidden; }
.featured-img svg { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 48px; color: var(--c-white); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { color: var(--c-white); margin-bottom: 12px; }
.featured-body p { color: rgba(245,245,240,0.8); font-size: 1.05rem; }
.featured-body .card-tag { background: rgba(232,168,56,0.2); align-self: flex-start; margin-bottom: 16px; }

/* ===== Category pills ===== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--c-white); border-radius: var(--radius);
  padding: 32px 24px; text-align: left;
  border-left: 4px solid var(--c-amber);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: block;
}
.cat-card:nth-child(2) { border-left-color: var(--c-steel); }
.cat-card:nth-child(3) { border-left-color: var(--c-red); }
.cat-card:nth-child(4) { border-left-color: var(--c-amber); }
.cat-card:nth-child(5) { border-left-color: var(--c-steel); }
.cat-card:nth-child(6) { border-left-color: var(--c-red); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card h4 { font-size: 1.15rem; margin-bottom: 6px; color: var(--c-charcoal); }
.cat-card p { font-size: 0.9rem; color: #666; margin: 0; }
.cat-card .cat-count { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--c-amber); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== Section header ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header p { color: #666; font-size: 1.05rem; }

/* ===== Article list ===== */
.article-list { display: flex; flex-direction: column; gap: 28px; }
.article-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  background: var(--c-white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition); border: 1px solid rgba(0,0,0,0.04);
}
.article-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-row .card-img { aspect-ratio: 16/10; }
.article-row .card-body { padding: 28px; }
.article-row .card-body h3 { font-size: 1.35rem; }

/* ===== Article page ===== */
.article-hero { background: var(--c-charcoal); color: var(--c-white); padding: 64px 0 48px; }
.article-hero h1 { color: var(--c-white); max-width: 760px; }
.article-hero .article-meta { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 0.9rem; color: rgba(245,245,240,0.7); }
.article-hero .card-tag { background: rgba(232,168,56,0.2); }
.article-body { padding: 56px 0; }
.article-body h2 { margin-top: 2em; margin-bottom: 0.6em; }
.article-body h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.article-body p { font-size: 1.08rem; color: #2a2a2a; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; padding-left: 1.6em; }
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote {
  border-left: 4px solid var(--c-amber);
  padding: 16px 24px; margin: 1.5em 0;
  background: var(--c-white-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; font-size: 1.1rem; color: var(--c-charcoal);
}
.article-body .lead { font-size: 1.25rem; color: #444; font-weight: 500; }
.article-body a { color: var(--c-amber-dark); text-decoration: underline; text-decoration-color: rgba(232,168,56,0.3); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--c-amber); }
.article-body img, .article-body svg { border-radius: var(--radius); margin: 1.5em 0; }

.callout {
  background: var(--c-charcoal); color: var(--c-white);
  padding: 28px 32px; border-radius: var(--radius-lg);
  margin: 2em 0; border-left: 4px solid var(--c-amber);
}
.callout h4 { color: var(--c-amber); margin-bottom: 8px; }
.callout p { color: rgba(245,245,240,0.9); margin: 0; }

.tip-box {
  background: rgba(74,107,138,0.08); border-left: 4px solid var(--c-steel);
  padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5em 0;
}
.tip-box h4 { color: var(--c-steel); margin-bottom: 6px; }

/* Key-takeaways box */
.takeaways {
  background: var(--c-white-2); border-radius: var(--radius-lg);
  padding: 28px 32px; margin: 2em 0;
  border: 1px solid rgba(0,0,0,0.06);
}
.takeaways h3 { color: var(--c-amber); margin-bottom: 12px; }
.takeaways ul { list-style: none; padding-left: 0; }
.takeaways li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.takeaways li::before {
  content: '→'; position: absolute; left: 0; color: var(--c-amber); font-weight: 700;
}

/* Article footer CTA */
.article-cta {
  background: var(--c-charcoal); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; margin-top: 48px;
}
.article-cta h3 { color: var(--c-white); margin-bottom: 12px; }
.article-cta p { color: rgba(245,245,240,0.75); max-width: 480px; margin: 0 auto 24px; }

/* Related articles */
.related { padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 48px; }

/* ===== Composition hub ===== */
.composition-intro { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.composition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.comp-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px;
  background: var(--c-white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: all var(--transition); align-items: center;
  border: 1px solid rgba(0,0,0,0.04);
}
.comp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.comp-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--c-amber); opacity: 0.5; line-height: 1;
}
.comp-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.comp-card h3 a { color: var(--c-charcoal); }
.comp-card h3 a:hover { color: var(--c-amber); }
.comp-card p { font-size: 0.9rem; color: #666; margin: 0; }

/* ===== About page ===== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { font-size: 1.08rem; color: #444; }
.about-visual {
  background: var(--c-charcoal); border-radius: var(--radius-lg);
  aspect-ratio: 4/5; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { padding: 28px; background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-top: 4px solid var(--c-amber); }
.value-card:nth-child(2) { border-top-color: var(--c-steel); }
.value-card:nth-child(3) { border-top-color: var(--c-red); }
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.95rem; color: #666; margin: 0; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h3 { margin-bottom: 12px; }
.contact-info p { color: #555; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(232,168,56,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--c-amber); font-size: 1.2rem; }
.contact-detail h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-detail p { font-size: 0.9rem; color: #666; margin: 0; }
.contact-form { background: var(--c-white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--c-charcoal); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  background: var(--c-white); transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--c-amber);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: #888; margin-top: 12px; }
.form-success { display: none; padding: 16px 20px; background: rgba(74,107,138,0.1); border-left: 4px solid var(--c-steel); border-radius: var(--radius-sm); color: var(--c-steel); font-weight: 600; margin-bottom: 20px; }
.form-success.show { display: block; }

/* ===== Tutorials index (blog) ===== */
.tutorials-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.tutorials-sidebar { position: sticky; top: 96px; }
.sidebar-box { background: var(--c-white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px; border: 1px solid rgba(0,0,0,0.04); }
.sidebar-box h4 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--c-amber); display: inline-block; }
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { margin-bottom: 8px; }
.sidebar-box ul li a { font-size: 0.92rem; color: #444; }
.sidebar-box ul li a:hover { color: var(--c-amber); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { font-size: 0.82rem; padding: 4px 12px; background: var(--c-white-2); border-radius: 20px; color: #555; }
.tag-cloud a:hover { background: var(--c-amber); color: var(--c-charcoal); }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  padding: 8px 18px; border-radius: 20px; border: 2px solid rgba(0,0,0,0.08);
  background: var(--c-white); cursor: pointer; transition: all var(--transition);
  color: var(--c-charcoal);
}
.filter-btn:hover, .filter-btn.active { background: var(--c-charcoal); color: var(--c-white); border-color: var(--c-charcoal); }

/* ===== Legal pages ===== */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; margin-bottom: 0.6em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #444; }
.legal-content ul { margin-bottom: 1.2em; }
.last-updated { font-size: 0.88rem; color: #888; font-style: italic; margin-bottom: 32px; }

/* ===== Sitemap page ===== */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.sitemap-col h3 { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--c-amber); display: inline-block; }
.sitemap-col ul { list-style: none; padding: 0; }
.sitemap-col ul li { margin-bottom: 10px; }
.sitemap-col ul li a { color: #444; }
.sitemap-col ul li a:hover { color: var(--c-amber); }

/* ===== 404 page ===== */
.error-page { text-align: center; padding: 100px 0; min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.error-page .error-code { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 10rem); font-weight: 800; color: var(--c-amber); line-height: 1; }
.error-page h1 { margin: 16px 0; }
.error-page p { font-size: 1.15rem; color: #666; max-width: 480px; margin: 0 auto 32px; }

/* ===== Newsletter ===== */
.newsletter {
  background: var(--c-charcoal); border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center; color: var(--c-white);
}
.newsletter h2 { color: var(--c-white); margin-bottom: 12px; }
.newsletter p { color: rgba(245,245,240,0.75); max-width: 520px; margin: 0 auto 28px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 13px 18px; border: none; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; }

/* ===== Footer ===== */
.site-footer { background: var(--c-charcoal); color: rgba(245,245,240,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; }
.footer-col h4 { color: var(--c-white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(245,245,240,0.7); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--c-amber); }
.footer-bottom { border-top: 1px solid rgba(245,245,240,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.88rem; margin: 0; }
.footer-bottom .footer-links { display: flex; gap: 20px; }
.footer-bottom .footer-links a { font-size: 0.88rem; color: rgba(245,245,240,0.6); }

/* ===== Breadcrumbs ===== */
.breadcrumbs { padding: 20px 0; font-size: 0.88rem; color: #888; }
.breadcrumbs a { color: #888; }
.breadcrumbs a:hover { color: var(--c-amber); }
.breadcrumbs span { margin: 0 8px; color: #ccc; }

/* ===== Page hero (sub-pages) ===== */
.page-hero { background: var(--c-charcoal); color: var(--c-white); padding: 64px 0 48px; text-align: center; }
.page-hero h1 { color: var(--c-white); }
.page-hero p { color: rgba(245,245,240,0.8); font-size: 1.15rem; max-width: 560px; margin: 16px auto 0; }

/* ===== Animations ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease-out both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .featured { grid-template-columns: 1fr; }
  .featured-img { min-height: 260px; }
  .tutorials-layout { grid-template-columns: 1fr; }
  .tutorials-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--c-white); flex-direction: column;
    padding: 16px; gap: 2px; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform 0.35s ease;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; width: 100%; }
  .section { padding: 48px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .category-grid, .composition-grid, .about-hero, .contact-grid, .value-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; }
  .article-row .card-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .featured-body { padding: 32px; }
  .hero { min-height: 480px; }
  .hero-content { padding: 56px 0; }
  .comp-card { grid-template-columns: 80px 1fr; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 18px; }
  .btn { padding: 11px 22px; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { animation: none; opacity: 1; transform: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .article-cta, .newsletter, .related { display: none; }
  body { font-size: 12pt; color: #000; }
}

