@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap");
/* ==========================================================================
   Davo CMS — Generated Static HTML Site Themes + Wix Multi-Layout System
   Themes: editorial | saas | portfolio | corporate | docs
   Layouts: industrial | salon | retreat | bistro | playful | saas | brutalist | athletic
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --brand: #4f46e5;
  --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --max-w: 960px;
}

/* Base Theme Variations */
body.site-theme-editorial {
  --bg: #fcfcfb;
  --surface: #f4f3ef;
  --text: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --max-w: 880px;
}

body.site-theme-saas {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --max-w: 1120px;
}

body.site-theme-portfolio {
  --bg: #0c0f17;
  --surface: #161b26;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #262f40;
  --max-w: 1140px;
}

body.site-theme-corporate {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --max-w: 1140px;
}

body.site-theme-docs {
  --bg: #ffffff;
  --surface: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --max-w: 920px;
}

/* ==========================================================================
   8 Distinct Wix-Inspired Layout Personalities (Navbar, Canvas & Footer)
   ========================================================================== */

/* 1. Industrial Modern (Electrician / Solar / Trades) */
body.site-layout-industrial {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe3ee;
  --max-w: 1200px;
}
body.site-layout-industrial .site-navbar {
  background: #0b1120;
  border-bottom: 1px solid #1e293b;
}
body.site-layout-industrial .site-brand,
body.site-layout-industrial .site-nav a:hover,
body.site-layout-industrial .site-nav a.active {
  color: #ffffff;
}
body.site-layout-industrial .site-nav a { color: #94a3b8; font-weight: 600; }
body.site-layout-industrial .site-nav a.nav-cta {
  background: #f59e0b;
  color: #0b1120 !important;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12.5px;
}
body.site-layout-industrial .site-footer {
  background: #0b1120;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
}
body.site-layout-industrial .footer-brand { color: #ffffff; }

/* 2. Luxury Editorial Salon (Wix Hair Salon Simple) */
body.site-layout-salon {
  --bg: #faf7f4;
  --surface: #f3ede6;
  --text: #1c1917;
  --muted: #57534e;
  --border: #e5ddd3;
  --max-w: 1180px;
  --font-heading: Georgia, 'Playfair Display', 'Times New Roman', serif;
}
body.site-layout-salon .site-navbar {
  background: rgba(250, 247, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7dfd5;
}
body.site-layout-salon .site-brand {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.site-layout-salon .brand-dot { border-radius: 999px; width: 8px; height: 8px; }
body.site-layout-salon .site-nav a.nav-cta {
  background: #1c1917;
  color: #faf7f4 !important;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 3. Warm Coastal Retreat (Wix Vacation Rental Warm) */
body.site-layout-retreat {
  --bg: #fbf9f5;
  --surface: #f3efe6;
  --text: #292524;
  --muted: #57534e;
  --border: #e7e1d5;
  --max-w: 1200px;
  --font-heading: Georgia, 'Times New Roman', serif;
}
body.site-layout-retreat .site-navbar {
  background: #fbf9f5;
  border-bottom: 1px solid #ece6da;
}
body.site-layout-retreat .site-nav a.nav-cta {
  border-radius: 999px;
  padding: 9px 20px;
}

/* 4. Artisan Roastery & Bistro (50/50 Split & Menu Board) */
body.site-layout-bistro {
  --bg: #faf6f0;
  --surface: #f2ebe0;
  --text: #1f1612;
  --muted: #66554b;
  --border: #e3d7c6;
  --max-w: 1200px;
  --font-heading: Georgia, 'Times New Roman', serif;
}
body.site-layout-bistro .site-navbar {
  background: #1c130f;
  border-bottom: 1px solid #33231c;
}
body.site-layout-bistro .site-brand,
body.site-layout-bistro .site-nav a:hover,
body.site-layout-bistro .site-nav a.active { color: #fef3c7; }
body.site-layout-bistro .site-nav a { color: #d6c5b3; }
body.site-layout-bistro .site-nav a.nav-cta {
  background: #c2410c;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12.5px;
}

/* 5. Playful Kindergarten (Wix Kindergarten Playful — SonnenBloom) */
body.site-layout-playful {
  --bg: #fffdf6;
  --surface: #fef9e7;
  --text: #1e293b;
  --muted: #475569;
  --border: #fde68a;
  --max-w: 1180px;
}
body.site-layout-playful .site-navbar {
  background: #fffdf6;
  border-bottom: 2px dashed #fde68a;
}
body.site-layout-playful .site-brand {
  font-size: 21px;
  letter-spacing: -0.01em;
}
body.site-layout-playful .brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}
body.site-layout-playful .site-nav a.nav-cta {
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.22);
}

/* 6. Cloud SaaS Bento (PulseMetric) */
body.site-layout-saas {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --max-w: 1200px;
}
body.site-layout-saas .site-navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}
body.site-layout-saas .site-nav a.nav-cta {
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25);
}

/* 7. Dark Swiss Brutalist (Atelier Kova Creative Agency) */
body.site-layout-brutalist {
  --bg: #090b10;
  --surface: #12151e;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #232838;
  --max-w: 1240px;
}
body.site-layout-brutalist .site-navbar {
  background: #090b10;
  border-bottom: 1px solid #232838;
}
body.site-layout-brutalist .site-brand {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
}
body.site-layout-brutalist .site-nav a.nav-cta {
  background: #f8fafc;
  color: #090b10 !important;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 12.5px;
}

/* 8. Kinetic Athletic Club (Forma Movement Club) */
body.site-layout-athletic {
  --bg: #f8faf9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #d1fae5;
  --max-w: 1200px;
}
body.site-layout-athletic .site-navbar {
  background: #061410;
  border-bottom: 1px solid #113026;
}
body.site-layout-athletic .site-brand,
body.site-layout-athletic .site-nav a:hover,
body.site-layout-athletic .site-nav a.active { color: #ffffff; }
body.site-layout-athletic .site-nav a { color: #a7f3d0; font-weight: 600; }
body.site-layout-athletic .site-nav a.nav-cta {
  background: #10b981;
  color: #04130e !important;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12.5px;
}

/* Core Page Shell */
html {
  overflow-x: clip;
}

body[class^="site-theme-"], body[class*=" site-theme-"] {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  max-width: 100%;
}

.site-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-navbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18.5px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  min-width: 0;
  max-width: calc(100% - 56px);
}

.site-brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

body.site-layout-industrial .site-nav-toggle,
body.site-layout-bistro .site-nav-toggle,
body.site-layout-brutalist .site-nav-toggle,
body.site-layout-athletic .site-nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--brand);
  display: inline-block;
}

.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

/* Hierarchical Dropdown Navigation Menu (Desktop + Mobile Accordion) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.15s ease, background 0.15s ease;
}

.nav-caret-btn:hover,
.nav-dropdown:hover .nav-caret-btn,
.nav-dropdown.open .nav-caret-btn {
  color: var(--text);
}

.nav-dropdown:hover .nav-caret-btn svg,
.nav-dropdown:focus-within .nav-caret-btn svg,
.nav-dropdown.open .nav-caret-btn svg {
  transform: rotate(180deg);
}

.nav-caret-btn svg {
  transition: transform 0.18s ease;
  pointer-events: none;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  min-width: 228px;
  max-width: 300px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 70;
}

/* Invisible hover bridge so diagonal cursor movement never closes the menu */
.nav-submenu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
  transition: background 0.14s ease, color 0.14s ease;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: var(--surface);
  color: var(--text);
}

.nav-submenu a.active {
  font-weight: 650;
  color: var(--brand);
}

/* Dark-Navbar Layout Overrides for Dropdown Menus */
body.site-layout-industrial .nav-caret-btn { color: #94a3b8; }
body.site-layout-industrial .nav-dropdown:hover .nav-caret-btn,
body.site-layout-industrial .nav-dropdown.open .nav-caret-btn { color: #ffffff; }
body.site-layout-industrial .nav-submenu {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
body.site-layout-industrial .nav-submenu a { color: #cbd5e1; }
body.site-layout-industrial .nav-submenu a:hover,
body.site-layout-industrial .nav-submenu a.active {
  background: rgba(245, 158, 11, 0.14);
  color: #ffffff;
}

body.site-layout-bistro .nav-caret-btn { color: #d6c5b3; }
body.site-layout-bistro .nav-dropdown:hover .nav-caret-btn,
body.site-layout-bistro .nav-dropdown.open .nav-caret-btn { color: #fef3c7; }
body.site-layout-bistro .nav-submenu {
  background: #241813;
  border-color: #3d2920;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
body.site-layout-bistro .nav-submenu a { color: #d6c5b3; }
body.site-layout-bistro .nav-submenu a:hover,
body.site-layout-bistro .nav-submenu a.active {
  background: rgba(194, 65, 12, 0.22);
  color: #fef3c7;
}

body.site-layout-brutalist .nav-caret-btn { color: #94a3b8; }
body.site-layout-brutalist .nav-dropdown:hover .nav-caret-btn,
body.site-layout-brutalist .nav-dropdown.open .nav-caret-btn { color: #ffffff; }
body.site-layout-brutalist .nav-submenu {
  background: #12151e;
  border-color: #262c3f;
  border-radius: 4px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}
body.site-layout-brutalist .nav-submenu a { color: #cbd5e1; border-radius: 3px; }
body.site-layout-brutalist .nav-submenu a:hover,
body.site-layout-brutalist .nav-submenu a.active {
  background: #1e2434;
  color: #ffffff;
}

body.site-layout-athletic .nav-caret-btn { color: #a7f3d0; }
body.site-layout-athletic .nav-dropdown:hover .nav-caret-btn,
body.site-layout-athletic .nav-dropdown.open .nav-caret-btn { color: #ffffff; }
body.site-layout-athletic .nav-submenu {
  background: #0a1f19;
  border-color: #163d31;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
body.site-layout-athletic .nav-submenu a { color: #a7f3d0; }
body.site-layout-athletic .nav-submenu a:hover,
body.site-layout-athletic .nav-submenu a.active {
  background: rgba(16, 185, 129, 0.18);
  color: #ffffff;
}

/* Sub-Page Breadcrumb Trail */
.subpage-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
body.has-wx-layout .subpage-breadcrumb {
  padding-top: 22px;
}
.subpage-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.subpage-breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.subpage-breadcrumb .crumb-sep {
  opacity: 0.5;
  font-size: 12px;
}
.subpage-breadcrumb .crumb-current {
  color: var(--text);
  font-weight: 600;
}

/* ==========================================================================
   Page Header Slideshow (.site-hero-slider) — Image + Overlaid Heading/Text/CTA
   ========================================================================== */
.site-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  color: #ffffff;
  --hs-min-h: 550px;
}

.site-hero-slider.hs-height-compact { --hs-min-h: 430px; }
.site-hero-slider.hs-height-medium  { --hs-min-h: 550px; }
.site-hero-slider.hs-height-tall    { --hs-min-h: 660px; }

.hs-stage {
  display: grid;
  grid-template-areas: "slide";
  min-height: var(--hs-min-h);
  position: relative;
}

.hs-slide {
  grid-area: slide;
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hs-min-h);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.hs-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hs-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 5.5s ease-out;
  z-index: 0;
}

.hs-slide.is-active .hs-slide-bg {
  transform: scale(1);
}

.hs-slide-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, var(--brand) 100%);
  z-index: 0;
}

.hs-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    98deg,
    rgba(9, 13, 24, var(--hs-ov-strong, 0.72)) 0%,
    rgba(9, 13, 24, var(--hs-ov-mid, 0.48)) 56%,
    rgba(9, 13, 24, var(--hs-ov-soft, 0.30)) 100%
  );
  z-index: 1;
}

.site-hero-slider.hs-align-center .hs-slide-overlay {
  background: radial-gradient(
    circle at center,
    rgba(9, 13, 24, var(--hs-ov-mid, 0.48)) 0%,
    rgba(9, 13, 24, var(--hs-ov-strong, 0.72)) 100%
  );
}

.hs-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w, 1180px);
  margin: 0 auto;
  padding: 72px 56px 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.site-hero-slider.hs-align-center .hs-slide-inner {
  align-items: center;
  text-align: center;
}

.hs-content {
  max-width: 690px;
  width: 100%;
}

.site-hero-slider.hs-align-center .hs-content {
  max-width: 760px;
}

.hs-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  margin-bottom: 16px;
}

.hs-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.7vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hs-text {
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.62;
  color: rgba(248, 250, 252, 0.9);
  margin: 0 0 26px;
  max-width: 610px;
}

.site-hero-slider.hs-align-center .hs-text {
  margin-left: auto;
  margin-right: auto;
}

.hs-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-hero-slider.hs-align-center .hs-actions {
  justify-content: center;
}

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: var(--brand);
  color: #ffffff !important;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hs-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.hs-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff !important;
  box-shadow: none;
}

.hs-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Prev / Next Arrows & Slide Dots */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.hs-arrow:hover {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.65);
}

.hs-prev { left: 16px; }
.hs-next { right: 16px; }

.hs-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hs-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.hs-dot.is-active {
  width: 26px;
  background: #ffffff;
}

/* Distinct Per-Layout Header Slideshow Personalities */
body.site-layout-industrial .hs-eyebrow {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  border-radius: 6px;
}
body.site-layout-industrial .hs-btn:not(.hs-btn-outline) {
  background: #f59e0b;
  color: #0b1120 !important;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}

body.site-layout-salon .hs-heading {
  font-family: Georgia, 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
body.site-layout-salon .hs-btn {
  border-radius: 999px;
  padding: 13px 30px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
}
body.site-layout-salon .hs-btn:not(.hs-btn-outline) {
  background: #faf7f4;
  color: #1c1917 !important;
}

body.site-layout-retreat .site-hero-slider {
  max-width: 1260px;
  margin: 18px auto 0;
  border-radius: 26px;
  width: calc(100% - 36px);
}
body.site-layout-retreat .hs-heading {
  font-family: Georgia, serif;
  font-weight: 400;
}
body.site-layout-retreat .hs-btn {
  border-radius: 999px;
}

body.site-layout-bistro .hs-heading {
  font-family: Georgia, serif;
  font-weight: 500;
}
body.site-layout-bistro .hs-eyebrow {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.4);
  background: rgba(194, 65, 12, 0.25);
}
body.site-layout-bistro .hs-btn:not(.hs-btn-outline) {
  background: #c2410c;
  border-radius: 6px;
}

body.site-layout-playful .site-hero-slider {
  max-width: 1240px;
  margin: 16px auto 0;
  border-radius: 30px;
  width: calc(100% - 32px);
}
body.site-layout-playful .hs-btn {
  border-radius: 999px;
}

body.site-layout-saas .hs-btn {
  border-radius: 999px;
}

body.site-layout-brutalist .hs-eyebrow,
body.site-layout-brutalist .hs-btn,
body.site-layout-brutalist .hs-arrow {
  border-radius: 0;
}
body.site-layout-brutalist .hs-btn:not(.hs-btn-outline) {
  background: #f8fafc;
  color: #090b10 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 800;
}

body.site-layout-athletic .hs-eyebrow {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
body.site-layout-athletic .hs-btn:not(.hs-btn-outline) {
  background: #10b981;
  color: #04130e !important;
  border-radius: 7px;
  font-weight: 800;
}

/* Remove extra top padding on <main> when a Page Header Slideshow sits directly above */
body:not(.has-wx-layout) .site-hero-slider + .site-main {
  padding-top: 40px;
}
.site-hero-slider + .site-main .wx-booking-bar {
  margin-top: 22px;
}

.site-nav a.nav-cta {
  background: var(--brand);
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.site-main {
  flex: 1;
  padding: 56px 0 80px;
}

/* Full-Bleed Wix Template Canvas Support */
body.has-wx-layout .site-main {
  padding: 0 0 64px;
}
body.has-wx-layout .site-main > .site-container {
  max-width: 100%;
  padding: 0;
}
body.has-wx-layout .site-blog-feed,
body.has-wx-layout .post-header {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
body.has-wx-layout .post-header {
  padding-top: 48px;
}
body.has-wx-layout article.content-prose:not(:has(.wx-page)) {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 0;
}

/* Rich Content Prose */
.content-prose h1, .content-prose h2, .content-prose h3, .content-prose h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.content-prose h1:first-child, .content-prose section:first-child, .content-prose .wx-page > :first-child {
  margin-top: 0;
}

.content-prose h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); font-weight: 800; }
.content-prose h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 750; }
.content-prose h3 { font-size: 1.28rem; font-weight: 700; }
.content-prose p { margin: 0 0 1.15em; color: var(--text); }
.content-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.content-prose ul, .content-prose ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.content-prose li { margin-bottom: 0.45em; }

.content-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.content-prose figure, .cms-figure { margin: 2em 0; }
.content-prose figcaption {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.content-prose blockquote, .cms-callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  color: var(--text);
}

.content-prose pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
}

.content-prose code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.9em;
}
.content-prose pre code { background: transparent; padding: 0; }
.content-prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }

.content-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
}
.content-prose th, .content-prose td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}
.content-prose th { background: var(--surface); font-weight: 700; }

/* Standard CMS Blocks (for blank/starter sites & WYSIWYG Insert Toolbar) */
.cms-hero-block { padding: 36px 0 24px; }
.cms-hero-block .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.cms-hero-block .lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }

.cms-btn {
  display: inline-block;
  background: var(--brand);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.cms-btn:hover { opacity: 0.93; transform: translateY(-1px); }

.cms-cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin: 1.6em 0;
}
.cms-cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
  margin: 1.6em 0;
}
.cms-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.cms-card h3 { margin-top: 0 !important; margin-bottom: 8px !important; }
.cms-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.cms-faq {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: var(--surface);
}
.cms-faq summary { font-weight: 600; cursor: pointer; }

/* ==========================================================================
   WIX MULTI-LAYOUT ARCHITECTURE (.wx-*)
   8 Distinct Visual Compositions Powered by Real Unsplash Photography
   ========================================================================== */
.wx-page {
  width: 100%;
}

.wx-wrap {
  width: 100%;
  max-width: var(--max-w, 1180px);
  margin: 0 auto;
  padding: 0 28px;
}

.wx-section {
  padding: 76px 0;
}
.wx-section-sm {
  padding: 48px 0;
}

.wx-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.wx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none !important;
  background: var(--brand);
  color: #ffffff !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.wx-btn:hover { transform: translateY(-1px); opacity: 0.94; }

.wx-btn-pill { border-radius: 999px; }
.wx-btn-dark { background: #18181b; color: #ffffff !important; }
.wx-btn-light { background: #ffffff; color: #0f172a !important; }
.wx-btn-amber { background: #f59e0b; color: #0b1120 !important; }
.wx-btn-outline {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit !important;
}

.wx-img-frame {
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #334155);
  position: relative;
}
.wx-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

/* ---- LAYOUT 1: INDUSTRIAL MODERN (Electrician / Solar — Wix wh-1432) ---- */
.wx-hero-industrial {
  background: radial-gradient(circle at 82% 20%, rgba(245, 158, 11, 0.18), transparent 45%), #0b1120;
  color: #f8fafc;
  padding: 68px 0 0;
}
.wx-hero-industrial-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 56px;
}
.wx-hero-industrial h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.wx-hero-industrial p {
  color: #cbd5e1 !important;
  font-size: 1.12rem;
  max-width: 520px;
}
.wx-ind-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 4 / 3;
  background: #1e293b;
}
.wx-ind-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.wx-ind-promo-bar {
  background: #f59e0b;
  color: #0b1120;
  padding: 16px 0;
}
.wx-ind-promo-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 15px;
}
.wx-circuit-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.wx-circuit-row {
  display: grid;
  grid-template-columns: 95px 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
}
.wx-circuit-num {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: -0.04em;
}
.wx-circuit-row h3 { margin: 0 0 8px !important; font-size: 1.4rem !important; }
.wx-circuit-row p { margin: 0; color: #475569 !important; font-size: 15.5px; }
.wx-circuit-img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}
.wx-circuit-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

.wx-dark-standard {
  background: #0b1120;
  color: #ffffff;
  padding: 68px 0;
}
.wx-dark-standard h2, .wx-dark-standard h3 { color: #ffffff !important; }
.wx-dark-standard p { color: #94a3b8 !important; }
.wx-pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.wx-pillar-box {
  padding: 26px;
  border: 1px solid #1e293b;
  background: #111827;
  border-radius: 14px;
}

/* ---- LAYOUT 2: LUXURY EDITORIAL SALON (Wix Hair Salon wh-1272) ---- */
.wx-hero-cover {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: #29201b;
}
.wx-hero-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  opacity: 0.62;
}
.wx-hero-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 18, 15, 0.35) 0%, rgba(24, 18, 15, 0.72) 100%);
}
.wx-hero-cover-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 72px 24px;
}
.wx-hero-cover-content h1 {
  color: #ffffff !important;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.wx-hero-cover-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.18rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.wx-salon-list {
  margin-top: 28px;
  border-top: 1px solid var(--border);
}
.wx-salon-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.wx-salon-thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: #e7dfd5;
}
.wx-salon-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.wx-salon-row h3 { margin: 0 0 4px !important; font-size: 1.25rem !important; font-weight: 500; }
.wx-salon-row p { margin: 0; color: var(--muted) !important; font-size: 14.5px; }
.wx-salon-price {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.wx-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.wx-portrait-card { text-align: center; }
.wx-portrait-img {
  aspect-ratio: 3 / 3.8;
  border-radius: 160px 160px 16px 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #e5ddd3;
}
.wx-portrait-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.wx-portrait-card h3 { margin: 0 0 4px !important; font-weight: 500; }
.wx-portrait-card p { margin: 0; color: var(--muted) !important; font-size: 14px; }

/* ---- LAYOUT 3: WARM COASTAL RETREAT (Wix Vacation Rental wh-1061) ---- */
.wx-hero-retreat {
  padding: 28px 28px 40px;
  max-width: 1260px;
  margin: 0 auto;
}
.wx-retreat-stage {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #44403c;
}
.wx-retreat-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.wx-retreat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.28), rgba(28, 25, 23, 0.62));
}
.wx-retreat-copy {
  position: relative;
  z-index: 2;
  padding: 48px 24px 80px;
  max-width: 680px;
}
.wx-retreat-copy h1 {
  color: #ffffff !important;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  margin: 0 0 12px;
}
.wx-retreat-copy p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.15rem;
}
.wx-booking-bar {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: -42px auto 0;
  background: #ffffff;
  border: 1px solid #e7e1d5;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 20px 45px rgba(28, 25, 23, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 18px;
  align-items: center;
}
.wx-booking-field small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  font-weight: 700;
}
.wx-booking-field strong {
  font-size: 15px;
  color: #1c1917;
}

.wx-story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.wx-story-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: end;
}
.wx-story-collage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px !important;
}

.wx-villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 32px;
}
.wx-villa-card {
  background: #ffffff;
  border: 1px solid #e7e1d5;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wx-villa-photo {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #d6d3d1;
}
.wx-villa-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.wx-villa-rate {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #1c1917;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.wx-villa-body { padding: 22px; flex: 1; }
.wx-villa-body h3 { margin: 0 0 6px !important; }
.wx-villa-meta { font-size: 13px; color: #b45309; font-weight: 600; margin-bottom: 10px; }

/* ---- LAYOUT 4: ARTISAN ROASTERY & BISTRO (50/50 Split & Menu Board) ---- */
.wx-hero-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: #1f1612;
  color: #faf6f0;
}
.wx-hero-half-copy {
  padding: 68px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin-left: auto;
}
.wx-hero-half-copy h1 {
  color: #fef3c7 !important;
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 18px;
}
.wx-hero-half-copy p {
  color: #e7d8c9 !important;
  font-size: 1.1rem;
  margin-bottom: 26px;
}
.wx-hero-half-photo {
  position: relative;
  min-height: 380px;
  background: #33221a;
}
.wx-hero-half-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.wx-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -36px;
  position: relative;
  z-index: 3;
}
.wx-triptych-item {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid #faf6f0;
  box-shadow: 0 14px 30px rgba(31, 22, 18, 0.12);
}
.wx-triptych-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }

.wx-menu-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 52px;
  background: #ffffff;
  border: 1px solid #e3d7c6;
  border-radius: 20px;
  padding: 40px;
  margin-top: 28px;
}
.wx-menu-item { margin-bottom: 20px; }
.wx-menu-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dotted #cbb89d;
  padding-bottom: 4px;
  margin-bottom: 5px;
}
.wx-menu-line strong { font-family: var(--font-heading); font-size: 1.08rem; color: #1f1612; }
.wx-menu-line span { font-weight: 700; color: #c2410c; }
.wx-menu-item p { margin: 0; font-size: 14px; color: #66554b !important; }

/* ---- LAYOUT 5: PLAYFUL KINDERGARTEN (Wix Kindergarten wh-1241) ---- */
.wx-hero-playful {
  padding: 56px 0 44px;
  background: radial-gradient(circle at 15% 20%, #fef3c7 0%, transparent 45%),
              radial-gradient(circle at 88% 80%, #dcfce7 0%, transparent 45%),
              #fffdf6;
}
.wx-playful-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}
.wx-playful-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}
.wx-hero-playful h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  color: #14532d !important;
  line-height: 1.08;
  margin: 0 0 16px;
}
.wx-playful-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
}
.wx-arch-main {
  aspect-ratio: 4 / 4.8;
  border-radius: 180px 180px 32px 32px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 18px 40px rgba(20, 83, 45, 0.12);
}
.wx-arch-side {
  aspect-ratio: 1 / 1.15;
  border-radius: 32px 90px 32px 32px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 18px 40px rgba(20, 83, 45, 0.12);
}
.wx-arch-main img, .wx-arch-side img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }

.wx-pastel-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.wx-pastel-card {
  border-radius: 28px;
  padding: 30px 26px;
  border: 2px solid rgba(0, 0, 0, 0.04);
}
.wx-pastel-mint { background: #dcfce7; }
.wx-pastel-butter { background: #fef3c7; }
.wx-pastel-sky { background: #e0f2fe; }
.wx-pastel-card h3 { margin-top: 0 !important; color: #0f172a !important; }
.wx-pastel-card p { margin-bottom: 0; color: #334155 !important; font-size: 15.5px; }

.wx-peek-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.wx-peek-item {
  aspect-ratio: 4 / 3.4;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.wx-peek-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.wx-peek-num {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #14532d;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---- LAYOUT 6: CLOUD SAAS BENTO (PulseMetric) ---- */
.wx-hero-saas {
  padding: 68px 0 48px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.13), transparent 60%), #ffffff;
}
.wx-saas-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.wx-hero-saas h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  letter-spacing: -0.035em;
}
.wx-hero-saas p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #475569 !important;
  font-size: 1.18rem;
}
.wx-saas-browser {
  max-width: 1020px;
  margin: 40px auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
  background: #0f172a;
}
.wx-saas-browser-top {
  background: #1e293b;
  padding: 10px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.wx-saas-browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #475569;
}
.wx-saas-browser img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

.wx-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.wx-bento-7 { grid-column: span 7; }
.wx-bento-5 { grid-column: span 5; }
.wx-bento-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wx-bento-dark {
  background: #0f172a;
  border-color: #1e293b;
  color: #ffffff;
}
.wx-bento-dark h3 { color: #ffffff !important; }
.wx-bento-dark p { color: #94a3b8 !important; }
.wx-bento-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px !important;
  margin-top: 18px;
}

/* ---- LAYOUT 7: DARK SWISS BRUTALIST (Atelier Kova Creative) ---- */
.wx-hero-brutalist {
  padding: 64px 0 40px;
  background: #090b10;
  border-bottom: 1px solid #232838;
}
.wx-brutalist-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-bottom: 1px solid #232838;
  padding-bottom: 16px;
  margin-bottom: 28px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a1a1aa;
}
.wx-hero-brutalist h1 {
  font-size: clamp(2.05rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f8fafc !important;
  margin: 0 0 28px;
  overflow-wrap: break-word;
}
.wx-brutalist-banner {
  aspect-ratio: 21 / 8.5;
  overflow: hidden;
  border: 1px solid #232838;
  margin-top: 28px;
}
.wx-brutalist-banner img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }

.wx-work-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 36px;
}
.wx-work-card {
  border: 1px solid #232838;
  background: #12151e;
  padding: 20px;
}
.wx-work-card.wx-stagger {
  margin-top: 52px;
}
.wx-work-img {
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  margin-bottom: 18px;
  background: #1e2433;
}
.wx-work-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.wx-work-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a78bfa;
  margin-bottom: 6px;
}
.wx-work-card h3 { margin: 0 0 6px !important; color: #ffffff !important; }
.wx-work-card p { margin: 0; color: #94a3b8 !important; font-size: 14.5px; }

/* ---- LAYOUT 8: KINETIC ATHLETIC CLUB (Forma Movement Club) ---- */
.wx-hero-athletic {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  background: #061410;
  color: #ffffff;
  overflow: hidden;
}
.wx-hero-athletic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  opacity: 0.62;
}
.wx-hero-athletic-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 16, 0.92) 0%, rgba(6, 20, 16, 0.58) 55%, rgba(6, 20, 16, 0.2) 100%);
}
.wx-hero-athletic-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 44px;
}
.wx-hero-athletic h1 {
  color: #ffffff !important;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 0 16px;
}
.wx-hero-athletic p {
  color: #d1fae5 !important;
  max-width: 520px;
  font-size: 1.12rem;
  margin-bottom: 26px;
}
.wx-athletic-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(167, 243, 208, 0.24);
}
.wx-athletic-stats strong {
  display: block;
  font-size: 1.7rem;
  color: #34d399;
  line-height: 1.1;
}
.wx-athletic-stats span {
  font-size: 13px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wx-timetable {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.wx-class-slot {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-left: 4px solid #059669;
  border-radius: 12px;
  padding: 18px;
}
.wx-class-time {
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wx-class-slot h3 { margin: 6px 0 4px !important; font-size: 1.08rem !important; }
.wx-class-slot p { margin: 0; font-size: 13.5px; color: #64748b !important; }

/* Shared Quotes & Bottom CTA Band */
.wx-quotes-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.wx-quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}
.wx-quote-card p {
  font-style: italic;
  margin-bottom: 14px;
}
.wx-quote-author {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  font-style: normal;
}

.wx-cta-band {
  margin-top: 24px;
  padding: 56px 36px;
  border-radius: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Blog Article Header & Feed */
.post-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.post-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.post-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 12px;
  color: var(--brand);
}
/* ---------- Blog article (Salient-style page header) -------------------- */
.post-header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #101014;
  color: #fff;
  padding: clamp(92px, 13vw, 168px) 0 clamp(52px, 8vw, 92px);
}
.post-header-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.post-header-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,12,.52), rgba(10,10,12,.8));
}
.post-header-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.post-meta {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
  margin-bottom: 18px;
}
.post-meta .post-pill { color: #fff; }
.post-meta-dot { margin: 0 10px; opacity: .5; }
.post-title {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #fff;
}
.post-excerpt {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  max-width: 60ch;
}
.post-body > p,
.post-body > h2,
.post-body > h3,
.post-body > ul,
.post-body > ol,
.post-body > blockquote { max-width: 760px; margin-inline: auto; }
.post-body > p { font-size: 1.06rem; line-height: 1.9; }
/* The lead paragraph runs a little larger, the way Salient opens an article. */
.post-body > p:first-of-type { font-size: 1.22rem; line-height: 1.75; }
.post-body > h2 { margin-top: 2.2em; font-size: 1.7rem; letter-spacing: -.01em; }
.post-body > figure,
.post-body > p > img,
.post-body > div:not([class]) > img { max-width: 1120px; margin-inline: auto; }
.post-body > blockquote {
  margin: 2em auto;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--brand, #4f46e5);
  font-size: 1.22rem;
  line-height: 1.6;
  font-style: italic;
}
.post-body img { border-radius: 4px; }
.post-hero-img { margin-top: 24px; }
.post-hero-img img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; }

/* ---------- Blog feed (Salient "classic enhanced" cards) ---------------- */
.site-blog-feed { margin-top: 64px; padding-top: 8px; }
.feed-heading { margin: 0 0 40px; }
.feed-heading h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: -.01em; }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 44px 32px;
  perspective: 1600px;
  perspective-origin: 50% 0;
}
/* Card variants, the way Salient's masonry mixes sizes. */
.feed-card.is-wide .feed-thumb img { aspect-ratio: 16 / 9; }
.feed-card.is-wide .feed-card-body h3 { font-size: 1.7rem !important; }
.feed-card.is-tall .feed-thumb img { aspect-ratio: 3 / 4; }
.feed-card { transform-style: preserve-3d; }
/* Scoped to .sm-ready so the cards are simply visible when motion is off. */
.sm-ready .feed-card[data-reveal] { opacity: 0; transform: translateY(60px) rotateX(16deg); }
.sm-ready .feed-card[data-reveal].is-revealed { opacity: 1; transform: none; }
.feed-card-inner { display: flex; flex-direction: column; height: 100%; }
.feed-thumb { display: block; overflow: hidden; border-radius: 4px; background: #e9e9ec; }
.feed-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.feed-card-body { padding: 22px 0 0; flex: 1; display: flex; flex-direction: column; }
.feed-date { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.feed-card-body h3 { margin: 0 0 12px !important; font-size: 1.35rem !important; line-height: 1.3; font-weight: 500; }
.feed-card-body h3 a { color: var(--text); text-decoration: none; }
.feed-card-body h3 a:hover { color: var(--brand, var(--accent, #4f46e5)); }
.feed-card-body p { font-size: 15.5px; line-height: 1.8; color: var(--muted); flex: 1; margin: 0 0 18px; }
.feed-link { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none !important; }
.post-related { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border); }

/* ---------- Header alignment (site setting) ----------------------------- */
.site-navbar[data-nav-align="left"] .nav-inner { justify-content: flex-start; gap: 38px; }
.site-navbar[data-nav-align="center"] .nav-inner { justify-content: center; gap: 38px; }

/* ---------- Forms library ------------------------------------------------ */
.davo-form-block { margin: 40px auto; max-width: 780px; }
.davo-form-block > h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; letter-spacing: -.01em; }
.davo-form-block > p { margin: 0 0 22px; color: var(--muted); }

/* Form fields — short text, long text, dropdowns, choices, consent, help text */
.davo-form-block .davo-field { display: block; margin: 0 0 16px; }
.davo-form-block .davo-field > span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .01em; margin: 0 0 7px; }
.davo-form-block input[type="text"],
.davo-form-block input[type="email"],
.davo-form-block input[type="tel"],
.davo-form-block input[type="url"],
.davo-form-block input[type="number"],
.davo-form-block input[type="date"],
.davo-form-block select,
.davo-form-block textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border, rgba(15,23,42,.18));
  border-radius: 10px;
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}
.davo-form-block input:focus-visible,
.davo-form-block select:focus-visible,
.davo-form-block textarea:focus-visible {
  outline: 2px solid var(--accent, #4338ca);
  outline-offset: 1px;
}
.davo-form-block textarea { resize: vertical; min-height: 130px; }
.davo-form-block select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px 17px;
}
.davo-form-block .davo-field-group { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.davo-form-block .davo-field-group > legend { padding: 0; margin: 0 0 7px; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.davo-form-block .davo-opt { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 15px; cursor: pointer; }
.davo-form-block .davo-opt input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--accent, #4338ca); }
.davo-form-block .davo-field-consent { display: flex; align-items: flex-start; gap: 10px; }
.davo-form-block .davo-field-consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--accent, #4338ca); }
.davo-form-block .davo-field-consent span { font-size: 14.5px; }
.davo-form-block .davo-field-help { display: block; margin: 6px 0 0; font-size: 12.5px; color: var(--muted, #64748b); }

/* Ticks and radio buttons: they are controls, not text boxes, so they keep
   their own size and sit level with their label. */
.davo-form-block input[type="checkbox"],
.davo-form-block input[type="radio"] {
  display: inline-block;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  vertical-align: middle;
  flex: 0 0 auto;
  cursor: pointer;
  accent-color: var(--accent, #4f46e5);
}
.davo-form-block .davo-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.davo-form-block .davo-opt > span { display: block; line-height: 1.45; }
.davo-form-block .davo-field-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.davo-form-block .davo-field-consent input[type="checkbox"] { margin-top: 2px; }
.davo-form-block .davo-field-consent > span { font-size: 14.5px; font-weight: 400; line-height: 1.5; }

/* A form sits in its own section so the page editor can move it up or down. */
.davo-form-section { display: block; padding: 44px 24px; }
.davo-form-section > .davo-form-block { margin: 0 auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { font-weight: 700; color: var(--text); font-size: 16px; }
.footer-right { text-align: right; }
.powered-badge { margin-top: 6px; font-size: 12px; opacity: 0.8; }

/* Responsive Breakpoints (Tablet & Mobile across all 8 Wix Layouts) */
@media (max-width: 960px) {
  .wx-wrap { padding: 0 20px; }
  .wx-section { padding: 54px 0; }
  .wx-hero-industrial-grid,
  .wx-story-split,
  .wx-hero-half,
  .wx-playful-grid,
  .wx-menu-board,
  .wx-work-masonry {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .wx-circuit-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }
  .wx-pillars-3,
  .wx-pastel-trio,
  .wx-quotes-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .wx-villa-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .wx-portrait-grid {
    gap: 18px;
  }
  .wx-peek-strip,
  .wx-timetable {
    grid-template-columns: repeat(2, 1fr);
  }
  .wx-bento-7, .wx-bento-5 {
    grid-column: span 12;
  }
  .wx-booking-bar {
    grid-template-columns: 1fr 1fr;
    margin: -26px 16px 0;
  }
  .wx-work-card.wx-stagger { margin-top: 0; }
  .wx-hero-half-copy { padding: 44px 24px; margin: 0; max-width: 100%; }
  .wx-hero-half-photo { min-height: 300px; }
  .wx-triptych { margin-top: 20px; }
}

@media (max-width: 768px) {
  .site-nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--border);
  }
  body.site-layout-industrial .site-nav,
  body.site-layout-bistro .site-nav,
  body.site-layout-brutalist .site-nav,
  body.site-layout-athletic .site-nav {
    border-top-color: rgba(255, 255, 255, 0.14);
  }
  .site-navbar.nav-open .site-nav {
    display: flex;
  }
  .site-nav a {
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 15.5px;
  }
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-trigger > a {
    flex: 1;
  }
  .nav-caret-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-shrink: 0;
  }
  body.site-layout-industrial .nav-caret-btn,
  body.site-layout-bistro .nav-caret-btn,
  body.site-layout-brutalist .nav-caret-btn,
  body.site-layout-athletic .nav-caret-btn {
    border-color: rgba(255, 255, 255, 0.18);
  }
  /* On mobile, disable hover-open so dropdown toggles cleanly via tap */
  .nav-submenu,
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    position: static;
    min-width: 0;
    max-width: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--brand);
    border-radius: 0;
    background: transparent !important;
    margin: 2px 0 6px 14px;
    padding: 2px 0 2px 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }
  .nav-submenu::before {
    display: none;
  }
  .nav-dropdown.open .nav-submenu {
    display: flex;
  }
  .nav-dropdown:hover .nav-caret-btn svg,
  .nav-dropdown:focus-within .nav-caret-btn svg {
    transform: none;
  }
  .nav-dropdown.open .nav-caret-btn svg {
    transform: rotate(180deg);
  }
  .nav-submenu a {
    padding: 8px 10px;
    font-size: 14.5px;
  }
  .site-nav a.nav-cta {
    text-align: center;
    margin-top: 6px;
    padding: 11px 18px;
  }
  .content-prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  body[class^="site-theme-"], body[class*=" site-theme-"] {
    font-size: 16px;
  }
  .site-container, .wx-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .wx-section { padding: 40px 0; }
  .wx-section-sm { padding: 32px 0; }
  .footer-right { text-align: left; }
  .site-main { padding: 32px 0 48px; }
  body.has-wx-layout .site-main { padding: 0 0 44px; }

  .wx-hero-industrial { padding-top: 40px; }
  .wx-hero-industrial h1,
  .wx-hero-cover-content h1,
  .wx-retreat-copy h1,
  .wx-hero-half-copy h1,
  .wx-hero-playful h1,
  .wx-hero-saas h1,
  .wx-hero-athletic h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.65rem);
  }

  .wx-hero-cover { min-height: 420px; }
  .wx-hero-cover-content { padding: 48px 16px; }
  .wx-salon-row { grid-template-columns: 68px 1fr; gap: 14px; }
  .wx-salon-thumb { width: 68px; height: 68px; }
  .wx-salon-price { grid-column: 1 / -1; justify-content: space-between; padding-top: 4px; }
  .wx-portrait-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }

  .wx-hero-retreat { padding: 14px 14px 24px; }
  .wx-retreat-stage { min-height: 350px; border-radius: 18px; }
  .wx-retreat-copy { padding: 36px 16px 56px; }
  .wx-booking-bar { grid-template-columns: 1fr; gap: 12px; margin: -24px 10px 0; padding: 16px; }
  .wx-booking-bar .wx-btn { width: 100%; justify-content: center; }
  .wx-villa-grid { grid-template-columns: 1fr; }
  .wx-story-collage { gap: 10px; }

  .wx-menu-board { padding: 22px 16px; gap: 22px; }
  .wx-menu-line { align-items: flex-start; }
  .wx-menu-line span { flex-shrink: 0; }
  .wx-triptych { grid-template-columns: 1fr; gap: 12px; }

  .wx-playful-collage { gap: 10px; }
  .wx-pastel-card { padding: 22px 20px; border-radius: 22px; }
  .wx-peek-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .wx-hero-saas { padding: 44px 0 32px; }
  .wx-bento-card { padding: 20px; }
  .wx-bento-card img { height: 175px; }

  .wx-hero-brutalist { padding: 40px 0 28px; }
  .wx-brutalist-banner { aspect-ratio: 16 / 9; }
  .wx-work-card { padding: 16px; }

  .wx-hero-athletic { min-height: 430px; }
  .wx-hero-athletic-inner { padding: 52px 0 32px; }
  .wx-athletic-stats { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .wx-timetable { grid-template-columns: 1fr; }

  /* Responsive Header Slideshow on Mobile */
  .site-hero-slider,
  .site-hero-slider.hs-height-compact,
  .site-hero-slider.hs-height-medium,
  .site-hero-slider.hs-height-tall {
    --hs-min-h: 440px;
  }
  body.site-layout-retreat .site-hero-slider,
  body.site-layout-playful .site-hero-slider {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 18px;
  }
  .hs-slide-inner {
    padding: 52px 22px 74px;
  }
  .hs-heading {
    font-size: clamp(1.85rem, 7.8vw, 2.55rem);
  }
  .hs-text {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }
  .hs-btn {
    padding: 11px 20px;
    font-size: 14px;
  }
  .hs-arrow {
    width: 36px;
    height: 36px;
    top: auto;
    bottom: 14px;
    transform: none;
  }
  .hs-prev { left: 14px; }
  .hs-next { right: 14px; }
  .hs-dots {
    bottom: 20px;
  }
}

/* ==========================================================================
   LAYOUT 9: CRAFTO MINIMALISTIC PORTFOLIO ("Quill-vibe®" — site-layout-minimalist)
   Includes directional curtain reveals, slide-in stagger, scroll parallax,
   double-text rollover buttons, diagonal arrow-swipe links, cursor-following
   portfolio pill captions, frosted blur award cards & kinetic marquee.
   ========================================================================== */
body.site-layout-minimalist {
  --qv-bg: #121212;
  --qv-bg-deep: #0d0d0d;
  --qv-surface: #1a1a1a;
  --qv-border: rgba(255, 255, 255, 0.12);
  --qv-border-strong: #2e2e2e;
  --qv-ink: #d9d9d9;
  --qv-muted: #8a8a8a;
  --qv-accent: var(--brand, #FF6036);
  background-color: #121212;
  color: #d9d9d9;
  font-family: "Bricolage Grotesque", "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

/* Subtle tactile studio grain overlay (pure inline SVG, works offline & in sandboxed previews) */
body.site-layout-minimalist::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.site-layout-minimalist .site-main {
  padding: 0;
  max-width: none;
}
body.site-layout-minimalist .site-main > .site-container {
  max-width: none;
  padding: 0;
}
body.site-layout-minimalist .content-prose {
  max-width: none;
  color: #d9d9d9;
}
body.site-layout-minimalist .content-prose h1,
body.site-layout-minimalist .content-prose h2,
body.site-layout-minimalist .content-prose h3,
body.site-layout-minimalist .content-prose h4 {
  color: #f3f3f3;
  font-family: "Bricolage Grotesque", "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}
body.site-layout-minimalist .content-prose p {
  color: #b8b8b8;
}
body.site-layout-minimalist .content-prose img {
  border-radius: 0;
  margin: 0;
}

/* Minimalist Dark Chrome Navbar */
body.site-layout-minimalist .site-navbar {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
body.site-layout-minimalist .site-navbar .site-container {
  max-width: 1460px;
  padding: 0 42px;
}
body.site-layout-minimalist .site-brand {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
body.site-layout-minimalist .site-brand .brand-dot {
  background: var(--qv-accent);
  box-shadow: 0 0 14px rgba(255, 96, 54, 0.55);
}
body.site-layout-minimalist .site-nav a:not(.nav-cta) {
  color: #d9d9d9;
  font-weight: 400;
  font-size: 14.5px;
  position: relative;
  transition: color 0.25s ease;
}
body.site-layout-minimalist .site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  background: var(--qv-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}
body.site-layout-minimalist .site-nav > a:not(.nav-cta):hover,
body.site-layout-minimalist .site-nav > a.active:not(.nav-cta) {
  color: var(--qv-accent);
  background: transparent;
}
body.site-layout-minimalist .site-nav > a:not(.nav-cta):hover::after,
body.site-layout-minimalist .site-nav > a.active:not(.nav-cta)::after {
  transform: scaleX(1);
}
body.site-layout-minimalist .nav-submenu {
  background: #181818;
  border: 1px solid #2e2e2e;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
}
body.site-layout-minimalist .nav-submenu a {
  color: #d9d9d9 !important;
}
body.site-layout-minimalist .nav-submenu a:hover {
  background: #242424 !important;
  color: var(--qv-accent) !important;
}
body.site-layout-minimalist .nav-caret-btn {
  color: #d9d9d9;
}
body.site-layout-minimalist .site-nav .nav-cta {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 9px 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
body.site-layout-minimalist .site-nav .nav-cta:hover {
  background: #ffffff !important;
  color: #121212 !important;
  border-color: #ffffff;
  transform: translateY(-1px);
}
body.site-layout-minimalist .site-nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}
body.site-layout-minimalist .subpage-breadcrumb {
  max-width: 1460px;
  margin: 0 auto;
  padding: 20px 42px 0;
  color: #8a8a8a;
}
body.site-layout-minimalist .subpage-breadcrumb a {
  color: #d9d9d9;
}

/* Minimalist Footer Chrome */
body.site-layout-minimalist .site-footer {
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}
body.site-layout-minimalist .site-footer .site-container {
  max-width: 1460px;
  padding-left: 42px;
  padding-right: 42px;
}
body.site-layout-minimalist .footer-brand {
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Multi-Image Header Slideshow Overrides for Minimalist Layout */
body.site-layout-minimalist .site-hero-slider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.site-layout-minimalist .hs-eyebrow {
  background: rgba(18, 18, 18, 0.65);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: 0;
  letter-spacing: 0.08em;
}
body.site-layout-minimalist .hs-heading {
  font-weight: 400;
  letter-spacing: -0.03em;
}
body.site-layout-minimalist .hs-btn {
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  font-weight: 500;
  padding: 14px 28px;
  transition: all 0.32s cubic-bezier(0.15, 0.85, 0.31, 1);
}
body.site-layout-minimalist .hs-btn:hover {
  background: #ffffff;
  color: #121212 !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}
body.site-layout-minimalist .hs-dot.is-active {
  background: var(--qv-accent);
}

/* Container & Kicker Helpers */
.qv-fluid {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 42px;
  position: relative;
}
.qv-star {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 400;
  color: #d9d9d9;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.qv-star::before {
  content: "✦";
  color: var(--qv-accent, #FF6036);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   HOVER EFFECT 1: Crafto Double-Text Rollover Button (.qv-btn-switch)
   Uses pure CSS text-shadow clone so editing the button text in Studio
   automatically updates BOTH rollover layers with zero duplicate attributes!
   -------------------------------------------------------------------------- */
.qv-btn-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: #f3f3f3 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.35s cubic-bezier(0.15, 0.85, 0.31, 1),
              color 0.35s cubic-bezier(0.15, 0.85, 0.31, 1),
              border-color 0.35s ease;
}
.qv-btn-switch .qv-btn-txt {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
}
.qv-btn-switch .qv-btn-txt > span,
.qv-btn-switch > span:first-child {
  display: inline-block;
  text-shadow: 0 2.1em 0 currentColor;
  transition: transform 0.52s cubic-bezier(0.15, 0.85, 0.31, 1);
}
.qv-btn-switch::after {
  content: "↗";
  font-size: 15px;
  line-height: 1;
  transition: transform 0.38s cubic-bezier(0.15, 0.85, 0.31, 1);
}
.qv-btn-switch:hover {
  background-color: #f3f3f3;
  border-color: #f3f3f3;
  color: #121212 !important;
}
.qv-btn-switch:hover .qv-btn-txt > span,
.qv-btn-switch:hover > span:first-child {
  transform: translateY(-2.1em);
}
.qv-btn-switch:hover::after {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   HOVER EFFECT 2: Diagonal Double-Arrow Swipe Link (.qv-arrow-swipe)
   -------------------------------------------------------------------------- */
.qv-arrow-swipe {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: #f3f3f3 !important;
  text-decoration: none !important;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  transition: color 0.3s ease;
}
.qv-arrow-swipe.qv-arrow-inline {
  flex-direction: row;
  align-items: center;
  font-size: 1.05rem;
  gap: 8px;
}
.qv-arrow-box {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qv-arrow-swipe.qv-arrow-inline .qv-arrow-box {
  width: 22px;
  height: 22px;
}
.qv-arrow-box::before,
.qv-arrow-box::after {
  content: "↗";
  position: absolute;
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.qv-arrow-swipe.qv-arrow-inline .qv-arrow-box::before,
.qv-arrow-swipe.qv-arrow-inline .qv-arrow-box::after {
  font-size: 1.1rem;
}
.qv-arrow-box::before {
  transform: translate(0, 0);
}
.qv-arrow-box::after {
  transform: translate(-115%, 115%);
  color: var(--qv-accent, #FF6036);
}
.qv-arrow-swipe:hover {
  color: var(--qv-accent, #FF6036) !important;
}
.qv-arrow-swipe:hover .qv-arrow-box::before {
  transform: translate(115%, -115%);
}
.qv-arrow-swipe:hover .qv-arrow-box::after {
  transform: translate(0, 0);
}

/* --------------------------------------------------------------------------
   KEYFRAME ANIMATIONS: Float Arrow, Spin Studio Seal & Infinite Marquee
   -------------------------------------------------------------------------- */
@keyframes qvFloat {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(12px); }
}
@keyframes qvSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes qvMarquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   SLIDE-IN & CURTAIN-WIPE SCROLL REVEAL SYSTEM
   100% visible without JS or inside Visual Editor; animates smoothly when
   body.qv-anim-ready is activated by the compiled/preview page script!
   -------------------------------------------------------------------------- */
body.qv-anim-ready [data-qv-anim] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--qv-delay, 0ms);
}
body.qv-anim-ready [data-qv-anim="fade-up"]     { transform: translate3d(0, 48px, 0); }
body.qv-anim-ready [data-qv-anim="slide-left"]  { transform: translate3d(-52px, 0, 0); }
body.qv-anim-ready [data-qv-anim="slide-right"] { transform: translate3d(44px, 0, 0); }
body.qv-anim-ready [data-qv-anim="scale-in"]    { transform: scale(0.86); }
body.qv-anim-ready [data-qv-anim="rotate-in"]   { transform: perspective(900px) translate3d(0, 26px, 0) rotateX(-24deg); }

body.qv-anim-ready [data-qv-anim].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
}

/* Directional Curtain-Wipe Slide Reveal on Images & Portfolio Cards */
[data-qv-curtain] {
  position: relative;
  overflow: hidden;
}
body.qv-anim-ready [data-qv-curtain]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #17161a;
  z-index: 4;
  pointer-events: none;
  transform: scaleY(1);
  transform-origin: bottom center;
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: var(--qv-delay, 0ms);
}
body.qv-anim-ready [data-qv-curtain="bt"]::after {
  transform-origin: top center;
}
body.qv-anim-ready [data-qv-curtain] img {
  transform: scale(1.12);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
body.qv-anim-ready [data-qv-curtain].is-inview::after {
  transform: scaleY(0);
}
body.qv-anim-ready [data-qv-curtain].is-inview img {
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   SECTION 1: MINIMALISTIC PORTFOLIO HERO (.wx-hero-minimalist)
   -------------------------------------------------------------------------- */
.wx-hero-minimalist {
  position: relative;
  padding: 68px 0 54px;
  overflow: hidden;
}
.qv-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.qv-hero-left {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  padding-top: 34px;
}
.qv-float-arrow {
  align-self: end;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qv-accent, #FF6036);
  font-size: 28px;
  animation: qvFloat 2.2s ease-in-out infinite alternate;
}
.qv-hero-copy h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.6rem);
  line-height: 1.06;
  font-weight: 400;
  color: #f5f5f5;
  margin: 0 0 18px;
  max-width: 14ch;
}
.qv-hero-copy p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: #b5b5b5;
  max-width: 44ch;
  margin: 0 0 28px;
}
.qv-hero-portrait {
  position: relative;
  aspect-ratio: 4 / 4.55;
  max-height: 660px;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}
.qv-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.qv-hero-portrait:hover img {
  transform: scale(1.05) !important;
}
.qv-mega-wordmark {
  display: block;
  font-size: clamp(4rem, 15.2vw, 15.5rem);
  line-height: 0.88;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: #f3f3f3;
  white-space: nowrap;
  margin-top: -86px;
  position: relative;
  z-index: 3;
  pointer-events: auto;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.48);
  will-change: transform;
}
.qv-mega-wordmark sup {
  font-size: 0.42em;
  font-weight: 400;
  vertical-align: super;
  color: var(--qv-accent, #FF6036);
}

/* --------------------------------------------------------------------------
   SECTION 2: KINETIC INFINITE MARQUEE BAND (.qv-marquee-band)
   -------------------------------------------------------------------------- */
.qv-marquee-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0;
  overflow: hidden;
  background: #121212;
}
.qv-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 46px;
  animation: qvMarquee 28s linear infinite;
}
.qv-marquee-band:hover .qv-marquee-track {
  animation-play-state: paused;
}
.qv-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
  font-weight: 400;
  color: #e5e5e5;
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.qv-marquee-item:hover {
  color: var(--qv-accent, #FF6036);
}
.qv-marquee-item::after {
  content: "—";
  color: #525252;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   SECTION 3: 3-COLUMN ASYMMETRIC AGENCY INTRO (.qv-agency-sec)
   -------------------------------------------------------------------------- */
.qv-agency-sec {
  padding: 120px 0 84px;
}
.qv-agency-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.15fr;
  gap: 46px;
  align-items: end;
}
.qv-agency-side {
  align-self: start;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}
.qv-agency-side p {
  max-width: 22ch;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #c4c4c4;
}
.qv-agency-photo {
  aspect-ratio: 3 / 3.9;
  overflow: hidden;
  background: #1a1a1a;
}
.qv-agency-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.qv-agency-photo:hover img {
  transform: scale(1.07) !important;
}
.qv-agency-main h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  line-height: 1.14;
  font-weight: 400;
  margin: 0 0 18px;
  color: #f3f3f3;
}
.qv-agency-main p {
  font-size: 1rem;
  line-height: 1.72;
  color: #a6a6a6;
  margin: 0 0 32px;
}
.qv-hairline {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 28px 0;
  width: 100%;
}
.qv-since-stamp {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  font-weight: 400;
  color: #f3f3f3;
  letter-spacing: 0.02em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 4: SCROLL-HIGHLIGHT MANIFESTO STATEMENT (.qv-manifesto-sec)
   -------------------------------------------------------------------------- */
.qv-manifesto-sec {
  padding: 36px 0 110px;
}
.qv-manifesto-wrap {
  max-width: 960px;
  margin-left: auto;
  margin-right: 6%;
}
.qv-manifesto-text {
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: -0.028em;
  margin: 0;
  color: #e8e8e8;
}
body.qv-anim-ready .qv-manifesto-text[data-qv-text-reveal] {
  background: linear-gradient(90deg, #f3f3f3 var(--qv-reveal, 35%), #454545 calc(var(--qv-reveal, 35%) + 18%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   SECTION 5: 2026 SHOWCASE — STAGGERED PORTFOLIO + MOUSETIP HOVER (.qv-showcase-sec)
   -------------------------------------------------------------------------- */
.qv-showcase-sec {
  padding: 20px 0 120px;
  overflow: hidden;
}
.qv-giant-banner {
  display: block;
  font-size: clamp(3.1rem, 11.2vw, 11rem);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #f3f3f3;
  white-space: nowrap;
  margin: 0 0 26px;
  will-change: transform;
}
.qv-sec-intro-right {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 58px;
}
.qv-sec-intro-box {
  max-width: 430px;
}
.qv-sec-intro-box p {
  margin: 0;
  color: #a6a6a6;
  line-height: 1.65;
}

/* Staggered Editorial Showcase Grid (8 Projects + Rotating Seal + View All CTA) */
.qv-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 34px 28px;
  align-items: center;
}
.qv-work-card {
  position: relative;
  grid-column: span 3;
  will-change: transform;
}
/* Crafto's signature asymmetric editorial offsets on desktop */
.qv-work-card:nth-child(1) { grid-column: 1 / span 3; }
.qv-work-card:nth-child(2) { grid-column: 4 / span 3; margin-top: 56px; }
.qv-work-card:nth-child(3) { grid-column: 9 / span 4; }
.qv-seal-cell               { grid-column: 1 / span 3; display: flex; justify-content: center; align-items: center; padding: 24px 0; }
.qv-work-card:nth-child(5) { grid-column: 4 / span 3; margin-top: 38px; }
.qv-work-card:nth-child(6) { grid-column: 7 / span 3; margin-top: -28px; }
.qv-work-card:nth-child(7) { grid-column: 10 / span 3; margin-top: 44px; }
.qv-work-card:nth-child(8) { grid-column: 1 / span 3; margin-top: 24px; }
.qv-work-card:nth-child(9) { grid-column: 6 / span 3; margin-top: -20px; }
.qv-viewall-cell           { grid-column: 9 / span 4; padding-left: 28px; }

.qv-work-link {
  display: block;
  position: relative;
  text-decoration: none !important;
  color: #f3f3f3 !important;
}
.qv-work-media {
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  background: #1c1c1c;
  position: relative;
}
.qv-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease !important;
}
.qv-work-card:hover .qv-work-media img {
  transform: scale(1.1) !important;
}

/* Floating Pill Caption (mousetip-wrapper) */
.qv-work-caption {
  position: absolute;
  left: var(--mx, 18px);
  top: var(--my, 18px);
  z-index: 6;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f3f3f3;
  padding: 11px 24px;
  border-radius: 65px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.26s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.qv-work-card:hover .qv-work-caption {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Subtle bottom meta bar so project names remain readable on touch screens & inside Visual Editor */
.qv-work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 2px 0;
  font-size: 15px;
  color: #d9d9d9;
}
.qv-work-meta span:last-child {
  font-size: 12.5px;
  color: #7c7c7c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.qv-work-card:hover .qv-work-meta strong {
  color: var(--qv-accent, #FF6036);
}

/* Rotating Circular Studio Badge */
.qv-spin-badge {
  position: relative;
  width: 148px;
  height: 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qv-spin-ring {
  width: 100%;
  height: 100%;
  animation: qvSpin 18s linear infinite;
}
.qv-spin-core {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--qv-accent, #FF6036);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   SECTION 6: 2026 AWARDS BOOK — FROSTED BLUR CARDS (.qv-awards-sec)
   -------------------------------------------------------------------------- */
.qv-awards-sec {
  padding: 40px 0 130px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 88%, rgba(255, 96, 54, 0.13), transparent 56%);
}
.qv-awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.qv-award-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 26px;
  text-align: center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              background-color 0.35s ease;
}
.qv-award-card:nth-child(even) {
  margin-top: 26px;
}
.qv-award-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 96, 54, 0.55);
  background: rgba(255, 255, 255, 0.055);
}
.qv-award-org {
  font-size: 1.25rem;
  font-weight: 400;
  color: #f3f3f3;
  margin: 0 0 24px;
}
.qv-award-emblem {
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 30% 30%, #2a2a2a, #121212);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--qv-accent, #FF6036);
  letter-spacing: -0.03em;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}
.qv-award-card:hover .qv-award-emblem {
  transform: scale(1.1) rotate(-4deg);
  border-color: var(--qv-accent, #FF6036);
}
.qv-award-title {
  display: block;
  font-size: 1.18rem;
  color: #f3f3f3;
  margin-bottom: 5px;
}
.qv-award-project {
  display: block;
  font-size: 0.92rem;
  color: #8f8f8f;
}

/* --------------------------------------------------------------------------
   SECTION 7: TESTIMONIALS CAROUSEL + 5.0 CLUTCH RATING (.qv-testi-sec)
   -------------------------------------------------------------------------- */
.qv-testi-sec {
  padding: 30px 0 120px;
}
.qv-testi-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 56px;
  align-items: start;
}
.qv-testi-deck {
  position: relative;
  min-height: 210px;
}
body.qv-anim-ready .qv-testi-slide {
  display: none;
  animation: qvTestiFade 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
body.qv-anim-ready .qv-testi-slide.is-active {
  display: block;
}
/* Inside Visual Builder (where qv-anim-ready is not set), stack slides cleanly so all 3 are directly editable! */
body:not(.qv-anim-ready) .qv-testi-slide + .qv-testi-slide {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}
@keyframes qvTestiFade {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
.qv-testi-slide blockquote {
  margin: 0;
  font-size: clamp(1.32rem, 2.15vw, 1.95rem);
  line-height: 1.38;
  font-weight: 400;
  color: #ececec;
  border: none;
  padding: 0;
}
.qv-author-tag {
  display: inline-block;
  color: #ffffff;
  border-bottom: 2px solid var(--qv-accent, #FF6036);
  padding-bottom: 2px;
  margin-left: 6px;
  transition: color 0.25s ease;
}
.qv-author-tag:hover {
  color: var(--qv-accent, #FF6036);
}
.qv-testi-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.qv-testi-arrows {
  display: flex;
  gap: 10px;
}
.qv-circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.qv-circle-btn:hover {
  background: #ffffff;
  color: #121212;
  border-color: #ffffff;
  transform: scale(1.06);
}
.qv-clutch-score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qv-clutch-num {
  font-size: 3.1rem;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
}
.qv-clutch-stars {
  color: var(--qv-accent, #FF6036);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 3px;
}
.qv-clutch-lbl {
  font-size: 13px;
  color: #a3a3a3;
}

/* --------------------------------------------------------------------------
   SECTION 8: 6-COLUMN HAIRLINE CLIENT LOGO STRIP (.qv-clients-sec)
   -------------------------------------------------------------------------- */
.qv-clients-sec {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.qv-clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.qv-client-cell {
  padding: 44px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c8c8c8;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease, background 0.3s ease;
}
.qv-client-cell:last-child {
  border-right: none;
}
.qv-clients-grid:hover .qv-client-cell {
  opacity: 0.38;
}
.qv-clients-grid .qv-client-cell:hover {
  opacity: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   SECTION 9: STUDIO CONTACT & MONUMENTAL SIGNATURE BAND (.qv-studio-band)
   -------------------------------------------------------------------------- */
.qv-studio-band {
  background: #101010;
  padding: 88px 0 36px;
  overflow: hidden;
}
.qv-studio-cols {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 36px;
  margin-bottom: 64px;
}
.qv-studio-col h4 {
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0 0 14px;
}
.qv-studio-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.qv-studio-col li {
  margin-bottom: 7px;
}
.qv-studio-col a {
  color: #a8a8a8;
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.qv-studio-col a:hover {
  color: var(--qv-accent, #FF6036);
  padding-left: 4px;
}
.qv-footer-wordmark {
  text-align: center;
  font-size: clamp(2.8rem, 11.2vw, 11.5rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #f3f3f3;
  white-space: nowrap;
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   INNER PAGES: NUMBERED 001..004 SERVICE ROWS & STATS (.qv-service-row)
   -------------------------------------------------------------------------- */
.qv-page-hero {
  padding: 86px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.qv-page-hero h1 {
  font-size: clamp(3rem, 8.2vw, 7.2rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: #f5f5f5;
}
.qv-page-hero .qv-lead {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.38;
  color: #bdbdbd;
  max-width: 38ch;
  margin: 0;
}
.qv-service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.qv-service-row:hover {
  padding-left: 14px;
  border-bottom-color: rgba(255, 96, 54, 0.55);
}
.qv-service-num {
  font-size: 2rem;
  font-weight: 400;
  color: #6e6e6e;
  transition: color 0.3s ease;
}
.qv-service-row:hover .qv-service-num {
  color: var(--qv-accent, #FF6036);
}
.qv-service-row h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  margin: 0 0 10px;
  font-weight: 400;
  color: #f3f3f3;
}
.qv-service-row p {
  margin: 0 0 14px;
  color: #a3a3a3;
}
.qv-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qv-service-tags span {
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d4d4d4;
}
.qv-service-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}
.qv-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.qv-service-row:hover .qv-service-thumb img {
  transform: scale(1.08) !important;
}

.qv-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.qv-stat-cell {
  padding: 42px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease;
}
.qv-stat-cell:last-child { border-right: none; }
.qv-stat-cell:hover { background: rgba(255, 255, 255, 0.03); }
.qv-stat-val {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}
.qv-stat-lbl {
  color: #9a9a9a;
  font-size: 14px;
}

/* Dark Minimalist Form & Cards on Contact / Inner Pages */
body.site-layout-minimalist .cms-card {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d9d9d9;
  border-radius: 0;
}
.qv-contact-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 14px 2px;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease;
}
.qv-contact-input:focus {
  border-bottom-color: var(--qv-accent, #FF6036);
}

/* --------------------------------------------------------------------------
   RESPONSIVE RULES FOR MINIMALISTIC PORTFOLIO (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .qv-fluid,
  body.site-layout-minimalist .site-navbar .site-container,
  body.site-layout-minimalist .site-footer .site-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .qv-agency-grid {
    grid-template-columns: 1fr 1fr;
  }
  .qv-agency-side {
    grid-column: 1 / -1;
    text-align: left;
    align-items: flex-start;
  }
  .qv-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qv-work-card,
  .qv-work-card:nth-child(n),
  .qv-seal-cell,
  .qv-viewall-cell {
    grid-column: auto !important;
    margin-top: 0 !important;
    padding-left: 0;
  }
  .qv-awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qv-award-card:nth-child(even) {
    margin-top: 0;
  }
  .qv-testi-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .qv-clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .qv-client-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .qv-studio-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .qv-service-row {
    grid-template-columns: 60px 1fr;
  }
  .qv-service-thumb {
    grid-column: 1 / -1;
  }
  .qv-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qv-stat-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 760px) {
  body.site-layout-minimalist .site-navbar .site-nav {
    background: #161616;
    border-bottom: 1px solid #2e2e2e;
  }
  .qv-fluid,
  body.site-layout-minimalist .site-navbar .site-container,
  body.site-layout-minimalist .site-footer .site-container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .wx-hero-minimalist {
    padding: 36px 0 42px;
  }
  .qv-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .qv-hero-left {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .qv-float-arrow {
    display: none;
  }
  .qv-mega-wordmark {
    margin-top: 16px;
    white-space: normal;
    word-break: break-word;
  }
  .qv-giant-banner,
  .qv-footer-wordmark {
    white-space: normal;
    word-break: break-word;
  }
  .qv-agency-sec {
    padding: 68px 0 56px;
  }
  .qv-agency-grid,
  .qv-showcase-grid,
  .qv-awards-grid,
  .qv-studio-cols,
  .qv-stat-grid {
    grid-template-columns: 1fr;
  }
  .qv-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qv-testi-bar {
    flex-wrap: wrap;
  }
  .qv-service-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Davo CMS contact form */
.davo-contact-form{display:grid;gap:18px;max-width:680px;margin:24px 0}.davo-field{display:grid;gap:7px;font-size:.95rem;font-weight:600}.davo-contact-form .davo-field{display:grid}.davo-contact-form .davo-field span{display:block}.davo-field input,.davo-field textarea{display:block;box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #aab1ba;border-radius:4px;background:#fff;color:#151922;font:inherit}.davo-field textarea{resize:vertical}.davo-form-submit{justify-self:start;cursor:pointer;background:var(--site-accent,#4f46e5);color:#fff;border:0;border-radius:4px;padding:13px 22px;font:inherit;font-weight:700}.davo-form-submit:hover{filter:brightness(.85)}.davo-form-note{font-size:.85rem;opacity:.75;margin:0}.davo-contact-form .davo-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.davo-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* Contact form: original minimalist visual and in-page confirmation */

.davo-contact-form[hidden],.davo-contact-form [hidden]{display:none!important}
.davo-contact-confirmation{padding:28px 0;max-width:680px}.davo-contact-confirmation h3{font:inherit;font-size:clamp(1.7rem,3vw,2.5rem);margin:0 0 12px}.davo-contact-confirmation p,.davo-submit-feedback{line-height:1.6}.davo-submit-feedback{color:#c1442f} .davo-form-submit:disabled{opacity:.65;cursor:wait}
body.site-layout-minimalist .davo-contact-form{gap:22px;margin:0;max-width:none}
body.site-layout-minimalist .davo-contact-form .davo-field{gap:0;font-weight:400}
body.site-layout-minimalist .davo-contact-form .davo-field span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.site-layout-minimalist .davo-contact-form .davo-field input,body.site-layout-minimalist .davo-contact-form .davo-field textarea{background:transparent;color:#fff;border:0;border-bottom:1px solid rgba(255,255,255,.22);border-radius:0;padding:14px 2px;font-family:inherit;font-size:15px;outline:none;transition:border-color .25s ease}
body.site-layout-minimalist .davo-contact-form .davo-field input::placeholder,body.site-layout-minimalist .davo-contact-form .davo-field textarea::placeholder{color:#a6a6a6;opacity:1}
body.site-layout-minimalist .davo-contact-form .davo-field input:focus,body.site-layout-minimalist .davo-contact-form .davo-field textarea:focus{border-bottom-color:var(--qv-accent,#ff6036)}
body.site-layout-minimalist .davo-contact-form .davo-form-submit{background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:0;color:#fff;padding:16px 26px;font-size:14px;font-weight:500;transition:background .3s,color .3s,border-color .3s}
body.site-layout-minimalist .davo-contact-form .davo-form-submit::after{content:' ↗'}
body.site-layout-minimalist .davo-contact-form .davo-form-submit:hover{background:#f3f3f3;color:#121212;border-color:#f3f3f3;filter:none}
body.site-layout-minimalist .davo-contact-confirmation{border-top:1px solid rgba(255,255,255,.22);color:#f3f3f3}
body.site-layout-minimalist .davo-submit-feedback{color:#ff987e}

/* Affran private portfolio migration pilot */
body.site-layout-affranpilot{background:#fff;color:#444;font-family:Arial,Helvetica,sans-serif}
body.site-layout-affranpilot .site-container{max-width:1500px;margin:0 auto;padding-left:20px;padding-right:20px}
body.site-layout-affranpilot .site-navbar{background:#fff;border:0;box-shadow:none}
body.site-layout-affranpilot .nav-inner{min-height:76px}
body.site-layout-affranpilot .site-brand{font-weight:700;color:#444}
body.site-layout-affranpilot .brand-dot{width:39px;height:39px;border-radius:50% 50% 0 50%;background:#e44520;position:relative;display:inline-block}
body.site-layout-affranpilot .brand-dot:after{content:'a';position:absolute;color:white;font-size:23px;line-height:39px;left:11px;font-weight:700}
body.site-layout-affranpilot .site-nav a{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#555}
body.site-layout-affranpilot .site-main{padding:0}
body.site-layout-affranpilot .content-prose{max-width:none}
body.site-layout-affranpilot .content-prose h1,body.site-layout-affranpilot .content-prose h2{font-family:Arial,Helvetica,sans-serif;color:#444;letter-spacing:-.035em}
body.site-layout-affranpilot .af-intro{padding:50px 0 55px}
body.site-layout-affranpilot .af-intro h1{font-size:clamp(38px,5.2vw,75px);line-height:1.05;margin:0 0 32px;font-weight:700}
body.site-layout-affranpilot .af-intro p{font-size:clamp(19px,2.25vw,31px);line-height:1.55;font-weight:600;color:#817e70;max-width:1250px;margin:0}
body.site-layout-affranpilot .af-rule{width:50px;height:1px;background:#bbb;margin-top:22px}
body.site-layout-affranpilot .af-filters{display:flex;gap:25px;flex-wrap:wrap;margin:0 0 30px}
body.site-layout-affranpilot .af-filters button{border:0;padding:5px 0;background:none;font:500 12px Arial,sans-serif;text-transform:uppercase;color:#888;cursor:pointer}
body.site-layout-affranpilot .af-filters button[aria-pressed=true],body.site-layout-affranpilot .af-filters button:hover{color:#e44520}
body.site-layout-affranpilot .af-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.site-layout-affranpilot .af-card{position:relative;display:block;overflow:hidden;aspect-ratio:1;background:#f1f1f1;color:#fff;text-decoration:none}
body.site-layout-affranpilot .af-card[hidden]{display:none!important}
body.site-layout-affranpilot .af-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
body.site-layout-affranpilot .af-card-label{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:space-between;padding:20px;color:white;font-size:17px;font-weight:700;background:linear-gradient(transparent,rgba(0,0,0,.75));opacity:0;transition:opacity .25s}
body.site-layout-affranpilot .af-card:hover img,body.site-layout-affranpilot .af-card:focus img{transform:scale(1.05)}
body.site-layout-affranpilot .af-card:hover .af-card-label,body.site-layout-affranpilot .af-card:focus .af-card-label{opacity:1}
body.site-layout-affranpilot .af-about,body.site-layout-affranpilot .af-hello{padding:120px 0;max-width:850px}
body.site-layout-affranpilot .af-about h2,body.site-layout-affranpilot .af-hello h2{font-size:clamp(32px,4vw,54px);line-height:1.1;margin:14px 0 24px}
body.site-layout-affranpilot .af-about p,body.site-layout-affranpilot .af-hello p{font-size:19px;line-height:1.7}
body.site-layout-affranpilot .af-eyebrow{font-size:12px!important;text-transform:uppercase;letter-spacing:.14em;color:#999}
body.site-layout-affranpilot .af-page a:not(.af-card),body.site-layout-affranpilot .af-project a{color:#e44520}
body.site-layout-affranpilot .af-clients{padding:40px 0 60px}
body.site-layout-affranpilot .af-clients h2{font-size:22px;margin:0 0 28px}
body.site-layout-affranpilot .af-logos{display:grid;grid-template-columns:repeat(7,1fr)}
body.site-layout-affranpilot .af-logo{border:1px solid #f7f7f7;display:flex;align-items:center;justify-content:center;min-height:110px}
body.site-layout-affranpilot .af-logo img{width:85%;height:auto;display:block}
body.site-layout-affranpilot .af-project-intro{padding:80px 0 55px}
body.site-layout-affranpilot .af-project-intro h1{font-size:clamp(40px,5vw,72px);line-height:1.1;margin:20px 0}
body.site-layout-affranpilot .af-project-subtitle{font-size:24px;color:#888}
body.site-layout-affranpilot .af-meta{display:flex;gap:90px;margin-top:55px;flex-wrap:wrap}
body.site-layout-affranpilot .af-meta div{display:flex;flex-direction:column;gap:10px}
body.site-layout-affranpilot .af-meta small{font-size:11px;letter-spacing:.12em;color:#999}
body.site-layout-affranpilot .af-project-image img{display:block;width:100%;height:auto;margin:0}
body.site-layout-affranpilot .af-project-copy{display:grid;grid-template-columns:1fr 2fr;gap:70px;padding:100px 5%}
body.site-layout-affranpilot .af-project-copy h2{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:12px 0}
body.site-layout-affranpilot .af-project-copy p{font-size:17px;line-height:1.8;margin:0 0 20px}
body.site-layout-affranpilot .af-project-next{padding:90px 0}
body.site-layout-affranpilot .af-project-next>a{font-size:30px;font-weight:700}
body.site-layout-affranpilot .site-footer{background:#f8f8f8;color:#777;border-top:1px solid #eee}
@media(max-width:900px){body.site-layout-affranpilot .af-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.site-layout-affranpilot .af-logos{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){body.site-layout-affranpilot .site-container{padding-left:15px;padding-right:15px}body.site-layout-affranpilot .af-intro{padding:36px 0 45px}body.site-layout-affranpilot .af-filters{gap:12px 18px}body.site-layout-affranpilot .af-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.site-layout-affranpilot .af-card-label{opacity:1;font-size:12px;padding:10px}body.site-layout-affranpilot .af-about,body.site-layout-affranpilot .af-hello{padding:70px 0}body.site-layout-affranpilot .af-logos{grid-template-columns:repeat(3,1fr)}body.site-layout-affranpilot .af-project-intro{padding:45px 0}body.site-layout-affranpilot .af-project-copy{grid-template-columns:1fr;gap:15px;padding:55px 0}body.site-layout-affranpilot .af-meta{gap:25px;margin-top:35px}}
body.site-layout-affranpilot.has-wx-layout article.content-prose:not(:has(.wx-page)){max-width:none;padding:0;margin:0}
body.site-layout-affranpilot .af-card{padding:0;border:0;border-radius:0}
body.site-layout-affranpilot .af-card img,body.site-layout-affranpilot .af-logo img,body.site-layout-affranpilot .af-project-image img{border-radius:0}
body.site-layout-affranpilot.has-wx-layout .site-main > .site-container{max-width:1500px;padding-left:20px;padding-right:20px}
@media(max-width:600px){body.site-layout-affranpilot.has-wx-layout .site-main > .site-container{padding-left:15px;padding-right:15px}}

/* Affran full template uses its own scope; the older pilot is untouched. */
body.site-layout-affranfull{background:#fff;color:#444;font-family:Arial,Helvetica,sans-serif}
body.site-layout-affranfull .site-container{max-width:1500px;margin:0 auto;padding-left:20px;padding-right:20px}
body.site-layout-affranfull .site-navbar{background:#fff;border:0;box-shadow:none}
body.site-layout-affranfull .nav-inner{min-height:76px}
body.site-layout-affranfull .site-brand{font-weight:700;color:#444}
body.site-layout-affranfull .brand-dot{width:39px;height:39px;border-radius:50% 50% 0 50%;background:#e44520;position:relative;display:inline-block}
body.site-layout-affranfull .brand-dot:after{content:'a';position:absolute;color:white;font-size:23px;line-height:39px;left:11px;font-weight:700}
body.site-layout-affranfull .site-nav a{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#555}
body.site-layout-affranfull .site-main{padding:0}
body.site-layout-affranfull .content-prose{max-width:none}
body.site-layout-affranfull .content-prose h1,body.site-layout-affranfull .content-prose h2{font-family:Arial,Helvetica,sans-serif;color:#444;letter-spacing:-.035em}
body.site-layout-affranfull .af-intro{padding:50px 0 55px}
body.site-layout-affranfull .af-intro h1{font-size:clamp(38px,5.2vw,75px);line-height:1.05;margin:0 0 32px;font-weight:700}
body.site-layout-affranfull .af-intro p{font-size:clamp(19px,2.25vw,31px);line-height:1.55;font-weight:600;color:#817e70;max-width:1250px;margin:0}
body.site-layout-affranfull .af-rule{width:50px;height:1px;background:#bbb;margin-top:22px}
body.site-layout-affranfull .af-filters{display:flex;gap:25px;flex-wrap:wrap;margin:0 0 30px}
body.site-layout-affranfull .af-filters button{border:0;padding:5px 0;background:none;font:500 12px Arial,sans-serif;text-transform:uppercase;color:#888;cursor:pointer}
body.site-layout-affranfull .af-filters button[aria-pressed=true],body.site-layout-affranfull .af-filters button:hover{color:#e44520}
body.site-layout-affranfull .af-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.site-layout-affranfull .af-card{position:relative;display:block;overflow:hidden;aspect-ratio:1;background:#f1f1f1;color:#fff;text-decoration:none}
body.site-layout-affranfull .af-card[hidden]{display:none!important}
body.site-layout-affranfull .af-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
body.site-layout-affranfull .af-card-label{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:space-between;padding:20px;color:white;font-size:17px;font-weight:700;background:linear-gradient(transparent,rgba(0,0,0,.75));opacity:0;transition:opacity .25s}
body.site-layout-affranfull .af-card:hover img,body.site-layout-affranfull .af-card:focus img{transform:scale(1.05)}
body.site-layout-affranfull .af-card:hover .af-card-label,body.site-layout-affranfull .af-card:focus .af-card-label{opacity:1}
body.site-layout-affranfull .af-about,body.site-layout-affranfull .af-hello{padding:120px 0;max-width:850px}
body.site-layout-affranfull .af-about h2,body.site-layout-affranfull .af-hello h2{font-size:clamp(32px,4vw,54px);line-height:1.1;margin:14px 0 24px}
body.site-layout-affranfull .af-about p,body.site-layout-affranfull .af-hello p{font-size:19px;line-height:1.7}
body.site-layout-affranfull .af-eyebrow{font-size:12px!important;text-transform:uppercase;letter-spacing:.14em;color:#999}
body.site-layout-affranfull .af-page a:not(.af-card),body.site-layout-affranfull .af-project a{color:#e44520}
body.site-layout-affranfull .af-clients{padding:40px 0 60px}
body.site-layout-affranfull .af-clients h2{font-size:22px;margin:0 0 28px}
body.site-layout-affranfull .af-logos{display:grid;grid-template-columns:repeat(7,1fr)}
body.site-layout-affranfull .af-logo{border:1px solid #f7f7f7;display:flex;align-items:center;justify-content:center;min-height:110px}
body.site-layout-affranfull .af-logo img{width:85%;height:auto;display:block}
body.site-layout-affranfull .af-project-intro{padding:80px 0 55px}
body.site-layout-affranfull .af-project-intro h1{font-size:clamp(40px,5vw,72px);line-height:1.1;margin:20px 0}
body.site-layout-affranfull .af-project-subtitle{font-size:24px;color:#888}
body.site-layout-affranfull .af-meta{display:flex;gap:90px;margin-top:55px;flex-wrap:wrap}
body.site-layout-affranfull .af-meta div{display:flex;flex-direction:column;gap:10px}
body.site-layout-affranfull .af-meta small{font-size:11px;letter-spacing:.12em;color:#999}
body.site-layout-affranfull .af-project-image img{display:block;width:100%;height:auto;margin:0}
body.site-layout-affranfull .af-project-copy{display:grid;grid-template-columns:1fr 2fr;gap:70px;padding:100px 5%}
body.site-layout-affranfull .af-project-copy h2{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:12px 0}
body.site-layout-affranfull .af-project-copy p{font-size:17px;line-height:1.8;margin:0 0 20px}
body.site-layout-affranfull .af-project-next{padding:90px 0}
body.site-layout-affranfull .af-project-next>a{font-size:30px;font-weight:700}
body.site-layout-affranfull .site-footer{background:#f8f8f8;color:#777;border-top:1px solid #eee}
@media(max-width:900px){body.site-layout-affranfull .af-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.site-layout-affranfull .af-logos{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){body.site-layout-affranfull .site-container{padding-left:15px;padding-right:15px}body.site-layout-affranfull .af-intro{padding:36px 0 45px}body.site-layout-affranfull .af-filters{gap:12px 18px}body.site-layout-affranfull .af-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.site-layout-affranfull .af-card-label{opacity:1;font-size:12px;padding:10px}body.site-layout-affranfull .af-about,body.site-layout-affranfull .af-hello{padding:70px 0}body.site-layout-affranfull .af-logos{grid-template-columns:repeat(3,1fr)}body.site-layout-affranfull .af-project-intro{padding:45px 0}body.site-layout-affranfull .af-project-copy{grid-template-columns:1fr;gap:15px;padding:55px 0}body.site-layout-affranfull .af-meta{gap:25px;margin-top:35px}}
body.site-layout-affranfull.has-wx-layout article.content-prose:not(:has(.wx-page)){max-width:none;padding:0;margin:0}
body.site-layout-affranfull .af-card{padding:0;border:0;border-radius:0}
body.site-layout-affranfull .af-card img,body.site-layout-affranfull .af-logo img,body.site-layout-affranfull .af-project-image img{border-radius:0}
body.site-layout-affranfull.has-wx-layout .site-main > .site-container{max-width:1500px;padding-left:20px;padding-right:20px}
@media(max-width:600px){body.site-layout-affranfull.has-wx-layout .site-main > .site-container{padding-left:15px;padding-right:15px}}

body.site-layout-affranfull .site-brand .brand-logo{width:39px;height:39px;object-fit:contain;max-height:none}
body.site-layout-affranfull .site-brand .brand-logo+span{display:none}
body.site-layout-affranfull .site-nav a{color:#444}
body.site-layout-affranfull .af-about-intro,body.site-layout-affranfull .af-about-experience,body.site-layout-affranfull .af-contact{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,7vw,110px);align-items:center;padding:80px 5%}
body.site-layout-affranfull .af-about-intro img{max-width:325px;width:100%;display:block;margin:auto}
body.site-layout-affranfull .af-about-experience img{width:100%;height:auto}
body.site-layout-affranfull .af-about-intro h1,body.site-layout-affranfull .af-contact h1{font-size:clamp(40px,5vw,70px);line-height:1.08;margin:0 0 25px}
body.site-layout-affranfull .af-about-intro p,body.site-layout-affranfull .af-about-experience p,body.site-layout-affranfull .af-about-achievements p,body.site-layout-affranfull .af-contact p,body.site-layout-affranfull .af-contact li{font-size:18px;line-height:1.8}
body.site-layout-affranfull .af-about-achievements{max-width:1100px;margin:auto;padding:75px 5%}
body.site-layout-affranfull .af-about-experience h2,body.site-layout-affranfull .af-about-achievements h2,body.site-layout-affranfull .af-contact h2{font-size:clamp(30px,3.5vw,50px);line-height:1.15}
body.site-layout-affranfull .af-contact{align-items:start}
body.site-layout-affranfull .af-project-intro{background-size:cover;background-position:center;padding:60px 5%;color:white;min-height:215px;display:flex;flex-direction:column;justify-content:center}
body.site-layout-affranfull .af-project-intro h1{color:white;font-size:clamp(32px,4vw,52px);margin:0 0 10px}
body.site-layout-affranfull .af-project-intro .af-project-subtitle{color:white;font-size:18px;margin:0}
body.site-layout-affranfull .af-project-image img{width:100%;height:auto}
body.site-layout-affranfull .footer-social{display:flex;flex-wrap:wrap;gap:18px;justify-content:flex-end;margin-top:14px}
body.site-layout-affranfull .footer-social a{font-size:13px;color:#555;text-decoration:none}
body.site-layout-affranfull .footer-social a:hover{color:#e44520}
body.site-layout-affranfull .site-footer .footer-brand,body.site-layout-affranfull .site-footer .footer-tagline{display:none}
@media(max-width:700px){body.site-layout-affranfull .af-about-intro,body.site-layout-affranfull .af-about-experience,body.site-layout-affranfull .af-contact{grid-template-columns:1fr;padding:50px 0;gap:30px}body.site-layout-affranfull .footer-social{justify-content:flex-start}}

.nav-subgroup summary{cursor:pointer;list-style:none;padding:10px 16px;color:inherit;font-size:13px}.nav-subgroup summary::-webkit-details-marker{display:none}.nav-subgroup summary::after{content:' ▸';float:right}.nav-subgroup[open] summary::after{content:' ▾'}.nav-grandchildren{padding-left:12px;border-left:1px solid #ddd}.nav-grandchildren a{display:block}.nav-subgroup summary:focus-visible{outline:2px solid currentColor;outline-offset:-2px}

body.site-layout-affranfull .af-share{padding:35px 5%;border-top:1px solid #eee;display:flex;gap:18px;align-items:center;flex-wrap:wrap}body.site-layout-affranfull .af-share button{border:0;background:transparent;color:#e44520;cursor:pointer;font:inherit}
body.site-theme-portfolio.site-layout-affranfull .content-prose p,body.site-theme-portfolio.site-layout-affranfull .content-prose li,body.site-theme-portfolio.site-layout-affranfull .content-prose label{color:#555}
body.site-theme-portfolio.site-layout-affranfull .content-prose .af-intro p{color:#817e70}
body.site-theme-portfolio.site-layout-affranfull .content-prose .af-project-intro p{color:#fff}

body.site-layout-affranfull .af-like{display:flex;gap:12px;align-items:center;padding:25px 5%;font-size:14px;color:#666}body.site-layout-affranfull .af-like button{border:0;background:transparent;color:#e44520;cursor:pointer;font-size:25px;line-height:1}body.site-layout-affranfull .af-like button[aria-pressed=true]{color:#b63219}body.site-layout-affranfull .af-like button:disabled{opacity:.5;cursor:default}

body.site-layout-affranfull .af-related{padding:45px 0 80px}body.site-layout-affranfull .af-related h2{font-size:26px;margin:0 0 30px}body.site-layout-affranfull .af-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}@media(max-width:700px){body.site-layout-affranfull .af-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.site-layout-affranfull .af-project-intro,body.site-layout-affranfull .af-project-image{position:relative;width:100vw;left:50%;margin-left:-50vw}

body.site-layout-affranfull .site-hero-slider.hs-height-compact{--hs-min-h:219px}
body.site-layout-affranfull .site-hero-slider.hs-height-compact .hs-slide-inner{max-width:1500px;padding:25px 20px}
body.site-layout-affranfull .site-hero-slider.hs-height-compact .hs-heading{font-size:clamp(32px,4vw,52px);margin:0 0 10px}
body.site-layout-affranfull .site-hero-slider.hs-height-compact .hs-text{font-size:18px;margin:0}
@media(max-width:600px){body.site-layout-affranfull .site-hero-slider.hs-height-compact{--hs-min-h:240px}}

/* ==========================================================================
   Davo motion layer — shared by every template (see assets/js/site-motion.js
   on the build side; compiled pages receive it inline).
   Nothing is hidden unless the script has marked the page as ready, so the
   editor canvas and reduced-motion visitors always see the full content.
   ========================================================================== */
.sm-ready [data-reveal]{opacity:0;transform:translateY(28px)}
.sm-ready [data-reveal].is-revealed{opacity:1;transform:none}
[data-stack]{position:relative}
.sm-ready [data-stack] > *{position:sticky;top:20px;transform-origin:50% 0;will-change:transform,filter;background:var(--card-bg,#fff)}
[data-reveal-group] [data-reveal]{will-change:opacity,transform}
.sm-stack-dots{display:flex;gap:8px;justify-content:center;margin:18px 0 0}
.sm-stack-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:1px solid currentColor;background:transparent;cursor:pointer;opacity:.45}
.sm-stack-dots button.is-active{opacity:1;background:currentColor}
[data-filter-item].is-filtered-out{display:none}
[data-filter]{cursor:pointer}
[data-filter].is-active{color:var(--brand,#4f46e5)}
@media (max-width:760px){
  .sm-ready [data-stack] > *{position:static!important;transform:none!important;filter:none!important}
  .sm-stack-dots{display:none}
}
@media (prefers-reduced-motion: reduce){
  .sm-ready [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
}

/* ==========================================================================
   Layered Portfolio template (tpl-layered) — greyscale imagery, hairline
   rules, a headline set to the measure and an oversized closing colophon.
   ========================================================================== */
.tpl-layered{--layered-ink:#111827;--layered-rule:rgba(17,24,39,.14)}
.tpl-layered img{filter:grayscale(100%);transition:filter .6s ease,transform .8s cubic-bezier(.2,.6,.2,1)}

/* ---- opening: display headline, quiet slide counter, scroll cue ---- */
/* The opening is full-bleed and nearly full height, the way the reference is,
   and the headline is then set to the measure by the motion layer. The hero is
   compiled outside the page wrapper, so it is reached through the layout class
   on <body> rather than through .tpl-layered. */
body.site-layout-layered .site-hero-slider{--hs-min-h:min(90vh,880px)}
body.site-layout-layered .hs-slide-inner,
body.site-layout-layered .hs-content{max-width:min(1240px,92%)}
body.site-layout-layered .hs-heading{font-size:clamp(44px,9vw,240px);line-height:.92;letter-spacing:-.04em;
  font-weight:800;margin:0 0 18px;text-wrap:balance}
body.site-layout-layered .hs-slide-bg{filter:grayscale(100%);transition:filter .8s ease}
body.site-layout-layered .site-hero-slider:hover .hs-slide-bg{filter:grayscale(0%)}
body.site-layout-layered .hs-eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:700}
body.site-layout-layered .hs-idx,body.site-layout-layered .hs-dots{font-variant-numeric:tabular-nums;letter-spacing:.14em;font-size:11px}
.tpl-layered .wx-hero-cover h1{font-size:clamp(44px,9vw,240px);line-height:.92;letter-spacing:-.04em}

.tpl-layered-lead{padding-top:clamp(48px,7vw,104px)}
.tpl-layered-leadtext{font-size:clamp(19px,2.1vw,29px);line-height:1.42;letter-spacing:-.01em;
  max-width:34em;margin:0;color:#27272a}
.tpl-layered-cue{display:inline-flex;align-items:center;gap:12px;margin-bottom:26px;
  text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:700;color:var(--layered-ink);text-decoration:none}
.tpl-layered-cue::after{content:"";display:block;width:64px;height:1px;background:currentColor;
  transform-origin:left;animation:tplLayeredCue 2.6s cubic-bezier(.2,.6,.2,1) infinite}
@keyframes tplLayeredCue{0%{transform:scaleX(.15);opacity:.3}45%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:.3}}

/* ---- stacked project cards ---- */
.tpl-layered-card{padding:clamp(34px,5vw,72px) 0}
.tpl-layered-cardmedia{margin:0;overflow:hidden;background:#e4e4e7;aspect-ratio:16/10}
.tpl-layered-cardmedia img{width:100%;height:100%;object-fit:cover;display:block}
.tpl-layered-card:hover .tpl-layered-cardmedia img{filter:grayscale(0%);transform:scale(1.03)}
.tpl-layered-meta{display:grid;grid-template-columns:1.6fr 1fr auto;gap:18px;align-items:baseline;
  margin-top:22px;padding:16px 0;border-top:1px solid var(--layered-rule);border-bottom:1px solid var(--layered-rule)}
.tpl-layered-meta h2{margin:0;font-size:clamp(26px,3.4vw,46px);line-height:1;letter-spacing:-.025em;font-weight:800}
.tpl-layered-meta span{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:700;opacity:.72}
.tpl-layered-meta span:last-child{font-variant-numeric:tabular-nums}
.tpl-layered-cardcopy{max-width:46em;margin:18px 0 0;color:#3f3f46}
.tpl-layered-more{display:inline-block;margin-top:14px;font-size:13px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--layered-ink);text-decoration:none;border-bottom:1px solid var(--layered-ink);padding-bottom:2px}
.tpl-layered-num{display:block;margin-top:18px;font-size:11px;letter-spacing:.22em;opacity:.4}

/* ---- filters: hairline links with counts ---- */
.tpl-layered-filters{display:flex;gap:26px;flex-wrap:wrap;align-items:baseline;margin:0 0 28px;
  border-bottom:1px solid var(--layered-rule);padding-bottom:14px}
.tpl-layered-filter{position:relative;background:none;border:0;padding:0 0 6px;cursor:pointer;color:inherit;
  font:inherit;font-size:14px;font-weight:600;letter-spacing:.02em;opacity:.55;transition:opacity .3s ease}
.tpl-layered-filter sup{font-size:10px;margin-left:4px;opacity:.7}
.tpl-layered-filter::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--layered-ink);
  transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.6,.2,1)}
.tpl-layered-filter:hover{opacity:.85}
.tpl-layered-filter.is-active{opacity:1}
.tpl-layered-filter.is-active::after{transform:scaleX(1)}

/* ---- grid tiles ---- */
.tpl-layered-tile{border:0;border-radius:0;padding:0;background:none;box-shadow:none;overflow:visible}
.tpl-layered-tile>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#e4e4e7}
.tpl-layered-tile:hover>img{filter:grayscale(0%);transform:scale(1.03)}
.tpl-layered-tile .tpl-layered-tilemeta{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:baseline;
  margin-top:12px;padding-top:10px;border-top:1px solid var(--layered-rule)}
.tpl-layered-tile h3{margin:0;font-size:19px;letter-spacing:-.01em}
.tpl-layered-tile .tpl-layered-tilemeta span{text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:700;opacity:.66}
.tpl-layered-tile p{margin-top:10px;color:#52525b;font-size:14px}
.tpl-layered-figure{font-size:clamp(34px,4vw,56px);font-weight:800;letter-spacing:-.03em;line-height:1}

/* ---- awards table ---- */
.tpl-layered-awards{margin-top:26px;border-top:1px solid var(--layered-rule)}
.tpl-layered-awardhead{display:grid;grid-template-columns:1.2fr 1fr 1.4fr .5fr;gap:14px;padding:10px 6px;
  border-bottom:1px solid var(--layered-rule);text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:700;opacity:.45}
.tpl-layered-award{display:grid;grid-template-columns:1.2fr 1fr 1.4fr .5fr;gap:14px;align-items:baseline;
  padding:18px 6px;border-bottom:1px solid var(--layered-rule);transition:background .3s ease,padding-left .3s ease}
.tpl-layered-award:hover{background:rgba(17,24,39,.04);padding-left:14px}
.tpl-layered-award span{font-size:13px;letter-spacing:.02em;opacity:.75}
.tpl-layered-award strong{font-size:clamp(18px,2.2vw,27px);font-weight:700;letter-spacing:-.015em}
.tpl-layered-award span:last-child{text-align:right;opacity:.6;font-variant-numeric:tabular-nums}
.tpl-layered-award:hover img,.tpl-layered-award:hover{filter:none}

/* ---- closing colophon ---- */
.tpl-layered-colophon{padding:clamp(56px,9vw,132px) 0 clamp(40px,6vw,88px);border-top:1px solid var(--layered-rule)}
.tpl-layered-mark{display:block;font-size:clamp(52px,14vw,190px);line-height:.86;letter-spacing:-.05em;font-weight:800}
.tpl-layered-marknote{display:block;margin-top:20px;text-transform:uppercase;letter-spacing:.18em;font-size:11px;opacity:.6}

@media(max-width:760px){
  .tpl-layered-meta{grid-template-columns:1fr;gap:6px}
  .tpl-layered-awardhead{display:none}
  .tpl-layered-award{grid-template-columns:1fr 1fr;gap:4px;padding:16px 4px}
  .tpl-layered-award span:last-child{text-align:left}
  .tpl-layered-filters{gap:18px}
}
@media(prefers-reduced-motion:reduce){
  .tpl-layered-cue::after{animation:none;transform:scaleX(1)}
  .tpl-layered img{transition:none}
}
/* ==========================================================================
   Page transition (site setting: "Page transition" in Theme & Branding).
   The overlay is written by the compiler on every page of a site that has the
   setting switched on, so it is not tied to any one template. It only shows
   while the motion layer is running: without JavaScript the panels never
   appear, so a page can never be left covered.
   ========================================================================== */
.su-wipe-screen { display: none; }
.sm-ready .su-wipe-screen {
  display: block; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
}
.su-wipe-screen > span {
  position: absolute; inset: 0; display: block;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  will-change: transform;
}
/* Two greys sweeping to the left, timed as the demo does it: the dark panel
   goes first (0.55s), the pale translucent veil follows a 0.27s beat behind.
   The Salient keyframes are 1.85s long but all the movement happens in the
   first 30%, so 0.55s with the same curve is the same motion, without the
   long hold at the end. */
.su-wipe-screen > span:first-child {
  background: rgba(238,238,242,.45);
  transition: transform .55s cubic-bezier(.67,0,.3,1) .27s;
}
.su-wipe-screen > span:last-child {
  background: #1f1f22;
  transition: transform .55s cubic-bezier(.67,0,.3,1);
}
.su-wipe-screen.is-done > span { transform: translate3d(-101%,0,0); }
@media (prefers-reduced-motion: reduce) { .su-wipe-screen { display: none !important; } }


/* ==========================================================================
   Startup layout (site-layout-startup)
   Tokens taken from the Salient "Startup" demo: Roboto headings, Open Sans
   body, #00d084 accent, #eeeef0 / #f2f2f2 section bands, 50% #0a0a0a hero
   overlay, 40px/50px section headings and 52px closing heading.
   The default page shell is overridden so rows can run full-bleed.
   ========================================================================== */
body.site-layout-startup {
  /* --brand is the accent the owner picks in Theme & Branding; #00d084 is the
     colour the Salient demo ships with. */
  --su-accent: var(--brand, #00d084);
  --su-accent-dark: #00b371;
  --su-mint: #7bdcb5;
  --su-ink: #131314;
  --su-text: #55555a;
  --su-muted: #676767;
  --su-line: #e6e6e6;
  --su-soft: #f2f2f2;
  --su-soft-2: #eeeef0;
  --su-font-body: 'Open Sans', var(--font-body, 'Segoe UI'), system-ui, -apple-system, sans-serif;
  --su-font-head: Roboto, var(--font-heading, 'Helvetica Neue'), Arial, sans-serif;
  background: #fff;
  color: var(--su-text);
  font-family: var(--su-font-body);
  font-size: 17px;
  line-height: 1.8;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
  body.site-layout-startup {
    --su-accent-dark: color-mix(in srgb, var(--su-accent) 86%, #000);
    --su-mint: color-mix(in srgb, var(--su-accent) 38%, #ffffff);
  }
}

/* --- Break out of the default page shell ------------------------------- */
body.site-layout-startup .site-main,
body.site-layout-startup.has-wx-layout .site-main { padding: 0; }
body.site-layout-startup .site-main > .site-container,
body.site-layout-startup.has-wx-layout .site-main > .site-container { max-width: none; padding: 0; }
body.site-layout-startup.has-wx-layout article.content-prose:not(:has(.wx-page)) { max-width: none; margin: 0; padding: 0; }
body.site-layout-startup .site-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
body.site-layout-startup .su-wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* --- Transparent overlay menu (sits on the hero, as in the demo) -------- */
body.site-layout-startup .site-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(10,10,11,.72) 0%, rgba(10,10,11,.28) 60%, rgba(10,10,11,0) 100%);
  border-bottom: 0;
  backdrop-filter: none;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
body.site-layout-startup .site-navbar.is-scrolled {
  background: #131314;
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
  padding-top: 6px; padding-bottom: 6px;
}
body.site-layout-startup .site-navbar .site-container { max-width: 1400px; padding: 0 40px; }
body.site-layout-startup .site-navbar .site-brand { color: #fff; font-family: var(--su-font-head); font-weight: 700; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
body.site-layout-startup .site-navbar .brand-dot { background: var(--su-accent); }
body.site-layout-startup .site-navbar .site-nav a { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
body.site-layout-startup .site-navbar .site-nav a:hover,
body.site-layout-startup .site-navbar .site-nav a.active { color: #fff; }
body.site-layout-startup .site-navbar .site-nav-toggle { color: #fff; }
body.site-layout-startup .site-navbar .nav-cta { background: var(--su-accent); border-color: var(--su-accent); color: #fff; border-radius: 4px; text-transform: none; letter-spacing: 0; }
body.site-layout-startup .site-navbar .nav-cta:hover { background: #fff; border-color: #fff; color: #06231a; }
body.site-layout-startup .site-navbar.nav-open { background: #131314; }

/* --- Hero -------------------------------------------------------------- */
body.site-layout-startup .su-hero {
  position: relative; display: grid; align-items: center;
  min-height: var(--su-hero-height, 100vh); padding: 4vw 0;
  background-color: #0a0a0a; color: #fff; overflow: hidden;
  /* Pages published before this update carry the image as an inline style,
     so the element itself still has to cover its box. */
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
@supports (min-height: 100svh) {
  body.site-layout-startup .su-hero { min-height: var(--su-hero-height, 100svh); }
}
body.site-layout-startup .su-hero.su-hero-sm { min-height: calc(var(--su-hero-height, 100vh) * .58); }
/* The image drifts against the scroll and breathes slowly (Ken Burns). */
/* Salient's "zoom-out-reveal": the frame grows from 0.7 to full size while the
   image inside shrinks from 1.75 to 1, so the picture pans into view. */
body.site-layout-startup .su-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
body.site-layout-startup .su-media-img {
  position: absolute; inset: -6% -2%; display: block;
  width: 104%; height: 112%; object-fit: cover; object-position: center;
  background-image: var(--su-bg); background-repeat: no-repeat;
  background-size: cover; background-position: center calc(50% + var(--su-shift, 0px));
  will-change: transform;
}
/* The reveal only exists while the motion layer is running, so the picture is
   always visible in the editor, without JavaScript and with reduced motion. */
body.site-layout-startup .sm-ready .su-media {
  transform: scale(.7); opacity: 0;
  transition: transform 1.3s cubic-bezier(.12,.75,.4,1), opacity .4s ease-out;
}
body.site-layout-startup .sm-ready .su-media-img {
  transform: translate3d(0, var(--su-shift, 0px), 0) scale(1.75);
  transition: transform 1.3s cubic-bezier(.12,.75,.4,1);
}
body.site-layout-startup .sm-ready .is-inview > .su-media,
body.site-layout-startup .is-inview.sm-ready > .su-media { transform: scale(1); opacity: 1; }
body.site-layout-startup .sm-ready .is-inview > .su-media > .su-media-img {
  transform: translate3d(0, var(--su-shift, 0px), 0) scale(1.04);
  animation: su-kenburns 30s ease-in-out 1.4s infinite alternate;
}
body.site-layout-startup .su-hero > .su-media,
body.site-layout-startup .su-hero > .su-media > .su-media-img { transition-delay: .45s; }
/* A video header behaves exactly like the picture it replaces. */
body.site-layout-startup video.su-media-img { position: absolute; inset: 0; width: 100%; height: 100%; }
body.site-layout-startup .su-hero::after { content: ""; position: absolute; inset: 0; background: #0a0a0a; opacity: .5; }
@keyframes su-kenburns {
  from { transform: translate3d(0, var(--su-shift, 0px), 0) scale(1.04); }
  to   { transform: translate3d(0, var(--su-shift, 0px), 0) scale(1.14); }
}
/* Hovering a header breathes life into it: the picture swells slightly and
   dims, so any text laid over it stays easy to read. The swell is put on the
   frame and the slow Ken Burns drift is paused, so the two never fight. */
body.site-layout-startup .su-hero > .su-media { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
body.site-layout-startup .su-hero .su-media-img,
body.site-layout-startup .su-band > .su-media-img { transition: filter .55s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
body.site-layout-startup .su-hero:hover > .su-media { transform: scale(1.05); }
body.site-layout-startup .su-hero:hover .su-media-img { filter: brightness(.86); animation-play-state: paused; }
body.site-layout-startup .su-band:hover > .su-media-img { transform: scale(1.05); filter: brightness(.9); }
@media (prefers-reduced-motion: reduce) {
  body.site-layout-startup .su-hero:hover > .su-media,
  body.site-layout-startup .su-band:hover > .su-media-img { transform: none; }
}
body.site-layout-startup .su-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 15% 0 14%;
}
body.site-layout-startup .su-hero.su-hero-sm .su-hero-grid { padding: 11% 0 9%; }
body.site-layout-startup .su-eyebrow {
  display: block; margin: 0 0 22px;
  font-family: var(--su-font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--su-accent);
}
body.site-layout-startup .su-hero h1 {
  margin: 0 0 30px;
  font-family: var(--su-font-head);
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1.06; font-weight: 700; letter-spacing: -.01em; color: #fff;
}
body.site-layout-startup .su-hero-sub {
  margin: 0;
  font-family: var(--su-font-head);
  font-weight: 100;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  line-height: 1.3;
  color: rgba(255,255,255,.92);
}
body.site-layout-startup .su-hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
body.site-layout-startup .su-hero p { margin: 0 0 30px; max-width: 52ch; font-size: 1.05rem; color: rgba(255,255,255,.8); }
body.site-layout-startup .su-play {
  display: grid; place-items: center;
  width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  color: #fff; text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
body.site-layout-startup .su-play:hover { background: var(--su-accent); border-color: var(--su-accent); color: #fff; }
body.site-layout-startup .su-play::before { content: "\25B6"; font-size: 20px; margin-left: 4px; }
body.site-layout-startup .su-play { position: relative; }
body.site-layout-startup .su-play::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  animation: su-pulse 2.8s cubic-bezier(.2,.6,.2,1) infinite;
  pointer-events: none;
}
@keyframes su-pulse { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }

/* --- Older published pages ---------------------------------------------
   Sites written before the hero was rebuilt use .su-hero-inner / .su-actions.
   They are styled here so an update alone is enough to fix them. */
body.site-layout-startup .su-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 15% 0 14%;
}
body.site-layout-startup .su-hero-inner > div:first-child { grid-column: 1; }
body.site-layout-startup .su-hero-inner span.su-eyebrow + h1 { margin-top: 0; }
body.site-layout-startup .su-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; position: relative; z-index: 2; }
body.site-layout-startup .su-btn-play { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
body.site-layout-startup .su-btn-play:hover { background: #fff; border-color: #fff; color: #06231a; }
body.site-layout-startup .su-hero-inner h1,
body.site-layout-startup .su-hero-inner .su-actions { text-shadow: 0 1px 24px rgba(0,0,0,.45); }

/* --- Buttons ----------------------------------------------------------- */
body.site-layout-startup .su-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 5px;
  background: var(--su-accent); color: #fff;
  font-family: var(--su-font-body); font-weight: 600; font-size: 14px; line-height: 20px;
  text-decoration: none; border: 2px solid var(--su-accent);
  box-shadow: 0 -3px rgba(0,0,0,.1) inset;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  transition: opacity .45s cubic-bezier(.25,1,.33,1), background .25s ease, color .25s ease, border-color .25s ease;
}
body.site-layout-startup .su-btn:hover { opacity: .87; color: #fff; }
body.site-layout-startup .su-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
body.site-layout-startup .su-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
body.site-layout-startup .su-btn-dark { background: var(--su-ink); border-color: var(--su-ink); color: #fff; }
body.site-layout-startup .su-btn-dark:hover { background: #000; border-color: #000; color: #fff; }
body.site-layout-startup .su-btn-light { background: #fff; border-color: #fff; color: var(--su-ink); }
body.site-layout-startup .su-btn-light:hover { background: var(--su-accent); border-color: var(--su-accent); color: #fff; }

/* --- Sections ---------------------------------------------------------- */
body.site-layout-startup .su-section { padding: 7vw 0; }
body.site-layout-startup .su-section-tall { padding: 12vw 0 8vw; }
body.site-layout-startup .su-section-soft { background: var(--su-soft); }
body.site-layout-startup .su-section-soft-2 { background: var(--su-soft-2); }
body.site-layout-startup .su-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
body.site-layout-startup .su-split-media { overflow: hidden; }
body.site-layout-startup .su-split-media img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
body.site-layout-startup .su-split-media:hover img,
body.site-layout-startup .su-split.su-reverse .su-split-media:hover img { transform: scale(1.06); }
body.site-layout-startup .su-split.su-reverse .su-split-media { order: 2; }
body.site-layout-startup .su-h2 {
  margin: 0 0 20px;
  font-family: var(--su-font-head);
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  line-height: 1.25; font-weight: 300; letter-spacing: -.005em;
  color: var(--su-ink); text-align: left;
}
body.site-layout-startup .su-h2-big {
  margin: 0 auto 52px; max-width: 1000px; text-align: center;
  font-family: var(--su-font-head);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.19; font-weight: 300; color: var(--su-ink);
}
body.site-layout-startup .su-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
body.site-layout-startup .su-head-left { margin-left: 0; text-align: left; }
body.site-layout-startup .su-text,
body.site-layout-startup .su-split p,
body.site-layout-startup .su-lead { margin: 0 0 26px; font-size: 17px; line-height: 1.85; color: var(--su-muted); }
body.site-layout-startup .su-lead { font-size: 18px; }

/* --- Feature strip ----------------------------------------------------- */
body.site-layout-startup .su-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
body.site-layout-startup .su-feature { background: transparent; border: 0; padding: 0; }
body.site-layout-startup .su-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 20px;
  border-radius: 50%; border: 2px solid var(--su-mint);
  color: var(--su-accent); font-family: var(--su-font-head); font-size: 1.05rem; font-weight: 400;
}
body.site-layout-startup .su-feature h3 { margin: 0 0 12px; font-family: var(--su-font-head); font-size: 1.15rem; font-weight: 400; color: var(--su-ink); }
body.site-layout-startup .su-feature p { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--su-muted); }

/* --- Stats ------------------------------------------------------------- */
body.site-layout-startup .su-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; text-align: center; }
body.site-layout-startup .su-stat-num { font-family: var(--su-font-head); font-size: clamp(3rem, 6.5vw, 5.25rem); font-weight: 100; line-height: 1; color: var(--su-accent); letter-spacing: -.02em; }
body.site-layout-startup .su-stat-num small { font-size: .38em; margin-left: 6px; font-weight: 300; }
body.site-layout-startup .su-stat-label { margin-top: 18px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--su-muted); }

/* --- Steps ------------------------------------------------------------- */
body.site-layout-startup .su-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
body.site-layout-startup .su-step { text-align: center; padding: 0; background: transparent; border: 0; }
body.site-layout-startup .su-step-num {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--su-accent); color: #fff;
  font-family: var(--su-font-head); font-weight: 300; font-size: 1.5rem;
}
body.site-layout-startup .su-step h3 { margin: 0 0 14px; font-family: var(--su-font-head); font-size: 1.2rem; font-weight: 400; color: var(--su-ink); }
body.site-layout-startup .su-step p { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--su-muted); }

/* --- Testimonials ------------------------------------------------------ */
body.site-layout-startup .su-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
body.site-layout-startup .su-quote {
  display: flex; flex-direction: column;
  padding: 44px 38px; background: #fff; border: 0; border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
body.site-layout-startup .su-quote-mark { font-family: Georgia, serif; font-size: 3.2rem; line-height: .7; color: var(--su-mint); }
body.site-layout-startup .su-quote p { flex: 1; margin: 18px 0 26px; font-size: 16.5px; line-height: 1.85; color: var(--su-text); }
body.site-layout-startup .su-quote-author { font-family: var(--su-font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--su-ink); }
body.site-layout-startup .su-quote-role { font-size: 13.5px; color: var(--su-muted); }
body.site-layout-startup .su-faces { display: flex; justify-content: center; gap: 16px; margin-top: 48px; }
body.site-layout-startup .su-faces img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; opacity: .55; transition: opacity .3s ease, transform .3s ease; }
body.site-layout-startup .su-faces img:hover { opacity: 1; transform: scale(1.08); }

/* --- Full-width image band (the "difference" + closing band) ----------- */
body.site-layout-startup .su-band {
  position: relative; padding: 13vw 0; background-color: #0a0a0a; color: #fff; overflow: hidden;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
body.site-layout-startup .su-band > .su-media-img { inset: -8% -2%; }
body.site-layout-startup .su-band::after { content: ""; position: absolute; inset: 0; background: #0a0a0a; opacity: .72; }
body.site-layout-startup .su-band .su-wrap { position: relative; z-index: 2; }
body.site-layout-startup .su-band .su-h2-big,
body.site-layout-startup .su-band h2 { color: #fff; }
body.site-layout-startup .su-band p { color: rgba(255,255,255,.78); }
body.site-layout-startup .su-band-light::after { background: #f2f2f2; opacity: .93; }
body.site-layout-startup .su-band-light,
body.site-layout-startup .su-band-light .su-h2-big,
body.site-layout-startup .su-band-light h2 { color: var(--su-ink); }
body.site-layout-startup .su-band-light p { color: var(--su-muted); }
body.site-layout-startup .su-cta { padding: 8vw 0; text-align: center; }
body.site-layout-startup .su-cta h2 {
  margin: 0 0 20px;
  font-family: var(--su-font-head); font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1; font-weight: 700; letter-spacing: -.01em; color: #fff;
}
body.site-layout-startup .su-cta p { margin: 0 auto 34px; max-width: 58ch; font-size: 18px; color: rgba(255,255,255,.8); }

/* --- Specialties (about) ----------------------------------------------- */
body.site-layout-startup .su-specialties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 20px; }
body.site-layout-startup .su-specialty h3 { margin: 0 0 12px; font-family: var(--su-font-head); font-size: 1.15rem; font-weight: 400; color: var(--su-ink); }
body.site-layout-startup .su-specialty p { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--su-muted); }
body.site-layout-startup .su-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 60px; }
body.site-layout-startup .su-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* --- Careers ----------------------------------------------------------- */
body.site-layout-startup .su-jobs { margin-top: 44px; border-top: 1px solid var(--su-line); }
body.site-layout-startup .su-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--su-line); }
body.site-layout-startup .su-job-title { font-family: var(--su-font-head); font-weight: 400; font-size: 1.2rem; color: var(--su-ink); }
body.site-layout-startup .su-job-meta { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--su-muted); }
body.site-layout-startup .su-job .su-btn { padding: 12px 26px; font-size: 14px; }

/* --- Offices + contact ------------------------------------------------- */
body.site-layout-startup .su-offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 20px; }
body.site-layout-startup .su-office h3 { margin: 0 0 16px; font-family: var(--su-font-head); font-size: 1.2rem; font-weight: 400; color: var(--su-ink); }
body.site-layout-startup .su-office p { margin: 0 0 8px; color: var(--su-muted); font-size: 16.5px; line-height: 1.7; }
body.site-layout-startup .su-contact-form { margin-top: 56px; max-width: 780px; }
body.site-layout-startup .su-contact-form .davo-contact-form { display: grid; gap: 18px; }

/* --- Page heads -------------------------------------------------------- */
body.site-layout-startup .su-page-head { background: var(--su-ink); color: #fff; padding: 190px 0 110px; text-align: center; }
body.site-layout-startup .su-page-head h1 { margin: 0 0 16px; font-family: var(--su-font-head); font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 300; letter-spacing: -.01em; color: #fff; }
body.site-layout-startup .su-page-head p { margin: 0; color: rgba(255,255,255,.65); letter-spacing: .26em; text-transform: uppercase; font-size: 13px; }

/* --- Blog feed --------------------------------------------------------- */
body.site-layout-startup .site-blog-feed { max-width: 1640px; margin: 0 auto; padding: clamp(56px, 7vw, 110px) 40px; }
body.site-layout-startup .feed-heading h2 { font-family: var(--su-font-head); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); }
/* Six tracks so the lead card can run twice as wide as the others. */
body.site-layout-startup .feed-grid { grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: 56px 40px; }
body.site-layout-startup .feed-card { grid-column: span 2; }
body.site-layout-startup .feed-card.is-wide { grid-column: span 4; }
body.site-layout-startup .feed-card.is-wide .feed-card-body h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem) !important; }
body.site-layout-startup .feed-card.is-tall .feed-thumb img { aspect-ratio: 3 / 4; }
body.site-layout-startup .feed-thumb { border-radius: 4px; background: #ececed; }
body.site-layout-startup .feed-date { color: var(--su-accent); }
body.site-layout-startup .feed-card-body h3 { font-family: var(--su-font-head); font-weight: 400; font-size: 1.5rem !important; }
body.site-layout-startup .feed-card-body h3 a { color: var(--su-ink); }
body.site-layout-startup .feed-card-body h3 a:hover { color: var(--su-accent-dark); }
body.site-layout-startup .feed-card-body p { color: var(--su-muted); font-size: 16px; }
body.site-layout-startup .feed-link { color: var(--su-ink); }
body.site-layout-startup .feed-link:hover { color: var(--su-accent-dark); }
@media (max-width: 1000px) {
  body.site-layout-startup .feed-grid { grid-template-columns: repeat(2, 1fr); }
  body.site-layout-startup .feed-card,
  body.site-layout-startup .feed-card.is-wide { grid-column: span 1; }
  body.site-layout-startup .feed-card.is-wide .feed-thumb img { aspect-ratio: 16 / 9; }
}
@media (max-width: 690px) { body.site-layout-startup .feed-grid { grid-template-columns: 1fr; } }

/* --- Blog article header ----------------------------------------------- */
body.site-layout-startup .post-header { background: #0b0b0c; padding: clamp(120px, 15vw, 220px) 0 clamp(60px, 9vw, 110px); }
body.site-layout-startup .post-header-inner { max-width: 1320px; padding: 0 40px; }
body.site-layout-startup .post-title { font-family: var(--su-font-head); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
body.site-layout-startup .post-meta { font-family: var(--su-font-body); }
body.site-layout-startup .post-related { border-top-color: rgba(0,0,0,.1); }
body.site-layout-startup .post-body > p { font-family: var(--su-font-body); color: #43444a; }
body.site-layout-startup .post-body > p:first-of-type { font-size: 1.3rem; color: #22232a; }
body.site-layout-startup .post-body > h2 { font-family: var(--su-font-head); font-weight: 400; }
body.site-layout-startup .site-navbar[data-nav-align="left"] .site-container,
body.site-layout-startup .site-navbar[data-nav-align="center"] .site-container { justify-content: inherit; gap: 40px; }

/* --- Footer ------------------------------------------------------------ */
body.site-layout-startup .site-footer { background: #131314; color: #8a8a8a; border-top: 0; padding: 70px 0 50px; font-size: 15px; }
body.site-layout-startup .site-footer .footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
body.site-layout-startup .site-footer .footer-brand { color: #fff; font-family: var(--su-font-head); font-size: 1.2rem; font-weight: 400; }
body.site-layout-startup .site-footer .footer-tagline { color: rgba(255,255,255,.55); margin-top: 8px; }
body.site-layout-startup .site-footer .footer-right { color: rgba(255,255,255,.5); }

/* --- Footer sign-in link (every template) ------------------------------ */
.davo-signin-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted, #6b7280); text-decoration: none; border-bottom: 1px solid transparent; }
.davo-signin-link:hover { color: var(--accent, #4f46e5); border-bottom-color: currentColor; }
body.site-layout-startup .davo-signin-link { color: var(--su-accent); }
body.site-layout-startup .davo-signin-link:hover { color: #fff; }

/* --- Editor canvas: let clicks reach the header photo --------------------
   On the published page the tint and the copy sit on top of the picture. In
   the builder those layers would swallow the click, so the photo could never
   be selected. Here they let the click through, while the text itself stays
   clickable, so you can still click a headline to edit it. */
#ve-body-root .su-hero::after,
#ve-body-root .su-band::after { pointer-events: none; }
#ve-body-root .su-hero > .su-media,
#ve-body-root .su-hero > .su-media > .su-media-img,
#ve-body-root .su-hero > .su-wrap,
#ve-body-root .su-hero-grid,
#ve-body-root .su-hero-grid > * { pointer-events: none; }
#ve-body-root .su-hero h1,
#ve-body-root .su-hero h2,
#ve-body-root .su-hero p,
#ve-body-root .su-hero .su-eyebrow,
#ve-body-root .su-hero .su-btn,
#ve-body-root .su-hero .su-play { pointer-events: auto; }

/* ==========================================================================
   Slight pan — every image eases into place as it arrives (Salient's move)
   ========================================================================== */
.sm-ready [data-pan="wrap"] { overflow: hidden; }
.sm-ready [data-pan="wrap"] > img,
.sm-ready [data-pan="wrap"] > .is-pan-target,
.sm-ready [data-pan="wrap"].is-pan-target,
.sm-ready img[data-pan="self"] {
  transform: scale(1.09);
  transition: transform 1.6s cubic-bezier(.2,1,.22,1);
  will-change: transform;
}
.sm-ready [data-pan="wrap"].is-panned > img,
.sm-ready [data-pan="wrap"].is-panned > .is-pan-target,
.sm-ready [data-pan="wrap"].is-panned.is-pan-target,
.sm-ready img[data-pan="self"].is-panned { transform: scale(1); }
/* Hovering drifts the picture the same way Salient's image hovers do. */
.sm-ready [data-pan="wrap"]:hover > img,
.sm-ready [data-pan="wrap"]:hover > .is-pan-target,
.sm-ready [data-pan="wrap"].is-pan-target:hover,
.sm-ready img[data-pan="self"]:hover {
  transform: scale(1.07);
  transition: transform .7s cubic-bezier(.2,1,.22,1);
}
/* Hero and band pictures keep their own reveal, so they pan on the wrapper. */
body.site-layout-startup .sm-ready .is-inview > .su-media,
body.site-layout-startup .is-inview.sm-ready > .su-media {
  transition: transform 1.6s cubic-bezier(.2,1,.22,1), opacity .9s ease;
}
body.site-layout-startup .sm-ready .su-hero:hover > .su-media,
body.site-layout-startup .sm-ready .su-band:hover > .su-media {
  transform: scale(1.035);
  transition: transform .7s cubic-bezier(.2,1,.22,1);
  transition-delay: 0s;
}

/* --- Reduced motion: hold everything still and visible ------------------ */
@media (prefers-reduced-motion: reduce) {
  body.site-layout-startup .sm-ready .su-media { transform: none !important; opacity: 1 !important; transition: none; }
  body.site-layout-startup .su-media-img { transform: none !important; animation: none !important; transition: none; }
  body.site-layout-startup .su-play::after { animation: none; }
  body.site-layout-startup .su-split-media img { transition: none; }
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
  body.site-layout-startup .su-wrap,
  body.site-layout-startup .site-container { padding: 0 24px; }
  body.site-layout-startup .su-hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 18% 0 14%; }
  body.site-layout-startup .su-features,
  body.site-layout-startup .su-steps,
  body.site-layout-startup .su-quotes,
  body.site-layout-startup .su-specialties,
  body.site-layout-startup .site-blog-feed { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  body.site-layout-startup .su-split,
  body.site-layout-startup .su-pair,
  body.site-layout-startup .su-offices { grid-template-columns: 1fr; gap: 36px; }
  body.site-layout-startup .su-split.su-reverse .su-split-media { order: 0; }
  body.site-layout-startup .su-section { padding: 76px 0; }
  body.site-layout-startup .su-section-tall { padding: 90px 0 70px; }
  body.site-layout-startup .su-band { padding: 100px 0; }
}
@media (max-width: 680px) {
  body.site-layout-startup .su-features,
  body.site-layout-startup .su-steps,
  body.site-layout-startup .su-quotes,
  body.site-layout-startup .su-specialties,
  body.site-layout-startup .su-stats-grid,
  body.site-layout-startup .site-blog-feed { grid-template-columns: 1fr; gap: 30px; }
  body.site-layout-startup .su-hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); }
  body.site-layout-startup .su-job { flex-direction: column; align-items: flex-start; }
}

/* --- Blog cards ---------------------------------------------------------
   Salient's blog: the category sits above the title, the picture swells
   slightly when the card is hovered, and the author, date and reading time
   sit in a quiet row underneath. Applies to every layout. */
.feed-card-inner { display: flex; flex-direction: column; height: 100%; }
.feed-thumb { display: block; overflow: hidden; border-radius: 4px; background: #ececed; }
.feed-thumb img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.feed-card:hover .feed-thumb img { transform: scale(1.06); }
.feed-card.is-wide .feed-thumb img { aspect-ratio: 16 / 9; }
.feed-card.is-tall .feed-thumb img { aspect-ratio: 3 / 4; }
.feed-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 0 0; }
.feed-cat {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand, var(--accent, #4f46e5)); text-decoration: none;
}
.feed-card-body h3 { margin: 0 0 10px !important; font-size: 1.35rem !important; line-height: 1.28; font-weight: 500; }
.feed-card.is-wide .feed-card-body h3 { font-size: clamp(1.6rem, 2.2vw, 2.05rem) !important; }
.feed-card-body h3 a { color: var(--text, #151922); text-decoration: none; }
.feed-card-body h3 a:hover { color: var(--brand, var(--accent, #4f46e5)); }
.feed-card-body p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.8; color: var(--muted, #5b6472); }
.feed-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 12px;
  font-size: 12.5px; color: var(--muted, #5b6472);
}
.feed-dot { opacity: .5; }
@media (prefers-reduced-motion: reduce) {
  .feed-card:hover .feed-thumb img { transform: none; }
}
body.site-layout-startup .feed-cat { color: var(--su-accent); }
body.site-layout-startup .feed-card-body h3 a { color: var(--su-ink); }
body.site-layout-startup .feed-card-body h3 a:hover { color: var(--su-accent-dark, var(--su-accent)); }
body.site-layout-startup .feed-card-body p { color: var(--su-muted); }
body.site-layout-startup .feed-meta { color: var(--su-muted); }

/* davo:header-footer-designer:begin */
/*
   Arrangements for the header and the footer, chosen on the Header & Footer
   screen. Nothing in this block applies unless the page carries the matching
   data attribute, so a site that never opens the screen is untouched.
   Desktop only: below 769px the menu keeps its usual drop-down behaviour. */
@media (min-width: 769px) {
  /* ---- header: arrangement ------------------------------------------- */
  .site-navbar[data-nav-layout="bar"] .nav-inner { justify-content: flex-start; }
  .site-navbar[data-nav-layout="bar"] .site-nav { margin-left: auto; }
  .site-navbar[data-nav-layout="bar"] .nav-cta { margin-left: 22px; }

  .site-navbar[data-nav-layout="centered"] .nav-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  }
  /* the burger is only for small screens; left in the grid it takes a cell */
  .site-navbar[data-nav-layout="centered"] .site-nav-toggle { display: none; }
  .site-navbar[data-nav-layout="centered"] .site-nav { min-width: 0; }
  .site-navbar[data-nav-layout="centered"] .site-brand { white-space: nowrap; }
  .site-navbar[data-nav-layout="centered"] .site-brand { grid-column: 2; justify-self: center; }
  .site-navbar[data-nav-layout="centered"] .site-nav { grid-column: 1; justify-self: start; }
  .site-navbar[data-nav-layout="centered"] .nav-cta { grid-column: 3; justify-self: end; }

  .site-navbar[data-nav-layout="split"] .nav-inner { justify-content: flex-start; }
  .site-navbar[data-nav-layout="split"] .site-nav { flex: 1; justify-content: center; min-width: 0; }

  .site-navbar[data-nav-layout="stacked"] .nav-inner {
    flex-direction: column; align-items: center; gap: 10px;
  }
  .site-navbar[data-nav-layout="stacked"] .site-nav {
    width: 100%; justify-content: center;
    border-top: 1px solid var(--border); padding-top: 10px;
  }

  .site-navbar[data-nav-layout="floating"] {
    background: transparent; border-bottom: 0; box-shadow: none; top: 12px;
  }
  .site-navbar[data-nav-layout="floating"] .nav-inner {
    max-width: 1080px; margin: 14px auto; border-radius: 999px;
    background: var(--bg); border: 1px solid var(--border);
    box-shadow: 0 6px 24px rgba(15, 23, 42, .10);
    padding-left: 22px; padding-right: 12px;
  }

  /* ---- header: height ------------------------------------------------- */
  .site-navbar[data-nav-height="compact"] .nav-inner {
    min-height: 54px; padding-top: 6px; padding-bottom: 6px;
  }
  .site-navbar[data-nav-height="roomy"] .nav-inner {
    min-height: 78px; padding-top: 16px; padding-bottom: 16px;
  }
  .site-navbar[data-nav-height="tall"] .nav-inner {
    min-height: 98px; padding-top: 24px; padding-bottom: 24px;
  }

  /* ---- header: background --------------------------------------------- */
  .site-navbar[data-nav-bg="page"] { background: transparent; }
  .site-navbar[data-nav-bg="solid"] { background: var(--bg); }
  .site-navbar[data-nav-bg="soft"] { background: var(--surface); }
  .site-navbar[data-nav-bg="blur"] {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  @supports (background: color-mix(in srgb, red 50%, transparent)) {
    .site-navbar[data-nav-bg="blur"] {
      background: color-mix(in srgb, var(--bg) 72%, transparent);
    }
  }
  .site-navbar[data-nav-bg="dark"] {
    background: #0f172a; border-bottom-color: #1e293b;
  }
  .site-navbar[data-nav-bg="dark"] .site-brand { color: #ffffff; }
  .site-navbar[data-nav-bg="dark"] .site-nav a { color: #cbd5e1; }
  .site-navbar[data-nav-bg="dark"] .site-nav a:hover,
  .site-navbar[data-nav-bg="dark"] .site-nav a.active { color: #ffffff; }

  /* ---- header: divider ------------------------------------------------ */
  .site-navbar[data-nav-divider="none"] { border-bottom-color: transparent; box-shadow: none; }
  .site-navbar[data-nav-divider="line"] { border-bottom: 1px solid var(--border); }
  .site-navbar[data-nav-divider="shadow"] {
    border-bottom-color: transparent; box-shadow: 0 1px 14px rgba(15, 23, 42, .08);
  }
  .site-navbar[data-nav-layout="floating"][data-nav-divider="none"] .nav-inner {
    border-color: transparent; box-shadow: none;
  }
  .site-navbar[data-nav-layout="floating"][data-nav-divider="line"] { box-shadow: none; }
  .site-navbar[data-nav-layout="floating"][data-nav-divider="shadow"] { box-shadow: none; }
  .site-navbar[data-nav-layout="floating"][data-nav-divider="shadow"] .nav-inner {
    box-shadow: 0 8px 30px rgba(15, 23, 42, .14);
  }

  /* ---- header: where the logo and the links sit ----------------------- */
  .site-navbar[data-nav-logo="center"] .nav-inner { justify-content: center; }
  .site-navbar[data-nav-logo="center"] .site-brand { order: -1; }

  .site-navbar[data-nav-links="left"] .site-nav { margin-left: 0; margin-right: auto; }
  .site-navbar[data-nav-links="center"] .site-nav { margin-left: auto; margin-right: auto; }
  .site-navbar[data-nav-links="right"] .site-nav { margin-left: auto; margin-right: 0; }
  .site-navbar[data-nav-links="spread"] .site-nav { margin: 0 auto; width: 100%; justify-content: space-between; }

  /* ---- header: spacing ------------------------------------------------ */
  .site-navbar[data-nav-gap="tight"] .site-nav { gap: 14px; }
  .site-navbar[data-nav-gap="normal"] .site-nav { gap: 26px; }
  .site-navbar[data-nav-gap="wide"] .site-nav { gap: 40px; }
  .site-navbar[data-nav-pad="narrow"] .nav-inner { padding-left: 12px; padding-right: 12px; }
  .site-navbar[data-nav-pad="wide"] .nav-inner { padding-left: 40px; padding-right: 40px; }

  /* ---- header: social links in the bar -------------------------------- */
  .nav-social { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
  .nav-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    color: var(--muted); text-decoration: none; white-space: nowrap;
    transition: color .18s ease, background-color .18s ease;
  }
  .nav-social a:hover { color: var(--text); background: rgba(100, 116, 139, .14); }
  .site-navbar[data-nav-social="off"] .nav-social { display: none; }

  /* ---- social marks, in the bar and in the footer ---------------------- */
  .soc-icon { width: 17px; height: 17px; display: block; flex: 0 0 auto; }
  .soc-icon.soc-stroke { fill: none; }
  /* The name stays in the page for screen readers and for anyone whose
     network blocks the mark, but it is not drawn. */
  .soc-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }

  /* ---- header: scrolling ---------------------------------------------- */
  .site-navbar[data-nav-sticky="off"] { position: static; }
  /* ...unless it is the floating pill, which only makes sense off the top */
  .site-navbar[data-nav-layout="floating"][data-nav-sticky="off"] { position: relative; top: 0; }

  /* ---- footer: arrangement -------------------------------------------- */
  /* Columns is a row of blocks the way the thumbnail shows it, and the way the
     original footer reads: the name and tagline take the first place in the
     row, the link columns share the rest, and the bottom line sits underneath.
     The columns fill to however many there are — a fixed three tracks left a
     site with one column sitting in a third of the footer with the rest bare. */
  .site-footer[data-footer-layout="columns"] .footer-inner {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px;
  }
  .site-footer[data-footer-layout="columns"] .footer-brandblock { flex: 0 1 220px; min-width: 0; }
  .site-footer[data-footer-layout="columns"] .footer-cols {
    flex: 1 1 420px; min-width: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px;
  }
  .site-footer[data-footer-layout="columns"] .footer-bar { flex: 1 1 100%; }
  .site-footer[data-footer-layout="split"] .footer-inner {
    display: grid; grid-template-columns: minmax(180px, 1fr) 1.6fr; gap: 40px; align-items: start;
  }
  .site-footer[data-footer-layout="split"] .footer-brandblock { grid-column: 1; grid-row: 1; }
  .site-footer[data-footer-layout="split"] .footer-cols { grid-column: 2; grid-row: 1; }
  /* With the name and tagline switched off the slot beside it is empty, so the
     columns take the whole width instead of leaving half the footer bare. */
  .site-footer[data-footer-layout="split"][data-footer-logo="off"] .footer-inner { grid-template-columns: 1fr; }
  .site-footer[data-footer-layout="split"][data-footer-logo="off"] .footer-cols { grid-column: 1; }
  .site-footer[data-footer-layout="split"] .footer-bar,
  .site-footer[data-footer-layout="columns"] .footer-bar { grid-column: 1 / -1; }
  .site-footer[data-footer-layout="centered"] .footer-inner {
    display: grid; justify-items: center; text-align: center; gap: 14px;
  }
  .site-footer[data-footer-layout="centered"] .footer-right { text-align: center; }
  .site-footer[data-footer-layout="split"] .footer-bar,
  .site-footer[data-footer-layout="columns"] .footer-bar,
  .site-footer[data-footer-layout="centered"] .footer-bar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    border-top: 1px solid var(--border); margin-top: 30px; padding-top: 16px;
  }
  .footer-cols h4 {
    margin: 0 0 10px; font-size: 12px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  }
  .footer-cols nav { display: grid; gap: 8px; }
  .footer-cols a { color: var(--muted); text-decoration: none; font-size: 14px; }
  .footer-cols a:hover { color: var(--text); }
  .footer-bar .footer-social { display: flex; gap: 6px; }
  .footer-social { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    color: inherit; text-decoration: none; opacity: .82;
    transition: opacity .18s ease, background-color .18s ease;
  }
  .footer-social a:hover { opacity: 1; background: rgba(127, 137, 153, .18); }
  .footer-right .footer-social { margin-top: 8px; }

  /* ---- footer: which parts show --------------------------------------- */
  .site-footer[data-footer-logo="off"] .footer-brandblock,
  .site-footer[data-footer-logo="off"] .footer-brand,
  .site-footer[data-footer-logo="off"] .footer-tagline { display: none; }
  .site-footer[data-footer-social="off"] .footer-social { display: none; }
  /* A social mark whose address has not been typed yet. Drawn so a row the
     owner has just added is not invisible; a published page never carries one,
     because a row without an address is left out there. */
  .soc-pending { display: inline-flex; opacity: .35; cursor: help; }
  .soc-pending .soc-icon { width: 17px; height: 17px; }

  /* ---- footer: padding ------------------------------------------------ */
  .site-footer[data-footer-pad="compact"] { padding: 24px 0; }
  .site-footer[data-footer-pad="roomy"] { padding: 60px 0; }

  /* ---- footer: background --------------------------------------------- */
  .site-footer[data-footer-bg="page"] { background: transparent; }
  .site-footer[data-footer-bg="light"] { background: var(--surface); }
  .site-footer[data-footer-bg="dark"] {
    background: #0f172a; color: #94a3b8; border-top-color: #1e293b;
  }
  .site-footer[data-footer-bg="dark"] .footer-brand { color: #ffffff; }
  .site-footer[data-footer-bg="dark"] .footer-cols a { color: #cbd5e1; }
  .site-footer[data-footer-bg="dark"] .footer-cols a:hover { color: #ffffff; }
  .site-footer[data-footer-bg="dark"] .footer-bar { border-top-color: #1e293b; }
  .site-footer[data-footer-bg="brand"] {
    background: var(--brand); color: #eef2ff; border-top-color: transparent;
  }
  .site-footer[data-footer-bg="brand"] .footer-brand { color: #ffffff; }
  .site-footer[data-footer-bg="brand"] .footer-tagline { color: #c7d2fe; }
  .site-footer[data-footer-bg="brand"] .footer-cols h4 { color: #c7d2fe; }
  .site-footer[data-footer-bg="brand"] .footer-cols a { color: #e0e7ff; }
  .site-footer[data-footer-bg="brand"] .footer-bar { border-top-color: rgba(255, 255, 255, .28); }

  .site-footer[data-footer-bar="off"] .footer-bar { display: none; }
}

@media (max-width: 768px) {
  .site-footer[data-footer-layout="split"] .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .site-footer[data-footer-layout="split"] .footer-cols { grid-column: 1; grid-row: auto; }
  .site-footer[data-footer-layout="columns"] .footer-cols {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 22px;
  }
  .site-footer[data-footer-layout="columns"] .footer-brandblock,
  .site-footer[data-footer-layout="columns"] .footer-cols { flex: 1 1 100%; }
}

  /* Transparent to solid on scroll. The bar starts clear over the hero; the
     page script adds .is-scrolled once the visitor has moved far enough. */
  .site-navbar[data-nav-transparent="on"] {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transition: background-color .28s ease, box-shadow .28s ease, border-color .28s ease;
  }
  .site-navbar[data-nav-transparent="on"].is-scrolled {
    background: var(--nav-solid-bg, var(--site-accent, #ffffff));
    border-color: rgba(15, 23, 42, .08);
  }
  .site-navbar[data-nav-transparent="on"]:not(.is-scrolled) .site-nav a,
  .site-navbar[data-nav-transparent="on"]:not(.is-scrolled) .site-brand {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  }
  /* A bar over a hero is hard to read when the hero is light, so the text
     keeps a faint shadow until the bar turns solid. */
  .site-navbar[data-nav-shadow="subtle"] { box-shadow: 0 1px 3px rgba(15, 23, 42, .10); }
  .site-navbar[data-nav-shadow="strong"] { box-shadow: 0 4px 14px rgba(15, 23, 42, .18); }
  .site-navbar[data-nav-transparent="on"][data-nav-shadow="subtle"].is-scrolled,
  .site-navbar[data-nav-transparent="on"][data-nav-shadow="strong"].is-scrolled {
    box-shadow: 0 2px 10px rgba(15, 23, 42, .14);
  }

  /* ---- header: the button when it sits outside the menu ----------------
     Centered, Split and Floating lift the button out of .site-nav so that it
     can sit on the far side of the brand. Every theme paints it as
     ".site-nav a.nav-cta", so once it was lifted out the rule stopped
     matching and the button came back as a bare link. These lines give it the
     same look wherever the arrangement puts it. */
  .site-navbar .nav-inner > .nav-cta {
    background: var(--brand);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 22px;
    white-space: nowrap;
  }
  body.site-layout-industrial .site-navbar .nav-inner > .nav-cta {
    background: #f59e0b; color: #0b1120 !important; border-radius: 6px;
    font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px;
  }
  body.site-layout-salon .site-navbar .nav-inner > .nav-cta {
    background: #1c1917; color: #faf7f4 !important; border-radius: 999px;
    padding: 9px 22px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  }
  body.site-layout-retreat .site-navbar .nav-inner > .nav-cta { border-radius: 999px; padding: 9px 20px; }
  body.site-layout-bistro .site-navbar .nav-inner > .nav-cta {
    background: #c2410c; border-radius: 4px;
    text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px;
  }
  body.site-layout-playful .site-navbar .nav-inner > .nav-cta {
    border-radius: 999px; padding: 10px 22px;
    font-weight: 700; box-shadow: 0 4px 12px rgba(21, 128, 61, .22);
  }
  body.site-layout-saas .site-navbar .nav-inner > .nav-cta {
    border-radius: 999px; box-shadow: 0 6px 18px rgba(79, 70, 229, .25);
  }
  body.site-layout-brutalist .site-navbar .nav-inner > .nav-cta {
    background: #f8fafc; color: #090b10 !important; border-radius: 0;
    text-transform: uppercase; font-weight: 800; letter-spacing: .05em; font-size: 12.5px;
  }
  body.site-layout-athletic .site-navbar .nav-inner > .nav-cta {
    background: #10b981; color: #04130e !important; border-radius: 6px;
    font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px;
  }
  body.site-layout-minimalist .site-navbar .nav-inner > .nav-cta {
    background: transparent !important; color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .28); border-radius: 0;
    padding: 9px 20px; font-weight: 500; letter-spacing: .01em;
  }
  body.site-layout-minimalist .site-navbar .nav-inner > .nav-cta:hover {
    background: #ffffff !important; color: #121212 !important;
    border-color: #ffffff; transform: translateY(-1px);
  }
  body.site-layout-startup .site-navbar .nav-inner > .nav-cta {
    background: var(--su-accent); border-color: var(--su-accent); color: #fff;
    border-radius: 4px; text-transform: none; letter-spacing: 0;
  }
  /* Keep the button readable on hover whether it sits inside or outside nav.
     The dark inset preserves the chosen brand colour rather than flashing white. */
  body.site-layout-startup .site-navbar .site-nav a.nav-cta:hover,
  body.site-layout-startup .site-navbar .nav-inner > .nav-cta:hover {
    background: var(--su-accent, var(--brand));
    border-color: var(--su-accent, var(--brand));
    color: #fff !important;
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .18);
  }
  .site-navbar[data-nav-layout="floating"] .nav-inner > .nav-cta { margin-right: 10px; }

@media (max-width: 768px) {
  .site-navbar .nav-inner > .nav-cta { text-align: center; margin-top: 6px; padding: 11px 18px; }
}

/* Centered layout: keep the logo on the centre line and the action on the
   opposite side even on older masters which still place the action in nav. */
@media (min-width: 769px) {
  .site-navbar[data-nav-layout="centered"] .nav-inner { position: relative; }
  .site-navbar[data-nav-layout="centered"] .site-brand,
  .site-navbar[data-nav-layout="centered"] .site-nav,
  .site-navbar[data-nav-layout="centered"] .nav-inner > .nav-cta { grid-row: 1; }
  .site-navbar[data-nav-layout="centered"] .site-nav > .nav-cta {
    position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin: 0;
  }
}
@media (max-width: 768px) {
  .site-navbar[data-nav-layout="centered"] .nav-inner { position: relative; justify-content: flex-end; }
  .site-navbar[data-nav-layout="centered"] .site-brand {
    position: absolute; left: 50%; top: 35px; transform: translate(-50%, -50%);
    max-width: calc(100% - 120px);
  }
}
/* Base footer rules use justify-content:space-between. Reset it explicitly:
   otherwise a single grid track is placed at the left rather than centred. */
.site-footer[data-footer-layout="centered"] .footer-inner {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-content: center;
  justify-items: center; align-items: center; text-align: center; gap: 14px;
}
.site-footer[data-footer-layout="centered"] .footer-right { text-align: center; }
.site-footer[data-footer-layout="centered"] .footer-social {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px;
}
.site-footer[data-footer-layout="centered"] .footer-bar {
  display: flex; width: 100%; justify-content: center; align-items: center;
  flex-wrap: wrap; text-align: center;
}
.site-footer[data-footer-layout="centered"] .footer-bar .footer-social { display: none; }
.site-footer[data-footer-bar="off"] .footer-bar,
.site-footer[data-footer-social="off"] .footer-social { display: none; }
/* Icon sizing and accessible labels are needed on mobile as well as desktop. */
.soc-icon { width: 17px; height: 17px; display: block; flex: 0 0 auto; }
.soc-icon.soc-stroke { fill: none; }
.soc-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}


/* Width choices are relative to the other link columns and stay responsive. */
@media (min-width: 769px) {
  .site-footer[data-footer-layout="columns"] .footer-cols,
  .site-footer[data-footer-layout="split"] .footer-cols {
    display: grid; min-width: 0; grid-template-columns: var(--footer-column-tracks, repeat(auto-fit, minmax(140px, 1fr))); gap: 28px;
  }
  .site-footer[data-footer-layout="columns"][data-footer-brand-width="narrow"] .footer-brandblock { flex-basis: 160px; }
  .site-footer[data-footer-layout="columns"][data-footer-brand-width="wide"] .footer-brandblock { flex-basis: 320px; }
  .site-footer[data-footer-layout="split"][data-footer-brand-width="narrow"] .footer-inner { grid-template-columns: minmax(130px, .6fr) minmax(0, 1.8fr); }
  .site-footer[data-footer-layout="split"][data-footer-brand-width="wide"] .footer-inner { grid-template-columns: minmax(220px, 1.25fr) minmax(0, 1.25fr); }
  .site-footer[data-footer-layout="split"][data-footer-logo="off"] .footer-inner { grid-template-columns: 1fr; }
}
.site-footer[data-footer-layout] .footer-cols > div { min-width: 0; overflow-wrap: anywhere; }
/* Some templates hide their default brand. An explicitly chosen layout must
   honour the owner's Show/Hide choice instead of inheriting that old rule. */
body .site-footer[data-footer-layout]:not([data-footer-logo="off"]) .footer-brand,
body .site-footer[data-footer-layout]:not([data-footer-logo="off"]) .footer-tagline { display: block; }
.site-footer[data-footer-logo="off"] .footer-brandblock { display: none; }
.site-navbar[data-nav-social="off"] .nav-social { display: none; }
@media (max-width: 768px) {
  .site-footer[data-footer-layout="columns"] .footer-inner,
  .site-footer[data-footer-layout="split"] .footer-inner {
    display: flex; flex-direction: column; align-items: stretch; gap: 24px;
  }
  .site-footer[data-footer-layout="columns"] .footer-brandblock,
  .site-footer[data-footer-layout="split"] .footer-brandblock,
  .site-footer[data-footer-layout="columns"] .footer-cols,
  .site-footer[data-footer-layout="split"] .footer-cols { flex: 0 1 auto; width: 100%; min-width: 0; }
  .site-footer[data-footer-layout="columns"] .footer-cols,
  .site-footer[data-footer-layout="split"] .footer-cols {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 22px;
  }
  .site-footer[data-footer-layout="columns"] .footer-bar,
  .site-footer[data-footer-layout="split"] .footer-bar { width: 100%; }
  .site-navbar[data-nav-layout] .nav-inner > .nav-cta { display: none; }
  .site-navbar[data-nav-layout].nav-open .nav-inner > .nav-cta { display: block; width: 100%; }
}
@media (max-width: 480px) {
  .site-footer[data-footer-layout="columns"] .footer-cols,
  .site-footer[data-footer-layout="split"] .footer-cols { grid-template-columns: 1fr; }
}

/* A dragged brand guide takes precedence over the older width presets. */
@media (min-width: 769px) {
  .site-footer[data-footer-layout="columns"][data-footer-brand-resize="on"]:not([data-footer-logo="off"]) .footer-brandblock {
    flex: 0 1 var(--footer-brand-share, 220px); min-width: 0;
  }
  .site-footer[data-footer-layout="split"][data-footer-brand-resize="on"]:not([data-footer-logo="off"]) .footer-inner {
    grid-template-columns: minmax(0, var(--footer-brand-share, 35%)) minmax(0, 1fr);
  }
}

/* Explicit pin/scroll choices work on every screen size and override a
   template's default. An unset choice keeps that template's existing behaviour. */
/* overflow:hidden creates a scroll container and prevents sticky in the
   minimalist layout; clipping still prevents horizontal spill without it. */
body.site-layout-minimalist:has(> .site-navbar[data-nav-sticky="on"]) { overflow-x: clip; }
body .site-navbar[data-nav-sticky="on"] { position: sticky; top: 0; }
body .site-navbar[data-nav-sticky="off"] { position: static; top: auto; }
body .site-navbar[data-nav-layout="floating"][data-nav-sticky="off"] { position: relative; top: 0; }
body.site-layout-startup .site-navbar[data-nav-sticky="on"] { position: fixed; top: 0; }
@media (min-width: 769px) {
  body .site-navbar[data-nav-layout="floating"][data-nav-sticky="on"] { top: 12px; }
}

/* Keep breadcrumbs in the same content column as template sections. */
body.has-wx-layout .subpage-breadcrumb {
  box-sizing: border-box; width: 100%; max-width: var(--max-w, 1180px);
  margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px;
}
@media (max-width: 960px) {
  body.has-wx-layout .subpage-breadcrumb { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  body.has-wx-layout .subpage-breadcrumb { padding-left: 16px; padding-right: 16px; }
}
/* Full-width hero sections can coexist with normal copy on startup pages. */
body.site-layout-startup.has-wx-layout:not(.no-page-hero) article.content-prose:not(:has(.wx-page)):not(:has(.su-page)) > :is(h1,h2,h3,h4,p) {
  box-sizing: border-box; width: 100%; max-width: 1400px;
  margin-left: auto; margin-right: auto; padding-left: 40px; padding-right: 40px;
}
@media (max-width: 720px) {
  body.site-layout-startup.has-wx-layout:not(.no-page-hero) article.content-prose:not(:has(.wx-page)):not(:has(.su-page)) > :is(h1,h2,h3,h4,p) {
    padding-left: 20px; padding-right: 20px;
  }
}
/* A button is not an underlined prose link. */
.content-prose a.wx-btn, .content-prose a.cms-btn, .site-navbar a.nav-cta { text-decoration: none; }

/* Sizes are applied only to a header whose owner chose one. Content may
   grow beyond the minimum on a small screen to remain readable. */
[data-davo-height="full"], .site-hero-slider.hs-height-full { --davo-header-height: 100vh; }
[data-davo-height="three-quarters"], .site-hero-slider.hs-height-three-quarters { --davo-header-height: 75vh; }
[data-davo-height="half"], .site-hero-slider.hs-height-half { --davo-header-height: 50vh; }
[data-davo-height="quarter"], .site-hero-slider.hs-height-quarter { --davo-header-height: 25vh; }
section[data-davo-height] { min-height: var(--davo-header-height) !important; }
section.wx-hero-retreat[data-davo-height] .wx-retreat-stage { min-height: var(--davo-header-height) !important; }
.site-hero-slider.hs-height-full, .site-hero-slider.hs-height-three-quarters,
.site-hero-slider.hs-height-half, .site-hero-slider.hs-height-quarter { --hs-min-h: var(--davo-header-height); }
section.wx-hero-cover[data-davo-height="quarter"] .wx-hero-cover-content { padding-top:24px; padding-bottom:24px; }

.davo-video-position { position: relative; }
.davo-video-layered > :not(.davo-header-video) { position: relative; z-index: 1; }

/* The promotional opening screen uses the same type and action styling as the
   selected layout. These rules deliberately outrank the old inline fallback,
   so existing promotional screens update without changing their content. */
body .davo-promo-content > h1 {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: clamp(2.15rem, 4.7vw, 3.85rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere;
}
body .davo-promo-content > a,
body .davo-promo-content > a:visited {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 100%; overflow-wrap: anywhere;
  padding: 13px 26px; border: 1.5px solid transparent; border-radius: 8px;
  background: var(--brand, #4f46e5); color: #fff;
  font-family: var(--font-body, system-ui, sans-serif); font-size: 14.5px;
  font-weight: 700; line-height: 1.2; text-decoration: none;
  transition: transform .15s ease, opacity .15s ease, background-color .2s ease, color .2s ease;
}
body .davo-promo-content > a:hover { transform: translateY(-1px); opacity: .94; }
body .davo-promo-content > a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* Startup: match the Salient hero heading and its primary .su-btn. */
body.site-layout-startup .davo-promo-content > h1 {
  font-family: var(--su-font-head); font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -.01em;
}
body.site-layout-startup .davo-promo-content > a,
body.site-layout-startup .davo-promo-content > a:visited {
  padding: 15px 22px; border: 2px solid var(--su-accent); border-radius: 5px;
  background: var(--su-accent); color: #fff; box-shadow: 0 -3px rgba(0,0,0,.1) inset;
  font-family: var(--su-font-body); font-size: 14px; font-weight: 600; line-height: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
body.site-layout-startup .davo-promo-content > a:hover { transform: none; opacity: .87; }
@media (max-width: 680px) {
  body.site-layout-startup .davo-promo-content > h1 { font-size: clamp(2rem, 8.5vw, 3rem); }
}

/* The remaining layout personalities follow their own hero typography and
   primary button shape/colours, while keeping text legible over moving media. */
body.site-layout-industrial .davo-promo-content > h1 { font-size: clamp(2.4rem,4.8vw,3.8rem); line-height:1.06; letter-spacing:-.03em; }
body.site-layout-industrial .davo-promo-content > a,
body.site-layout-industrial .davo-promo-content > a:visited { background:#f59e0b; color:#0b1120; border-radius:8px; }
body.site-layout-salon .davo-promo-content > h1 { font-size:clamp(2.6rem,5.4vw,4.4rem); font-weight:400; letter-spacing:-.01em; }
body.site-layout-salon .davo-promo-content > a,
body.site-layout-salon .davo-promo-content > a:visited { background:#fff; color:#0f172a; border-radius:999px; }
body.site-layout-retreat .davo-promo-content > h1 { font-size:clamp(2.6rem,5vw,4.2rem); font-weight:400; }
body.site-layout-retreat .davo-promo-content > a,
body.site-layout-retreat .davo-promo-content > a:visited { border-radius:999px; }
body.site-layout-bistro .davo-promo-content > h1 { font-size:clamp(2.3rem,4.2vw,3.5rem); font-weight:400; line-height:1.12; }
body.site-layout-bistro .davo-promo-content > a,
body.site-layout-bistro .davo-promo-content > a:visited { background:#c2410c; color:#fff; }
body.site-layout-playful .davo-promo-content > h1 { font-size:clamp(2.5rem,4.8vw,3.8rem); }
body.site-layout-playful .davo-promo-content > a,
body.site-layout-playful .davo-promo-content > a:visited,
body.site-layout-saas .davo-promo-content > a,
body.site-layout-saas .davo-promo-content > a:visited { border-radius:999px; }
body.site-layout-saas .davo-promo-content > h1 { font-size:clamp(2.5rem,5vw,4.1rem); letter-spacing:-.035em; }
body.site-layout-brutalist .davo-promo-content > h1 { font-size:clamp(2.05rem,6.2vw,5.2rem); line-height:.98; letter-spacing:-.04em; text-transform:uppercase; }
body.site-layout-brutalist .davo-promo-content > a,
body.site-layout-brutalist .davo-promo-content > a:visited { background:#fff; color:#0f172a; border-radius:0; text-transform:uppercase; letter-spacing:.06em; }
body.site-layout-athletic .davo-promo-content > h1 { font-size:clamp(2.6rem,5.4vw,4.4rem); line-height:.98; letter-spacing:-.03em; text-transform:uppercase; }
body.site-layout-athletic .davo-promo-content > a,
body.site-layout-athletic .davo-promo-content > a:visited { background:#10b981; color:#04130e; }
body.site-layout-minimalist .davo-promo-content > h1 {
  font-family:"Bricolage Grotesque", "Space Grotesk", system-ui, -apple-system, sans-serif;
  font-size:clamp(2.35rem,4.1vw,3.6rem); font-weight:400; line-height:1.06; letter-spacing:-.025em;
}
body.site-layout-minimalist .davo-promo-content > a,
body.site-layout-minimalist .davo-promo-content > a:visited {
  background:transparent; color:#f3f3f3; border:1px solid rgba(255,255,255,.6);
  border-radius:0; padding:15px 28px; font-family:inherit; font-weight:500; font-size:14px;
}
body.site-layout-minimalist .davo-promo-content > a:hover { background:#f3f3f3; color:#121212; border-color:#f3f3f3; opacity:1; }
body.site-layout-affranpilot .davo-promo-content > h1,
body.site-layout-affranfull .davo-promo-content > h1 { font-family:Arial,Helvetica,sans-serif; letter-spacing:-.035em; }
@media (max-width: 640px) {
  body.site-layout-industrial .davo-promo-content > h1, body.site-layout-salon .davo-promo-content > h1,
  body.site-layout-retreat .davo-promo-content > h1, body.site-layout-bistro .davo-promo-content > h1,
  body.site-layout-playful .davo-promo-content > h1, body.site-layout-saas .davo-promo-content > h1,
  body.site-layout-athletic .davo-promo-content > h1 { font-size:clamp(1.95rem,8.2vw,2.65rem); }
}
@media (prefers-reduced-motion: reduce) {
  body .davo-promo-content > a { transition:none; }
  body .davo-promo-content > a:hover { transform:none; }
}

/* Pictures sized and positioned in the page editor (1.4.23). The editor writes
   a class and two custom properties on the picture; nothing here applies to a
   picture that was never resized. They carry !important because they are the
   owner's explicit choice over whatever frame the template gives a photo.
   A photo that was narrowed fills the width again on a phone; something small
   enough to be a logo or an icon (davo-small) keeps its size there. */
img.davo-sized { width:var(--davo-w, 100%) !important; max-width:100% !important; height:auto !important; }
img.davo-sized.davo-tall { height:var(--davo-h, auto) !important; object-fit:cover; }
img.davo-align-left { display:block !important; margin-left:0 !important; margin-right:auto !important; }
img.davo-align-center { display:block !important; margin-left:auto !important; margin-right:auto !important; }
img.davo-align-right { display:block !important; margin-left:auto !important; margin-right:0 !important; }
@media (max-width: 640px) {
  img.davo-sized:not(.davo-small) { width:100% !important; }
}

/* Sections shaped in the page editor (1.4.24). As with pictures, the editor
   writes a class and custom properties; nothing here touches a section that was
   left alone.
   Space above and below: the section's own padding, with the wrapper straight
   inside it brought to zero so one number is the whole gap. A little smaller on
   phones, in step with what the templates do themselves. */
.davo-pad-top { padding-top:var(--davo-pt) !important; }
.davo-pad-bottom { padding-bottom:var(--davo-pb) !important; }
.davo-pad-top > .wx-wrap, .davo-pad-top > .su-wrap { padding-top:0 !important; }
.davo-pad-bottom > .wx-wrap, .davo-pad-bottom > .su-wrap { padding-bottom:0 !important; }
@media (max-width: 640px) {
  .davo-pad-top { padding-top:calc(var(--davo-pt) * .6) !important; }
  .davo-pad-bottom { padding-bottom:calc(var(--davo-pb) * .6) !important; }
}
/* Column widths set by dragging apply where there is room for columns; below
   that the template's own rules stack them as before. */
@media (min-width: 961px) {
  .davo-cols { grid-template-columns:var(--davo-cols) !important; }
}
/* Light or dark words on a section whose background was changed. The editor
   marks each block of words that sits straight on that background. */
.davo-ink-l { color:#fff !important; }
.davo-ink-d { color:#0f172a !important; }

/* davo:header-footer-designer:end */

/* DAVO_STICKY_NAV_FIX_1425 — Pinned nav must stick even in affran layouts */
body.site-layout-affranfull .site-navbar[data-nav-sticky="on"],
body.site-layout-affranpilot .site-navbar[data-nav-sticky="on"]{position:sticky;top:0;z-index:40}
body.site-layout-affranfull .site-navbar:not([data-nav-sticky="off"]),
body.site-layout-affranpilot .site-navbar:not([data-nav-sticky="off"]){position:sticky;top:0;z-index:40}
.site-navbar{flex-shrink:0}

/* DAVO_AFFRAN_NAV_1432 — Raleway + WordPress Auxin hover flyout */
body.site-layout-affranfull,body.site-layout-affranpilot{font-family:"Raleway",Arial,Helvetica,sans-serif}
body.site-layout-affranfull .content-prose h1,body.site-layout-affranfull .content-prose h2,body.site-layout-affranfull .content-prose h3,body.site-layout-affranfull .content-prose h4,body.site-layout-affranfull .af-intro h1,body.site-layout-affranfull .af-about h2,body.site-layout-affranfull .af-hello h2{font-family:"Raleway",Arial,Helvetica,sans-serif}
body.site-layout-affranfull .site-nav a{font-family:"Raleway",Arial,Helvetica,sans-serif;font-weight:600}
body.site-layout-affranfull .site-nav a:hover,body.site-layout-affranfull .site-nav a.active{color:#e44520}
body.site-layout-affranfull .nav-caret-btn{color:#3d3d3d}
body.site-layout-affranfull .nav-dropdown:hover .nav-caret-btn,body.site-layout-affranfull .nav-dropdown.open .nav-caret-btn{color:#e44520}
body.site-layout-affranfull .nav-submenu{background:#f3f3f3;color:#3d3d3d;border:1px solid rgba(255,255,255,.2);border-radius:0;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:10px 0;gap:0;min-width:248px;max-width:320px;overflow:visible}
body.site-layout-affranfull .nav-submenu>a,body.site-layout-affranfull .nav-subgroup>span,body.site-layout-affranfull .nav-subgroup>summary{display:flex;align-items:center;justify-content:space-between;color:#3d3d3d;background:transparent;padding:10px;margin:0 10px;border-radius:0;font-family:"Raleway",Arial,Helvetica,sans-serif;font-size:.8225rem;font-weight:500;line-height:150%;text-transform:none;letter-spacing:normal;cursor:pointer;list-style:none}
body.site-layout-affranfull .nav-subgroup>span::after,body.site-layout-affranfull .nav-subgroup>summary::after{content:'\203A';float:none;margin-left:12px;font-size:15px;line-height:1;color:#3d3d3d;opacity:.7}
body.site-layout-affranfull .nav-submenu>a:hover,body.site-layout-affranfull .nav-submenu>a.active,body.site-layout-affranfull .nav-subgroup:hover>span,body.site-layout-affranfull .nav-subgroup:hover>summary{background:#e9e9e9;color:#e44520}
body.site-layout-affranfull .nav-subgroup:hover>span::after,body.site-layout-affranfull .nav-subgroup:hover>summary::after{color:#e44520;opacity:1}
body.site-layout-affranfull .nav-subgroup{position:relative;margin:0;padding:0;background:transparent;border-radius:0}
@media (min-width:769px){body.site-layout-affranfull .nav-subgroup::details-content{display:block !important;content-visibility:visible !important}}
body.site-layout-affranfull .nav-grandchildren{display:block;position:absolute;left:100%;top:-10px;min-width:248px;max-width:340px;background:#3d3d3d;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:0;padding:10px 0;margin:0;box-shadow:0 10px 30px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .22s ease-out,transform .22s ease-out,visibility .22s;z-index:90}
body.site-layout-affranfull .nav-grandchildren::before{content:'';position:absolute;top:0;bottom:0;left:-10px;width:10px}
@media (min-width:769px){body.site-layout-affranfull .nav-subgroup:hover>.nav-grandchildren{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}}
body.site-layout-affranfull .nav-grandchildren a{display:block;color:#fff;background:transparent;padding:10px;margin:0 10px;border-radius:0;font-family:"Raleway",Arial,Helvetica,sans-serif;font-size:.8225rem;font-weight:500;line-height:150%;text-transform:none;letter-spacing:normal}
body.site-layout-affranfull .nav-grandchildren a:hover,body.site-layout-affranfull .nav-grandchildren a.active{background:rgba(255,255,255,.08);color:#e44520}
@media (max-width:768px){body.site-layout-affranfull .nav-submenu{min-width:0;max-width:none}body.site-layout-affranfull .nav-grandchildren{position:static;min-width:0;max-width:none;opacity:1;visibility:visible;transform:none;pointer-events:auto;box-shadow:none;margin:2px 10px 8px;display:none}body.site-layout-affranfull .nav-grandchildren::before{display:none}body.site-layout-affranfull .nav-subgroup:hover>.nav-grandchildren,body.site-layout-affranfull .nav-subgroup[open]>.nav-grandchildren{display:block}}

/* DAVO_AFFRAN_MOTION_1437_START */
/* Exact www.affran.com Phlox/Auxin thumbnail hover, filter slide-up, client logo dim-to-bright, and scroll animations */
body.site-layout-affranfull .af-card,
body.site-layout-affranpilot .af-card {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
body.site-layout-affranfull .af-card img,
body.site-layout-affranpilot .af-card img {
  border-radius: 4px;
  will-change: transform;
  transform: translateZ(1px);
  transition: transform 1.2s ease-out;
}
body.site-layout-affranfull .af-card:hover img,
body.site-layout-affranfull .af-card:focus-visible img,
body.site-layout-affranpilot .af-card:hover img,
body.site-layout-affranpilot .af-card:focus-visible img {
  transform: scale(1.2) translateZ(0.1px);
}
body.site-layout-affranfull .af-card::after,
body.site-layout-affranpilot .af-card::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  will-change: opacity, transform;
  transform: scale(1.1);
  transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1), transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}
body.site-layout-affranfull .af-card:hover::after,
body.site-layout-affranfull .af-card:focus-visible::after,
body.site-layout-affranpilot .af-card:hover::after,
body.site-layout-affranpilot .af-card:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}
body.site-layout-affranfull .af-card .af-card-label,
body.site-layout-affranpilot .af-card .af-card-label {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  inset: 15px;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 6px;
  padding: 1.5em;
  background: transparent;
  color: #ffffff;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition: opacity 1.2s 0s cubic-bezier(0.77, 0, 0.175, 1), transform 1.2s 0s cubic-bezier(0.77, 0, 0.175, 1), color 0.25s ease;
}
body.site-layout-affranfull .af-card:hover .af-card-label,
body.site-layout-affranfull .af-card:focus-visible .af-card-label,
body.site-layout-affranpilot .af-card:hover .af-card-label,
body.site-layout-affranpilot .af-card:focus-visible .af-card-label {
  opacity: 1;
  transform: none;
}
body.site-layout-affranfull .af-card .af-card-label > span[aria-hidden="true"],
body.site-layout-affranpilot .af-card .af-card-label > span[aria-hidden="true"] {
  display: none;
}
body.site-layout-affranfull .af-card .af-card-cats,
body.site-layout-affranpilot .af-card .af-card-cats {
  display: block;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s 50ms cubic-bezier(0.77, 0, 0.175, 1), transform 1.2s 50ms cubic-bezier(0.77, 0, 0.175, 1);
}
body.site-layout-affranfull .af-card:hover .af-card-cats,
body.site-layout-affranfull .af-card:focus-visible .af-card-cats,
body.site-layout-affranpilot .af-card:hover .af-card-cats,
body.site-layout-affranpilot .af-card:focus-visible .af-card-cats {
  opacity: 1;
  transform: none;
}
@media (max-width: 600px) {
  body.site-layout-affranfull .af-card::after,
  body.site-layout-affranpilot .af-card::after,
  body.site-layout-affranfull .af-card .af-card-label,
  body.site-layout-affranpilot .af-card .af-card-label {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    inset: 8px;
  }
  body.site-layout-affranfull .af-card .af-card-label,
  body.site-layout-affranpilot .af-card .af-card-label {
    font-size: 13px;
    padding: 10px;
    opacity: 0;
  }
  body.site-layout-affranfull .af-card:hover .af-card-label,
  body.site-layout-affranfull .af-card:active .af-card-label,
  body.site-layout-affranfull .af-card:focus-visible .af-card-label,
  body.site-layout-affranpilot .af-card:hover .af-card-label,
  body.site-layout-affranpilot .af-card:active .af-card-label,
  body.site-layout-affranpilot .af-card:focus-visible .af-card-label {
    opacity: 1;
    transform: none;
  }
}

/* Filter tabs: Auxin slide-up hover + active highlight */
body.site-layout-affranfull article:not([contenteditable="true"]) .af-filters button,
body.site-layout-affranpilot article:not([contenteditable="true"]) .af-filters button {
  position: relative;
  overflow: hidden;
  padding: 6px 2px;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: transparent;
  text-shadow: 0 0 0 #868080, 0 1.65em 0 #3d3d3d;
  transition: text-shadow 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
body.site-layout-affranfull article:not([contenteditable="true"]) .af-filters button:hover,
body.site-layout-affranpilot article:not([contenteditable="true"]) .af-filters button:hover {
  color: transparent;
  text-shadow: 0 -1.65em 0 #868080, 0 0 0 #3d3d3d;
}
body.site-layout-affranfull article:not([contenteditable="true"]) .af-filters button[aria-pressed="true"],
body.site-layout-affranpilot article:not([contenteditable="true"]) .af-filters button[aria-pressed="true"] {
  font-weight: 700;
  color: transparent;
  text-shadow: 0 -1.65em 0 #868080, 0 0 0 #e44520;
}

/* Staggered portfolio card reveal (600ms duration, 60ms delay per card) */
@keyframes davoAfCardReveal {
  from { opacity: 0; transform: scale(0.95) translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
body.site-layout-affranfull .af-card.af-card-reveal,
body.site-layout-affranpilot .af-card.af-card-reveal {
  animation: davoAfCardReveal 0.6s cubic-bezier(0.19, 1, 0.22, 1) var(--af-stagger, 0ms) both;
}

/* Client logo grid: 0.39 resting opacity -> 1.0 on hover over 0.5s */
body.site-layout-affranfull article:not([contenteditable="true"]) .af-logo img,
body.site-layout-affranpilot article:not([contenteditable="true"]) .af-logo img {
  opacity: 0.39;
  transition: opacity 0.5s ease;
}
body.site-layout-affranfull article:not([contenteditable="true"]) .af-logo:hover img,
body.site-layout-affranfull article:not([contenteditable="true"]) .af-logo:focus-visible img,
body.site-layout-affranpilot article:not([contenteditable="true"]) .af-logo:hover img,
body.site-layout-affranpilot article:not([contenteditable="true"]) .af-logo:focus-visible img {
  opacity: 1;
}

/* Page element scroll entrance animations (AuxFadeInUp1 & AuxFadeIn) */
@keyframes davoAuxFadeInUp1 {
  from { opacity: 0; transform: translate3d(0, 50px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes davoAuxFadeIn {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.sm-ready .af-anim-wait {
  opacity: 0;
  will-change: opacity, transform;
}
.sm-ready .af-anim-up.af-anim-go {
  animation: davoAuxFadeInUp1 1s cubic-bezier(0.19, 1, 0.22, 1) var(--af-delay, 0ms) both;
}
.sm-ready .af-anim-fade.af-anim-go {
  animation: davoAuxFadeIn 1s cubic-bezier(0.19, 1, 0.22, 1) var(--af-delay, 0ms) both;
}
@media (prefers-reduced-motion: reduce) {
  body.site-layout-affranfull .af-card img,
  body.site-layout-affranfull .af-card::after,
  body.site-layout-affranfull .af-card .af-card-label,
  body.site-layout-affranfull .af-filters button,
  body.site-layout-affranfull .af-logo img,
  body.site-layout-affranpilot .af-card img,
  body.site-layout-affranpilot .af-card::after,
  body.site-layout-affranpilot .af-card .af-card-label,
  body.site-layout-affranpilot .af-filters button,
  body.site-layout-affranpilot .af-logo img {
    transition: none !important;
    animation: none !important;
  }
  .sm-ready .af-anim-wait {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* DAVO_AFFRAN_MOTION_1437_END */

/* DAVO_AFFRAN_PROJECT_2COL_1438_START */
/* Exact www.affran.com 2-Column Project Detail (65.5% images / 3% gutter / 31.5% details) + Actions/Categories + Prev/Grid/Next + Related Projects */
body.site-layout-affranfull .af-project-cols,
body.site-layout-affranpilot .af-project-cols {
  display: grid;
  grid-template-columns: minmax(0, 65.5fr) minmax(0, 31.5fr);
  column-gap: 3%;
  row-gap: 36px;
  align-items: start;
  padding: 46px 0 42px;
}
body.site-layout-affranfull .af-project-media,
body.site-layout-affranpilot .af-project-media {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}
body.site-layout-affranfull .af-project-shot,
body.site-layout-affranpilot .af-project-shot {
  margin: 0;
  padding: 0;
}
body.site-layout-affranfull .af-project-shot img,
body.site-layout-affranpilot .af-project-shot img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}
body.site-layout-affranfull .af-project-details,
body.site-layout-affranpilot .af-project-details {
  min-width: 0;
  color: #555555;
  font-size: 15.5px;
  line-height: 1.78;
}
body.site-layout-affranfull .af-project-meta-list,
body.site-layout-affranpilot .af-project-meta-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}
body.site-layout-affranfull .af-project-meta-list p,
body.site-layout-affranpilot .af-project-meta-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444444;
}
body.site-layout-affranfull .af-project-meta-list strong,
body.site-layout-affranpilot .af-project-meta-list strong,
body.site-layout-affranfull .af-project-summary strong,
body.site-layout-affranpilot .af-project-summary strong {
  color: #3d3d3d;
  font-weight: 700;
}
body.site-layout-affranfull .af-project-summary p,
body.site-layout-affranpilot .af-project-summary p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.78;
  color: #555555;
}
body.site-layout-affranfull .af-project-summary a,
body.site-layout-affranpilot .af-project-summary a {
  color: #e44520;
  word-break: break-word;
  transition: color 0.2s ease;
}
body.site-layout-affranfull .af-project-summary a:hover,
body.site-layout-affranpilot .af-project-summary a:hover {
  color: #1bb0ce;
}
body.site-layout-affranfull .af-project-summary h4,
body.site-layout-affranpilot .af-project-summary h4 {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  margin: 24px 0 0;
  color: #3d3d3d;
}
body.site-layout-affranfull .af-project-inline-img,
body.site-layout-affranpilot .af-project-inline-img {
  margin: 22px 0;
  max-width: 402px;
}
body.site-layout-affranfull .af-project-inline-img img,
body.site-layout-affranpilot .af-project-inline-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* Bottom Actions (Likes + Share) & Categories Meta matching www.affran.com */
body.site-layout-affranfull .af-project-foot,
body.site-layout-affranpilot .af-project-foot {
  padding: 8px 0 6px;
}
body.site-layout-affranfull .af-project-actions,
body.site-layout-affranpilot .af-project-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}
body.site-layout-affranfull .af-project-actions .af-like,
body.site-layout-affranpilot .af-project-actions .af-like {
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666666;
}
body.site-layout-affranfull .af-project-actions .af-share,
body.site-layout-affranpilot .af-project-actions .af-share {
  padding: 0;
  margin: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}
body.site-layout-affranfull .af-project-actions .af-share-title,
body.site-layout-affranpilot .af-project-actions .af-share-title {
  font-weight: 700;
  color: #3d3d3d;
}
body.site-layout-affranfull .af-project-actions .af-share a,
body.site-layout-affranpilot .af-project-actions .af-share a,
body.site-layout-affranfull .af-project-actions .af-share button,
body.site-layout-affranpilot .af-project-actions .af-share button {
  font-size: 13.5px;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}
body.site-layout-affranfull .af-project-actions .af-share a:hover,
body.site-layout-affranpilot .af-project-actions .af-share a:hover,
body.site-layout-affranfull .af-project-actions .af-share button:hover,
body.site-layout-affranpilot .af-project-actions .af-share button:hover {
  color: #e44520;
}
body.site-layout-affranfull .af-project-cats,
body.site-layout-affranpilot .af-project-cats {
  padding: 28px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.site-layout-affranfull .af-cats-label,
body.site-layout-affranpilot .af-cats-label {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #3d3d3d;
}
body.site-layout-affranfull .af-cats-links,
body.site-layout-affranpilot .af-cats-links {
  font-size: 14px;
  color: #3d3d3d;
}
body.site-layout-affranfull .af-cats-links a,
body.site-layout-affranpilot .af-cats-links a {
  color: #3d3d3d;
  text-decoration: none;
  transition: color 0.2s ease;
}
body.site-layout-affranfull .af-cats-links a:hover,
body.site-layout-affranpilot .af-cats-links a:hover {
  color: #1bb0ce;
}

/* Prev / 3x3 Archive Grid / Next Portfolio navigation bar */
body.site-layout-affranfull .af-project-nav,
body.site-layout-affranpilot .af-project-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 34px 0 46px;
}
body.site-layout-affranfull .af-np-prev,
body.site-layout-affranpilot .af-np-prev {
  justify-self: start;
  text-align: left;
  min-width: 0;
}
body.site-layout-affranfull .af-np-next,
body.site-layout-affranpilot .af-np-next {
  justify-self: end;
  text-align: right;
  min-width: 0;
}
body.site-layout-affranfull .af-np-grid,
body.site-layout-affranpilot .af-np-grid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #bbbbbb !important;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
body.site-layout-affranfull .af-np-grid:hover,
body.site-layout-affranpilot .af-np-grid:hover {
  color: #3d3d3d !important;
  transform: scale(1.08);
}
body.site-layout-affranfull .af-np-link,
body.site-layout-affranpilot .af-np-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: #505050 !important;
  max-width: 100%;
}
body.site-layout-affranfull .af-np-text,
body.site-layout-affranpilot .af-np-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
body.site-layout-affranfull .af-np-prev .af-np-link:hover .af-np-text,
body.site-layout-affranpilot .af-np-prev .af-np-link:hover .af-np-text {
  transform: translateX(-7px);
}
body.site-layout-affranfull .af-np-next .af-np-link:hover .af-np-text,
body.site-layout-affranpilot .af-np-next .af-np-link:hover .af-np-text {
  transform: translateX(7px);
}
body.site-layout-affranfull .af-np-eyebrow,
body.site-layout-affranpilot .af-np-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
  line-height: 1.2;
}
body.site-layout-affranfull .af-np-title,
body.site-layout-affranpilot .af-np-title {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #505050;
  line-height: 1.3;
}
body.site-layout-affranfull .af-np-link:hover .af-np-title,
body.site-layout-affranpilot .af-np-link:hover .af-np-title {
  text-decoration: underline;
  color: #3d3d3d;
}
body.site-layout-affranfull .af-np-arrow,
body.site-layout-affranpilot .af-np-arrow {
  position: relative;
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #3d3d3d inset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3d3d3d;
  font-size: 18px;
  overflow: hidden;
  transition: color 0.45s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
body.site-layout-affranfull .af-np-link:hover .af-np-arrow,
body.site-layout-affranpilot .af-np-link:hover .af-np-arrow {
  background-color: #3d3d3d;
  color: #ffffff;
}

/* Bottom Related Projects 4-Column Grid */
body.site-layout-affranfull .af-related,
body.site-layout-affranpilot .af-related {
  padding: 28px 0 84px;
}
body.site-layout-affranfull .af-related h2,
body.site-layout-affranfull .af-related h3,
body.site-layout-affranpilot .af-related h2,
body.site-layout-affranpilot .af-related h3 {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #3d3d3d;
  margin: 0 0 28px;
}
body.site-layout-affranfull .af-related-grid,
body.site-layout-affranpilot .af-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 960px) {
  body.site-layout-affranfull .af-project-cols,
  body.site-layout-affranpilot .af-project-cols {
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding: 32px 0;
  }
  body.site-layout-affranfull .af-related-grid,
  body.site-layout-affranpilot .af-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 640px) {
  body.site-layout-affranfull .af-np-title,
  body.site-layout-affranpilot .af-np-title {
    display: none;
  }
  body.site-layout-affranfull .af-np-arrow,
  body.site-layout-affranpilot .af-np-arrow {
    width: 42px;
    height: 42px;
  }
  body.site-layout-affranfull .af-related-grid,
  body.site-layout-affranpilot .af-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
/* DAVO_AFFRAN_PROJECT_2COL_1438_END */

/* DAVO_WIDGETS_1452 */
/* 1. Classic Bordered Folder Tabs (Design Systems & Case Studies) */
.af-ds-tabs {
  margin: 0 0 30px;
  background: #ffffff;
}
.af-ds-tablist {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #d5d8dc;
  background: transparent;
  margin: 0;
  padding: 0;
}
.af-ds-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 0;
  margin: 0 2px -1px 0;
  padding: 15px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #4b5563;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.af-ds-tab:hover {
  color: #111827;
  background: #f8fafc;
}
.af-ds-tab[aria-selected="true"] {
  color: #111827;
  background: #ffffff;
  border-color: #d5d8dc;
  border-bottom: 1px solid #ffffff;
  position: relative;
  z-index: 2;
}
.af-ds-panel {
  border: 1px solid #d5d8dc;
  border-top: 0;
  background: #ffffff;
  padding: 22px 24px;
}
.af-ds-panel[hidden] {
  display: none !important;
}
.af-ds-panel > :first-child {
  margin-top: 0;
}
.af-ds-panel > :last-child {
  margin-bottom: 0;
}
.af-ds-panel figure,
.af-ds-panel .af-project-shot {
  margin: 0 0 18px;
}
.af-ds-panel figure:last-child,
.af-ds-panel .af-project-shot:last-child {
  margin-bottom: 0;
}
.af-ds-panel img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}
@media (max-width: 720px) {
  .af-ds-tablist {
    border: 1px solid #d5d8dc;
    border-bottom: 0;
    background: #f8fafc;
  }
  .af-ds-tab {
    flex: 1 1 calc(50% - 2px);
    text-align: center;
    margin: 0;
    padding: 12px 12px;
    font-size: 13px;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
  }
  .af-ds-tab[aria-selected="true"] {
    background: #ffffff;
    color: #e44520;
    border-bottom: 2px solid #e44520;
  }
  .af-ds-panel {
    border-top: 1px solid #d5d8dc;
    padding: 16px;
  }
}

/* 2. Right-Column Client Logos, Dividers & Multi-Row Case Study Alignment */
.af-project-inline-img {
  margin: 0 0 26px;
}
.af-project-inline-img img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto;
}
.af-project-client-logo {
  margin: 0 0 38px;
}
.af-project-client-logo img {
  width: auto !important;
  max-width: min(215px, 60%);
  max-height: 96px;
  height: auto;
  object-fit: contain;
}
.af-project-details hr {
  border: 0;
  border-top: 1px solid #d5d8dc;
  margin: 24px 0;
}
.af-project-details h2,
.af-project-details h3,
.af-project-details h4 {
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
  margin: 22px 0 10px;
}
.af-project-details h4 {
  font-size: 18px;
}
.af-project-details ul,
.af-project-details ol {
  margin: 10px 0 18px 20px;
  padding: 0;
}
.af-project-details li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.af-project-meta-list {
  margin: 0 0 16px;
}
.af-project-meta-list p {
  margin: 0 0 6px !important;
}
.af-project-cols + .af-project-cols {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid #e5e7eb;
}
.af-project-cols.af-project-cols-1 {
  grid-template-columns: minmax(0, 1fr) !important;
}
.af-project-cols.af-project-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.af-project-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 16px 0 24px;
}
.af-project-subcol > :first-child {
  margin-top: 0;
}
@media (max-width: 900px) {
  .af-project-cols.af-project-cols-3,
  .af-project-subgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 3. Interactive Image Carousel / Slideshow (`.af-carousel`) */
.af-carousel {
  position: relative;
  margin: 0 0 28px;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}
.af-carousel-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.af-carousel-slide {
  margin: 0;
  width: 100%;
  display: none;
  position: relative;
}
.af-carousel-slide.is-active {
  display: block;
  animation: afCarouselFadeIn 0.65s ease;
}
@keyframes afCarouselFadeIn {
  from { opacity: 0.25; }
  to { opacity: 1; }
}
.af-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.af-carousel-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px 34px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0));
  color: #ffffff;
  font-size: 13.5px;
}
.af-carousel-prev,
.af-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.af-carousel:hover .af-carousel-prev,
.af-carousel:hover .af-carousel-next,
.af-carousel:focus-within .af-carousel-prev,
.af-carousel:focus-within .af-carousel-next {
  opacity: 1;
}
.af-carousel-prev:hover,
.af-carousel-next:hover {
  background: rgba(228, 69, 32, 0.92);
}
.af-carousel-prev { left: 14px; }
.af-carousel-next { right: 14px; }
.af-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
}
.af-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  background: rgba(15, 23, 42, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.af-carousel-dot.is-active {
  background: #e44520;
  border-color: #e44520;
  transform: scale(1.2);
}

/* 4. Interactive PDF / Brand Book Viewer (`.af-pdf-embed`) */
.af-pdf-embed {
  margin: 0 0 28px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.af-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid #334155;
}
.af-pdf-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f1f5f9;
}
.af-pdf-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.af-pdf-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #f8fafc !important;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.af-pdf-btn:hover {
  background: #e44520;
  border-color: #e44520;
}
.af-pdf-embed iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: #ffffff;
}
.af-pdf-embed.is-fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  margin: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.af-pdf-embed.is-fullscreen-modal iframe {
  flex: 1 1 auto;
  height: calc(100vh - 52px) !important;
}

/* 5. Framed Video Demo Player (`.af-video-player`) */
.af-video-player {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.af-video-player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
}

/* 6. Click-to-Zoom Image Lightbox (`.af-lightbox`) */
body:not([contenteditable="true"]) .af-project-shot > img,
body:not([contenteditable="true"]) .af-ds-panel figure > img,
body:not([contenteditable="true"]) .af-ds-panel > img {
  cursor: zoom-in;
}
.af-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 56px;
}
.af-lightbox[hidden] {
  display: none !important;
}
.af-lightbox-img {
  max-width: min(92vw, 1600px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: #ffffff;
}
.af-lightbox-close,
.af-lightbox-prev,
.af-lightbox-next {
  position: fixed;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.af-lightbox-close:hover,
.af-lightbox-prev:hover,
.af-lightbox-next:hover {
  background: #e44520;
}
.af-lightbox-close {
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  font-size: 26px;
  line-height: 1;
}
.af-lightbox-prev,
.af-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.af-lightbox-prev { left: 18px; }
.af-lightbox-next { right: 18px; }
.af-lightbox-meta {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 14px;
  text-align: center;
  color: #cbd5e1;
  font-size: 13px;
  pointer-events: none;
}
@media (max-width: 680px) {
  .af-lightbox { padding: 16px; }
  .af-lightbox-prev { left: 8px; }
  .af-lightbox-next { right: 8px; }
}

/* DAVO_WIDGETS_CSS_1454_START */
/* ==========================================================================
   Davo CMS Interactive UX & Showcase Widgets Pack v2 (v1.4.54)
   1. Before / After Comparison Slider (`.af-compare`)
   2. Live Figma / Video / CodePen / App Embed Frame (`.af-embed`)
   3. Animated Impact Metrics & KPI Cards (`.af-kpis`)
   4. Client & Partner Logo Strip / Marquee (`.af-logos`)
   ========================================================================== */

/* 1. Before / After Comparison Slider (`.af-compare`) */
.af-compare {
  margin: 0 0 28px;
}
.af-compare-stage {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  user-select: none;
  -webkit-user-select: none;
}
.af-compare-after,
.af-compare-before-wrap {
  grid-area: 1 / 1;
  width: 100%;
}
.af-compare-after {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
}
.af-compare-before-wrap {
  position: relative;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--af-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--af-pos, 50%)) 0 0);
}
.af-compare-before {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.af-compare-badge {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  pointer-events: none;
}
.af-compare-badge:empty {
  display: none;
}
.af-compare-badge.is-before {
  left: 14px;
}
.af-compare-badge.is-after {
  right: 14px;
}
.af-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--af-pos, 50%);
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(15, 23, 42, 0.45);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.af-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.af-compare-stage:hover .af-compare-knob,
.af-compare-range:focus-visible ~ .af-compare-divider .af-compare-knob {
  background: var(--brand, #e44520);
  color: #ffffff;
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.06);
}
.af-compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.af-compare-caption {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}
.af-compare-caption:empty {
  display: none;
}

/* 2. Interactive Prototype & Live Embed Frame (`.af-embed`) */
.af-embed {
  margin: 0 0 28px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.af-embed[data-embed-chrome="off"] .af-embed-toolbar {
  display: none;
}
.af-embed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.af-embed-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.af-embed-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.af-embed-dots span:nth-child(1) { background: #fb7185; }
.af-embed-dots span:nth-child(2) { background: #fbbf24; }
.af-embed-dots span:nth-child(3) { background: #34d399; }
.af-embed-title {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.af-embed-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.af-embed-provider {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.af-embed-viewport {
  position: relative;
  width: 100%;
  background: #f8fafc;
}
.af-embed[data-embed-ratio="16x9"] .af-embed-viewport {
  aspect-ratio: 16 / 9;
}
.af-embed[data-embed-ratio="4x3"] .af-embed-viewport {
  aspect-ratio: 4 / 3;
}
.af-embed[data-embed-ratio="tall"] .af-embed-viewport {
  height: 700px;
}
.af-embed[data-embed-ratio="compact"] .af-embed-viewport {
  height: 460px;
}
.af-embed-viewport iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  background: #ffffff;
}
.af-embed[data-embed-ratio="16x9"] .af-embed-viewport iframe,
.af-embed[data-embed-ratio="4x3"] .af-embed-viewport iframe {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.af-embed-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 13.5px;
}
.af-embed[data-embed-src]:not([data-embed-src=""]) .af-embed-empty {
  display: none;
}
.af-embed.is-fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  margin: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.af-embed.is-fullscreen-modal .af-embed-viewport {
  flex: 1 1 auto;
  aspect-ratio: auto !important;
  height: calc(100vh - 50px) !important;
}
.af-embed.is-fullscreen-modal .af-embed-viewport iframe {
  position: static !important;
  height: 100% !important;
}

/* 3. Animated Impact Metrics & KPI Cards (`.af-kpis`) */
.af-kpis {
  margin: 0 0 28px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.af-kpis[data-af-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.af-kpis[data-af-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.af-kpi-card {
  padding: 22px 20px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.af-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.af-kpi-val {
  font-family: var(--font-heading, inherit);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--brand, #e44520);
  margin-bottom: 8px;
}
.af-kpi-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.af-kpi-note {
  margin-top: 5px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}
.af-kpi-note:empty {
  display: none;
}
.af-kpis[data-af-style="dark"] .af-kpi-card {
  background: #0f172a;
  border-color: #1e293b;
  color: #f8fafc;
}
.af-kpis[data-af-style="dark"] .af-kpi-val {
  color: #ffffff;
}
.af-kpis[data-af-style="dark"] .af-kpi-label {
  color: #e2e8f0;
}
.af-kpis[data-af-style="dark"] .af-kpi-note {
  color: #94a3b8;
}
.af-kpis[data-af-style="minimal"] .af-kpi-card {
  background: transparent;
  border: 0;
  border-top: 2px solid #0f172a;
  border-radius: 0;
  box-shadow: none;
  padding: 16px 4px 8px;
}
.af-kpis[data-af-style="minimal"] .af-kpi-card:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 860px) {
  .af-kpis[data-af-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .af-kpis,
  .af-kpis[data-af-cols="2"],
  .af-kpis[data-af-cols="4"] {
    grid-template-columns: 1fr;
  }
}

/* 4. Client & Partner Logo Strip / Marquee (`.af-logos[data-af-widget="logos"]`) */
.af-logos[data-af-widget="logos"] {
  margin: 0 0 28px;
  padding: 22px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.af-logos[data-af-widget="logos"][data-af-tone="contrast"] {
  background: #0f172a;
  border-color: #1e293b;
}
.af-logos[data-af-widget="logos"] .af-logos-heading {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 18px;
}
.af-logos[data-af-widget="logos"][data-af-tone="contrast"] .af-logos-heading {
  color: #94a3b8;
}
.af-logos[data-af-widget="logos"] .af-logos-heading:empty {
  display: none;
}
.af-logos[data-af-widget="logos"] .af-logos-viewport {
  overflow: hidden;
  width: 100%;
}
.af-logos[data-af-widget="logos"] .af-logos-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
}
.af-logos[data-af-widget="logos"] .af-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.af-logos[data-af-widget="logos"] .af-logo-item a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.af-logos[data-af-widget="logos"] .af-logo-item img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 170px;
  object-fit: contain;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.af-logos[data-af-widget="logos"][data-af-size="sm"] .af-logo-item img { height: 26px; max-width: 135px; }
.af-logos[data-af-widget="logos"][data-af-size="lg"] .af-logo-item img { height: 52px; max-width: 210px; }
.af-logos[data-af-widget="logos"][data-af-tone="grayscale"] .af-logo-item img {
  filter: grayscale(100%);
  opacity: 0.68;
}
.af-logos[data-af-widget="logos"][data-af-tone="grayscale"] .af-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.af-logos[data-af-widget="logos"] .af-logo-wordmark {
  font-family: var(--font-heading, inherit);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #334155;
  opacity: 0.78;
  padding: 4px 6px;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.af-logos[data-af-widget="logos"][data-af-tone="contrast"] .af-logo-wordmark {
  color: #f1f5f9;
}
.af-logos[data-af-widget="logos"] .af-logo-item:hover .af-logo-wordmark {
  opacity: 1;
  color: var(--brand, #e44520);
}
.af-logos[data-af-widget="logos"][data-af-mode="marquee"] .af-logos-viewport {
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.af-logos[data-af-widget="logos"][data-af-mode="marquee"] .af-logos-track.is-marquee-ready {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 48px;
  animation: afLogoMarquee 26s linear infinite;
}
.af-logos[data-af-widget="logos"][data-af-mode="marquee"]:hover .af-logos-track.is-marquee-ready {
  animation-play-state: paused;
}
@keyframes afLogoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .af-logos[data-af-widget="logos"][data-af-mode="marquee"] .af-logos-track.is-marquee-ready {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* 5. Portfolio Project Like Heart Polish (`.af-like`) */
.af-like button {
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.af-like button[aria-pressed="true"] {
  color: var(--brand, #e44520);
  border-color: rgba(228, 69, 32, 0.38);
  background: rgba(228, 69, 32, 0.06);
}
.af-like button.is-popping {
  transform: scale(1.24);
}

/* 6. Affran Portfolio Thumbnail Padding, 4-Column Client Logos & Tablet/Mobile Polish (v1.4.60) */
body.site-layout-affranfull,
body.site-layout-affranpilot {
  overflow-x: clip;
}
body.site-layout-affranfull .site-container,
body.site-layout-affranfull.has-wx-layout .site-main > .site-container,
body.site-layout-affranpilot .site-container,
body.site-layout-affranpilot.has-wx-layout .site-main > .site-container {
  max-width: 1500px;
  padding-left: 25px;
  padding-right: 25px;
}

/* Clean Affran top navbar: hide duplicate CTA pill & fit tablet landscape on 1 row */
body.site-layout-affranfull .site-nav > a.nav-cta,
body.site-layout-affranpilot .site-nav > a.nav-cta {
  display: none !important;
}
@media (min-width: 769px) and (max-width: 1024px) {
  body.site-layout-affranfull .site-nav,
  body.site-layout-affranpilot .site-nav {
    gap: 16px;
  }
  body.site-layout-affranfull .site-nav > a,
  body.site-layout-affranfull .nav-dropdown-trigger > a,
  body.site-layout-affranpilot .site-nav > a,
  body.site-layout-affranpilot .nav-dropdown-trigger > a {
    font-size: 12px;
  }
}

/* Mobile Hamburger Drawer + 3-Level Client Submenu Touch Accordion (<= 768px) */
@media (max-width: 768px) {
  body.site-layout-affranfull .site-navbar.nav-open .site-nav,
  body.site-layout-affranpilot .site-navbar.nav-open .site-nav {
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 16px;
  }
  body.site-layout-affranfull .nav-subgroup > span,
  body.site-layout-affranfull .nav-subgroup > summary,
  body.site-layout-affranpilot .nav-subgroup > span,
  body.site-layout-affranpilot .nav-subgroup > summary {
    min-height: 40px;
    margin: 0;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
  }
  body.site-layout-affranfull .nav-subgroup > span::after,
  body.site-layout-affranfull .nav-subgroup > summary::after,
  body.site-layout-affranpilot .nav-subgroup > span::after,
  body.site-layout-affranpilot .nav-subgroup > summary::after {
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
  }
  body.site-layout-affranfull .nav-subgroup.is-open > span,
  body.site-layout-affranfull .nav-subgroup[open] > summary,
  body.site-layout-affranpilot .nav-subgroup.is-open > span,
  body.site-layout-affranpilot .nav-subgroup[open] > summary {
    color: #e44520;
    background: #f3f4f6;
  }
  body.site-layout-affranfull .nav-subgroup.is-open > span::after,
  body.site-layout-affranfull .nav-subgroup[open] > summary::after,
  body.site-layout-affranpilot .nav-subgroup.is-open > span::after,
  body.site-layout-affranpilot .nav-subgroup[open] > summary::after {
    transform: rotate(90deg);
    color: #e44520;
    opacity: 1;
  }
  body.site-layout-affranfull .nav-grandchildren,
  body.site-layout-affranfull .nav-subgroup:hover > .nav-grandchildren,
  body.site-layout-affranpilot .nav-grandchildren,
  body.site-layout-affranpilot .nav-subgroup:hover > .nav-grandchildren {
    display: none;
    position: static;
    min-width: 0;
    max-width: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: #f8fafc;
    color: #3d3d3d;
    border: 0;
    border-left: 2px solid #e44520;
    border-radius: 0 6px 6px 0;
    margin: 4px 0 8px 12px;
    padding: 4px 0;
  }
  body.site-layout-affranfull .nav-subgroup.is-open > .nav-grandchildren,
  body.site-layout-affranfull .nav-subgroup[open] > .nav-grandchildren,
  body.site-layout-affranpilot .nav-subgroup.is-open > .nav-grandchildren,
  body.site-layout-affranpilot .nav-subgroup[open] > .nav-grandchildren {
    display: block;
  }
  body.site-layout-affranfull .nav-grandchildren a,
  body.site-layout-affranpilot .nav-grandchildren a {
    color: #3d3d3d;
    margin: 0 4px;
    padding: 8px 10px;
    font-size: 13.5px;
    border-radius: 5px;
  }
  body.site-layout-affranfull .nav-grandchildren a:hover,
  body.site-layout-affranfull .nav-grandchildren a.active,
  body.site-layout-affranpilot .nav-grandchildren a:hover,
  body.site-layout-affranpilot .nav-grandchildren a.active {
    background: rgba(228, 69, 32, 0.08);
    color: #e44520;
  }
}

/* Portfolio Thumbnail Grid Padding — exact 28px gutter matching www.affran.com */
body.site-layout-affranfull .af-grid,
body.site-layout-affranpilot .af-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
body.site-layout-affranfull .af-related-grid,
body.site-layout-affranpilot .af-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1120px) {
  body.site-layout-affranfull .af-grid,
  body.site-layout-affranpilot .af-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}
@media (max-width: 900px) {
  body.site-layout-affranfull .site-container,
  body.site-layout-affranfull.has-wx-layout .site-main > .site-container,
  body.site-layout-affranpilot .site-container,
  body.site-layout-affranpilot.has-wx-layout .site-main > .site-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.site-layout-affranfull .af-grid,
  body.site-layout-affranpilot .af-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  body.site-layout-affranfull .af-related-grid,
  body.site-layout-affranpilot .af-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (hover: none), (max-width: 768px) {
  body.site-layout-affranfull article:not([contenteditable="true"]) .af-filters button,
  body.site-layout-affranpilot article:not([contenteditable="true"]) .af-filters button {
    overflow: visible;
    padding: 7px 3px;
    color: #868080;
    text-shadow: none;
    transition: color 0.2s ease;
  }
  body.site-layout-affranfull article:not([contenteditable="true"]) .af-filters button:hover,
  body.site-layout-affranpilot article:not([contenteditable="true"]) .af-filters button:hover {
    color: #3d3d3d;
    text-shadow: none;
  }
  body.site-layout-affranfull article:not([contenteditable="true"]) .af-filters button[aria-pressed="true"],
  body.site-layout-affranpilot article:not([contenteditable="true"]) .af-filters button[aria-pressed="true"] {
    color: #e44520;
    text-shadow: none;
  }
}
@media (max-width: 640px) {
  body.site-layout-affranfull .site-container,
  body.site-layout-affranfull.has-wx-layout .site-main > .site-container,
  body.site-layout-affranpilot .site-container,
  body.site-layout-affranpilot.has-wx-layout .site-main > .site-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  body.site-layout-affranfull .af-grid,
  body.site-layout-affranpilot .af-grid,
  body.site-layout-affranfull .af-related-grid,
  body.site-layout-affranpilot .af-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  body.site-layout-affranfull .af-filters,
  body.site-layout-affranpilot .af-filters {
    gap: 6px 16px;
    margin-bottom: 22px;
  }
}

/* Companies & Brands I've Worked With — 4 columns + bigger logos matching www.affran.com */
body.site-layout-affranfull .af-clients,
body.site-layout-affranpilot .af-clients {
  padding: 120px 0 90px;
}
body.site-layout-affranfull .af-clients h2,
body.site-layout-affranpilot .af-clients h2 {
  text-align: center;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: #3d3d3d;
  text-wrap: balance;
  margin: 0 auto 84px;
}
body.site-layout-affranfull .af-clients h2::after,
body.site-layout-affranpilot .af-clients h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: #bbbbbb;
  margin: 24px auto 0;
}
body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]),
body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo,
body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  min-height: 180px;
  padding: 30px;
  overflow: hidden;
  background: #ffffff;
  border-style: solid;
  border-color: #f7f7f7;
  border-width: 0 2px 2px 0;
  border-radius: 0;
}
body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:first-child,
body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:first-child {
  border-top-left-radius: 10px;
}
body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:last-child,
body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:last-child {
  border-bottom-right-radius: 10px;
}
@media (min-width: 1025px) {
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(-n+4),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(-n+4) {
    border-top-width: 2px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(4n+1),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(4n+1) {
    border-left-width: 2px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(4),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(4) {
    border-top-right-radius: 10px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(4n+1):nth-last-child(-n+4),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(4n+1):nth-last-child(-n+4) {
    border-bottom-left-radius: 10px;
  }
}
body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo img,
body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo img {
  width: 100%;
  max-width: 300px;
  height: 100%;
  max-height: 120px;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  body.site-layout-affranfull .af-clients,
  body.site-layout-affranpilot .af-clients {
    padding: 80px 0 68px;
  }
  body.site-layout-affranfull .af-clients h2,
  body.site-layout-affranpilot .af-clients h2 {
    font-size: 20px;
    margin-bottom: 52px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(-n+2),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(-n+2) {
    border-top-width: 2px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(2n+1),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(2n+1) {
    border-left-width: 2px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(2),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(2) {
    border-top-right-radius: 10px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(2n+1):nth-last-child(-n+2),
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo:nth-child(2n+1):nth-last-child(-n+2) {
    border-bottom-left-radius: 10px;
  }
}
@media (max-width: 640px) {
  body.site-layout-affranfull .af-clients,
  body.site-layout-affranpilot .af-clients {
    padding: 54px 0 48px;
  }
  body.site-layout-affranfull .af-clients h2,
  body.site-layout-affranpilot .af-clients h2 {
    font-size: 18px;
    margin-bottom: 34px;
    padding: 0 8px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo,
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo {
    height: 140px;
    min-height: 140px;
    padding: 20px;
  }
  body.site-layout-affranfull .af-logos:not([data-af-widget="logos"]) .af-logo img,
  body.site-layout-affranpilot .af-logos:not([data-af-widget="logos"]) .af-logo img {
    max-width: 165px;
    max-height: 86px;
  }
}

/* Tablet Portrait & Mobile Subpages + Touch Interactive Widgets Polish */
@media (max-width: 860px) {
  body.site-layout-affranfull .af-about-intro,
  body.site-layout-affranfull .af-about-experience,
  body.site-layout-affranfull .af-contact,
  body.site-layout-affranpilot .af-about-intro,
  body.site-layout-affranpilot .af-about-experience,
  body.site-layout-affranpilot .af-contact {
    grid-template-columns: 1fr;
    padding: 56px 0;
    gap: 34px;
  }
}
@media (max-width: 768px) {
  body .davo-contact-form .davo-field input,
  body .davo-contact-form .davo-field textarea {
    font-size: 16px !important;
  }
}
@media (hover: none), (max-width: 900px) {
  .af-carousel-prev,
  .af-carousel-next {
    opacity: 0.9;
  }
}
@media (max-width: 640px) {
  .af-pdf-embed iframe,
  .af-embed[data-embed-ratio="tall"] .af-embed-viewport {
    height: min(460px, 68vh);
  }
  .af-lightbox {
    padding: 16px 12px;
  }
  .af-lightbox-img {
    max-width: 96vw;
  }
}

/* 7. Full-Size Design System Tab Images, Zero Hover-Zoom & Right-Column Client Logo Scale (v1.4.62) */
.af-ds-tab:empty,
.af-ds-panel p:empty {
  display: none !important;
  margin: 0 !important;
}
.af-ds-panel {
  padding: 20px;
}
body.site-layout-affranfull .af-project-media .af-project-inline-img,
body.site-layout-affranpilot .af-project-media .af-project-inline-img,
body.site-layout-affranfull .af-ds-panel figure,
body.site-layout-affranfull .af-ds-panel .af-project-inline-img,
body.site-layout-affranfull .af-ds-panel .af-project-shot,
body.site-layout-affranpilot .af-ds-panel figure,
body.site-layout-affranpilot .af-ds-panel .af-project-inline-img,
body.site-layout-affranpilot .af-ds-panel .af-project-shot {
  max-width: none !important;
  width: 100%;
  margin: 0 0 18px;
}
body.site-layout-affranfull .af-ds-panel figure:last-child,
body.site-layout-affranfull .af-ds-panel .af-project-inline-img:last-child,
body.site-layout-affranfull .af-ds-panel .af-project-shot:last-child,
body.site-layout-affranfull .af-ds-panel p:last-child,
body.site-layout-affranpilot .af-ds-panel figure:last-child,
body.site-layout-affranpilot .af-ds-panel .af-project-inline-img:last-child,
body.site-layout-affranpilot .af-ds-panel .af-project-shot:last-child,
body.site-layout-affranpilot .af-ds-panel p:last-child {
  margin-bottom: 0;
}
body.site-layout-affranfull .af-ds-panel img,
body.site-layout-affranfull .af-ds-panel .af-project-inline-img img,
body.site-layout-affranpilot .af-ds-panel img,
body.site-layout-affranpilot .af-ds-panel .af-project-inline-img img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 0;
}
/* Disable Salient [data-pan] initial zoom (1.09) & hover zoom (1.07) on non-card images (tabs, case study shots, logos, widgets) */
.sm-ready body.site-layout-affranfull :not(.af-card) > img[data-pan="self"],
.sm-ready body.site-layout-affranfull :not(.af-card) > img[data-pan="self"].is-panned,
.sm-ready body.site-layout-affranfull :not(.af-card) > img[data-pan="self"]:hover,
.sm-ready body.site-layout-affranpilot :not(.af-card) > img[data-pan="self"],
.sm-ready body.site-layout-affranpilot :not(.af-card) > img[data-pan="self"].is-panned,
.sm-ready body.site-layout-affranpilot :not(.af-card) > img[data-pan="self"]:hover,
.sm-ready body.site-layout-affranfull .af-ds-panel img,
.sm-ready body.site-layout-affranfull .af-ds-panel img:hover,
.sm-ready body.site-layout-affranfull .af-project-cols :not(.af-card) > img,
.sm-ready body.site-layout-affranfull .af-project-cols :not(.af-card) > img:hover,
.sm-ready body.site-layout-affranfull .af-clients img,
.sm-ready body.site-layout-affranfull .af-clients img:hover,
.sm-ready body.site-layout-affranfull .af-about-intro img,
.sm-ready body.site-layout-affranfull .af-about-intro img:hover,
.sm-ready body.site-layout-affranpilot .af-ds-panel img,
.sm-ready body.site-layout-affranpilot .af-ds-panel img:hover,
.sm-ready body.site-layout-affranpilot .af-project-cols :not(.af-card) > img,
.sm-ready body.site-layout-affranpilot .af-project-cols :not(.af-card) > img:hover,
.sm-ready body.site-layout-affranpilot .af-clients img,
.sm-ready body.site-layout-affranpilot .af-clients img:hover,
.sm-ready body.site-layout-affranpilot .af-about-intro img,
.sm-ready body.site-layout-affranpilot .af-about-intro img:hover,
body.site-layout-affranfull .af-ds-panel img,
body.site-layout-affranfull .af-ds-panel img:hover,
body.site-layout-affranpilot .af-ds-panel img,
body.site-layout-affranpilot .af-ds-panel img:hover {
  transform: none !important;
  will-change: auto !important;
}
body:not([contenteditable="true"]) .af-ds-panel:not([data-af-lightbox="on"]) figure > img,
body:not([contenteditable="true"]) .af-ds-panel:not([data-af-lightbox="on"]) > img,
body:not([contenteditable="true"]) .af-ds-panel:not([data-af-lightbox="on"]) .af-project-shot > img {
  cursor: default !important;
}
body:not([contenteditable="true"]) .af-ds-panel a[href] img {
  cursor: pointer !important;
}
body.site-layout-affranfull .af-project-details > figure.af-project-inline-img:first-child,
body.site-layout-affranfull .af-project-summary > figure.af-project-inline-img:first-child,
body.site-layout-affranpilot .af-project-details > figure.af-project-inline-img:first-child,
body.site-layout-affranpilot .af-project-summary > figure.af-project-inline-img:first-child {
  margin: 0 0 36px;
}
body.site-layout-affranfull .af-project-details > figure.af-project-inline-img:first-child img,
body.site-layout-affranfull .af-project-summary > figure.af-project-inline-img:first-child img,
body.site-layout-affranpilot .af-project-details > figure.af-project-inline-img:first-child img,
body.site-layout-affranpilot .af-project-summary > figure.af-project-inline-img:first-child img {
  width: auto !important;
  max-width: min(215px, 55%);
  max-height: 96px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 720px) {
  .af-ds-panel {
    padding: 12px;
  }
}
/* DAVO_WIDGETS_CSS_1454_END */
