/* ===================================================
   FULLDOT — Web Design Service Page
   web-design.css
   =================================================== */

/* ---------- 0. CSS Custom Properties ---------- */
:root {
  --accent: #d15b27;
  --accent-light: #fb923c;
  --accent-glow: rgba(209, 91, 39, .35);
  --bg-white: #fafaf9;
  --bg-dark: #0a0a0a;
  --bg-warm: #f6f1eb;
  --ink-blue: #0f1923;
  --ink-warm: #1a1510;
  --text-dark: #1c1917;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  --text-invert: #f5f5f5;
  --border: rgba(0, 0, 0, 0.08);
  --border-light: #e5e2dd;
  --border-dark: rgba(255, 255, 255, .08);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', 'Noto Sans TC', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
  --nav-h: 64px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 2. Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  transition: top .2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 3. Focus Styles ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- 4. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 48px;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  transition: padding .3s;
}

.navbar.scrolled {
  padding: 14px 48px;
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color .25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.btn-contact {
  border: 1.5px solid var(--text-dark);
  padding: 8px 24px;
  border-radius: 30px;
  transition: background .3s, color .3s;
}

.btn-contact:hover,
.btn-contact:focus-visible {
  background: var(--text-dark);
  color: #fff;
}

.btn-contact::after {
  display: none;
}

/* ---- Menu Toggle ---- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  position: absolute;
  left: 0;
  border-radius: 2px;
  transition: all .4s var(--ease-out);
}

.menu-toggle span:first-child { top: 2px; }
.menu-toggle span:last-child { bottom: 2px; }

.menu-toggle.active span { background: var(--text-dark); }
.menu-toggle.active span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active span:last-child { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
/* Mobile Menu — 文創暖色風 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: #f6f1eb;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(209,91,39,0.06), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(37,99,235,0.04), transparent 50%);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-inner {
  min-height: 100%; display: flex; flex-direction: column;
  justify-content: center; padding: 100px 28px 40px; gap: 36px;
  position: relative; z-index: 1;
}
.mm-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 28px; border-bottom: 1px solid rgba(28,25,23,0.08); }
.mm-brand-en { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; font-style: italic; color: var(--text-dark); letter-spacing: 0.5px; }
.mm-brand-zh { font-size: 0.8rem; font-weight: 500; letter-spacing: 3px; color: var(--text-muted); }
.mm-nav { display: flex; flex-direction: column; gap: 2px; }
.mm-link {
  display: flex; align-items: center; gap: 16px; padding: 18px 14px;
  border-radius: 12px; transition: background .25s var(--ease-out); color: var(--text-dark);
  opacity: 0; transform: translateX(-16px);
}
.mobile-menu.active .mm-link { opacity: 1; transform: translateX(0); }
.mm-link:hover { background: rgba(28,25,23,0.04); }
.mm-link-active { background: rgba(209,91,39,0.07); }
.mm-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); opacity: 0.7; }
.mm-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mm-label { font-family: var(--font-serif); font-size: 0.65rem; font-style: italic; letter-spacing: 1px; color: var(--text-light); }
.mm-title { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.3px; }
.mm-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-light); opacity: 0.4; transition: color .25s, transform .25s; }
.mm-link:hover .mm-arrow { color: var(--accent); opacity: 1; transform: translateX(3px); }
.mm-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; background: var(--text-dark); color: #fff; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.5px;
  transition: all .3s var(--ease-out); opacity: 0; transform: translateY(8px);
}
.mobile-menu.active .mm-cta { opacity: 1; transform: translateY(0); }
.mm-cta:hover { background: var(--accent); }
.mm-cta-icon { width: 18px; height: 18px; }
.mm-footer {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-top: 20px; border-top: 1px solid rgba(28,25,23,0.06); opacity: 0;
}
.mobile-menu.active .mm-footer { opacity: 1; }
.mm-footer a, .mm-footer span { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.5px; }
.mm-footer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); opacity: 0.3; display: inline-block; }

/* ---------- 5. WebGL Container ---------- */
#webgl-container,
.webgl-container {
  position: fixed;
  inset: 0;
  width: 100%; height: 100vh;
  z-index: 2;
  pointer-events: none;
  transition: opacity .6s var(--ease-out);
}

#webgl-container.webgl-dark,
.webgl-dark {
  mix-blend-mode: screen;
}

#webgl-container.webgl-light,
.webgl-light {
  mix-blend-mode: multiply;
}

/* ---------- 6. Hero — .wd-hero ---------- */
.wd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 5vw, 4rem) 4rem;
}

.wd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1%, -1%);
  }
}

/* Multi-layer overlay */
.wd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, .35) 50%, rgba(10, 10, 10, .7) 100%),
    linear-gradient(135deg, rgba(209, 91, 39, .1) 0%, rgba(251, 146, 60, .08) 50%, rgba(15, 25, 35, .12) 100%);
}

.wd-hero-content,
.wd-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  color: #fff;
}

.wd-h1 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.wd-h1-serif {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, .6);
  margin-top: .25rem;
}

.wd-hero-sub,
.wd-hero-desc {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, .75);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wd-hero-desc strong {
  color: var(--accent-light);
  font-weight: 700;
}

.wd-tag-row,
.wd-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.5rem;
}

.wd-tag-pill {
  display: inline-block;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .06);
  transition: background .25s, border-color .25s;
}

.wd-tag-pill:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
}

.wd-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
}

.wd-hero-cta:hover {
  background: #b84e20;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* ---------- 7. Section Utility ---------- */
.wd-section,
.wd-block {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

.wd-light { background: #fff; }
.wd-dark { background: var(--ink-blue, #0f1923); color: #fff; }
.wd-warm { background: var(--ink-warm, #1a1510); color: #fff; }

.wd-section-header,
.wd-section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.wd-section-label,
.wd-counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: .5rem;
}

.wd-counter::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.wd-counter-light { color: var(--accent-light); }
.wd-counter-light::before { background: var(--accent-light); }

.wd-section-title,
.wd-block-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.wd-title-light { color: #fff; }

.wd-en {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.4;
}

.wd-section-desc,
.wd-block-desc {
  font-size: .95rem;
  color: var(--text-muted);
  margin-top: .75rem;
  line-height: 1.7;
  max-width: 500px;
}

.wd-desc-light { color: rgba(255,255,255,0.5); }

.wd-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- 8. Flow Timeline — .wd-flow-timeline ---------- */
.wd-flow-section {
  background: var(--bg-white);
}

.wd-flow-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 60px;
}

/* Vertical connecting line */
.wd-flow-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.flow-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-marker {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-white);
}

.flow-marker-end {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-white);
}

.flow-body {
  flex: 1;
}

.flow-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.flow-body p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.flow-time {
  display: inline-block;
  margin-top: .5rem;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(209, 91, 39, .08);
  border-radius: var(--radius-pill);
}

/* ---------- 9. Design Focus — .wd-focus-grid ---------- */
.wd-focus-section {
  background: var(--ink-blue);
  color: var(--text-invert);
}

.wd-focus-section .wd-section-label {
  color: var(--accent-light);
}

.wd-focus-section .wd-section-desc {
  color: rgba(255, 255, 255, .55);
}

.wd-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.focus-card {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background .3s, border-color .3s;
}

.focus-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
}

.focus-img-wrap {
  flex: 0 0 40%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.focus-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}

.focus-card:hover .focus-img-wrap img {
  transform: scale(1.06);
}

.focus-text,
.focus-content {
  flex: 1;
  padding: 1.25rem 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-light);
  margin-bottom: .5rem;
}

.focus-text h3,
.focus-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.35;
}

.focus-text p,
.focus-content p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}

.focus-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 10. Modules — .wd-modules-grid ---------- */
.wd-modules-section {
  background: var(--bg-white);
}

.wd-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mod-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}

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

.mod-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: .85rem;
  flex-shrink: 0;
}

.mod-icon svg {
  width: 100%;
  height: 100%;
}

.mod-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.mod-card p {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mod-badge {
  display: inline-block;
  margin-top: .65rem;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, .04);
  border-radius: var(--radius-pill);
}

/* ---------- 11. Why Us — .wd-why-grid ---------- */
.wd-why-section {
  background: var(--ink-warm);
  color: var(--text-invert);
}

.wd-why-section .wd-section-label {
  color: var(--accent-light);
}

.wd-why-section .wd-section-desc {
  color: rgba(255, 255, 255, .5);
}

.wd-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.why-item p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65;
}

.why-item a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}

.why-item a:hover {
  color: #fff;
}

/* ---------- 12. Results — .wd-results-grid ---------- */
.wd-results-section {
  background: var(--bg-white);
}

.wd-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.result-card {
  padding: 1.5rem 1rem;
}

.result-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.result-label {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-top: .35rem;
  line-height: 1.5;
}

/* ---------- 13. CTA — .wd-cta-section ---------- */
.wd-cta-section {
  position: relative;
  background: var(--ink-blue, #0f1923);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}

.wd-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.wd-cta-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--accent-light);
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.wd-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all .3s var(--ease-out);
  border: 2px solid var(--accent);
}

.cta-btn-primary:hover {
  background: #b84d20;
  border-color: #b84d20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(209,91,39,0.3);
}

.cta-btn-primary svg { width: 16px; transition: transform .3s; }
.cta-btn-primary:hover svg { transform: translateX(4px); }

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: all .3s var(--ease-out);
}

.cta-btn-secondary:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* Radial glow */
.wd-cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wd-cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.wd-cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .75rem;
}

.wd-cta-desc {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.wd-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.wd-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
}

.wd-cta-primary:hover {
  background: #b84e20;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.wd-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 13px 30px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-pill);
  transition: border-color .25s, background .25s;
}

.wd-cta-secondary:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
}

.wd-cta-links {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wd-cta-links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  transition: color .2s;
}

.wd-cta-links a:hover {
  color: var(--accent-light);
}

/* ============================================
   FOOTER — Controlled by global style.css
   DO NOT add footer rules here.
   ============================================ */

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .wd-focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    flex-direction: column;
  }

  .focus-img-wrap {
    flex: none;
    width: 100%;
  }

  .focus-text {
    padding: 1.25rem;
  }

  .wd-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wd-why-grid {
    grid-template-columns: 1fr;
  }

  .wd-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 16. Responsive — 640px ---------- */
@media (max-width: 640px) {
  :root {
    --nav-h: 56px;
  }

  .wd-hero {
    min-height: 90vh;
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .wd-h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .wd-tag-pill {
    font-size: .72rem;
    padding: 5px 12px;
  }

  .wd-flow-timeline {
    padding-left: 50px;
  }

  .flow-marker,
  .flow-marker-end {
    left: -50px;
    width: 34px;
    height: 34px;
    font-size: .9rem;
  }

  .wd-flow-timeline::before {
    left: 16px;
  }

  .wd-modules-grid {
    grid-template-columns: 1fr;
  }

  .wd-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .result-num {
    font-size: 2.5rem;
  }

  .wd-cta-btns {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- 17. 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;
  }

  .wd-hero-bg img {
    animation: none;
  }

  .mod-card:hover {
    transform: none;
  }

  .wd-hero-cta:hover,
  .wd-cta-primary:hover,
  .nav-cta-btn:hover {
    transform: none;
  }
}

/* ---------- 18. Forced Colors (High Contrast) ---------- */
@media (forced-colors: active) {
  .wd-tag-pill,
  .flow-time,
  .mod-badge {
    border: 1px solid CanvasText;
  }

  .flow-marker,
  .flow-marker-end {
    border: 2px solid CanvasText;
    forced-color-adjust: none;
  }

  .wd-hero-overlay {
    background: rgba(0, 0, 0, .5);
  }

  .nav-cta-btn,
  .wd-hero-cta,
  .wd-cta-primary {
    border: 1px solid ButtonText;
  }

  .focus-card,
  .mod-card {
    border: 1px solid CanvasText;
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid Highlight;
  }
}
