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

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --linen: #F6EFE0;
  --ink: #2B2620;
  --deep-ink: #2B2620;
  --ink-2: #2B2620;
  --butternut: #C8541E;
  --butternut-hover: #C8541E;
  --sage: #7D8B6F;
  --linen-80: rgba(246, 239, 224, 0.80);
  --linen-60: rgba(246, 239, 224, 0.60);
  --linen-40: rgba(246, 239, 224, 0.40);
  --linen-20: rgba(246, 239, 224, 0.20);
  --linen-10: rgba(246, 239, 224, 0.10);
  --linen-05: rgba(246, 239, 224, 0.05);

  /* Typography */
  --font-primary: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 160px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.25s;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  background: var(--deep-ink);
  color: var(--linen);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed; left: var(--sp-4); top: var(--sp-4); z-index: 1000;
  padding: 10px 14px; background: var(--butternut); color: var(--linen);
  font: 600 .75rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
  transform: translateY(-160%); transition: transform var(--duration);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--butternut); outline-offset: 3px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-5); }

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 23, 20, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--linen-05);
}

nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem;
}

/* Lockup ships in two tones (-light.png = linen wordmark, for dark bars).
   Each page references the variant that suits its shell. */
.nav-logo img { height: 26px; width: auto; }

/* Descriptor beside the lockup. Inherits the shell's logo colour so it
   works on both the dark and light nav bars. */
.nav-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.68rem/1 var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  opacity: 0.6;
}
.nav-tag::before {
  content: ''; width: 1px; height: 16px;
  background: currentColor; opacity: 0.5;
}

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

.nav-links a {
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40); transition: color var(--duration);
}
.nav-links a:hover, .nav-links a.active { color: var(--linen); }

.nav-cta {
  background: var(--linen-10);
  color: var(--linen) !important;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background var(--duration);
}
.nav-cta:hover { background: var(--linen-20); }

.nav-toggle {
  display: none;
  background: none; border: none; color: var(--linen);
  cursor: pointer; padding: 4px;
}

/* ===== LABEL (mono tag above sections) ===== */
.label {
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--butternut);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 var(--sp-9);
  overflow: hidden;
}

/* Living network canvas — spans the whole hero */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Atmosphere: warm glow behind the phone, faint sage counter-glow, grain */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 480px at 50% 46%, rgba(26, 23, 20, 0.78), transparent 72%),
    radial-gradient(560px 480px at 84% 18%, rgba(200, 84, 30, 0.15), transparent 65%),
    radial-gradient(480px 420px at 8% 88%, rgba(125, 139, 111, 0.09), transparent 60%);
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

.hero-stage {
  position: relative;
  width: 100%;
}

.hero-center {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  text-align: center;
}

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--butternut);
  flex-shrink: 0;
  animation: pulse-dot 2s var(--ease) infinite;
}

.live-dot.sage { background: var(--sage); }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 84, 30, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(200, 84, 30, 0); }}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* Staggered word entrance */
.hero h1 .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: word-rise 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }}

.hero h1 .accent {
  color: var(--butternut);
  position: relative;
}

/* Underline draws in after the words land */
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.09em;
  background: var(--butternut);
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-draw 0.6s var(--ease) 0.9s forwards;
}

@keyframes underline-draw {
  to { transform: scaleX(1); }}

.hero-sub {
  font-size: 1.12rem;
  color: var(--linen-60);
  max-width: 520px;
  line-height: 1.65;
  margin: var(--sp-5) auto 0;
}

.hero-ctas {
  display: flex; gap: var(--sp-4); flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-6);
} .hero-sub, .hero-ctas{
  opacity: 0;
  animation: fade-up 0.8s var(--ease) forwards;
}
.hero-sub { animation-delay: 0.55s; }
.hero-ctas { animation-delay: 0.75s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }}

/* ===== HERO FLOATING PANELS ===== */
.hero-panel {
  position: absolute;
  z-index: 2;
  opacity: 0;
  animation: panel-fade 1s var(--ease) forwards;
  will-change: transform;
}

@keyframes panel-fade { to { opacity: 1; }}

.panel-chat { top: 8%; right: clamp(8px, 3.5vw, 72px); width: 288px; animation-delay: 0.9s; }
.panel-ops { bottom: 12%; left: clamp(8px, 3.5vw, 72px); width: 258px; animation-delay: 1.15s; }
.panel-toast { bottom: 14%; right: clamp(16px, 5vw, 96px); animation-delay: 1.4s; }

/* Inner wrapper carries the idle bob so JS parallax can own the outer transform */
.panel-inner { animation: panel-bob 8s ease-in-out infinite; }
.panel-ops .panel-inner { animation-duration: 9.5s; animation-delay: 1.2s; }

@keyframes panel-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }}

.chat-card {
  background: rgba(20, 17, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--linen-10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 64px rgba(200, 84, 30, 0.08);
}

.chat-top {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--linen-05);
  border-bottom: 1px solid var(--linen-05);
}

.chat-top img {
  width: 30px; height: 30px;
  border-radius: 50%; object-fit: cover;
}

.chat-id { flex: 1; min-width: 0; }

.chat-id strong {
  display: block;
  font-size: 0.84rem; font-weight: 700;
  line-height: 1.2;
}

.chat-id span {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 0.58rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--linen-40);
  margin-top: 2px;
}

.online-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.chat-id em { font-style: normal; }

/* Agent identity swap between scenarios */
.chat-top img, .chat-top .chat-id { transition: opacity 0.35s ease; }
.chat-top.swap img, .chat-top.swap .chat-id { opacity: 0; }

.scenario-dots {
  display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
}

.scenario-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--linen-20);
  transition: background var(--duration), transform var(--duration);
}

.scenario-dots i.active {
  background: var(--butternut);
  transform: scale(1.35);
}

/* Voice note bubbles */
.msg.voice {
  display: flex; align-items: center; gap: 9px;
  min-width: 170px;
}

.voice-play {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--linen-10);
  display: flex; align-items: center; justify-content: center;
  color: var(--linen-80);
}

.voice-play svg { width: 10px; height: 10px; }

.wave {
  display: flex; align-items: center; gap: 2px;
  height: 22px; flex: 1;
  color: var(--linen-60);
}

.wave i {
  width: 2.5px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.wave.playing i {
  animation: wave-eq 0.7s ease-in-out infinite alternate;
  animation-delay: var(--wd, 0s);
}

@keyframes wave-eq {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1.3); }}

.voice-dur {
  font-family: var(--font-mono); font-size: 0.58rem;
  color: var(--linen-40);
  flex-shrink: 0;
}

/* Gen UI chart bubbles */
.msg.card {
  max-width: 94%;
  width: 94%;
  align-self: flex-start;
  background: var(--ink);
  border-bottom-left-radius: 4px;
  padding: 10px 12px 12px;
}

.chart-title {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.56rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40);
  margin-bottom: 9px;
}

.bar-row {
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  align-items: center; gap: 8px;
  margin: 6px 0;
  font-family: var(--font-mono); font-size: 0.6rem;
}

.bar-label {
  color: var(--linen-60);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.bar-track {
  height: 8px;
  background: var(--linen-05);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--sage);
  transition: width 1.1s var(--ease) 0.15s;
}

.bar-fill.hot { background: var(--butternut); }

.bar-val { color: var(--linen-60); text-align: right; }
.bar-val.hot { color: var(--butternut); }

.msg.card.grown .bar-fill { width: var(--w); }

/* Sparkline chart */
.spark {
  display: block;
  width: 100%; height: 62px;
  margin: 2px 0;
}

.spark-area {
  fill: rgba(200, 84, 30, 0.14);
  opacity: 0;
  transition: opacity 0.9s ease 0.9s;
}

.spark-line {
  fill: none;
  stroke: var(--butternut);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  transition: stroke-dashoffset 1.5s var(--ease) 0.15s;
}

.msg.card.grown .spark-line { stroke-dashoffset: 0; }
.msg.card.grown .spark-area { opacity: 1; }

.kpi-row {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 9px;
}

.kpi {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.02em;
  color: var(--linen-60);
  border: 1px solid var(--linen-10);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
}

.kpi b { color: var(--sage); font-weight: 600; }

/* Toast notifications */
#toastStack {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-height: 44px;
}

.toast {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26, 23, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--linen-10);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--linen-80);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.5s var(--ease);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast .tcheck { color: var(--sage); }

.toast.leaving { opacity: 0; transform: translateY(-8px); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  z-index: 3;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--linen-10);
  border-radius: 50%;
  color: var(--linen-40);
  animation: scroll-bounce 2.6s ease-in-out infinite;
  transition: color var(--duration), border-color var(--duration);
}

.hero-scroll:hover { color: var(--linen); border-color: var(--linen-40); }

@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }}

.chat {
  height: 296px;
  padding: 12px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
}

.chat-day {
  align-self: center;
  font-family: var(--font-mono); font-size: 0.58rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--linen-40);
  background: var(--linen-05);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}

.msg {
  max-width: 84%;
  padding: 8px 11px;
  border-radius: 13px;
  font-size: 0.78rem;
  line-height: 1.45;
  animation: msg-pop 0.45s var(--ease);
}

@keyframes msg-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }}

/* Amani (the business, left) */
.msg.in {
  align-self: flex-start;
  background: var(--ink);
  border-bottom-left-radius: 4px;
}

/* Customer (right, WhatsApp green) */
.msg.out {
  align-self: flex-end;
  background: var(--sage);
  border-bottom-right-radius: 4px;
}

.msg-meta {
  display: flex; align-items: center; gap: 4px;
  justify-content: flex-end;
  font-size: 0.6rem;
  color: var(--linen-40);
  margin-top: 3px;
  font-family: var(--font-mono);
}

.msg-meta .ticks { color: var(--sage); letter-spacing: -0.12em; }

.msg.sys {
  align-self: center;
  max-width: 92%;
  background: transparent;
  border: 1px dashed rgba(125, 139, 111, 0.4);
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 7px 12px;
}

/* Typing indicator */
.typing-dots {
  display: inline-flex; gap: 4px;
  padding: 3px 2px;
}

.typing-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--linen-40);
  animation: typing-bounce 1.2s infinite;
}

.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }}

/* Streaming text caret (chat bubbles + hero ticker) */
.msg .caret{
  display: inline-block;
  width: 2px; height: 0.9em;
  background: var(--linen-60);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: caret-blink 0.8s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; }}

.chat.fading .msg, .chat.fading .chat-day {
  transition: opacity 0.5s ease;
  opacity: 0;
}

/* Ops feed card */
.ops-card {
  background: rgba(26, 23, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--linen-10);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.ops-head {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--linen-60);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--linen-05);
  margin-bottom: 10px;
}

.ops-lines {
  display: flex; flex-direction: column; gap: 8px;
  height: 118px;
  overflow: hidden;
}

.ops-line {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-mono); font-size: 0.64rem;
  line-height: 1.4;
  animation: ops-line-in 0.4s var(--ease);
}

@keyframes ops-line-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }}

.ops-line .ops-agent { color: var(--butternut); flex-shrink: 0; }
.ops-line .ops-action { color: var(--linen-60); flex: 1; }
.ops-line .ops-time { color: var(--linen-20); flex-shrink: 0; font-size: 0.58rem; }

.ops-line:nth-child(4) { opacity: 0.55; }
.ops-line:nth-child(5) { opacity: 0.3; }

/* ===== SCROLL REVEALS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--rd, 0s);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hw, .hero-sub, .hero-ctas, .hero-panel {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero h1 .accent::after { animation: none; transform: scaleX(1); }
  .panel-inner, .hero-scroll, .live-dot, .toast,
  .msg .caret, .wave i { animation: none; }
  .bar-fill, .spark-line, .spark-area { transition: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-shell .section-head::after { transform: scaleX(1); transition: none; }
  .home-shell .section-head[data-reveal] h2 { opacity: 1; transform: none; filter: none; transition: none; }
  .offer-item::before, .offer-item h3, .process-item::before,
  .offer-more span, .agent-pill,
  .work-name, .work-arrow { transition: none; }
}

/* ===== SECTION HEADERS ===== */
.section-head {
  margin-bottom: var(--sp-8);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: var(--sp-3);
}

.section-head p {
  font-size: 1.05rem;
  color: var(--linen-60);
  max-width: 520px;
  line-height: 1.65;
  margin-top: var(--sp-4);
}

/* ===== WORK SECTION (homepage case studies) ===== */
.work-section {
  padding: var(--sp-9) 0;
  border-top: 1px solid var(--linen-05);
}

/* Individual project block */
.project {
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--linen-05);
}

.project:last-child { border-bottom: none; }

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-7);
  margin-bottom: var(--sp-6);
}

.project-info { flex: 1; }

.project-tags {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.project-tag {
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40);
  background: var(--linen-05);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.project-name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: 1rem;
  color: var(--linen-60);
  max-width: 560px;
  line-height: 1.65;
  margin-top: var(--sp-3);
}

.project-metrics {
  display: flex;
  gap: var(--sp-7);
  flex-shrink: 0;
}

.metric { text-align: right; }

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--butternut);
  line-height: 1;
}

.metric-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40);
  margin-top: 4px;
}

/* Agent roster on projects */
.project-agents {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.agent-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--linen-05);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 5px;
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) {
  .agent-pill:hover { transform: translateY(-3px) rotate(-1.5deg); }
}

.agent-pill img {
  width: 24px; height: 24px;
  border-radius: 50%; object-fit: cover;
}

.agent-pill .agent-initial {
  width: 24px; height: 24px;
  background: var(--linen-10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.65rem;
  font-weight: 600; color: var(--butternut);
}

.agent-pill span:last-child {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--butternut);
  margin-top: var(--sp-5);
  transition: gap var(--duration) var(--ease);
}

.project-link:hover { gap: 12px; }
.project-link svg { width: 14px; height: 14px; }

/* ===== INLINE CTA (between sections) ===== */
.inline-cta {
  padding: var(--sp-9) 0;
  text-align: center;
}

.inline-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.inline-cta p {
  font-size: 1rem;
  color: var(--linen-60);
  margin-top: var(--sp-3);
}

.inline-cta .cta-row {
  display: flex; gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary); font-weight: 600;
  font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--butternut); color: var(--linen);
}
.btn-primary:hover { background: var(--butternut-hover); }

.btn-outline {
  background: transparent; color: var(--linen);
  border: 1px solid var(--linen-20);
}
.btn-outline:hover { border-color: var(--linen-40); background: var(--linen-05); }

.btn-wa {
  background: var(--butternut); color: var(--linen);
}
.btn-wa:hover { background: var(--sage); }

.btn-text {
  background: none; color: var(--butternut);
  padding: 0; font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.btn-text:hover { gap: 12px; }

/* ===== PROCESS ===== */
.process-section { padding: var(--sp-9) 0; }

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6); margin-top: var(--sp-7);
  counter-reset: step;
}

.process-item {
  counter-increment: step;
  position: relative;
  padding-top: var(--sp-7);
}

.process-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0;
  font-family: var(--font-mono); font-size: 1.6rem;
  font-weight: 700; color: var(--butternut);
  opacity: 0.25;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

@media (hover: hover) {
  .process-item:hover::before { transform: translateX(6px); opacity: 0.6; }
}

.process-item h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: var(--sp-2);
}

.process-item p {
  font-size: 0.85rem; color: var(--linen-60);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  padding: var(--sp-9) 0;
  border-top: 1px solid var(--linen-05);
}

.faq-list { max-width: 720px; margin-top: var(--sp-7); }

.faq-item { border-bottom: 1px solid var(--linen-05); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) 0;
  font-size: 1.05rem; font-weight: 600;
  color: var(--linen);
  cursor: pointer; list-style: none;
  transition: color var(--duration);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono); font-size: 1.3rem;
  font-weight: 400; color: var(--butternut);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0; margin-left: var(--sp-4);
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--butternut); }

.faq-answer {
  padding: 0 0 var(--sp-5);
  font-size: 0.95rem; color: var(--linen-60);
  line-height: 1.7; max-width: 640px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--linen-05);
  padding: var(--sp-6) 0;
}

.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem;
}

.footer-left img { height: 22px; width: auto; }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--linen-40); transition: color var(--duration);
}
.footer-links a:hover { color: var(--linen); }

.footer-right {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--linen-40); text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: all 0.4s var(--ease);
}

.sticky-cta.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

.sticky-cta a {
  display: flex; align-items: center; gap: 8px;
  background: #C8541E; color: #F6EFE0;
  padding: 11px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-primary); font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform var(--duration) var(--ease);
}

.sticky-cta a:hover { transform: translateY(-2px); }
.sticky-cta svg { width: 16px; height: 16px; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  padding: 130px 0 var(--sp-8);
  border-bottom: 1px solid var(--linen-05);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.05rem; color: var(--linen-60);
  max-width: 520px; line-height: 1.65;
  margin-top: var(--sp-4);
}

.breadcrumb {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40); margin-bottom: var(--sp-5);
}

.breadcrumb a { color: var(--linen-40); transition: color var(--duration); }
.breadcrumb a:hover { color: var(--linen); }
.breadcrumb span { margin: 0 8px; }

/* ===== CASE STUDY DETAIL ===== */
.case-hero {
  padding: 130px 0 var(--sp-8);
  border-bottom: 1px solid var(--linen-05);
}

.case-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
}

.case-hero p {
  font-size: 1.05rem; color: var(--linen-60);
  max-width: 640px; line-height: 1.65;
  margin-top: var(--sp-4);
}

.case-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5); padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--linen-05);
}

.case-stat { }

.case-stat-value {
  font-size: 1.8rem; font-weight: 800;
  color: var(--butternut); line-height: 1;
}

.case-stat-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40); margin-top: 4px;
}

.case-body {
  padding: var(--sp-8) 0;
  max-width: 720px;
}

.case-body h2 {
  font-size: 1.4rem; font-weight: 800;
  margin-top: var(--sp-8); margin-bottom: var(--sp-4);
}

.case-body h2:first-child { margin-top: 0; }

.case-body p {
  font-size: 0.95rem; color: var(--linen-60);
  line-height: 1.75; margin-bottom: var(--sp-4);
}

.case-body ul {
  list-style: none; padding: 0; margin-bottom: var(--sp-5);
}

.case-body li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.95rem; color: var(--linen-60);
  line-height: 1.6;
}

.case-body li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px;
  background: var(--butternut);
  border-radius: 50%;
}

/* Agent grid in case studies */
.agent-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3); margin: var(--sp-5) 0;
}

.agent-card {
  background: var(--linen-05);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-3);
}

.agent-card img {
  width: 36px; height: 36px;
  border-radius: 50%; object-fit: cover;
}

.agent-card .agent-info h4 { font-size: 0.85rem; font-weight: 700; }
.agent-card .agent-info p {
  font-size: 0.7rem; color: var(--linen-40);
  margin: 0; font-family: var(--font-mono);
}

/* ===== SERVICES PAGE ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5); margin-top: var(--sp-7);
}

.service-card {
  background: var(--linen-05);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  transition: background var(--duration);
}

.service-card:hover { background: var(--linen-10); }

.service-card h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: var(--sp-2);
}

.service-card p {
  font-size: 0.9rem; color: var(--linen-60);
  line-height: 1.6;
}

.service-card .project-link { margin-top: var(--sp-3); }

/* Pricing cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5); margin-top: var(--sp-7);
  max-width: 720px;
}

.price-card {
  background: var(--linen-05);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
}

.price-card.featured { border: 1px solid var(--butternut); }

.price-card h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: var(--sp-3);
}

.price-value {
  font-size: 2rem; font-weight: 800;
  color: var(--butternut); line-height: 1;
}

.price-detail {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--linen-40); margin-top: 4px;
  margin-bottom: var(--sp-4);
}

.price-list { list-style: none; padding: 0; }
.price-list li {
  padding: 5px 0;
  font-size: 0.85rem; color: var(--linen-60);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5); margin-top: var(--sp-7);
  max-width: 720px;
}

.contact-card {
  background: var(--linen-05);
  border-radius: var(--radius-md);
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
  transition: background var(--duration);
}

.contact-card:hover { background: var(--linen-10); }

.contact-icon {
  width: 48px; height: 48px;
  background: var(--linen-10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4); color: var(--butternut);
}

.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-2); }
.contact-card p {
  font-size: 0.85rem; color: var(--linen-60);
  line-height: 1.6; margin-bottom: var(--sp-4);
}

/* ===== ARTICLE PAGES ===== */
.article-body {
  padding: var(--sp-8) 0;
  max-width: 720px;
}

.article-body h2 {
  font-size: 1.4rem; font-weight: 800;
  margin-top: var(--sp-8); margin-bottom: var(--sp-4);
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-top: var(--sp-6); margin-bottom: var(--sp-3);
}

.article-body p {
  font-size: 0.95rem; color: var(--linen-60);
  line-height: 1.75; margin-bottom: var(--sp-4);
}

.article-body ul, .article-body ol {
  list-style: none; padding: 0; margin-bottom: var(--sp-5);
}

.article-body li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.95rem; color: var(--linen-60);
  line-height: 1.6;
}

.article-body li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px;
  background: var(--butternut);
  border-radius: 50%;
}

.article-body strong { color: var(--linen); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
  .hero-center { max-width: 660px; }
  .panel-chat { width: 264px; }
  .panel-ops { width: 240px; }
}

@media (max-width: 1024px) {
  /* Panels leave orbit and stack below the center copy */
  .hero { min-height: auto; padding: 110px 0 var(--sp-8); }
  .hero-stage { display: flex; flex-direction: column; align-items: center; }
  .hero-panel {
    position: static;
    opacity: 1;
    animation: none;
    transform: none !important;
  }
  .panel-chat { order: 2; width: min(340px, calc(100vw - 48px)); margin-top: var(--sp-7); }
  .panel-ops { order: 3; width: min(340px, calc(100vw - 48px)); margin-top: var(--sp-5); }
  .panel-toast { display: none; }
  .hero-scroll { display: none; }}

@media (max-width: 900px) {
  .project-header { flex-direction: column; gap: var(--sp-5); }
  .project-metrics { justify-content: flex-start; gap: var(--sp-6); }
  .metric { text-align: left; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .case-stats-bar { grid-template-columns: repeat(2, 1fr); }

  .nav-links {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(43, 38, 32, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--linen-05);
    padding: var(--sp-2) 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: var(--sp-3) var(--sp-5); }
  .nav-links .nav-cta {
    margin: var(--sp-2) var(--sp-5) var(--sp-3);
    text-align: center; display: block;
  }
  .nav-toggle { display: block; }
  .footer-links { display: none; }}

/* Chat contrast pass: the conversation is the product, so it must read first. */
.home-shell .chat { background: #F6EFE0; color: #2B2620; }
.home-shell .chat-day { color: #2B2620; background: rgba(43, 38, 32, .10); }
.home-shell .msg.in,
.home-shell .msg.card { background: #F6EFE0; color: #2B2620; box-shadow: 0 1px 0 rgba(43, 38, 32, .14); }
.home-shell .msg.out { background: #7D8B6F; color: #F6EFE0; }
.home-shell .msg-meta { color: rgba(43, 38, 32, .62); font-weight: 500; }
.home-shell .msg.out .msg-meta { color: rgba(246, 239, 224, .78); }
.home-shell .msg-meta .ticks { color: #2B2620; }
.home-shell .chart-title { color: #2B2620; font-weight: 600; }
.home-shell .bar-label, .home-shell .bar-val { color: rgba(43, 38, 32, .75); }
.home-shell .bar-track { background: rgba(43, 38, 32, .16); }
.home-shell .bar-fill { background: #7D8B6F; }
.home-shell .bar-fill.hot { background: #C8541E; }
.home-shell .bar-val.hot { color: #C8541E; font-weight: 700; }
.home-shell .kpi { color: #2B2620; border-color: rgba(43, 38, 32, .2); background: rgba(125, 139, 111, .10); }
.home-shell .kpi b { color: #7D8B6F; }
.home-shell .voice-play { background: #7D8B6F; color: #F6EFE0; }
.home-shell .wave { color: #7D8B6F; }.home-shell .voice-dur { color: rgba(43, 38, 32, .6); }

@media (max-width: 600px) {
  .nav-tag { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero { padding: 100px 0 var(--sp-8); }
  .chat { height: 310px; }
  .process-grid { grid-template-columns: 1fr; }
  .case-stats-bar { grid-template-columns: 1fr 1fr; }
  .project-metrics { flex-wrap: wrap; gap: var(--sp-5); }
  .inline-cta .cta-row { flex-direction: column; align-items: center; }
  .inline-cta .cta-row .btn { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; gap: var(--sp-4); text-align: center; }
  .agent-grid { grid-template-columns: 1fr; }
  .sticky-cta { bottom: 16px; right: 16px; }
  .sticky-cta a { padding: 10px 18px; font-size: 0.8rem; }}

/* ===== EDITION 02: THE STAMPED SYSTEM =====
   A complete editorial reset for the Batanat homepage. */
.home-shell { background: #F6EFE0; color: #2B2620; }
.home-shell nav {
  background: rgba(246, 239, 224, .88);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration), background var(--duration);
}
.home-shell nav.scrolled { border-bottom-color: rgba(43, 38, 32, .18); }
.home-shell .nav-logo { color: #2B2620; }
.home-shell .nav-toggle { color: #2B2620; }
.home-shell .nav-links a { color: rgba(43, 38, 32, .65); }
.home-shell .nav-links a:hover { color: #C8541E; }
.home-shell .nav-cta { background: #2B2620; color: #F6EFE0 !important; border-radius: 0; padding: 9px 15px; }
.home-shell .nav-cta:hover { background: #C8541E; }

.home-shell .hero {
  min-height: 810px; padding: 60px 0 0; overflow: hidden;
  background: #F6EFE0; color: #2B2620; border-bottom: 1px solid #2B2620;
}
.home-shell .hero-paper { position: absolute; inset: 0; pointer-events: none; opacity: .45; background-image: linear-gradient(rgba(43,38,32,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(43,38,32,.07) 1px, transparent 1px); background-size: 25% 100%, 100% 160px; }
.home-shell .hero-paper::before { display: none; }
.home-shell .hero-paper::after { content: ''; position: absolute; width: 52vw; height: 52vw; right: -17vw; bottom: -26vw; border-radius: 50%; background: #7D8B6F; opacity: .18; }
.home-shell .hero-bg, .home-shell .hero-grid, .home-shell .hero-orbit, .home-shell .hero-canvas { display: none; }
.home-shell .hero-stage { width: min(1280px, 100%); min-height: 750px; margin: 0 auto; display: grid; grid-template-columns: 51% 49%; align-items: stretch; }
.home-shell .hero-center { grid-column: 1; align-self: center; max-width: none; margin: 0; padding: 64px clamp(24px, 6vw, 90px); text-align: left; z-index: 2; }
.home-shell .live-dot { width: 8px; height: 8px; background: #C8541E; box-shadow: none; animation: pulse-dot 2s var(--ease) infinite; }
.home-shell .hero h1 { max-width: 630px; margin: 0; color: #2B2620; font-size: min(8.6vw, 6.9rem); line-height: .82; letter-spacing: -.075em; }
/* Fixed three-line lockup: "We make" / "AI work" / "for your business." never reflows */
.home-shell .hero h1 .hw { display: block; white-space: nowrap; }
.home-shell .hero h1 .accent { color: #C8541E; background: none; -webkit-text-fill-color: initial; font-style: italic; }
.home-shell .hero h1 .accent::after { display: none; }
.home-shell .hero-sub { max-width: 480px; margin: 36px 0 0; color: rgba(43,38,32,.78); font-size: 1.08rem; line-height: 1.52; }
.home-shell .hero-ctas { justify-content: flex-start; margin-top: 30px; gap: 12px; }
.home-shell .btn { border-radius: 0; padding: 13px 19px; }
.home-shell .btn-wa { background: #C8541E; color: #F6EFE0; box-shadow: none; }
.home-shell .btn-wa:hover { background: #2B2620; }
.home-shell .btn-book { background: #F6EFE0; color: #2B2620; border: 1px solid #F6EFE0; border-radius: 0; }
.home-shell .btn-book:hover { background: #2B2620; color: #F6EFE0; border-color: #2B2620; }
.home-shell .btn-book svg { display: none; }
.home-shell .btn-outline { color: #2B2620; border-color: #2B2620; background: transparent; }
.home-shell .btn-outline:hover { color: #F6EFE0; background: #2B2620; }
.home-shell .hero-panel { z-index: 3; opacity: 1; animation: none; }
.home-shell .panel-chat { position: absolute; top: 112px; right: clamp(25px, 7vw, 110px); width: min(365px, 31vw); }
.home-shell .panel-ops,
.home-shell .panel-toast { display: none; }
.home-shell .panel-inner { animation: none; }
.home-shell .chat-card, .home-shell .ops-card { background: #2B2620; border: 0; border-radius: 0; box-shadow: 12px 12px 0 #C8541E; backdrop-filter: none; }
.home-shell .chat-top { min-height: 72px; background: #7D8B6F; border-bottom: 1px solid rgba(246,239,224,.25); }
.home-shell .chat-id strong, .home-shell .chat-id span, .home-shell .chat-id em { color: #F6EFE0; }
.home-shell .chat { background: #2B2620; }
.home-shell .ops-card { box-shadow: 9px 9px 0 #7D8B6F; }
.home-shell .ops-head { color: #F6EFE0; }
.home-shell .toast { border-radius: 0; background: #F6EFE0; color: #2B2620; border: 1px solid #2B2620; box-shadow: 5px 5px 0 #2B2620; }
.home-shell .hero-scroll { color: #2B2620; border-color: #2B2620; background: #F6EFE0; }

/* WHAT WE OFFER */
.offer-section { padding: var(--sp-9) 0; }
.offer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: var(--sp-6);
  counter-reset: offer;
}
.offer-item {
  counter-increment: offer;
  position: relative;
  padding: 30px 26px 34px;
  border-bottom: 1px solid rgba(43, 38, 32, .28);
  border-right: 1px solid rgba(43, 38, 32, .28);
}
.offer-item:nth-child(3n) { border-right: 0; padding-right: 0; }
.offer-item:nth-child(3n + 1) { padding-left: 0; }
.offer-item:nth-child(n + 4) { border-bottom: 0; }
.offer-item::before {
  content: counter(offer, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: .68rem;
  font-weight: 600; letter-spacing: .12em; color: #C8541E;
}
.offer-item h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.offer-item p { font-size: .88rem; line-height: 1.6; color: rgba(43, 38, 32, .65); }
.offer-item::before, .offer-item h3 { transition: transform 0.45s var(--ease), color 0.45s var(--ease); }
@media (hover: hover) {
  .offer-item:hover::before { transform: translateX(6px); }
  .offer-item:hover h3 { color: #C8541E; }
}
.offer-more span { display: inline-block; transition: transform 0.3s var(--ease); }
.offer-more:hover span { transform: translateX(6px); }
.offer-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--sp-6);
  font-family: var(--font-mono); font-size: .7rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #C8541E;
}
.offer-more:hover { color: #2B2620; }
.pricing-note { color: var(--linen-60); font-size: .85rem; margin-top: 24px; max-width: 720px; }
.home-shell .offer-section { background: #F6EFE0; color: #2B2620; border-bottom: 1px solid #2B2620; }
.home-shell .offer-section .label { color: #C8541E; }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-item { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(43, 38, 32, .28); }
  .offer-item:last-child { border-bottom: 0; }}

/* The rest of the page becomes a newspaper-like sequence rather than stacked dark cards. */
.home-shell .work-section { padding: 130px 0 80px; background: #F6EFE0; color: #2B2620; }
.home-shell .work-section::before { height: 0; }
.home-shell .section-head { display: grid; grid-template-columns: 1fr 2fr; align-items: end; padding-bottom: 18px; margin-bottom: 0; position: relative; }
.home-shell .section-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #2B2620; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) 0.25s; }
.home-shell .section-head.in::after { transform: scaleX(1); }
.home-shell .section-head[data-reveal] h2 { opacity: 0; transform: translateY(24px); filter: blur(10px); transition: opacity 0.9s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s, filter 0.9s var(--ease) 0.1s; }
.home-shell .section-head.in h2 { opacity: 1; transform: none; filter: none; }
.home-shell .section-head h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.06em; }
.home-shell .project { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 44px 0; border-bottom: 1px solid rgba(43,38,32,.28); }
.home-shell .project-header { display: contents; }
.home-shell .project-info { grid-column: 2; }
.home-shell .project-metrics { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr; align-content: start; gap: 18px; }
.home-shell .metric { border-left: 2px solid #C8541E; padding-left: 12px; text-align: left; }
.home-shell .metric-value { color: #2B2620; font-size: 1.4rem; }.home-shell .metric-label { color: #7D8B6F; }
.home-shell .project-name { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.06em; }.home-shell .project-desc { max-width: 540px; font-size: 1.03rem; }.home-shell .project-agents { grid-column: 2; margin-top: -12px; }.home-shell .project-link { grid-column: 2; color: #C8541E; }
/* Case study index — one line per engagement */
.work-index { display: block; }
.home-shell .work-row {
  display: grid; grid-template-columns: 1fr auto auto auto;
  align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 36px 0;
  border-bottom: 1px solid rgba(43, 38, 32, .28);
  color: #2B2620;
}
.home-shell .work-name {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -.05em; line-height: 1.05;
  transition: color 0.35s var(--ease);
}
.home-shell .work-tag, .home-shell .work-meta {
  font-family: var(--font-mono); font-size: .68rem;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.home-shell .work-tag { color: #7D8B6F; }
.home-shell .work-meta { color: rgba(43, 38, 32, .55); }
.home-shell .work-arrow {
  font-size: 1.5rem; line-height: 1; color: #C8541E;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) {
  .home-shell .work-row:hover .work-name { color: #C8541E; }
  .home-shell .work-row:hover .work-arrow { transform: translateX(8px); }
}
@media (max-width: 900px) {
  .home-shell .work-row { grid-template-columns: 1fr auto; row-gap: 10px; padding: 26px 0; }
  .home-shell .work-name { grid-column: 1; }
  .home-shell .work-arrow { grid-column: 2; grid-row: 1; }
  .home-shell .work-tag { grid-column: 1 / -1; }
  .home-shell .work-meta { grid-column: 1 / -1; }
}

.home-shell .inline-cta { background: #C8541E; color: #F6EFE0; }.home-shell .inline-cta h2 { font-size: clamp(3.4rem, 7vw, 6.8rem); letter-spacing: -.07em; }.home-shell .inline-cta .btn-wa, .home-shell .inline-cta .btn-book { background: #F6EFE0; color: #2B2620; }.home-shell .inline-cta .btn-outline { color: #F6EFE0; border-color: #F6EFE0; }
/* Pain section — the problem, told plainly, before the pitch */
.home-shell .pain-section { background: #2B2620; color: #F6EFE0; padding: 110px 0 100px; }
.home-shell .pain-section .section-head::after,
.home-shell .process-section .section-head::after,
.home-shell .faq-section .section-head::after { background: rgba(246,239,224,.4); }
.pain-lines { max-width: 780px; margin-top: 52px; display: grid; gap: 26px; }
.pain-lines p { font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.4; color: var(--linen); }
.pain-lines p strong { color: var(--butternut); font-weight: 700; }
.pain-turn { margin-top: 52px; max-width: 680px; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; font-weight: 600; color: var(--linen); border-left: 2px solid var(--butternut); padding-left: 18px; }

.home-shell .process-grid { grid-template-columns: repeat(3, 1fr); }
.home-shell .process-section .offer-more { color: #F6EFE0; }
.home-shell .process-section .offer-more:hover { color: #2B2620; }
.home-shell .process-section { background: #7D8B6F; color: #F6EFE0; }.home-shell .process-item { border-color: rgba(246,239,224,.4); }.home-shell .process-item::before { color: #F6EFE0; }.home-shell .faq-section { background: #2B2620; }.home-shell footer { background: #F6EFE0; color: #2B2620; border-top: 1px solid #2B2620; }

@media (max-width: 900px) {
  .home-shell .hero { min-height: auto; }.home-shell .hero-stage { display: flex; flex-direction: column; min-height: 0; }.home-shell .hero-center { padding: 90px 28px 44px; }.home-shell .hero h1 { font-size: min(15vw, 6.5rem); }.home-shell .hero-panel { position: static; width: calc(100% - 56px); margin: 0 28px 28px; }.home-shell .panel-chat { order: 2; }.home-shell .panel-ops { order: 3; }.home-shell .panel-toast { display: none; }.home-shell .hero-paper::before { display: none; }.home-shell .project, .home-shell .section-head { grid-template-columns: 1fr; }.home-shell .project-info, .home-shell .project-metrics, .home-shell .project-agents, .home-shell .project-link { grid-column: 1; }.home-shell .project-metrics { grid-row: auto; grid-template-columns: repeat(3, 1fr); gap: 10px; }.home-shell .section-head h2 { margin-top: 10px; }}
