/* ===================================================
   EMBER CHRONICLE — Dark Editorial Theme
   Inspired by Chefer template visual DNA
   =================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary: #FB5B21;
  --c-primary-dim: rgba(251, 91, 33, 0.15);
  --c-primary-glow: rgba(251, 91, 33, 0.3);
  --c-dark: #1a1c20;
  --c-dark-alt: #222429;
  --c-darkest: #111113;
  --c-surface: #2a2c31;
  --c-surface-hover: #32343a;
  --c-text: #c2c3c7;
  --c-text-muted: #8a8b90;
  --c-text-light: #e8e8ea;
  --c-light: #f4f5f8;
  --c-border: rgba(255,255,255,0.08);
  --c-border-accent: rgba(251, 91, 33, 0.25);
  --ff-display: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --ff-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  --section-pad: clamp(3rem, 6vw, 5.5rem);
  --content-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-special: 0 40% 0 0;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--ff-body);
  background: var(--c-dark);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--c-text-light); }
a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--ff-display);
  color: var(--c-text-light);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h4, h5, h6 {
  font-family: var(--ff-body);
  color: var(--c-text-light);
  font-weight: 600;
  line-height: 1.3;
}

.section-label {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--c-primary);
  display: inline-block;
  margin-bottom: 1rem;
}

.display-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

/* --- Utility --- */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
}

.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1440px; }

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--c-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ===================================================
   HEADER / NAVIGATION
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-darkest);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-brand__logo {
  height: 36px;
  width: auto;
}
.site-brand__name {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text-light);
  letter-spacing: 0.02em;
}
.site-brand:hover .site-brand__name {
  color: var(--c-primary);
}

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
}
.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.main-nav__link:hover,
.main-nav__link:focus {
  color: var(--c-text-light);
}
.main-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text-light);
  transition: var(--transition);
  border-radius: 1px;
}
.nav-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--c-darkest);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 0;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav__link {
    padding: 0.85rem 1.5rem;
    width: 100%;
  }
  .main-nav__link::after { display: none; }
}

/* ===================================================
   HERO — EDITORIAL SPLIT (3-column asymmetric)
   =================================================== */
.hero {
  background: var(--c-darkest);
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--c-primary-dim) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero__content { position: relative; z-index: 1; }
.hero__label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--c-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--c-primary);
}
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--c-light);
}
.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero__subtitle p { margin-bottom: 0.5rem; }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--c-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  transition: var(--transition);
}
.hero__cta:hover {
  background: #e04d17;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 91, 33, 0.3);
}
.hero__cta svg { width: 16px; height: 16px; }

.hero__visual {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  height: 100%;
  min-height: 380px;
}
.hero__img-block {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero__img-block--special {
  border-radius: var(--radius-special);
}
.hero__img-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(251,91,33,0.08) 100%);
  pointer-events: none;
}
.hero__decoration {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--c-border-accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 240px; grid-template-rows: 200px; }
  .hero__visual .hero__img-block:nth-child(2) { display: none; }
}

/* ===================================================
   LATEST POSTS — MAGAZINE LAYOUT
   =================================================== */
.posts-section {
  background: var(--c-dark);
  padding: var(--section-pad) 0;
}
.posts-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.posts-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.posts-grid__featured {
  grid-row: 1 / 3;
}

/* Post card */
.post-card {
  background: var(--c-dark-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover {
  border-color: var(--c-border-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.post-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--c-surface);
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card__image img {
  transform: scale(1.06);
}

.post-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-primary);
  margin-bottom: 0.65rem;
}
.post-card__title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.post-card__title a {
  color: var(--c-text-light);
  text-decoration: none;
}
.post-card__title a:hover { color: var(--c-primary); }
.post-card__excerpt {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}
.post-card__excerpt p { margin: 0; }
.post-card__more {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.post-card__more:hover { color: var(--c-text-light); gap: 0.7rem; }

/* Featured post */
.post-card--featured .post-card__image { aspect-ratio: 16/12; }
.post-card--featured .post-card__title { font-size: 1.5rem; }
.post-card--featured .post-card__body { padding: 2rem; }

/* Compact card (no image) */
.post-card--compact { flex-direction: row; align-items: stretch; }
.post-card--compact .post-card__image { aspect-ratio: 1; width: 140px; flex-shrink: 0; }
.post-card--compact .post-card__body { padding: 1.25rem; }
.post-card--compact .post-card__title { font-size: 1rem; }
.post-card--compact .post-card__excerpt { display: none; }

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .posts-grid__featured { grid-row: auto; }
  .post-card--compact { flex-direction: column; }
  .post-card--compact .post-card__image { width: 100%; aspect-ratio: 16/9; }
}

/* ===================================================
   TOPICS — OFFSET CARD GRID
   =================================================== */
.topics-section {
  background: var(--c-darkest);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.topics-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border-accent), transparent);
}

.topics-header {
  margin-bottom: 3.5rem;
  max-width: 560px;
}
.topics-header__title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.topics-header__desc {
  color: var(--c-text-muted);
  margin-top: 0.75rem;
  font-size: 1rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  background: var(--c-dark-alt);
  border: 1px solid var(--c-border);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--c-primary);
  transition: height 0.4s ease;
  border-radius: 0 0 2px 0;
}
.topic-card:hover {
  border-color: var(--c-border-accent);
  background: var(--c-surface);
}
.topic-card:hover::before {
  height: 100%;
}

.topic-card__name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text-light);
  margin-bottom: 0.75rem;
}
.topic-card__desc {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}
.topic-card__desc p { margin: 0; }

/* Offset every other card on desktop */
@media (min-width: 769px) {
  .topic-card:nth-child(even) {
    transform: translateY(1.5rem);
  }
  .topic-card:nth-child(even):hover {
    transform: translateY(calc(1.5rem - 3px));
  }
}

/* ===================================================
   FAQ — SPLIT LAYOUT
   =================================================== */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--c-dark);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq-sidebar { position: sticky; top: 100px; }
.faq-sidebar__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.faq-sidebar__desc {
  color: var(--c-text-muted);
  line-height: 1.7;
}

.faq-list { list-style: none; }

.faq-item {
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.faq-item:first-child {
  border-top: 1px solid var(--c-border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-light);
  transition: var(--transition);
  gap: 1rem;
  line-height: 1.5;
}
.faq-question:hover { color: var(--c-primary); }
.faq-question:focus-visible { outline: 2px solid var(--c-primary); outline-offset: -2px; }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.faq-icon::before {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1;
  color: var(--c-primary);
}
.faq-item.is-open .faq-icon {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.faq-item.is-open .faq-icon::before {
  content: '−';
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer__inner {
  padding-bottom: 1.5rem;
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-answer__inner p { margin-bottom: 0.5rem; }
.faq-answer__inner p:last-child { margin-bottom: 0; }
.faq-item.is-open .faq-answer {
  max-height: 600px;
}

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-sidebar { position: static; }
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--c-darkest);
  border-top: 1px solid var(--c-border);
}

.footer-main {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand__name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text-light);
  margin-bottom: 0.75rem;
}
.footer-brand__tagline {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.65;
}
.footer-brand__email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--c-text);
  font-size: 0.9rem;
}
.footer-brand__email:hover { color: var(--c-primary); }
.footer-brand__email svg { width: 16px; height: 16px; color: var(--c-primary); }

.footer-nav__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-text-light);
  margin-bottom: 1.25rem;
}
.footer-nav__list { list-style: none; }
.footer-nav__list li { margin-bottom: 0.6rem; }
.footer-nav__list a {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-nav__list a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--c-primary);
  transition: width 0.3s ease;
}
.footer-nav__list a:hover { color: var(--c-text-light); }
.footer-nav__list a:hover::before { width: 12px; }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

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

/* ===================================================
   BLOG INDEX
   =================================================== */
.blog-index-header {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 3rem;
}
.blog-index-header__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 960px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2rem 0 var(--section-pad);
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: var(--transition);
  text-decoration: none;
}
.pagination a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: var(--c-primary-dim);
}
.pagination a.active, .pagination .active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.pagination__arrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================================
   SINGLE POST
   =================================================== */
.post-header {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  text-align: center;
}
.post-header__date {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-primary);
  margin-bottom: 1.25rem;
}
.post-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}
.post-header__excerpt {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.post-header__excerpt p { margin: 0; }

.post-cover {
  margin: 2rem auto 3rem;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.post-cover img {
  width: 100%;
  height: auto;
}

/* Article prose */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: var(--section-pad);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text);
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose p { margin-bottom: 1.25rem; }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-text-light); }
.prose img {
  border-radius: var(--radius-md);
  margin: 2rem 0;
}
.prose blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--c-text-light);
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose code {
  background: var(--c-surface);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: var(--ff-mono);
  font-size: 0.9em;
}
.prose pre {
  background: var(--c-darkest);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--c-border);
}
.prose pre code {
  background: none;
  padding: 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.prose th, .prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-border);
  text-align: left;
}
.prose th {
  background: var(--c-surface);
  font-weight: 600;
  color: var(--c-text-light);
}

/* ===================================================
   PAGE TEMPLATE
   =================================================== */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 3rem;
}
.page-header__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.page-content {
  padding-bottom: var(--section-pad);
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  font-size: 1.1rem;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #e04d17;
  transform: translateY(-3px);
}

/* ===================================================
   CTA LINK STYLE (for see-all type links)
   =================================================== */
.link-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.link-arrow:hover { color: var(--c-text-light); gap: 0.8rem; }
.link-arrow svg { width: 16px; height: 16px; }
