/*
Theme Name: Small Projects Big Results
Theme URI: https://smallprojectsbigresults.com
Author: Your Name
Author URI: https://yoursite.com
Description: A clean, editorial project management theme for the Small Projects Big Results ebook, blog, and content ecosystem.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smallprojects
Tags: blog, education, ebook, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --ink:        #1a1a18;
  --paper:      #f5f0e8;
  --accent:     #c84b2f;
  --gold:       #d4a843;
  --muted:      #7a7060;
  --light:      #ede8dc;
  --white:      #ffffff;
  --tag-blog:   #2a6049;
  --tag-yt:     #8b1a1a;
  --tag-tmpl:   #1a3a5c;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --radius:  3px;
  --shadow:  0 2px 16px rgba(26,26,24,0.08);
  --shadow-lg: 0 8px 40px rgba(26,26,24,0.14);

  --max-width: 1140px;
  --content-width: 760px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.5rem; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  background: var(--light);
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--light);
  padding: 0.15em 0.4em;
  border-radius: 2px;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.content-main { min-width: 0; }

@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
}

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.site-title span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.site-title a { color: inherit; }
.site-title a:hover { color: var(--gold); }

/* NAV */
.main-navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.main-navigation a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: all 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.4rem 1rem !important;
}

.nav-cta:hover { background: #a83d24 !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
  }
  .main-navigation.active { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; }
  .main-navigation a { display: block; padding: 0.6rem 0; }
}

/* =========================================================
   HERO — FRONT PAGE
   ========================================================= */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 40px);
  pointer-events: none;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--paper);
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.7);
  max-width: 520px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: #a83d24; color: var(--white); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245,240,232,0.3);
}
.btn-secondary:hover { border-color: var(--paper); color: var(--paper); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,240,232,0.1);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  display: block;
  margin-top: 0.3rem;
}

/* =========================================================
   CONTENT TYPE TAGS
   ========================================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
}

.tag-blog  { background: var(--tag-blog); color: #e8f4ef; }
.tag-yt    { background: var(--tag-yt);   color: #fce8e8; }
.tag-tmpl  { background: var(--tag-tmpl); color: #e8eef8; }
.tag-bonus { background: var(--gold);     color: var(--ink); }

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.75rem;
}

/* =========================================================
   PART DIVIDER
   ========================================================= */
.part-divider {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
}

.part-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.part-info { flex: 1; }

.part-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.part-desc {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.2rem;
}

/* =========================================================
   CHAPTER CARDS
   ========================================================= */
.chapter-grid {
  display: grid;
  gap: 1rem;
}

.chapter-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.chapter-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateX(2px);
}

.ch-number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-top: 0.2rem;
  width: 2.5rem;
}

.ch-content { flex: 1; min-width: 0; }

.ch-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.ch-title a { color: inherit; }
.ch-title a:hover { color: var(--accent); }

.ch-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* =========================================================
   BLOG POST CARDS
   ========================================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--light);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.post-card-thumb {
  height: 180px;
  background: var(--light);
  overflow: hidden;
  position: relative;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card:hover .post-card-thumb img { transform: scale(1.03); }

.post-card-no-thumb {
  height: 180px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
}

.post-card-body { padding: 1.25rem; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.post-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--accent); }

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--light);
  padding-top: 0.75rem;
}

.read-more {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.read-more::after { content: ' →'; }
.read-more:hover { color: var(--ink); }

/* =========================================================
   TEMPLATE CALLOUT BOX
   ========================================================= */
.template-box {
  background: #f0f5ff;
  border-left: 3px solid var(--tag-tmpl);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.template-box-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tag-tmpl);
  margin-bottom: 0.6rem;
}

.template-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.template-box li {
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.template-box li::before {
  content: '◆';
  font-size: 0.45rem;
  color: var(--tag-tmpl);
  flex-shrink: 0;
}

/* =========================================================
   SINGLE POST / PAGE
   ========================================================= */
.entry-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light);
}

.entry-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.entry-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.entry-meta a { color: var(--muted); }
.entry-meta a:hover { color: var(--accent); }

.entry-content {
  font-size: 1.02rem;
  line-height: 1.85;
}

.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content h3 { margin: 1.75rem 0 0.75rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.35rem; }

.entry-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar { position: sticky; top: 84px; }

.widget {
  background: var(--white);
  border: 1px solid var(--light);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--light);
}

/* Ebook CTA Widget */
.widget-ebook {
  background: var(--ink);
  color: var(--paper);
  border: none;
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.widget-ebook .widget-title { color: var(--gold); border-color: rgba(255,255,255,0.1); }

.ebook-cover-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--accent) 0%, #8b2010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  border-radius: 2px;
  text-align: center;
  padding: 1rem;
  line-height: 1.3;
}

.widget-ebook p {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.7);
  margin-bottom: 1rem;
}

.widget ul { list-style: none; padding: 0; }
.widget li { padding: 0.35rem 0; border-bottom: 1px dashed var(--light); font-size: 0.88rem; }
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--ink); }
.widget li a:hover { color: var(--accent); }

/* =========================================================
   OUTLINE PAGE SPECIFIC
   ========================================================= */
.outline-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.outline-hero h1 { color: var(--paper); }
.outline-hero h1 em { color: var(--accent); font-style: normal; }
.outline-hero p { color: rgba(245,240,232,0.7); max-width: 600px; }

.legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--light);
  border-left: 3px solid var(--gold);
  margin-bottom: 2rem;
}

.legend-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.5rem;
}

.totals-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1px;
  background: var(--light);
  margin: 3rem 0;
  border: 1px solid var(--light);
}

.total-item {
  background: var(--ink);
  padding: 1.5rem 1rem;
  text-align: center;
}

.total-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.total-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  display: block;
  margin-top: 0.3rem;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.page-numbers {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--light);
  color: var(--ink);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* =========================================================
   COMMENTS
   ========================================================= */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}

.comments-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.comment-body {
  background: var(--white);
  border: 1px solid var(--light);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.comment-author { font-weight: 600; }
.comment-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.5rem; }

#respond { margin-top: 2rem; }
#respond h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--light);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.comment-form textarea { height: 120px; resize: vertical; }

.comment-form .submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.7rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.comment-form .submit:hover { background: #a83d24; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(245,240,232,0.7);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: var(--light);
  border-bottom: 2px solid var(--ink);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.page-hero .entry-label { color: var(--accent); }

/* =========================================================
   UTILITY
   ========================================================= */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px;
  z-index: 1000;
}
.skip-link:focus { top: 0; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.5s ease both;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
