/* =========================================================
   NR Studio 豆點創意 - 前台樣式
   主色：#06492C 深綠 / 背景：#F7F4EE 米白 / 文字：#111
   ========================================================= */

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

:root {
  --c-primary: #06492C;
  --c-primary-dark: #04321E;
  --c-primary-light: #E8EFE9;
  --c-bg: #F7F4EE;
  --c-bg-2: #EFEAE0;
  --c-text: #111111;
  --c-text-soft: #555555;
  --c-text-muted: #888888;
  --c-line: #E5E0D5;
  --c-white: #FFFFFF;
  --c-error: #B33A3A;
  --c-success: #2E7D32;

  --ff-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --ff-serif: "Noto Serif TC", Georgia, serif;
  --ff-mono: "JetBrains Mono", Menlo, Consolas, monospace;

  --w-max: 1280px;
  --w-narrow: 880px;
  --pad-x: clamp(20px, 5vw, 80px);
  --section-y: clamp(60px, 9vw, 140px);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --t-fast: 180ms;
  --t-base: 320ms;
  --easing: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border: 0; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

ul, ol { list-style: none; }

::selection { background: var(--c-primary); color: #fff; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: .8rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-text);
}
.site-logo img { height: 32px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
  color: var(--c-text);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--easing);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-block;
  padding: 9px 22px;
  background: var(--c-primary);
  color: #fff !important;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  transition: background var(--t-fast);
}
.nav-cta:hover { background: var(--c-primary-dark); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); position: relative; transition: var(--t-fast); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--c-text); transition: var(--t-fast);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after  { transform: rotate(-45deg); top: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--c-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--pad-x);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity var(--t-base), transform var(--t-base);
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: 16px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background var(--t-fast), transform var(--t-fast);
  border: 1px solid var(--c-primary);
  cursor: pointer;
}
.btn:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-text); border-color: transparent; }
.btn-ghost:hover { background: var(--c-primary-light); color: var(--c-primary); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ---------- Hero (首頁) ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--c-text);
  color: #fff;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.hero__inner { position: relative; z-index: 1; padding: 0 var(--pad-x); max-width: var(--w-max); margin: 0 auto; }
.hero__eyebrow { color: #fff; opacity: .8; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { font-size: clamp(1rem, 1.4vw, 1.2rem); margin: 1.5rem 0 2rem; max-width: 52ch; opacity: .9; }
.hero .btn { background: #fff; color: var(--c-primary); border-color: #fff; }
.hero .btn:hover { background: var(--c-primary); color: #fff; }
.hero .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-outline:hover { background: #fff; color: var(--c-primary); border-color: #fff; }

/* ---------- Section heading ---------- */
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 60ch; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--c-text-soft); }

/* ---------- Service cards (首頁/服務頁) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-card {
  background: var(--c-bg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--t-base);
  position: relative;
}
.service-card:hover { background: #fff; }
.service-card__num { font-size: .8rem; color: var(--c-primary); letter-spacing: .15em; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.service-card p { color: var(--c-text-soft); margin-bottom: 16px; flex: 1; }
.service-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-primary); font-weight: 500; font-size: .95rem;
}
.service-card__more svg { transition: transform var(--t-fast); }
.service-card:hover .service-card__more svg { transform: translateX(4px); }

/* ---------- Work grid ---------- */
.works-filter {
  display: flex; flex-wrap: wrap; gap: 10px 8px;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.works-filter__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.works-filter__label { font-size: .85rem; color: var(--c-text-muted); margin-right: 4px; }
.works-filter a {
  display: inline-block;
  padding: 6px 14px;
  font-size: .85rem;
  border-radius: 999px;
  background: transparent;
  color: var(--c-text-soft);
  border: 1px solid var(--c-line);
}
.works-filter a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.works-filter a.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.work-card { display: block; group: card; }
.work-card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  margin-bottom: 16px;
}
.work-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--easing);
}
.work-card:hover .work-card__cover img { transform: scale(1.04); }
.work-card__category {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--c-primary);
}
.work-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  transition: color var(--t-fast);
}
.work-card:hover h3 { color: var(--c-primary); }
.work-card__meta { font-size: .85rem; color: var(--c-text-muted); }

/* ---------- Work detail ---------- */
.work-hero { padding: 60px 0 40px; }
.work-hero h1 { margin-top: 12px; }
.work-hero__meta { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 24px; color: var(--c-text-soft); font-size: .95rem; }
.work-hero__meta span strong { color: var(--c-text); display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

.work-cover { margin: 40px auto; }
.work-cover img { width: 100%; border-radius: var(--r-md); }

.work-body { font-size: 1.05rem; color: var(--c-text-soft); line-height: 1.85; }
.work-body p { margin-bottom: 1.5em; }
.work-body h2, .work-body h3 { color: var(--c-text); margin: 2em 0 .8em; }

.work-images { display: grid; gap: 32px; margin: 60px 0; }
.work-images figure { margin: 0; }
.work-images img { width: 100%; border-radius: var(--r-md); }
.work-images figcaption { text-align: center; font-size: .9rem; color: var(--c-text-muted); margin-top: 12px; }

/* ---------- Blog ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}
.post-card__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: 16px;
  background: var(--c-bg-2);
}
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--easing); }
.post-card:hover .post-card__cover img { transform: scale(1.04); }
.post-card__cat { font-size: .8rem; color: var(--c-primary); letter-spacing: .1em; }
.post-card h3 { font-size: 1.25rem; margin: 8px 0; }
.post-card__excerpt { color: var(--c-text-soft); font-size: .95rem; }
.post-card__meta { margin-top: 12px; font-size: .85rem; color: var(--c-text-muted); }

.post-article { max-width: var(--w-narrow); margin: 0 auto; padding: 40px var(--pad-x); }
.post-article header { margin-bottom: 40px; text-align: center; }
.post-article header h1 { margin: 16px 0 12px; }
.post-article__meta { color: var(--c-text-muted); font-size: .9rem; }
.post-article__cover { margin: 0 0 40px; }
.post-article__cover img { width: 100%; border-radius: var(--r-md); }
.post-article__body { font-size: 1.05rem; line-height: 1.85; color: var(--c-text); }
.post-article__body p { margin-bottom: 1.4em; }
.post-article__body h2, .post-article__body h3 { margin: 2em 0 .8em; }
.post-article__body img { border-radius: var(--r-md); margin: 24px 0; }
.post-article__body blockquote {
  border-left: 4px solid var(--c-primary);
  padding: 8px 0 8px 24px;
  margin: 24px 0;
  color: var(--c-text-soft);
  font-style: italic;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 8px; color: var(--c-text); }
.form-label .req { color: var(--c-error); }
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
  outline: 0;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(6, 73, 44, .15);
}
textarea.form-control { min-height: 140px; resize: vertical; line-height: 1.6; }
select.form-control { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 42px;
}
.form-error { color: var(--c-error); font-size: .85rem; margin-top: 6px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--r-md); margin-bottom: 24px; font-size: .95rem; border: 1px solid; }
.alert-success { background: #E8F5E9; border-color: #C8E6C9; color: var(--c-success); }
.alert-error   { background: #FFEBEE; border-color: #FFCDD2; color: var(--c-error); }
.alert-info    { background: var(--c-primary-light); border-color: #C8E0D2; color: var(--c-primary); }

/* ---------- Pagination ---------- */
.pagination { margin: 60px 0 0; display: flex; justify-content: center; }
.pagination ul { display: flex; gap: 6px; align-items: center; }
.pagination li a, .pagination li span {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--c-text-soft);
  transition: var(--t-fast);
}
.pagination li a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.pagination li.current span { background: var(--c-primary); color: #fff; }
.pagination li.ellipsis { color: var(--c-text-muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin: 24px 0; font-size: .85rem; color: var(--c-text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb [aria-current="page"] { color: var(--c-text); }

/* ---------- Clients (logo wall) ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.client-cell {
  background: #fff;
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  padding: 24px;
  transition: background var(--t-base);
}
.client-cell:hover { background: var(--c-primary-light); }
.client-cell img { max-width: 100%; max-height: 60%; filter: grayscale(1) contrast(.7); transition: filter var(--t-base); }
.client-cell:hover img { filter: none; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: -12px; left: 24px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--c-primary);
  line-height: 1;
  opacity: .3;
}
.testimonial__content { font-size: 1rem; line-height: 1.7; color: var(--c-text-soft); margin-bottom: 20px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--c-bg-2); }
.testimonial__author-name { font-weight: 600; font-size: .95rem; }
.testimonial__author-meta { font-size: .8rem; color: var(--c-text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner h2 { color: #fff; max-width: 24ch; }
.cta-banner p { color: rgba(255,255,255,.85); margin-top: 8px; max-width: 36ch; }
.cta-banner .btn { background: #fff; color: var(--c-primary); border-color: #fff; }
.cta-banner .btn:hover { background: var(--c-primary-dark); color: #fff; border-color: var(--c-primary-dark); }

/* ---------- Service detail page ---------- */
.service-hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 800px) { .service-hero { grid-template-columns: 1fr; } }
.service-hero__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--c-bg-2); }
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.service-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.service-feature {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px;
  background: #fff;
}
.service-feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-feature p { color: var(--c-text-soft); margin: 0; }

/* ---------- About page ---------- */
.about-hero { padding: clamp(80px, 10vw, 160px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.about-hero p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--c-text-soft); max-width: 60ch; margin: 1.5rem auto 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,.8);
  padding: clamp(48px, 7vw, 80px) 0 24px;
  margin-top: clamp(60px, 8vw, 100px);
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand img { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; max-width: 40ch; opacity: .7; }
.footer-col h5 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer-col ul li { margin-bottom: 10px; font-size: .9rem; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: var(--t-fast);
}
.footer-social a:hover { background: var(--c-primary); border-color: var(--c-primary); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: .8rem;
  opacity: .6;
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}
.page-404 h1 { font-size: 6rem; color: var(--c-primary); margin-bottom: 16px; }
.page-404 p { color: var(--c-text-soft); margin-bottom: 28px; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.bg-2 { background: var(--c-bg-2); }
.bg-white { background: #fff; }

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .8s; }
.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}
