/* =============================================================================
   LH Webdesign — base styles
   Layers over Divi. Low specificity; !important only where Divi ships its own.
   ========================================================================== */

/* --- typography agreement -------------------------------------------------- */
body {
  background: var(--bg);
  color: var(--text-dim);
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.022em;
  text-wrap: balance;
  color: var(--text);
}
a { color: inherit; }
::selection { background: var(--sky); color: var(--on-brand); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* --- utility classes (usable in Divi's CSS Class field) ------------------ */
.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-mute);
}
.grad-text,
.grad-text * {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lhwd-eyebrow {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: .9em;
}
.lhwd-price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: var(--step-2);
  letter-spacing: -.03em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lhwd-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* --- Divi module reskin -------------------------------------------------- */

/* buttons */
.et_pb_button,
.et_pb_button:hover {
  color: var(--on-brand) !important;
  background: var(--brand-grad) !important;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  padding: .9em 1.7em !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  letter-spacing: -.01em !important;
  transition: transform .2s, box-shadow .2s !important;
}
.et_pb_button:hover { transform: translateY(-2px); }
.et_pb_button:after { display: none !important; }
.et_pb_button.lhwd-btn-ghost,
.et_pb_button.lhwd-btn-ghost:hover {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--line-strong) !important;
}
.et_pb_button.lhwd-btn-ghost:hover { border-color: var(--sky) !important; }

/* images */
.et_pb_image img { border-radius: var(--radius); }

/* Divi accordion / toggle — theme-aware */
.et_pb_toggle,
.et_pb_accordion .et_pb_toggle {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  padding: 20px 44px 20px 0 !important;
}
.et_pb_toggle_title {
  color: var(--text) !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  font-size: var(--step-1) !important;
  padding: 0 !important;
}
.et_pb_toggle_content { color: var(--text-dim) !important; padding-top: 14px !important; }
.et_pb_toggle .et_pb_toggle_title:before { color: var(--sky) !important; }

/* Divi contact form — clean, label-above, no placeholder repeat, no math captcha */
body.lhwd .et_pb_contact_form_container { max-width: none; margin: 0; }
body.lhwd .et_pb_contact p.et_pb_contact_field,
body.lhwd .et_pb_contact p.et_pb_contact_field_last {
  margin: 0 0 18px !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; width: 100% !important; float: none !important;
}
body.lhwd .et_pb_contact p.et_pb_contact_field:last-of-type { margin-bottom: 6px !important; }
body.lhwd .et_pb_contact_form_label {
  position: static !important; overflow: visible !important; width: auto !important; height: auto !important;
  clip: auto !important; margin: 0 0 7px !important; display: block !important;
  font-family: "IBM Plex Mono", monospace !important; font-size: .72rem !important; letter-spacing: .1em !important;
  text-transform: uppercase !important; color: var(--text-mute) !important; line-height: 1.3 !important;
}
body.lhwd .et_pb_contact_field input.input,
body.lhwd .et_pb_contact_field textarea,
body.lhwd .et_pb_contact_field select {
  width: 100% !important; background: var(--surface-2) !important; border: 1px solid var(--line-strong) !important;
  color: var(--text) !important; border-radius: var(--radius-sm) !important; padding: 13px 15px !important;
  font-family: "Hanken Grotesk", sans-serif !important; font-size: 1rem !important; box-shadow: none !important;
  margin: 0 !important;
}
body.lhwd .et_pb_contact_field textarea { min-height: 120px !important; resize: vertical !important; }
/* field_title is echoed as both label and placeholder — hide the placeholder */
body.lhwd .et_pb_contact_field input::placeholder,
body.lhwd .et_pb_contact_field textarea::placeholder { color: transparent !important; }
body.lhwd .et_pb_contact_field input:focus,
body.lhwd .et_pb_contact_field textarea:focus,
body.lhwd .et_pb_contact_field select:focus { border-color: var(--sky) !important; outline: none !important; }
/* kill the split left/right layout + math captcha row */
body.lhwd .et_pb_contact_left,
body.lhwd .et_pb_contact_right { width: 100% !important; float: none !important; padding: 0 !important; }
body.lhwd .et_pb_contact_right { display: none !important; }
body.lhwd .et_contact_bottom_container { margin: 4px 0 0 !important; text-align: left !important; padding: 0 !important; }
body.lhwd .et_pb_contact_submit.et_pb_button,
body.lhwd .et_pb_contact_submit.et_pb_button:hover {
  float: none !important; display: inline-block !important; width: auto !important; white-space: nowrap !important;
  background: var(--brand-grad) !important; color: var(--on-brand) !important; border: 0 !important;
  border-radius: var(--radius-pill) !important; padding: 14px 28px !important; margin: 8px 0 0 !important;
  font-weight: 600 !important; font-size: .98rem !important; font-family: "Bricolage Grotesque", sans-serif !important;
}
body.lhwd .et_pb_contact_submit.et_pb_button:after { display: none !important; }
body.lhwd .et_pb_contact_message,
body.lhwd .et-pb-contact-message { color: var(--text-dim); }

/* =============================================================================
   LHWD page content — scoped so it never touches the TB header/footer
   ========================================================================== */
body.lhwd .et-l--post { position: relative; z-index: 1; }

/* section rhythm + hairline dividers */
body.lhwd .et-l--post .et_pb_section {
  padding-block: clamp(56px, 9vh, 116px);
  background: transparent;
}
body.lhwd .et-l--post .et_pb_section.lhwd-has-shader + .et_pb_section,
body.lhwd .et-l--post .et_pb_section + .et_pb_section:not(.lhwd-flush) {
  border-top: 1px solid var(--line);
}
body.lhwd .et-l--post .et_pb_row {
  max-width: calc(var(--maxw) + 2 * var(--gut));
  padding-left: var(--gut) !important;
  padding-right: var(--gut) !important;
}
/* shader background row stays full-bleed */
body.lhwd .et-l--post .et_pb_row.lhwd-shader-row {
  max-width: none; padding-left: 0 !important; padding-right: 0 !important;
}
/* breathing room between stacked rows in the same section (e.g. service list) */
body.lhwd .et-l--post .et_pb_row:not(.lhwd-shader-row) + .et_pb_row:not(.lhwd-shader-row) {
  margin-top: clamp(48px, 8vh, 100px);
}

/* text + headings inside page content */
body.lhwd .et-l--post .et_pb_text,
body.lhwd .et-l--post .et_pb_text_inner { color: var(--text-dim); font-size: var(--step-0); line-height: 1.62; }
body.lhwd .et-l--post .et_pb_text h1 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1.05; color: var(--text); margin-bottom: .3em; }
body.lhwd .et-l--post .et_pb_text h2 { font-size: var(--step-3); line-height: 1.12; color: var(--text); margin-bottom: .5em; }
body.lhwd .et-l--post .et_pb_text h3 { font-size: var(--step-1); line-height: 1.3; color: var(--text); margin-bottom: .35em; }
body.lhwd .et-l--post .et_pb_text p + p { margin-top: 1em; }
body.lhwd .et-l--post .et_pb_module a:not(.et_pb_button) { color: var(--sky); }

/* checkmark lists */
body.lhwd .et-l--post .et_pb_text ul {
  list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px;
}
body.lhwd .et-l--post .et_pb_text ul li {
  position: relative; padding-left: 30px; color: var(--text-dim); line-height: 1.5;
}
body.lhwd .et-l--post .et_pb_text ul li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236aa9e0' stroke-width='2.6'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* FAQ component (coded <details> list in a Code module) */
body.lhwd .faq { border-top: 1px solid var(--line); }
body.lhwd .faq details { border-bottom: 1px solid var(--line); }
body.lhwd .faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: var(--step-1);
  letter-spacing: -.01em; color: var(--text);
}
body.lhwd .faq summary::-webkit-details-marker { display: none; }
body.lhwd .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 11px; height: 11px;
  border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky);
  transform: rotate(45deg); transition: transform .25s;
}
body.lhwd .faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
body.lhwd .faq p { color: var(--text-dim); padding: 0 40px 24px 0; max-width: 70ch; margin: 0; }

/* card / "ledger" row — usable via CSS class lhwd-card on a Column or Row */
body.lhwd .et_pb_column.lhwd-card,
body.lhwd .et_pb_row.lhwd-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px) !important;
}

/* CTA band — CSS class lhwd-cta on a Row */
body.lhwd .et_pb_row.lhwd-cta {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 60px) !important;
  text-align: center; position: relative;
  background:
    radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--sky) 12%, transparent), transparent 60%),
    var(--surface);
}
body.lhwd .et_pb_row.lhwd-cta .et_pb_text { margin-inline: auto; }
@media (max-width: 980px) {
  body.lhwd .et_pb_row.lhwd-cta {
    width: auto !important; margin-left: var(--gut) !important; margin-right: var(--gut) !important;
  }
}

/* =============================================================================
   LHWD content components — drop the markup into a Divi Text or Code module
   (classes are unique, so they work in either). Scoped to page content.
   ========================================================================== */

/* hero action buttons row (class lhwd-hero-actions on a Code module) */
body.lhwd .lhwd-hero-actions { margin-top: 34px; }
body.lhwd .lhwd-hero-actions .et_pb_code_inner {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
body.lhwd .lhwd-hero-actions .et_pb_button { margin: 0; }
@media (max-width: 620px) {
  body.lhwd .lhwd-hero-actions .et_pb_code_inner { flex-direction: column; align-items: stretch; gap: 12px; }
  body.lhwd .lhwd-hero-actions .et_pb_button { width: 100%; text-align: center; }
}
/* standalone Divi button modules — consistent breathing room */
body.lhwd .et-l--post .et_pb_button_module_wrapper { margin-top: 26px; }
body.lhwd .et-l--post .et_pb_button_module_wrapper + .et_pb_button_module_wrapper { margin-top: 12px; }

/* section head: eyebrow + heading + intro (Text module markup) */
body.lhwd .lhwd-sechead { margin-bottom: clamp(36px, 6vh, 60px); }
body.lhwd .lhwd-sechead h2 { max-width: 20ch; }
body.lhwd .lhwd-sechead p { color: var(--text-dim); max-width: 56ch; margin-top: .5em; }

/* price line */
body.lhwd .lhwd-priceline { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
body.lhwd .lhwd-priceline .per { color: var(--text-mute); font-size: .9rem; }

/* tags / pills */
body.lhwd .lhwd-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
body.lhwd .lhwd-tag {
  display: inline-flex; padding: 5px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); font-size: .78rem; color: var(--text-dim);
  font-family: "IBM Plex Mono", monospace; letter-spacing: .04em;
}

/* services list (home) */
body.lhwd .lhwd-svc { border-top: 1px solid var(--line); }
body.lhwd .lhwd-svc a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 6px 20px; align-items: center;
  padding: clamp(22px, 3vh, 34px) 0; border-bottom: 1px solid var(--line);
  color: inherit; transition: padding-left .3s;
}
body.lhwd .lhwd-svc a:hover { padding-left: 10px; }
body.lhwd .lhwd-svc .idx { font-family: "IBM Plex Mono", monospace; font-size: .85rem; color: var(--sky); }
body.lhwd .lhwd-svc h3 { font-size: var(--step-2); letter-spacing: -.02em; margin: 0; }
body.lhwd .lhwd-svc p { grid-column: 2 / -1; color: var(--text-dim); max-width: 62ch; margin: 8px 0 0; font-size: .98rem; }
body.lhwd .lhwd-svc .go {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--text-mute); transition: transform .3s, border-color .3s, color .3s;
}
body.lhwd .lhwd-svc a:hover .go { border-color: var(--sky); color: var(--text); transform: rotate(-45deg); }
body.lhwd .lhwd-svc .go svg { width: 16px; height: 16px; }

/* stats grid (home) */
body.lhwd .lhwd-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 820px) { body.lhwd .lhwd-stats { grid-template-columns: repeat(4, 1fr); } }
body.lhwd .lhwd-stats > div { background: var(--surface); padding: 28px 24px; }
body.lhwd .lhwd-stats .n {
  display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: var(--step-2);
  letter-spacing: -.03em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.lhwd .lhwd-stats .l { display: block; color: var(--text-mute); font-size: .9rem; margin-top: 6px; }

/* ledger (kerken, aanpak) */
body.lhwd .lhwd-ledger { border-top: 1px solid var(--line-strong); }
body.lhwd .lhwd-ledger > div {
  padding: 26px 0; border-bottom: 1px solid var(--line);
  display: grid; gap: 8px;
}
@media (min-width: 760px) { body.lhwd .lhwd-ledger > div { grid-template-columns: 190px minmax(0, 1fr); gap: 14px 52px; align-items: start; } }
body.lhwd .lhwd-ledger .lbl {
  font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--sky); padding-top: 4px;
}
body.lhwd .lhwd-ledger h3 { font-size: var(--step-1); margin: 0 0 6px; letter-spacing: -.015em; }
body.lhwd .lhwd-ledger p { color: var(--text-dim); font-size: .97rem; max-width: 56ch; margin: 0; }

/* timeline (aanpak) */
body.lhwd .lhwd-timeline { border-left: 1px solid var(--line-strong); margin-left: 6px; padding: 0; list-style: none; }
body.lhwd .lhwd-timeline > li { padding: 0 0 40px 34px; position: relative; }
body.lhwd .lhwd-timeline > li:last-child { padding-bottom: 0; }
body.lhwd .lhwd-timeline > li::before {
  content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px var(--bg);
}
body.lhwd .lhwd-timeline .step { font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
body.lhwd .lhwd-timeline h3 { font-size: var(--step-1); margin: 8px 0; }
body.lhwd .lhwd-timeline p { color: var(--text-dim); max-width: 54ch; margin: 0; }

/* project browser mockup (home, kerken, werk) */
body.lhwd .lhwd-browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); }
body.lhwd .lhwd-browser .bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
body.lhwd .lhwd-browser .dots { display: flex; gap: 6px; flex-shrink: 0; }
body.lhwd .lhwd-browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
body.lhwd .lhwd-browser .url {
  font-family: "IBM Plex Mono", monospace; font-size: .76rem; color: var(--text-dim);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px;
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.lhwd .lhwd-browser .view {
  aspect-ratio: 16 / 11; position: relative; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 12px;
  padding: clamp(48px, 14%, 66px) clamp(22px, 6%, 46px) clamp(22px, 7%, 42px);
  background: radial-gradient(120% 90% at 12% 0%, var(--pcA), transparent 62%), linear-gradient(158deg, var(--pcB), var(--pcC));
}
@media (max-width: 620px) {
  body.lhwd .lhwd-browser .view { aspect-ratio: auto; min-height: 300px; }
}
body.lhwd .lhwd-browser .view .logo { position: absolute; top: 15px; left: clamp(22px, 6%, 46px); font-family: var(--pcFont, inherit); font-weight: 700; font-size: .9rem; color: var(--pcInk); opacity: .92; }
body.lhwd .lhwd-browser .view .kicker { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--pcDim); }
body.lhwd .lhwd-browser .view h4 { font-family: var(--pcFont, inherit); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; font-size: clamp(1.5rem, 4.4vw, 2.7rem); color: var(--pcInk); margin: 0; }
body.lhwd .lhwd-browser .view .sub { color: var(--pcDim); max-width: 30ch; font-size: .95rem; }
body.lhwd .lhwd-browser .view .btn { align-self: flex-start; margin-top: 2px; font-size: .8rem; font-weight: 700; padding: 9px 18px; border-radius: var(--radius-pill); background: var(--pcAcc); color: var(--pcBtnInk); }

/* real screenshot inside the browser frame: <div class="view is-shot"><img ...></div> */
body.lhwd .lhwd-browser .view.is-shot {
  display: block; padding: 0; gap: 0; aspect-ratio: 16 / 10; background: var(--surface-2);
}
body.lhwd .lhwd-browser .view.is-shot img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center;
}
@media (max-width: 620px) {
  body.lhwd .lhwd-browser .view.is-shot { aspect-ratio: 16 / 11; min-height: 0; }
}

/* work card (browser + body) */
body.lhwd .lhwd-work { display: block; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); color: inherit; transition: transform .3s, border-color .3s; }
body.lhwd .lhwd-work:hover { transform: translateY(-5px); border-color: var(--line-strong); }
body.lhwd .lhwd-work .lhwd-browser { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
body.lhwd .lhwd-work .body { padding: 24px 26px 28px; }
body.lhwd .lhwd-work .body .meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; font-family: "IBM Plex Mono", monospace; font-size: .74rem; color: var(--text-mute); }
body.lhwd .lhwd-work .body h3 { font-size: var(--step-1); margin: 0; }
body.lhwd .lhwd-work .body p { color: var(--text-dim); font-size: .96rem; margin-top: 8px; }

/* pull quote (home) */
body.lhwd .lhwd-quote {
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  padding: clamp(30px, 5vw, 56px); display: grid; gap: 26px;
}
@media (min-width: 820px) { body.lhwd .lhwd-quote { grid-template-columns: auto 1fr; gap: 44px; align-items: center; } }
body.lhwd .lhwd-quote img { width: clamp(120px, 30vw, 180px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
body.lhwd .lhwd-quote blockquote { margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: var(--step-2); line-height: 1.32; color: var(--text); letter-spacing: -.01em; }
body.lhwd .lhwd-quote .attr { margin-top: 18px; color: var(--text-mute); }
body.lhwd .lhwd-quote .attr b { color: var(--text); font-weight: 600; }

/* contact facts (contact) */
body.lhwd .lhwd-facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
body.lhwd .lhwd-facts > div { background: var(--surface); padding: 18px 20px; }
body.lhwd .lhwd-facts .k { font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
body.lhwd .lhwd-facts .v { color: var(--text); font-size: 1rem; }
body.lhwd .lhwd-facts .v a { color: var(--text); }
body.lhwd .lhwd-facts .v a:hover { color: var(--sky); }

/* --- transitional hero (migration bridge only) ------------------------- */
body.lhwd .lhwd-hero-transitional { padding-block: clamp(120px, 18vh, 220px) clamp(40px, 7vh, 80px); }
body.lhwd .lhwd-hero-transitional .wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
body.lhwd .lhwd-hero-transitional h1 { font-size: clamp(2.8rem, 1.8rem + 4vw, 5rem); max-width: 20ch; line-height: 1.04; margin: 0 0 .4em; color: var(--text); }
body.lhwd .lhwd-hero-transitional .lede { font-size: var(--step-1); color: var(--text-dim); max-width: 56ch; }
body.lhwd .lhwd-page-body > .et_pb_section:first-child { padding-top: 0; border-top: 0; }

/* --- Theme Builder header + footer ------------------------------------- */

/* logo (light/dark swap) */
.lhwd-logo { display: flex; align-items: center; line-height: 0; }
.lhwd-header .et_pb_code_inner { line-height: 0; }
.lhwd-logo img { height: var(--lhwd-logo-h, 34px); width: auto; display: block; }
.lhwd-logo img.lhwd-logo--on-dark  { display: block; }
.lhwd-logo img.lhwd-logo--on-light { display: none; }
:root[data-theme="light"] .lhwd-logo img.lhwd-logo--on-dark  { display: none; }
:root[data-theme="light"] .lhwd-logo img.lhwd-logo--on-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .lhwd-logo img.lhwd-logo--on-dark  { display: none; }
  :root:not([data-theme="dark"]) .lhwd-logo img.lhwd-logo--on-light { display: block; }
}

/* theme toggle */
.lhwd-theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  color: var(--text-dim); background: transparent;
  transition: color .2s, border-color .2s, transform .3s;
}
.lhwd-theme-toggle:hover { color: var(--text); border-color: var(--sky); }
.lhwd-theme-toggle svg { width: 18px; height: 18px; }
.lhwd-theme-toggle .lhwd-i-sun { display: none; }
:root[data-theme="light"] .lhwd-theme-toggle .lhwd-i-moon { display: none; }
:root[data-theme="light"] .lhwd-theme-toggle .lhwd-i-sun  { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .lhwd-theme-toggle .lhwd-i-moon { display: none; }
  :root:not([data-theme="dark"]) .lhwd-theme-toggle .lhwd-i-sun  { display: block; }
}

/* Divi Menu module reskin — pill nav (soft rounded shade on hover + current) */
.lhwd-header .et_pb_menu { background: transparent !important; }
.lhwd-header .et_pb_menu__menu > nav > ul { align-items: center; }
.lhwd-header .et_pb_menu__menu > nav > ul > li { padding: 0 !important; margin: 0 2px !important; }
.lhwd-header .et_pb_menu__menu > nav > ul > li > a {
  display: block; position: relative;
  color: var(--text-dim) !important; font-size: .98rem !important; font-weight: 500 !important;
  font-family: "Hanken Grotesk", sans-serif !important;
  padding: 10px 16px !important; border-radius: var(--radius-pill) !important;
  transition: color .2s, background-color .2s !important;
}
.lhwd-header .et_pb_menu__menu > nav > ul > li > a:hover {
  color: var(--text) !important;
  background-color: color-mix(in srgb, var(--text) 7%, transparent) !important;
}
.lhwd-header .et_pb_menu__menu > nav > ul > li.current-menu-item > a,
.lhwd-header .et_pb_menu__menu > nav > ul > li.current_page_item > a,
.lhwd-header .et_pb_menu__menu > nav > ul > li.current-menu-ancestor > a {
  color: var(--text) !important;
  background-color: var(--surface-2) !important;
}
.lhwd-header .et_pb_menu__menu > nav > ul > li.current-menu-item > a::after,
.lhwd-header .et_pb_menu__menu > nav > ul > li.current_page_item > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--brand-grad); border-radius: 2px;
}
.lhwd-header .et_pb_menu__logo,
.lhwd-header .et_pb_menu .et_pb_menu__logo-wrap { display: none !important; }
.lhwd-header .et_mobile_menu {
  background: var(--surface) !important; border-color: var(--line) !important;
}
.lhwd-header .et_mobile_menu li a { color: var(--text-dim) !important; }
.lhwd-header .mobile_menu_bar:before { color: var(--text) !important; }

.lhwd-header-actions { display: flex; align-items: center; gap: 12px; }
.lhwd-header-actions > :empty { display: none; }
.lhwd-header .et_pb_button.lhwd-nav-cta,
.lhwd-header .et_pb_button.lhwd-nav-cta:hover {
  padding: .6em 1.15em !important; font-size: .92rem !important; white-space: nowrap;
}
@media (max-width: 980px) {
  .lhwd-header .et_pb_button.lhwd-nav-cta { display: none !important; }
}

/* header surface — always translucent + blurred, hairline appears on scroll */
body.lhwd .lhwd-header {
  background: color-mix(in srgb, var(--bg) 72%, transparent) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent !important;
  transition: background .3s, border-color .3s, padding .3s !important;
  padding-top: 20px !important; padding-bottom: 20px !important;
}
body.lhwd .lhwd-header.et_pb_sticky {
  background: color-mix(in srgb, var(--bg) 90%, transparent) !important;
  border-bottom-color: var(--line) !important;
  padding-top: 13px !important; padding-bottom: 13px !important;
}
/* header + footer share the page's gutter so nothing touches the screen edge
   and their content lines up with the body */
body.lhwd .lhwd-header .et_pb_row,
body.lhwd .lhwd-footer .et_pb_row {
  padding-left: var(--gut) !important;
  padding-right: var(--gut) !important;
}
body.lhwd .lhwd-header .et_pb_row { padding-top: 0 !important; padding-bottom: 0 !important; }
body.lhwd .lhwd-header .et_pb_column { padding: 0 !important; }

/* desktop: one flex row so logo / nav / actions share a centre line */
@media (min-width: 981px) {
  body.lhwd .lhwd-header .et_pb_row {
    display: flex !important; align-items: center !important; flex-wrap: nowrap; gap: 24px;
  }
  /* Divi's clearfix ::before/::after become stray flex items (eat the gap) */
  body.lhwd .lhwd-header .et_pb_row::before,
  body.lhwd .lhwd-header .et_pb_row::after { display: none !important; }
  body.lhwd .lhwd-header .et_pb_column {
    float: none !important; margin: 0 !important;
    display: flex; align-items: center;
  }
  /* side columns share the leftover space equally so the nav sits dead centre;
     the nav column takes only its natural width and never wraps */
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_4 { flex: 1 1 0; min-width: 0; }
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_4:first-child { justify-content: flex-start; }
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_4:last-child { justify-content: flex-end; }
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_2 { flex: 0 1 auto; justify-content: center; }
  body.lhwd .lhwd-header .et_pb_menu,
  body.lhwd .lhwd-header .et_pb_menu_inner_container { width: 100%; }
  body.lhwd .lhwd-header .et_pb_menu__menu { display: flex; justify-content: center; }
  body.lhwd .lhwd-header .et_pb_menu__menu > nav > ul { flex-wrap: nowrap; white-space: nowrap; }
}

/* mobile: logo left, hamburger + toggle right, dropdown spans full width */
@media (max-width: 980px) {
  body.lhwd .lhwd-header .et_pb_row {
    display: flex !important; align-items: center; flex-wrap: nowrap; gap: 8px;
    position: relative;
  }
  body.lhwd .lhwd-header .et_pb_row::before,
  body.lhwd .lhwd-header .et_pb_row::after { display: none !important; }
  body.lhwd .lhwd-header .et_pb_column {
    float: none !important; margin: 0 !important; width: auto !important;
    display: flex; align-items: center;
  }
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_4:first-child { flex: 1 1 auto; }
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_2 { flex: 0 0 auto; order: 2; }
  body.lhwd .lhwd-header .et_pb_column.et_pb_column_1_4:last-child { flex: 0 0 auto; order: 3; }
  body.lhwd .lhwd-header .et_pb_menu { width: auto !important; }
  body.lhwd .lhwd-header .et_pb_column,
  body.lhwd .lhwd-header .et_pb_menu,
  body.lhwd .lhwd-header .et_pb_menu_inner_container,
  body.lhwd .lhwd-header .et_pb_menu__wrap,
  body.lhwd .lhwd-header .et_mobile_nav_menu,
  body.lhwd .lhwd-header .mobile_nav { position: static !important; }
  body.lhwd .lhwd-header .et_mobile_menu {
    position: absolute !important; left: 0 !important; right: 0 !important;
    top: 100% !important; width: auto !important;
    background: var(--surface) !important; border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm); margin-top: 10px; padding: 6px !important;
  }
  body.lhwd .lhwd-header .et_mobile_menu li a { padding: 12px 14px !important; border: 0 !important; }
}

/* footer */
.lhwd-footer { background: var(--bg) !important; }
.lhwd-footer,
.lhwd-footer .et_pb_text,
.lhwd-footer .et_pb_text_inner { color: var(--text-dim); }
.lhwd-footer h4, .lhwd-footer h5, .lhwd-footer h6 {
  font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-mute); font-weight: 500;
}
.lhwd-footer a { color: var(--text-dim); transition: color .2s; }
.lhwd-footer a:hover { color: var(--text); }
.lhwd-footer .et_pb_menu__menu > nav > ul > li > a { color: var(--text-dim) !important; font-size: .95rem !important; }

/* --- [lhwd_shader] background ------------------------------------------- */
/* A section that hosts a shader: add module_class "lhwd-has-shader" to the
   Section, put the [lhwd_shader] Code module in its own one-column Row with
   module_class "lhwd-shader-row", and the content rows after it. */
body.lhwd .et_pb_section.lhwd-has-shader {
  position: relative; isolation: isolate;
  /* clip the shader horizontally but let the headline's italic ascenders
     breathe past the top edge (overflow:hidden here was shaving them) */
  overflow: clip;
  overflow-clip-margin: 1em;
  min-height: clamp(560px, 86vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(90px, 14vh, 170px) clamp(40px, 8vh, 90px) !important;
  border-top: 0 !important;
}
body.lhwd .lhwd-has-shader > .et_pb_row.lhwd-shader-row {
  position: absolute !important; inset: 0; z-index: 0; overflow: hidden;
  width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important;
}
.lhwd-shader-row, .lhwd-shader-row .et_pb_column, .lhwd-shader-row .et_pb_module,
.lhwd-shader-row .et_pb_code_inner { height: 100%; margin: 0 !important; padding: 0 !important; }
body.lhwd .lhwd-has-shader > .et_pb_row:not(.lhwd-shader-row) { position: relative; z-index: 1; }
body.lhwd .lhwd-has-shader .lhwd-eyebrow { color: var(--sky); }
body.lhwd .lhwd-has-shader .et_pb_text h1 { color: var(--text); }
/* hero headline: a touch more leading */
body.lhwd .lhwd-has-shader .et_pb_text h1 { line-height: 1.14 !important; }
/* The accent word in the hero headline is set in an italic display face.
   `background-clip:text` reliably shaves the tops/right of those slanted
   glyphs, so here we use a solid brand colour instead of the gradient.
   (The gradient stays everywhere else: prices, other headings.) */
body.lhwd .lhwd-has-shader .et_pb_text h1 .grad-text,
body.lhwd .lhwd-has-shader .et_pb_text h1 .grad-text * {
  background: none !important;
  -webkit-text-fill-color: var(--iris) !important;
  color: var(--iris) !important;
}

.lhwd-shader {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.lhwd-shader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lhwd-shader-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg) 22%, transparent) 0%,
    transparent 28%, transparent 44%,
    color-mix(in srgb, var(--bg) 52%, transparent) 66%,
    color-mix(in srgb, var(--bg) 85%, transparent) 86%, var(--bg) 100%);
}

/* keep hero copy readable over the shifting shader gradient */
body.lhwd .lhwd-has-shader .et_pb_text p,
body.lhwd .lhwd-has-shader .lhwd-eyebrow {
  text-shadow: 0 1px 10px rgba(5, 6, 10, .55);
}
body.lhwd .lhwd-has-shader .et_pb_text h1 {
  text-shadow: 0 2px 26px rgba(5, 6, 10, .38);
}

/* --- motion system ---------------------------------------------------------
   Elements start hidden; lhwd-motion.js reveals them with GSAP on scroll.
   If JS never runs (or is blocked), a fallback timeout in the script still
   shows everything, and reduced-motion shows everything immediately.
   ------------------------------------------------------------------------- */
.lhwd-reveal   { opacity: 0; transform: translateY(42px); will-change: opacity, transform; }
.lhwd-reveal.lhwd-left  { transform: translateX(-42px); }
.lhwd-reveal.lhwd-right { transform: translateX(42px); }
.lhwd-reveal.lhwd-scale { transform: scale(.92); }
.lhwd-stagger > * { opacity: 0; transform: translateY(36px); }
.lhwd-split .lhwd-word { display: inline-block; }

.lhwd-motion-ready .lhwd-reveal,
.lhwd-motion-ready .lhwd-stagger > * { transition: none; }

/* everything visible once GSAP has taken over or as a safety net */
.lhwd-motion-done .lhwd-reveal,
.lhwd-motion-done .lhwd-stagger > *,
.lhwd-motion-done .lhwd-split,
.lhwd-motion-done .lhwd-split .lhwd-word {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .lhwd-reveal, .lhwd-stagger > *, .lhwd-split, .lhwd-split .lhwd-word {
    opacity: 1 !important; transform: none !important; translate: none !important;
  }
  .et_pb_section, .et_pb_module { animation: none !important; }
}
