/**
 * InnovDot — House Press
 * Editorial craft studio. Photo breathes. Type does the work.
 * No gradients-as-decoration. No pills. No eyebrow spam. No AI chrome.
 *
 * #1F2E6C navy · #734A27 brown · #D0A51D mustard · #FAD707 yellow · #FAFAF9 paper
 */

:root,
html,
html.light,
html.dark,
.dark {
  color-scheme: light !important;
  --navy: #1f2e6c;
  --navy-deep: #162352;
  --brown: #5a381c;
  --mustard: #d0a51d;
  --yellow: #fad707;
  --paper: #fafaf9;
  --warm: #f2ebe0;
  --line: #ddd2c0;
  --r: 4px;

  --background: 60 9% 98% !important;
  --foreground: 228 55% 27% !important;
  --card: 60 9% 98% !important;
  --card-foreground: 228 55% 27% !important;
  --popover: 60 9% 98% !important;
  --popover-foreground: 228 55% 27% !important;
  --primary: 228 55% 27% !important;
  --primary-foreground: 60 9% 98% !important;
  --primary-soft: 40 28% 92% !important;
  --primary-dark: 228 55% 20% !important;
  --secondary: 40 28% 92% !important;
  --secondary-foreground: 28 52% 23% !important;
  --muted: 40 28% 92% !important;
  --muted-foreground: 28 52% 23% !important;
  --accent: 45 75% 46% !important;
  --accent-foreground: 228 55% 27% !important;
  --border: 38 22% 80% !important;
  --input: 60 9% 98% !important;
  --ring: 51 96% 51% !important;
  --radius: 0.25rem;

  --gradient-text: none !important;
  --gradient-primary: #1f2e6c !important;
  --gradient-secondary: #f2ebe0 !important;
  --gradient-hero: transparent !important;

  --c-deep: var(--navy);
  --c-bright: var(--mustard);
  --c-steel: var(--brown);
  --c-peri: var(--line);
  --c-lavender: var(--warm);
  --c-white: var(--paper);
  --c-spark: var(--yellow);
  --c-deep-hover: var(--navy-deep);
  --c-deep-soft: rgb(31 46 108 / 0.05);
  --c-surface-warm: var(--warm);
  --c-border-soft: var(--line);

  --mc-primary: var(--navy);
  --mc-primary-hover: var(--navy-deep);
  --mc-accent: var(--mustard);
  --mc-muted: var(--brown);
  --mc-border: var(--line);
  --mc-surface: var(--warm);
  --mc-white: var(--paper);
  --mc-text: var(--navy);
  --mc-text-secondary: var(--brown);
  --mc-text-muted: var(--brown);
  --mc-gradient-page: var(--paper);
  --mc-gradient-hero: transparent;
  --mc-gradient-section: var(--warm);
  --mc-gradient-accent: var(--navy);
  --mc-gradient-soft: var(--warm);
  --mc-gradient-mesh: none;
  --mc-radius-sm: 4px;
  --mc-radius-md: 4px;
  --mc-radius-lg: 6px;
  --mc-radius-xl: 8px;
  --mc-shadow-xs: none;
  --mc-shadow-sm: 0 8px 24px rgb(31 46 108 / 0.06);
  --mc-shadow-md: 0 16px 36px rgb(31 46 108 / 0.08);
  --mc-shadow-lg: 0 24px 48px rgb(31 46 108 / 0.1);
  --mc-shadow-inset: none;
  --mc-shadow-btn: none;
  --mc-shadow-focus: 0 0 0 3px rgb(250 215 7 / 0.45);
  --mc-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --mc-duration: 0.18s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  color: var(--brown) !important;
  background: var(--paper) !important;
}

body::before,
body::after { content: none !important; display: none !important; }

#root { position: relative; z-index: 1; }

::selection {
  background: var(--yellow);
  color: var(--navy);
}

/* ── Type ───────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.responsive-heading,
.text-high-contrast,
.text-foreground,
.text-card-foreground,
.text-primary,
.text-gray-900,
.font-elsie {
  font-family: "Bricolage Grotesque", "Source Sans 3", sans-serif;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p,
.text-readable,
.text-muted-foreground,
.text-gray-600,
.text-gray-800,
.responsive-text {
  color: #5a381c !important;
  -webkit-text-fill-color: #5a381c !important;
}

.text-gradient,
.bg-clip-text,
.text-transparent,
.bg-clip-text.text-transparent,
span.text-gradient,
h1 .text-gradient,
h2 .text-gradient {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  text-fill-color: #1f2e6c !important;
  animation: none !important;
  opacity: 1 !important;
}

.text-accent { color: #1f2e6c !important; }

.bg-background, .bg-card { background-color: var(--paper) !important; }
.bg-secondary, .bg-muted, .bg-input { background-color: var(--warm) !important; }
.bg-primary { background-color: var(--navy) !important; }
.bg-accent { background-color: var(--mustard) !important; }
.border-border, .border-input, .border-gray-200 { border-color: var(--line) !important; }

/* Kill AI chrome */
.backdrop-blur, .backdrop-blur-sm, .backdrop-blur-md,
.backdrop-blur-lg, .backdrop-blur-xl, .backdrop-blur-3xl, .glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

section .absolute.rounded-full,
section .absolute.blur-2xl,
section .absolute.blur-3xl,
section .absolute.blur-xl,
section .absolute.blur-lg,
#hero .absolute.rounded-full,
#hero .absolute.inset-0.opacity-5,
section.bg-gradient-secondary > .absolute.inset-0 {
  display: none !important;
}

.bg-purple-400, .bg-purple-400\/80, .bg-purple-600\/90,
.hover\:bg-purple-500:hover { background-color: var(--navy) !important; }

.text-purple-400, .hover\:text-purple-400:hover { color: var(--mustard) !important; }

.from-purple-500, .via-purple-500, .to-purple-600,
.from-indigo-500, .from-cyan-500, .from-blue-500,
.from-green-500, .from-orange-500, .from-pink-500,
.from-red-500, .to-blue-600, .to-pink-600, .to-orange-600, .to-red-600,
[class*="bg-gradient-to-br"]:not(.bg-gradient-primary),
[class*="bg-gradient-to-r"] {
  background-image: none !important;
}

.bg-gradient-primary {
  background-image: none !important;
  background-color: var(--navy) !important;
}

.bg-gradient-hero:not(#hero) {
  background-image: none !important;
  background-color: var(--warm) !important;
}

.shadow-glow, .hover\:shadow-glow:hover { box-shadow: none !important; }

.animate-fade-in, .animate-slide-up, .animate-slide-left,
.animate-slide-right, .animate-pulse, .animate-bounce,
.animate-bounce-in, .scroll-reveal, .scroll-reveal.revealed {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.group:hover .group-hover\:rotate-\[360deg\] { transform: none !important; }

/* ── Layout rhythm ──────────────────────────────────────────── */
.section-spacing-lg { padding: clamp(4rem, 8vw, 6.25rem) 0; }
.content-spacing-lg { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }

.container {
  max-width: 70rem;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

main > section:nth-of-type(odd) { background: var(--paper); }
main > section:nth-of-type(even) { background: var(--warm); }

.bg-gradient-secondary,
section.bg-gradient-secondary {
  background: var(--warm) !important;
  color: var(--brown) !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) {
  background: var(--navy) !important;
}

/* Hide eyebrow spam — keep copy, drop the AI label strip */
.inline-flex.rounded-full.bg-primary\/10,
.inline-flex.items-center.gap-2.px-4.py-2.rounded-full.bg-primary\/10 {
  display: none !important;
}

.w-1.h-12.bg-primary, .w-1.h-8.bg-primary {
  background: var(--yellow) !important;
  width: 3px !important;
  border-radius: 1px !important;
}

/* ── Header: quiet bar ──────────────────────────────────────── */
header.fixed {
  background: rgb(247 244 238 / 0.9) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgb(31 46 108 / 0.08) !important;
  box-shadow: none !important;
}

header.fixed::after { content: none !important; display: none !important; }

header.fixed nav button,
header.fixed .text-white:not(button):not(.font-elsie),
header.fixed .text-white\/90:not(button) {
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  font-family: "Source Sans 3", sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.9375rem !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

header.fixed nav button:hover { color: var(--brown) !important; opacity: 0.8; }

header.fixed nav button.text-purple-400 {
  color: #1f2e6c !important;
  font-weight: 700 !important;
}

header.fixed .h-0\.5.bg-purple-400 {
  background: var(--yellow) !important;
  height: 2px !important;
}

header.fixed .border-white\/30,
header.fixed .border-white\/20 { border-color: var(--line) !important; }

header.fixed button[class*="border-white"],
header.fixed button.bg-purple-600\/90 {
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  color: var(--paper) !important;
  -webkit-text-fill-color: var(--paper) !important;
  border-radius: var(--r) !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background 0.18s var(--mc-ease), color 0.18s var(--mc-ease), transform 0.1s var(--mc-ease) !important;
}

header.fixed button[class*="border-white"] span,
header.fixed button.bg-purple-600\/90 span {
  color: var(--paper) !important;
  -webkit-text-fill-color: var(--paper) !important;
}

header.fixed button[class*="border-white"] .absolute.inset-0,
header.fixed button.bg-purple-600\/90 .absolute.inset-0 { display: none !important; }

header.fixed button[class*="border-white"]:hover,
header.fixed button.bg-purple-600\/90:hover {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  border-color: var(--navy) !important;
  transform: none !important;
}

header.fixed button[class*="border-white"]:hover span,
header.fixed button.bg-purple-600\/90:hover span {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

header.fixed button[class*="border-white"]:active,
header.fixed button.bg-purple-600\/90:active {
  transform: translateY(1px) !important;
}

header.fixed [variant="outline"] {
  background: transparent !important;
  border: 1px solid var(--navy) !important;
  color: var(--navy) !important;
  border-radius: var(--r) !important;
}

header.fixed [class*="hover:text-black"]:hover,
header.fixed [variant="outline"]:hover {
  background: var(--navy) !important;
  color: var(--paper) !important;
}

header.fixed .bg-black\/60,
header.fixed .max-h-\[600px\] > div {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: var(--mc-shadow-md) !important;
}

header.fixed > .container > .flex.items-center.justify-between {
  align-items: center !important;
  min-height: 3.75rem;
}

header.fixed nav { align-self: center; }

/* Logo mark + wordmark balance */
header.fixed a[href="/"] img,
header.fixed .flex.items-center.space-x-2 > img,
header.fixed .flex.items-center.space-x-2.md\:space-x-3 > img,
header.fixed .cursor-pointer.group > img,
header.fixed img[alt="InnovDot"] {
  height: 2.35rem !important;
  width: auto !important;
  max-height: 2.35rem !important;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  header.fixed a[href="/"] img,
  header.fixed .flex.items-center.space-x-2 > img,
  header.fixed .flex.items-center.space-x-2.md\:space-x-3 > img,
  header.fixed .cursor-pointer.group > img,
  header.fixed img[alt="InnovDot"] {
    height: 2.55rem !important;
    max-height: 2.55rem !important;
  }
}

header.fixed .cursor-pointer.group {
  gap: 0.55rem !important;
  align-items: center !important;
}

header.fixed .cursor-pointer.group:hover > img {
  transform: none !important;
}

header.fixed .font-elsie,
header.fixed .font-elsie.text-white {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  gap: 0 !important;
  letter-spacing: 0 !important;
  width: 10.5rem;
  height: 1rem;
  position: relative;
  display: inline-block !important;
  vertical-align: middle;
  overflow: hidden;
}

header.fixed .font-elsie span,
header.fixed .font-elsie img {
  display: none !important;
}

header.fixed .font-elsie::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background-color: #1f2e6c !important;
  background-image: none !important;
  -webkit-mask: url("/logo/innovdot-wordmark.png") left center / contain no-repeat !important;
  mask: url("/logo/innovdot-wordmark.png") left center / contain no-repeat !important;
  -webkit-mask-mode: alpha !important;
  mask-mode: alpha !important;
}

@media (min-width: 1024px) {
  header.fixed .font-elsie,
  header.fixed .font-elsie.text-white {
    width: 12rem;
    height: 1.15rem;
  }
}

header.fixed .group:hover img { transform: none !important; }

/* ── Hero: paper field | photography (print-studio) ─────────── */
@keyframes hp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hp-photo {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

#hero,
#hero.bg-gradient-hero {
  min-height: 100dvh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-color: #f7f4ee !important;
  background-image: none !important;
  padding: 6rem 0 4.5rem !important;
}

/* Photo is the visual — right plane, hard cut, quiet settle */
#hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 56% !important;
  background:
    url("/images/hero_BG.jpg") 52% center / cover no-repeat !important;
  z-index: 0 !important;
  pointer-events: none !important;
  transform-origin: 60% 40%;
  animation: hp-photo 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Warm paper left + mustard seam (brand edge, not a soft fade) */
#hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 46% !important;
  background:
    linear-gradient(90deg, #f7f4ee 0%, #faf8f3 100%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  box-shadow: none !important;
  border-right: 3px solid var(--yellow);
}

#hero .container {
  text-align: left !important;
  position: relative !important;
  z-index: 2 !important;
}

#hero .max-w-4xl {
  max-width: 30rem !important;
  margin: 0 !important;
  margin-right: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  animation: hp-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* Brand as hero-level signal — Bricolage text + short yellow tick */
#hero .max-w-4xl::before {
  content: "InnovDot";
  display: block;
  width: fit-content;
  height: auto;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #1f2e6c;
  -webkit-text-fill-color: #1f2e6c;
  background-color: transparent;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 2.75rem 3px;
  background-position: left bottom;
  background-repeat: no-repeat;
  -webkit-mask: none;
  mask: none;
  margin-bottom: 0;
  padding-bottom: 0.9rem;
  border-bottom: none;
}

#hero .max-w-4xl::after { content: none !important; display: none !important; }

#hero h1::before { content: none !important; display: none !important; }

#hero h1,
#hero h1 span,
#hero .text-high-contrast,
#hero .text-gradient,
#hero .bg-clip-text {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-size: clamp(2.45rem, 4.8vw, 3.55rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  font-weight: 700 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  animation: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Mustard on key phrases — readable, premium (no muddy lemon glow) */
#hero h1 .text-gradient,
#hero h1 span.text-gradient {
  color: #c9970f !important;
  -webkit-text-fill-color: #c9970f !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  animation: none !important;
  text-shadow: none !important;
}

#hero h1 {
  margin-top: 1.35rem !important;
  margin-bottom: 1.25rem !important;
  max-width: 10.5ch;
}

#hero p,
#hero .text-readable,
#hero .card-enhanced p {
  color: #5a381c !important;
  -webkit-text-fill-color: #5a381c !important;
  font-size: 1.125rem !important;
  line-height: 1.55 !important;
  max-width: 34ch !important;
  opacity: 1 !important;
  animation: hp-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

#hero .card-enhanced {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#hero .flex.flex-col.sm\:flex-row {
  justify-content: flex-start !important;
  margin-top: 2rem !important;
  gap: 0.75rem !important;
  animation: hp-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

#hero .btn-primary,
#hero button.bg-primary {
  background: #1f2e6c !important;
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  border: 1px solid #1f2e6c !important;
  border-radius: var(--r) !important;
  padding: 0.95rem 1.55rem !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  transition: background 0.18s var(--mc-ease), color 0.18s var(--mc-ease), transform 0.1s var(--mc-ease) !important;
}

#hero .btn-primary:hover,
#hero button.bg-primary:hover {
  background: var(--yellow) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  border-color: #1f2e6c !important;
}

#hero .btn-primary:active,
#hero button.bg-primary:active {
  transform: translateY(1px) !important;
}

#hero .btn-secondary {
  background: transparent !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  border: 1px solid rgb(31 46 108 / 0.35) !important;
  border-radius: var(--r) !important;
  padding: 0.95rem 1.55rem !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
}

#hero .btn-secondary:hover {
  border-color: #1f2e6c !important;
  background: rgb(31 46 108 / 0.05) !important;
}

#hero .absolute.bottom-8 { display: none !important; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary, button.bg-primary, a.bg-primary,
[data-variant="default"].bg-primary {
  background: #1f2e6c !important;
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  border: 1px solid #1f2e6c !important;
  border-radius: var(--r) !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background 0.18s var(--mc-ease), color 0.18s var(--mc-ease), transform 0.1s var(--mc-ease) !important;
}

.btn-primary:hover, button.bg-primary:hover, a.bg-primary:hover {
  background: var(--yellow) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  border-color: #1f2e6c !important;
  transform: none !important;
}

.btn-primary:active, button.bg-primary:active {
  transform: translateY(1px) !important;
}

.btn-secondary, button[class*="btn-secondary"] {
  background: transparent !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  border: 1px solid rgb(31 46 108 / 0.28) !important;
  border-radius: var(--r) !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
}

.btn-secondary:hover {
  background: #1f2e6c !important;
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  border-color: #1f2e6c !important;
  transform: none !important;
}

/* ── Cards → quiet panels (no lift theater) ─────────────────── */
.card-enhanced,
.rounded-lg.border.bg-card,
.rounded-3xl.border {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: clamp(1.25rem, 2.4vw, 1.65rem) !important;
  transition: border-color 0.18s var(--mc-ease) !important;
}

.card-enhanced::before,
.card-enhanced::after,
.rounded-lg.border.bg-card::before,
.rounded-lg.border.bg-card::after {
  content: none !important;
  display: none !important;
}

.card-enhanced:hover,
.hover-lift:hover {
  box-shadow: none !important;
  border-color: rgb(31 46 108 / 0.35) !important;
  transform: none !important;
}

.hover-lift { transition: border-color 0.18s var(--mc-ease) !important; }

.text-center.content-spacing-lg::after,
section.container.pt-40::after { content: none !important; display: none !important; }

.responsive-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
}

section.bg-gradient-secondary :is(h2, h3, .responsive-heading, .text-high-contrast, .text-primary) {
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
}

section.bg-gradient-secondary :is(p, .responsive-text, .text-readable) {
  color: #5a381c !important;
  -webkit-text-fill-color: #5a381c !important;
}

/* Section title tick — quiet editorial mark */
section .text-center.content-spacing-lg .responsive-heading::before,
#services .responsive-heading::before,
#about .responsive-heading::before,
#faq .responsive-heading::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 3px;
  background: var(--yellow);
  margin: 0 auto 0.9rem;
}

#services .text-left .responsive-heading::before,
#about .text-left .responsive-heading::before {
  margin-left: 0;
  margin-right: auto;
}

/* Services: quieter icon tiles — editorial rules */
#services {
  background: var(--paper) !important;
}

#services .card-enhanced {
  background: transparent !important;
  border: none !important;
  border-top: 2px solid rgb(31 46 108 / 0.12) !important;
  border-radius: 0 !important;
  padding: 1.5rem 0.25rem 1.15rem !important;
  transition: border-color 0.2s var(--mc-ease) !important;
}

#services .card-enhanced:hover {
  border-top-color: var(--yellow) !important;
}

#services .card-enhanced h3,
#services .card-enhanced .font-semibold {
  font-size: 1.05rem !important;
  letter-spacing: -0.02em !important;
}

#services .w-16.h-16,
#services .w-14.h-14,
#services [class*="bg-gradient-to-br"] {
  background: transparent !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin-bottom: 0.75rem !important;
}

#services .w-16.h-16 svg,
#services .w-14.h-14 svg {
  color: #1f2e6c !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
}

.w-16.h-16,
.w-14.h-14,
.card-enhanced [class*="bg-gradient-to-br"],
.group [class*="bg-gradient-to-br"].w-16,
.group [class*="bg-gradient-to-br"].rounded-xl,
.group [class*="bg-gradient-to-br"].rounded-2xl {
  background: var(--warm) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  box-shadow: none !important;
}

.group:hover .w-16.h-16,
.group:hover .w-14.h-14 {
  background: var(--yellow) !important;
  border-color: transparent !important;
  transform: none !important;
}

.w-16.h-16 svg, .w-14.h-14 svg,
.card-enhanced [class*="bg-gradient-to-br"] svg,
.w-16.h-16 .text-white {
  color: #1f2e6c !important;
}

.bg-primary\/10 { background: var(--warm) !important; }
.bg-primary\/5 { background: transparent !important; }
.border-primary\/20 { border-color: var(--line) !important; }

/* Tech tags — calm chips, not busy pills */
.rounded-full.text-sm.font-medium,
.px-3.py-2.bg-secondary.rounded-full.text-sm,
.flex.flex-wrap.justify-center.gap-4 .rounded-full {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: #1f2e6c !important;
  border-radius: var(--r) !important;
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 550 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

.px-3.py-2.bg-secondary.rounded-full.text-sm:hover,
.flex.flex-wrap.justify-center.gap-4 .rounded-full:hover {
  background: var(--yellow) !important;
  border-color: transparent !important;
  color: #1f2e6c !important;
  transform: none !important;
}

/* About approach panel */
.bg-gradient-primary.rounded-2xl {
  background: #1f2e6c !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  border: none !important;
}

.bg-gradient-primary.rounded-2xl::after { display: none !important; }

.bg-gradient-primary.rounded-2xl :is(h3, p, span, a, li) {
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
}

.bg-gradient-primary,
.bg-gradient-primary svg,
.bg-gradient-primary.text-white,
.bg-gradient-primary .text-white {
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
}

/* About text: drop the boxed card feel */
#about .card-enhanced.rounded-2xl.card-spacing-lg {
  background: transparent !important;
  border: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: none !important;
}

#about .grid .card-enhanced:not(.bg-gradient-primary) {
  border-radius: 6px !important;
}

/* ── Idea CTA ───────────────────────────────────────────────── */
section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) {
  background: #162352 !important;
  position: relative;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) .backdrop-blur-xl {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 1.75rem 0 !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) .backdrop-blur-xl::before {
  content: none !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) .absolute.inset-0,
section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) [class*="from-white"],
section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) [class*="bg-gradient-to-"] {
  background: transparent !important;
  background-image: none !important;
  display: none !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) :is(
  h2, .responsive-heading, .text-white, .text-high-contrast
) {
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem) !important;
  letter-spacing: -0.03em !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) :is(
  h2, .responsive-heading
)::before {
  content: none !important;
  display: none !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) :is(
  p, .responsive-text, .text-white\/90
) {
  color: rgb(250 250 249 / 0.82) !important;
  -webkit-text-fill-color: rgb(250 250 249 / 0.82) !important;
  max-width: 34rem;
  margin-inline: auto;
  font-size: 1.0625rem !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) button,
section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) button.text-white {
  background: var(--yellow) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  border: 1px solid var(--yellow) !important;
  border-radius: var(--r) !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 700 !important;
  padding: 0.95rem 1.85rem !important;
}

section.bg-gradient-secondary:has(.backdrop-blur-xl):not(#contact) button:hover {
  background: #fafaf9 !important;
  color: #1f2e6c !important;
  transform: none !important;
}

/* ── Contact ────────────────────────────────────────────────── */
#contact {
  background: var(--warm) !important;
  border-top: 1px solid var(--line);
}

#contact .backdrop-blur-xl,
#contact .card-enhanced,
#contact .bg-white\/10 {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

#contact :is(h2, h3, .responsive-heading, .text-high-contrast, label) {
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
}

#contact :is(p, .responsive-text, .text-readable, .text-white\/90, span):not(svg *):not(svg) {
  color: #5a381c !important;
  -webkit-text-fill-color: #5a381c !important;
}

/* Contact info icons — paper strokes on navy tiles */
#contact .w-12.h-12.bg-gradient-primary,
#contact a.w-12.h-12.bg-gradient-primary {
  background: #1f2e6c !important;
  border: none !important;
  border-radius: var(--r) !important;
  box-shadow: none !important;
  color: #fafaf9 !important;
}

#contact .w-12.h-12 svg,
#contact .w-12.h-12.svg,
#contact .w-12.h-12 .text-white,
#contact svg.text-white,
#contact .bg-gradient-primary svg,
#contact .bg-gradient-primary .text-white {
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  stroke: #fafaf9 !important;
  fill: none !important;
  opacity: 1 !important;
}

#contact input,
#contact textarea,
#contact select {
  background: #fff !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: #5a381c !important;
  -webkit-text-fill-color: #5a381c !important;
  opacity: 0.5 !important;
}

#contact button[type="submit"],
#contact button.bg-primary,
#contact .btn-primary {
  background: #1f2e6c !important;
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
  border-radius: var(--r) !important;
}

#contact button[type="submit"]:hover,
#contact .btn-primary:hover {
  background: var(--yellow) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
}

/* ── Sub-pages ──────────────────────────────────────────────── */
.min-h-screen > section.container.pt-40,
section.container.mx-auto.px-4.pt-40 {
  padding-top: clamp(6.25rem, 12vw, 8.5rem) !important;
  padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem) !important;
  text-align: left !important;
  background: var(--paper) !important;
  border-bottom: 1px solid var(--line);
  max-width: 100% !important;
}

section.container.pt-40 h1 {
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
  max-width: 14ch;
}

section.container.pt-40 p {
  color: #5a381c !important;
  -webkit-text-fill-color: #5a381c !important;
  max-width: 40rem;
  margin-left: 0;
}

section .text-center,
.text-center.content-spacing-lg { text-align: center !important; }

.text-center .responsive-heading,
.text-center .responsive-text,
.text-center h2, .text-center h3, .text-center p {
  margin-left: auto;
  margin-right: auto;
}

.grid.md\:grid-cols-2 > div:not(.text-center),
.flex.items-center.gap-3,
.mb-8.flex.items-center { text-align: left; }

.flex.items-start.gap-2 > span:first-child { color: var(--mustard); }

.text-5xl.md\:text-6xl.font-bold, .text-5xl.font-bold {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
}

.text-8xl {
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
}

.from-gray-50, .to-gray-100 { background: var(--warm) !important; }

img.rounded-2xl, img[class*="rounded"] {
  border-radius: 6px !important;
  border: 1px solid var(--line);
  box-shadow: none;
}

#about img {
  border-radius: 6px !important;
  border: 1px solid var(--line) !important;
  filter: none !important;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: #162352 !important;
  padding-top: 4rem !important;
  padding-bottom: 2rem !important;
  position: relative;
  border-top: none !important;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--yellow);
}

footer h3,
footer h3.text-high-contrast,
footer h3.font-bold,
footer .text-high-contrast,
footer .font-semibold,
footer h3.text-lg {
  color: var(--yellow) !important;
  -webkit-text-fill-color: var(--yellow) !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

footer p, footer .text-readable, footer a, footer li, footer span {
  color: rgb(250 250 249 / 0.86) !important;
  -webkit-text-fill-color: rgb(250 250 249 / 0.86) !important;
}

footer .font-elsie {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  gap: 0 !important;
  width: 12rem;
  height: 1.15rem;
  position: relative;
  display: inline-block !important;
  overflow: hidden;
}

footer .font-elsie span,
footer .font-elsie img {
  display: none !important;
}

footer .font-elsie::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background-color: #fafaf9 !important;
  background-image: none !important;
  -webkit-mask: url("/logo/innovdot-wordmark.png") left center / contain no-repeat !important;
  mask: url("/logo/innovdot-wordmark.png") left center / contain no-repeat !important;
  -webkit-mask-mode: alpha !important;
  mask-mode: alpha !important;
}

footer img[alt="InnovDot"] {
  height: 2.35rem !important;
  width: auto !important;
}

footer .text-primary:not(.font-elsie) {
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9 !important;
}

footer a:hover {
  color: var(--yellow) !important;
  -webkit-text-fill-color: var(--yellow) !important;
}

footer .absolute.inset-0 img[alt="World Map Background"] {
  opacity: 0.05 !important;
  filter: grayscale(1);
}

footer .absolute.inset-0.bg-background\/80 { background: transparent !important; }

footer .rounded-full.bg-card {
  border: 1px solid rgb(250 250 249 / 0.25) !important;
  background: transparent !important;
  color: #fafaf9 !important;
  border-radius: var(--r) !important;
}

footer .rounded-full.bg-card:hover {
  background: var(--yellow) !important;
  color: #1f2e6c !important;
  -webkit-text-fill-color: #1f2e6c !important;
}

/* Forms */
input, textarea, select {
  border-radius: var(--r) !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: #1f2e6c !important;
  padding: 0.8rem 1rem !important;
}

input::placeholder, textarea::placeholder {
  color: #5a381c !important;
  opacity: 0.5;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  border-color: var(--navy) !important;
  box-shadow: var(--mc-shadow-focus) !important;
  outline: none !important;
}

label { color: #1f2e6c !important; }

button[data-state="open"],
button[data-state="closed"] {
  border: 1px solid var(--line) !important;
  background: var(--paper) !important;
  border-radius: var(--r) !important;
  margin-bottom: 0.45rem !important;
  padding: 0.95rem 1.1rem !important;
  width: 100%;
  text-align: left;
  color: #1f2e6c !important;
  box-shadow: none !important;
}

button[data-state="open"] {
  background: #fff !important;
  border-color: rgb(31 46 108 / 0.3) !important;
}

#faq .card-enhanced {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#faq .border-b.card-enhanced { border: none !important; }

.min-h-screen.bg-background { background: var(--paper) !important; }

.bg-gradient-to-br.from-gray-50.to-gray-100,
.bg-gradient-to-br.from-background.via-secondary.to-primary\/5 {
  background: var(--warm) !important;
}

/* Products */
.products-page .products-card-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.products-page .products-card-footer-note { color: #734a27; font-style: normal; }

.products-page .products-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .products-page .products-card-header {
    flex-direction: row;
    align-items: flex-start;
  }
}

.products-page .products-card-logo img {
  width: 6.5rem;
  height: 6.5rem;
}

.products-page .products-card-footer-cta .btn-secondary { width: 100%; }

@media (min-width: 768px) {
  .products-page .products-card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .products-page .products-card-footer-cta {
    width: auto;
    margin-left: auto;
  }
  .products-page .products-card-footer-cta .btn-secondary {
    width: auto;
    min-width: 9rem;
    white-space: nowrap;
  }
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  #hero::before {
    width: 100% !important;
    opacity: 0.28;
    animation: none;
  }
  #hero::after {
    width: 100% !important;
    background: linear-gradient(
      180deg,
      rgb(247 244 238 / 0.92) 0%,
      #f7f4ee 58%,
      #f7f4ee 100%
    ) !important;
    border-right: none;
    border-bottom: 3px solid var(--yellow);
  }
  #hero .max-w-4xl { max-width: 100% !important; }
  #hero h1, #hero h1 span { font-size: clamp(2.1rem, 8.5vw, 2.85rem) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #hero::before,
  #hero .max-w-4xl,
  #hero p,
  #hero .flex.flex-col.sm\:flex-row {
    animation: none !important;
  }
}
