/*
 * Senatove Agency Landing — stylesheet outline
 * --------------------------------------------
 * CSS variables  → :root (palette & spacing)
 * Base           → resets, typography, containers, shared sections
 * Header         → site header & navigation
 * Hero           → hero copy & studio board
 * Components     → buttons, cards, FAQ controls, shared UI
 * Sections       → capabilities, work, process, benefits, testimonials, pricing, CTA, footer
 * Animations     → scroll reveal; disable via HTML classes or main.js (see note below)
 * Responsive     → breakpoints at end of file
 * Reduced motion → prefers-reduced-motion (with Animations block)
 */

/* ---------- CSS variables ---------- */
/* Edit these variables first to customize the template palette and spacing scale. */
:root {
  --bg: #f8f4ed;
  --surface: #fffdf8;
  --surface-muted: #efe7db;
  --text: #24211c;
  --text-muted: #655e54;
  --border: #d9cebe;
  --accent: #4c4734;
  --accent-soft: #e5dccd;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 7px 18px rgba(36, 33, 28, 0.07);
  --shadow-md: 0 16px 34px rgba(36, 33, 28, 0.11);
  --shadow-hover: 0 16px 30px rgba(36, 33, 28, 0.12);
  --shadow-board: 0 24px 48px rgba(36, 33, 28, 0.14), 0 4px 12px rgba(36, 33, 28, 0.06);
  --container: 1180px;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.75rem;
  --space-3xl: 6.25rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0;
  color: var(--text-muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.18;
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-2xl) 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-head {
  margin-bottom: var(--space-xl);
  max-width: 54rem;
}

.section-head h2 {
  max-width: 22ch;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section-head--featured h2 {
  max-width: 26ch;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}

.section-lede {
  margin-top: var(--space-md);
  font-size: 1.0625rem;
  max-width: 38rem;
  line-height: 1.65;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.lead {
  font-size: 1.125rem;
  max-width: 42rem;
}

/* ---------- Components: buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.88rem 1.45rem;
  font-size: 0.97rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.btn:focus-visible,
.faq-question:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(76, 71, 52, 0.22);
}

.btn-primary:hover {
  opacity: 0.97;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(76, 71, 52, 0.28);
}

.btn-secondary {
  border-color: var(--border);
  background: var(--surface);
}

.btn-secondary:hover {
  background: #f8f4ee;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 242, 235, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  position: fixed;
  top: 5.25rem;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
}

.site-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav ul {
  display: grid;
  gap: 0.75rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 1.02rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  width: 1rem;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
}

.header-cta {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--space-3xl);
}

.hero-grid {
  display: grid;
  gap: calc(var(--space-xl) + 0.75rem);
}

.hero-grid > *,
.work-layout > * {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.35rem);
  margin-bottom: var(--space-md);
  max-width: 13ch;
  letter-spacing: -0.03em;
}

.hero-actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.trust-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-list li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Hero: studio board (abstract mockup — see README) */
.studio-board {
  position: relative;
  min-width: 0;
}

.board-shell {
  background: linear-gradient(165deg, #fffdf8 0%, #f3ebe0 55%, #ebe2d4 100%);
  border: 1px solid #cfc4b2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-board);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.board-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 70% 15%, rgba(255, 253, 248, 0.85), transparent 55%);
  pointer-events: none;
}

.board-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.65);
  position: relative;
  z-index: 1;
}

.board-chrome-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.board-chrome-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #c9bfb0;
}

.board-chrome-dots i:nth-child(1) {
  background: #d4a574;
}

.board-chrome-dots i:nth-child(2) {
  background: #b8a894;
}

.board-chrome-title {
  flex: 1;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
}

.board-chip {
  font-size: 0.68rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #c9bfb0;
  background: rgba(255, 253, 248, 0.9);
  color: var(--text-muted);
}

.board-chip--quiet {
  border-style: dashed;
}

.board-canvas {
  position: relative;
  padding: 1.15rem 1.15rem 1.35rem;
  z-index: 1;
}

.board-grid-lines {
  position: absolute;
  inset: 0.75rem;
  border-radius: var(--radius-md);
  background-image:
    linear-gradient(to right, rgba(201, 191, 176, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 191, 176, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
}

.board-stack {
  position: relative;
  min-height: 20rem;
}

.board-layer-back {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  pointer-events: none;
  padding-right: 0.25rem;
}

.board-mini-card {
  width: 42%;
  max-width: 9.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  background: linear-gradient(180deg, #faf6ef, #f0e8dc);
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.board-mini-card--offset {
  transform: rotate(4deg);
  margin-top: 1.5rem;
}

.board-mini-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.board-mini-preview {
  display: grid;
  gap: 0.28rem;
}

.board-line {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #c4b5a0, #dcd2c4);
  opacity: 0.85;
}

.board-line--lg {
  width: 100%;
}

.board-line--md {
  width: 72%;
}

.board-line--sm {
  width: 48%;
}

.board-wire-frame {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.board-wire-frame span {
  flex: 1;
  height: 2rem;
  border: 1px dashed #b8ab9a;
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.5);
}

.board-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fbf8f2;
  padding: 0.95rem;
}

.board-card-main {
  position: absolute;
  inset: 2.25rem 0 2.75rem 0;
  background: linear-gradient(145deg, #fffdf9 0%, #f4ebe1 100%);
  box-shadow: 0 12px 28px rgba(36, 33, 28, 0.1);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.board-browser {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #cfc4b2;
  background: #fffdf8;
}

.board-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: #ebe4d8;
  border-bottom: 1px solid var(--border);
}

.board-browser-bar span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #c4b8a8;
}

.board-browser-bar span:nth-child(1) {
  background: #d4987a;
}

.board-browser-body {
  display: grid;
  grid-template-columns: 22% 1fr;
  min-height: 7.5rem;
}

.board-browser-sidebar {
  border-right: 1px solid #e5dcd0;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: linear-gradient(180deg, #f6f1ea, #faf7f2);
}

.board-pill {
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, #bca894, #d8cfc2);
  opacity: 0.85;
}

.board-pill--short {
  width: 60%;
}

.board-browser-main {
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.board-block--hero {
  height: 2.25rem;
  border-radius: 6px;
  background: linear-gradient(110deg, #4c4734 0%, #7a735f 40%, #c4b29a 100%);
  opacity: 0.92;
  margin-bottom: 0.15rem;
}

.board-strip {
  height: 1.75rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #e0d4c3, #efe7db 60%, #dccfb8);
}

.board-card-meta p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.35rem;
}

.board-card-meta h2 {
  font-size: 1.22rem;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

.board-metric-row {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.board-metric {
  border: 1px solid #cfc2ae;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.76rem;
  color: var(--text);
  background: rgba(255, 253, 248, 0.9);
}

.board-card-top {
  position: absolute;
  top: 0.5rem;
  right: -0.15rem;
  width: 52%;
  transform: rotate(3deg);
  background: linear-gradient(135deg, #f2ece0, #faf6ef);
  z-index: 2;
}

.board-card-top p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.board-card-top h3 {
  font-size: 0.98rem;
}

.board-frag {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.board-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.board-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  width: 58%;
  transform: rotate(-2.5deg);
  background: #faf7f1;
  z-index: 2;
}

.board-card-bottom p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.board-card-bottom h3 {
  font-size: 0.98rem;
}

.board-chip-row {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.35rem;
}

.board-float-metrics {
  position: absolute;
  right: 0.85rem;
  bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 3;
}

.board-float-metrics li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 5.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid #c9bfb0;
  background: rgba(255, 253, 248, 0.95);
  font-size: 0.7rem;
  box-shadow: var(--shadow-sm);
}

.board-metric-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.board-metric-val {
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
}

.board-tags {
  margin: 0;
  padding: 0.85rem 1rem 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.55);
  position: relative;
  z-index: 1;
}

.board-tags li {
  border: 1px solid #cfc2ae;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ---------- Sections: capabilities ---------- */
.section-editorial .capability-card:nth-child(odd) {
  border-left: 3px solid #b8a894;
  padding-left: calc(var(--space-lg) - 2px);
}

.capability-grid {
  display: grid;
  gap: var(--space-md);
}

.capability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cabda8;
}

.capability-index {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  margin-bottom: 0.55rem;
}

.capability-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

/* ---------- Sections: featured work ---------- */
.section-featured {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.work-layout {
  display: grid;
  gap: var(--space-lg);
}

.work-case {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-width: 0;
}

.work-case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cabda8;
}

.case-primary {
  box-shadow: var(--shadow-md);
  padding: calc(var(--space-lg) + 0.25rem);
}

.case-primary .case-visual {
  margin-bottom: 1.35rem;
}

.work-case--large-bottom {
  box-shadow: var(--shadow-md);
  padding: calc(var(--space-lg) + 0.15rem);
}

.project-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.45rem;
}

.work-case h3 {
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.work-case--compact h3,
.work-case--slot-b h3,
.work-case--slot-d h3 {
  font-size: 1.12rem;
}

.work-case--large-bottom h3 {
  font-size: 1.22rem;
}

.work-case p {
  font-size: 1.02rem;
}

.work-case strong {
  display: inline-flex;
  margin-top: 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.38rem 0.72rem;
  font-size: 0.84rem;
  color: var(--text);
  background: #faf8f4;
}

.case-primary strong {
  font-size: 0.88rem;
  padding: 0.42rem 0.85rem;
}

/* Featured work: abstract case mockups (see README) */
.case-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  min-width: 0;
}


.case-mock {
  background: #e8decc;
}

.case-mock--primary {
  height: 21rem;
  background: linear-gradient(155deg, #ebe3d5 0%, #d8cbb8 45%, #c9bca8 100%);
  border: 1px solid #c9bfb0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.case-mock-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 253, 248, 0.5), transparent 50%);
  pointer-events: none;
}

.case-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  background: rgba(36, 33, 28, 0.06);
  border-bottom: 1px solid rgba(36, 33, 28, 0.08);
  position: relative;
  z-index: 1;
}

.case-mock-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #b5a997;
}

.case-mock-dot:nth-child(1) {
  background: #c97b63;
}

.case-mock-url {
  flex: 1;
  height: 6px;
  margin-left: 0.35rem;
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.65);
}

.case-mock-stage {
  display: grid;
  grid-template-columns: 26% 1fr;
  height: calc(100% - 2.1rem);
  position: relative;
  z-index: 1;
}

.case-mock-rail {
  border-right: 1px solid rgba(36, 33, 28, 0.1);
  padding: 0.55rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.35), rgba(232, 222, 204, 0.25));
}

.case-mock-pill {
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #9a8f7e, #c9bfb0);
}

.case-mock-pill--short {
  width: 65%;
}

.case-mock-block {
  margin-top: auto;
  height: 3rem;
  border-radius: 6px;
  border: 1px dashed rgba(76, 71, 52, 0.25);
  background: rgba(255, 253, 248, 0.25);
}

.case-mock-main {
  padding: 0.65rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.case-mock-hero {
  height: 4.5rem;
  border-radius: 8px;
  background: linear-gradient(125deg, #4c4734, #6e6857 50%, #a89882);
  box-shadow: 0 8px 20px rgba(36, 33, 28, 0.18);
}

.case-mock-rows {
  display: grid;
  gap: 0.35rem;
}

.case-mock-line {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(76, 71, 52, 0.35), rgba(212, 200, 182, 0.9));
  width: 78%;
}

.case-mock-line--long {
  width: 92%;
}

.case-mock-line--mid {
  width: 58%;
}

.case-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.case-mock-tile {
  aspect-ratio: 1.15;
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.85), #d4c9b8);
  border: 1px solid rgba(76, 71, 52, 0.12);
}

.case-mock-tile--accent {
  background: linear-gradient(145deg, #5c5445, #8a8274);
  border-color: rgba(36, 33, 28, 0.2);
}

/* Editorial compact mock */
.case-mock--editorial {
  height: 13.5rem;
  background: linear-gradient(180deg, #f4ebe1 0%, #ddd2c3 100%);
  border: 1px solid #c9bfb0;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem;
  gap: 0.55rem;
}

.case-mock-editorial-top {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.case-mock-kicker {
  width: 4rem;
  height: 5px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.55;
}

.case-mock-line--hero {
  height: 10px;
  border-radius: 5px;
  width: 88%;
  background: linear-gradient(90deg, #4c4734, #9a9080);
}

.case-mock-editorial-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 0.5rem;
  min-height: 0;
}

.case-mock-column {
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.35);
  border: 1px solid rgba(76, 71, 52, 0.1);
}

.case-mock-column--wide {
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 253, 248, 0.5);
}

.case-mock-column--wide .case-mock-line {
  width: 100%;
}

.case-mock-column--wide .case-mock-line--short {
  width: 55%;
}

.case-mock-media {
  height: 3.25rem;
  border-radius: 6px;
  background: linear-gradient(110deg, #cdbfa8, #e8dfd2);
  margin: 0.15rem 0;
}

/* Funnel mock */
.case-mock--funnel {
  height: 13.5rem;
  background: linear-gradient(145deg, #efe8dc, #d9cec0);
  border: 1px solid #c9bfb0;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.case-mock-funnel-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.case-mock-step {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid #b8ab9a;
  background: rgba(255, 253, 248, 0.6);
}

.case-mock-step--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.case-mock-funnel-panel {
  flex: 1;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(76, 71, 52, 0.12);
  background: rgba(255, 253, 248, 0.45);
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.case-mock-funnel-split {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: auto;
}

.case-mock-cta {
  flex: 1;
  height: 1.75rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #5c5445, #3d392e);
}

.case-mock-note {
  width: 3.5rem;
  height: 5px;
  border-radius: 4px;
  background: #b8ab9a;
  opacity: 0.7;
}

.case-mock--funnel.case-mock--funnel-tall {
  height: auto;
  min-height: 15.5rem;
}

@media (min-width: 760px) {
  .case-mock--funnel.case-mock--funnel-tall {
    min-height: 18.5rem;
  }
}

/* Compact launch mock (featured grid slot) */
.case-mock--launch {
  height: 13.5rem;
  background: linear-gradient(160deg, #eee6dc, #d9cfc2);
  border: 1px solid #c9bfb0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-mock-launch-bar {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  background: rgba(36, 33, 28, 0.06);
  border-bottom: 1px solid rgba(36, 33, 28, 0.08);
}

.case-mock-launch-bar span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #b5a997;
}

.case-mock-launch-bar span:first-child {
  background: #c97b63;
}

.case-mock-launch-body {
  flex: 1;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.case-mock-launch-hero {
  height: 3.35rem;
  border-radius: 8px;
  background: linear-gradient(120deg, #5c5448, #9a9082);
  box-shadow: 0 6px 14px rgba(36, 33, 28, 0.12);
}

.case-mock-launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

/* Components: cards, quotes, pricing tiles */
.cards {
  display: grid;
  gap: var(--space-md);
}

.card,
.project-card,
.step-card,
.quote-card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card h3,
.project-card h3,
.step-card h3,
.price-card h3 {
  margin-bottom: 0.55rem;
}

.icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.cards article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cabda8;
}

.project-visual {
  border-radius: var(--radius-sm);
  height: 11rem;
  background: linear-gradient(145deg, #ece3d7, #e0d4c3);
  margin-bottom: 1rem;
}

.project-card strong {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--text);
}

.workflow-line {
  display: grid;
  gap: 0.85rem;
}

.workflow-step {
  padding: 1rem 1.05rem;
  position: relative;
}

.workflow-step h3 {
  margin-bottom: 0.35rem;
}

.step-number {
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* Sections: process */
.section-process-line .workflow-step {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-left: 2px solid #c9bfb0;
  padding: 0.85rem 0 0.85rem 1.15rem;
}

.section-process-line .workflow-step::after {
  background: #b8a894;
}

/* Sections: benefits */
.benefits-editorial {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.benefit-row {
  padding: var(--space-lg) calc(var(--space-lg) + 0.15rem);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.benefit-row:last-child {
  border-bottom: 0;
}

.benefit-row:hover {
  background: rgba(248, 244, 237, 0.55);
}

.benefit-row h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

/* Sections: testimonials */
.quote-card p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.9rem;
  line-height: 1.55;
}

.quote-card cite {
  font-style: normal;
  color: var(--text-muted);
}

/* Sections: pricing */
.price {
  font-size: 1.65rem;
  color: var(--text);
  margin: 0.35rem 0 0.55rem;
}

.price-card ul {
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.price-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #b8ac9a;
}

.price-card.featured {
  box-shadow: var(--shadow-md);
  border-color: #baa98f;
  background: #f6f0e5;
}

.package-badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #c4b59f;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.58rem;
  margin-bottom: 0.45rem;
}

/* Components: FAQ accordion */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #cabda8;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.faq-question-text {
  flex: 1;
  min-width: 0;
}

/* Plus when closed, minus when open (vertical bar fades out) */
.faq-toggle-icon {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
}

.faq-toggle-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
}

.faq-toggle-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item.open .faq-toggle-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.1rem 1rem;
}

.faq-item.open .faq-answer {
  max-height: 18rem;
}

/* Sections: final CTA */
.final-cta .container {
  max-width: min(100% - 2rem, 52rem);
}

.final-cta-inner {
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, #f6f0e6 100%);
  border: 1px solid #c9bfb0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.final-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 253, 248, 0.95), transparent 65%);
  pointer-events: none;
}

.final-cta-inner > * {
  position: relative;
  z-index: 1;
}

.final-cta-inner h2 {
  margin-inline: auto;
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.final-cta-lede {
  margin: var(--space-md) auto 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: calc(var(--space-lg) + 0.25rem);
}

/* Sections: footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}

.footer-grid nav ul,
.footer-social {
  display: grid;
  gap: 0.5rem;
}

.footer-grid a {
  color: var(--text-muted);
}

.footer-grid a:hover {
  color: var(--text);
}

/* Prevent background scroll while mobile menu is open */
body.nav-open {
  overflow: hidden;
}

/* ---------- Marquee (decorative strip; pure CSS) ---------- */
.marquee-section--agency {
  border-block: 1px solid #d4c9b5;
  background: linear-gradient(90deg, #f6f0e3 0%, #faf6ee 50%, #f2eadc 100%);
  padding: 0.65rem 0;
  overflow: hidden;
}

.marquee-mask {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-agency 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  padding-right: 2.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4436;
  white-space: nowrap;
}

.marquee-sep {
  color: #9a8d78;
  font-weight: 500;
  padding: 0 0.15rem;
}

.marquee-section--agency:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-agency {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Animations: scroll reveal ---------- */
/* To disable: remove .reveal / .reveal-up / .reveal-scale / .reveal-soft / .parallax-soft from HTML, or comment out the reveal block in assets/js/main.js */
.reveal,
.reveal-up,
.reveal-scale,
.reveal-soft {
  opacity: 1;
  transform: none;
}

.js-enhanced .reveal,
.js-enhanced .reveal-up,
.js-enhanced .reveal-scale,
.js-enhanced .reveal-soft {
  opacity: 0;
}

.js-enhanced .reveal-up {
  transform: translateY(20px);
}

.js-enhanced .reveal-soft {
  transform: translateY(16px);
}

.js-enhanced .reveal-scale {
  transform: scale(0.98);
}

.js-enhanced .is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-up,
  .reveal-scale,
  .reveal-soft,
  .marquee-track {
    opacity: 1 !important;
    transform: none !important;
  }
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0 2rem;
  margin-top: 2rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .section-head {
    margin-bottom: calc(var(--space-xl) + 0.35rem);
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-template-areas:
      "a a b"
      "a a b"
      "c c d"
      "c c d";
    gap: var(--space-md);
    align-items: stretch;
  }

  .work-case--slot-a {
    grid-area: a;
  }

  .work-case--slot-b {
    grid-area: b;
  }

  .work-case--slot-c {
    grid-area: c;
  }

  .work-case--slot-d {
    grid-area: d;
  }

  .work-case--slot-b,
  .work-case--slot-d {
    padding: var(--space-md) var(--space-lg);
  }

  .workflow-line {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workflow-step::after {
    content: "";
    position: absolute;
    right: -0.55rem;
    top: 50%;
    width: 0.95rem;
    height: 1px;
    background: #cdbfa8;
  }

  .workflow-step:last-child::after {
    display: none;
  }

  .cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.7fr;
    align-items: start;
  }

  .benefits-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-row:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .benefit-row:nth-child(1),
  .benefit-row:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .benefit-row:nth-child(3),
  .benefit-row:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 759px) {
  .board-float-metrics {
    display: none;
  }

  .board-layer-back {
    opacity: 0.85;
  }

  .case-mock--primary {
    height: 18rem;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .site-nav {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.35rem;
  }

  .site-nav a {
    font-size: 0.94rem;
    position: relative;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 1px;
    background: var(--text);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }

  .cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}
