/* ==========================================================================
   Laura & Co polish: typography + scrolling ticker (no other animation)
   ========================================================================== */

:root {
  --lc-ink: #2D2745;
  --lc-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lc-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --lc-body: 400 clamp(16px, .35vw + 15px, 18px)/1.65 var(--lc-sans);
}

/* ---------- Typography --------------------------------------------------- */

/* One sans everywhere: Arial was leaking into body copy and the menu */
body,
body p, body li, body blockquote,
body input, body textarea, body select, body button,
.et_pb_menu a, .et-menu a, .et_pb_text, .et_pb_toggle_content {
  font-family: var(--lc-sans);
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body .et_pb_section .et_pb_text p,
body .et_pb_section .et_pb_text li,
body .et_pb_section .et_pb_toggle_content p {
  font: var(--lc-body);
  font-weight: 400;
}
body .et_pb_section .et_pb_text p { text-wrap: pretty; }

/* Display headings: tighter leading and tracking */
body .et_pb_section h1,
body .et_pb_section h2,
body .et_pb_section h3 {
  line-height: 1.08 !important; /* Divi phone presets push some headings to 1.7em */
  letter-spacing: -0.022em;
  text-wrap: balance;
}
body .et_pb_section h4 {
  line-height: 1.2 !important;
  letter-spacing: -0.01em;
}
@media (max-width: 767px) {
  body .et_pb_section h1,
  body .et_pb_section h2,
  body .et_pb_section h3 { line-height: 1.12 !important; }
}

/* Eyebrow pill in the hero */
body .et_pb_section_0 h1 {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

/* Garamond accent: lowercase italic, as in the brand kit */
body .et_pb_section [style*="EB Garamond"],
body .et_pb_section [style*="EB Garamond"] i {
  font-family: var(--lc-serif) !important;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
}
body .et_pb_section h2 [style*="EB Garamond"],
body .et_pb_section h3 [style*="EB Garamond"] {
  font-size: 1.12em;
}

.et_pb_menu a, .et-menu a {
  font-weight: 600;
  letter-spacing: .08em;
}

/* ---------- Ticker under the hero: continuous scroll -------------------- */

.lc-marquee {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}
.lc-marquee__track {
  display: flex;
  width: max-content;
  animation: lc-marquee 40s linear infinite;
}
.lc-marquee:hover .lc-marquee__track { animation-play-state: paused; }
.lc-marquee__run {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lc-dot {
  display: inline-block;
  margin: 0 1.6em;
  opacity: .6;
}
@keyframes lc-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* The ticker's text module is centred by Divi: let it span the full width */
.et_pb_text:has(.lc-marquee),
.et_pb_text:has(.lc-marquee) .et_pb_text_inner { width: 100%; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  .lc-marquee__track { animation: none; }
}

/* Full-bleed band: the ticker row ignores Divi's 80% row width */
.et_pb_row:has(.lc-marquee) {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Tools labels: keep the small size set in Divi (don't apply the body text size) */
body .et_pb_section .et_pb_svg + .et_pb_text p { font: inherit; letter-spacing: inherit; }

/* ---------- Mobile menu (header Theme Builder) ------------------------- */
/* Was transparent, so page content showed through and overlapped the links */
.et-l--header .et_builder_inner_content { z-index: 1000; }
.et-l--header .et_mobile_menu,
body .et-l--header .et_pb_menu.et_pb_menu .et_mobile_menu {
  /* Divi's header Menu module has its mobile background set to transparent */
  background: #FFFFFF !important;
  border: 0 !important;
  border-top: 1px solid rgba(45, 39, 69, .08) !important;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 24px 40px -24px rgba(45, 39, 69, .35) !important;
  padding: 8px 24px 24px !important;
}
.et-l--header .et_mobile_menu li { background: transparent !important; }
.et-l--header .et_mobile_menu li a {
  display: block;
  padding: 16px 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(45, 39, 69, .08) !important;
  color: var(--lc-ink) !important;
  font: 600 13px/1.2 var(--lc-sans) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
  opacity: 1 !important;
}
.et-l--header .et_mobile_menu li.current-menu-item > a,
body .et-l--header .et_pb_menu.et_pb_menu .et_mobile_menu li.current-menu-item > a { color: #D4775E !important; }
.et-l--header .et_mobile_menu li.get-started > a {
  margin-top: 20px;
  padding: 16px 20px !important;
  border: 0 !important;
  border-radius: 999px;
  background: #D4775E !important;
  color: #FFFFFF !important;
  text-align: center;
}

/* ---------- Sticky header: keep the logo visible ----------------------- */
/* The header Menu module's logo has a sticky-state filter of opacity(0), so
   the logo vanished as soon as the header became sticky on scroll.
   Divi-native fix: Theme Builder > header > Menu > Design > Logo > Filters >
   Sticky state > Opacity 100%. */
.et-l--header .et_pb_sticky .et_pb_menu__logo img,
.et-l--header .et_pb_sticky--top .et_pb_menu__logo img {
  filter: none !important;
  opacity: 1 !important;
}

/* ---------- Buttons: keep the pill shape on hover ---------------------- */
/* Divi's global "Buttons hover style" (Theme Customizer) sets border-radius:0
   on hover, so every pill turned square. Divi-native fix: Theme Customizer >
   Buttons > Buttons Hover Style > Border Radius = 50. */
body .et_pb_button.et_pb_button:hover,
body .et_pb_module .et_pb_button.et_pb_button:hover {
  border-radius: 50px !important;
}

/* ---------- Homepage hero: dot field (hero-dots.js) -------------------- */
.lc-has-dots { position: relative; }
.lc-hero-dots {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 0;
}
.lc-has-dots > .et_pb_row { position: relative; z-index: 1; }

/* ---------- Menu anchors: land below the sticky header ----------------- */
/* No CSS scroll-behavior here: Divi's own smooth scrolling (et_smooth_scroll)
   moves the page step by step, and CSS smooth scrolling on top of it made the
   wheel almost stop working. */
#pricing, #services, #testimonials, #about { scroll-margin-top: 110px; }
