*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }
.lm-layout, .lm-layout-element { position: relative; min-width: 0; }
/* --flex-grow / --flex-shrink must start unset ("initial"), as in Elementor, so a widget
   inside a row falls back to the row's --container-widget-flex-grow. Setting them to 0
   here made every widget in a row 0px wide (calc((1 - 1) * 100%)) with no way to grow. */
.lm-layout .lm-layout-element { --flex-grow: initial; --flex-shrink: initial; --order: initial; --align-self: initial; }
.lm-layout .lm-layout-element.lm-layout-absolute { position: absolute; }
.lm-layout .lm-layout-element.lm-layout-fixed { position: fixed; }
.lm-layout .lm-layout-element.lm-layout-sticky { position: sticky; }
.lm-layout .lm-layout-widget { width: var(--container-widget-width, 100%); max-width: 100%; flex-grow: var(--flex-grow, var(--container-widget-flex-grow, 0)); flex-shrink: var(--flex-shrink, 1); align-self: var(--align-self, var(--container-widget-align-self, auto)); }
.lm-layout .lm-layout-widget-container { height: var(--container-widget-height, auto); }
.lm-layout .lm-layout-heading-title { margin: 0; padding: 0; }
.lm-layout .lm-layout-widget-text-editor p:first-child { margin-top: 0; }
.lm-layout .lm-layout-widget-text-editor p:last-child { margin-bottom: 0; }
.lm-layout .lm-layout-widget-image img { display: inline-block; }
.lm-layout .lm-layout-button { display: inline-block; text-decoration: none; text-align: center; }
.lm-layout .lm-layout-button-content-wrapper { display: flex; justify-content: center; gap: .35em; }
.lm-layout .lm-layout-button-icon { display: inline-flex; }
.lm-layout .lm-layout-button-icon svg { width: 1em; height: 1em; }
.lm-layout .lm-layout-icon-list-items { margin: 0; padding: 0; list-style: none; }
.lm-layout .lm-layout-icon-list-item, .lm-layout .lm-layout-icon-list-item > a { display: flex; align-items: center; }
.lm-layout .lm-layout-icon-list-icon { flex: none; }
.lm-layout .lm-layout-icon-list-icon svg { width: 1em; height: 1em; }
.lm-layout .lm-layout-screen-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lm-layout .lm-layout-background-video-container, .lm-layout .lm-layout-background-overlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lm-layout .lm-layout-background-video-container video { width: 100%; height: 100%; object-fit: cover; }
.e-con {
  --width: 100%;
  --display: flex;
  --flex-direction: column;
  --flex-wrap: nowrap;
  --row-gap: 0px;
  --column-gap: 0px;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --container-widget-width: 100%;
  --container-widget-height: auto;
  --container-widget-flex-grow: 0;
  --container-widget-align-self: auto;
  display: var(--display);
  flex-direction: var(--flex-direction);
  align-items: var(--align-items, stretch);
  justify-content: var(--justify-content, normal);
  flex-wrap: var(--flex-wrap);
  gap: var(--row-gap) var(--column-gap);
  align-content: var(--align-content, normal);
  padding: var(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left);
  margin: var(--margin-top,0) var(--margin-right,0) var(--margin-bottom,0) var(--margin-left,0);
  width: var(--width);
  min-height: var(--min-height, 0px);
  max-width: 100%;
  position: relative;
  flex: var(--flex-grow,0) var(--flex-shrink,1) auto;
  align-self: var(--align-self,auto);
  order: var(--order,0);
}
.e-con.e-con-boxed > .e-con-inner { display: flex; flex: 1 1 auto; flex-direction: var(--flex-direction); align-items: var(--align-items, stretch); justify-content: var(--justify-content, normal); flex-wrap: var(--flex-wrap); gap: var(--row-gap) var(--column-gap); width: 100%; max-width: var(--content-width,1140px); margin-inline: auto; position: relative; }
.e-con-boxed { align-items: center; }
.e-con > .e-con-inner > .lm-layout-element, .e-con > .lm-layout-element { order: var(--order,0); }
.lm-layout .lm-layout-fit-aspect-ratio { aspect-ratio: var(--video-aspect-ratio,16/9); }
.lm-layout .lm-layout-wrapper iframe, .lm-layout-widget-google_maps iframe { width: 100%; border: 0; }
.lm-layout .lm-layout-field-group { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
.lm-layout .lm-layout-field { width: 100%; min-width: 0; }
.lm-layout .lm-layout-field-type-hidden { display: none; }
@media (min-width: 1025px) { .lm-layout .lm-layout-hidden-desktop { display: none; } }
@media (min-width: 768px) and (max-width: 1024px) { .lm-layout .lm-layout-hidden-tablet { display: none; } }
@media (max-width: 767px) { .lm-layout .lm-layout-hidden-mobile { display: none; } }
.lm-preview-toast { position: fixed; z-index: 2147483647; bottom: 1rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); padding: .8rem 1rem; background: #111; color: #fff; border: 1px solid #777; font: 500 14px/1.4 system-ui; }
/* Navigation uses the natural width of its links and logo. */
.lm-layout .lm-nav > .lm-logo,
.lm-layout .lm-nav > .lm-layout-widget-button,
.lm-layout .lm-nav .lm-links,
.lm-layout .lm-nav .lm-links > .lm-layout-widget { width: auto; }
.lm-layout .lm-logo.lm-layout-widget-image { width: auto; }
.lm-layout .lm-nav > .lm-logo img { max-width: min(170px,38vw); }
.lm-layout .lm-nav .lm-layout-button-content-wrapper { white-space: nowrap; }

/* Accordions (driven by /layout.js). Answers only hide once the script is running. */
.lm-layout-accordion .lm-layout-tab-title { cursor: pointer; }
/* answers slide open and closed like the template FAQ (0.4s, same easing) */
.lm-layout-accordion.lm-acc-js .lm-layout-tab-content { display: grid !important; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1), padding .4s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.lm-layout-accordion.lm-acc-js .lm-layout-tab-content:not(.lm-layout-active) { padding-top: 0 !important; padding-bottom: 0 !important; border-top-color: transparent !important; }
.lm-layout-accordion.lm-acc-js .lm-layout-tab-content.lm-layout-active { grid-template-rows: 1fr; }
.lm-layout-accordion.lm-acc-js .lm-acc-in { min-height: 0; overflow: hidden; }
.lm-layout-accordion .lm-layout-accordion-icon { transition: background-color .3s, border-color .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.lm-layout-accordion .lm-layout-tab-title.lm-layout-active .lm-layout-accordion-icon { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .lm-layout-accordion.lm-acc-js .lm-layout-tab-content, .lm-layout-accordion .lm-layout-accordion-icon { transition: none; }
}
.lm-layout-accordion .lm-layout-accordion-icon-opened { display: none; }
.lm-layout-accordion .lm-layout-tab-title.lm-layout-active .lm-layout-accordion-icon-opened { display: inline-flex; }
.lm-layout-accordion .lm-layout-tab-title.lm-layout-active .lm-layout-accordion-icon-closed { display: none; }

/* ── Service cards ("All in house"), rendered by src/lib/service-cards.mjs.
   Same design as the About page "What we do" cards, sitting on whatever
   light background the section already has. ───────────────────────────── */
.lm-svc { --svc-gap: 20px; display: grid; gap: var(--svc-gap); margin-top: clamp(28px, 3.5vw, 48px); }
.lm-svc-row { display: grid; gap: var(--svc-gap); }
.lm-svc-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-svc-bot { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.lm-svc-c { position: relative; perspective: 1400px; min-width: 0; outline: none; border-radius: 20px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.lm-svc-c:focus-visible { box-shadow: 0 0 0 3px var(--k); }
.lm-svc-f, .lm-svc-b { border-radius: 20px; overflow: hidden; background: #121318; border: 1px solid rgba(255,255,255,.08); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.lm-svc-f { position: relative; height: 100%; display: flex; flex-direction: column; box-shadow: 0 24px 48px -30px rgba(14,15,18,.75); }
.lm-svc-b { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 28px); border-top: 3px solid var(--k); overflow-y: auto; background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--k) 16%, transparent), transparent 60%), #121318; }
.lm-svc-c.flip .lm-svc-f { transform: rotateY(-180deg); }
.lm-svc-c.flip .lm-svc-b { transform: rotateY(0); }
@media (hover: hover) {
  .lm-svc-c:hover { transform: translateY(-6px); }
  .lm-svc-c:hover .lm-svc-f, .lm-svc-c:focus-within .lm-svc-f { transform: rotateY(-180deg); }
  .lm-svc-c:hover .lm-svc-b, .lm-svc-c:focus-within .lm-svc-b { transform: rotateY(0); }
}
.lm-svc-m { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0E0F12; border-bottom: 3px solid var(--k); }
.lm-svc-bot .lm-svc-m { aspect-ratio: 4 / 3; }
.lm-svc-m img, .lm-svc-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-svc-m img.lm-svc-scroll { object-position: 50% 0%; animation: lm-svc-scroll 22s ease-in-out 1s infinite alternate; }
@keyframes lm-svc-scroll { to { object-position: 50% 100%; } }
.lm-svc-t { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 50px; }
.lm-svc-k { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 'Goldman', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--k); }
.lm-svc-k::before { content: ''; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--k); }
.lm-svc-h { margin: 0; font: 400 24px/1.15 'Goldman', Arial, sans-serif; color: #fff; }
/* One name per card: the coloured label, at the size the white title had (24 / 20 / 16px) */
.lm-svc-name { margin: 0; font-size: 24px; letter-spacing: .03em; gap: 10px; line-height: 1.15; }
.lm-svc-name::before { border-left-width: 8px; border-right-width: 8px; border-bottom-width: 13px; flex: none; }
.lm-svc-bot .lm-svc-name { font-size: 20px; gap: 8px; letter-spacing: 0; white-space: normal; align-items: flex-start; }
.lm-svc-bot .lm-svc-name::before { border-left-width: 6px; border-right-width: 6px; border-bottom-width: 10px; }
.lm-svc-bot .lm-svc-h { font-size: 20px; }
.lm-svc-t p, .lm-svc-b p { margin: 0; font: 400 15.5px/1.55 'Archivo', system-ui, sans-serif; color: rgba(255,255,255,.72); }
.lm-svc-bot .lm-svc-t p { font-size: 14px; }
.lm-svc-flip { position: absolute; right: 14px; bottom: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 1; color: var(--k); border: 1px solid color-mix(in srgb, var(--k) 45%, transparent); }
.lm-svc-bh { margin: 0; font: italic 800 clamp(18px, 1.5vw, 23px)/1.15 'Saira', sans-serif; font-stretch: 115%; color: #fff; text-wrap: balance; }
.lm-svc-b p { font-size: 14.5px; color: rgba(255,255,255,.78); }
.lm-svc-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 9px; font: 700 13px/1 'Archivo', sans-serif; color: #0E0F12; background: var(--k); text-decoration: none; }
.lm-svc-go:hover { filter: brightness(1.08); }
.lm-svc-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 40px); border-radius: 20px; background: #121318; color: #fff; box-shadow: 0 24px 48px -30px rgba(14,15,18,.75); }
.lm-svc-cta-h { margin: 0 0 6px !important; font: italic 800 clamp(20px, 2vw, 28px)/1.1 'Saira', sans-serif; font-stretch: 125%; color: #fff !important; }
.lm-svc-cta p:not(.lm-svc-cta-h) { margin: 0; max-width: 46em; font: 400 15px/1.55 'Archivo', sans-serif; color: rgba(255,255,255,.72); }
@media (max-width: 1024px) {
  .lm-svc-top { grid-template-columns: 1fr; }
  .lm-svc-top .lm-svc-f { flex-direction: row; }
  .lm-svc-top .lm-svc-m { width: 44%; flex: 0 0 44%; aspect-ratio: auto; min-height: 220px; border-bottom: 0; border-right: 3px solid var(--k); }
  .lm-svc-top .lm-svc-t { justify-content: center; }
  .lm-svc-bot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* an odd last card (the industry pages have five) runs the full width instead of sitting alone */
  .lm-svc-bot > .lm-svc-card:last-child:nth-child(odd), .lm-svc-bot > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lm-svc-bot > :last-child:nth-child(odd) .lm-svc-m { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .lm-svc { --svc-gap: 12px; }
  .lm-svc-top .lm-svc-f { flex-direction: column; }
  .lm-svc-top .lm-svc-m { width: 100%; flex: none; aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 3px solid var(--k); }
  .lm-svc-t { padding: 16px 16px 44px; }
  .lm-svc-bot .lm-svc-t { padding: 12px 12px 40px; }
  .lm-svc-bot .lm-svc-h { font-size: 16px; }
  .lm-svc-bot .lm-svc-t p { font-size: 12.5px; line-height: 1.45; }
  .lm-svc-bot .lm-svc-k { font-size: 9.5px; letter-spacing: .1em; }
  .lm-svc-bot .lm-svc-name { font-size: 12.5px; letter-spacing: 0; white-space: normal; } /* 16px clipped PHOTOGRAPHY in the half-width cards */
  .lm-svc-b { padding: 14px; gap: 6px; }
  .lm-svc-bot .lm-svc-b .lm-svc-k { display: none; }
  .lm-svc-bot .lm-svc-bh { font-size: 14px; }
  .lm-svc-bot .lm-svc-b p { font-size: 11.5px; line-height: 1.45; }
  .lm-svc-bot .lm-svc-go { padding: 7px 9px; font-size: 11.5px; }
  .lm-svc-flip { right: 10px; bottom: 10px; width: 22px; height: 22px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lm-svc-f, .lm-svc-b, .lm-svc-c { transition: none; }
  .lm-svc-m img.lm-svc-scroll { animation: none; }
}

/* Service-page nav (.lpv template): five links stop fitting below ~1180px but the
   template only switched to the Menu button at 900px, so the links wrapped onto
   two lines. Switch earlier, keep the consultation button while there is room. */
.lpv .nav-in .navlinks a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .lpv .nav-in .navlinks, .lpv .nav-in .nav-sep { display: none; }
  .lpv .nav .nav-in .burger { display: block; }
  .lpv .nav .nav-in .btn { margin-left: auto; }
  .lpv .nav .nav-in .burger { margin-left: 12px; }
  .lpv .nav.open { background: rgba(10, 11, 15, .96); }
  .lpv .nav.open .nav-in .navlinks { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(10, 11, 15, .97); padding: 8px 24px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .lpv .nav.open .nav-in .navlinks a { padding: 14px 0; }
}

/* Homepage-style nav (.lm-nav, About and Contact): links are hidden at 1024px and
   below with no way to reach them. /layout.js adds this Menu button. */
.lm-nav-burger { display: none; flex: none; width: 42px; height: 42px; margin-left: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.lm-nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.lm-nav.lm-nav-open .lm-nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lm-nav.lm-nav-open .lm-nav-burger span:nth-child(2) { opacity: 0; }
.lm-nav.lm-nav-open .lm-nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1024px) {
  .lm-nav .lm-nav-burger { display: inline-flex; }
  .lm-nav.lm-nav-open .lm-links { display: flex !important; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; padding: 6px clamp(18px, 5vw, 40px) 16px; background: rgba(10,11,15,.97); border-bottom: 1px solid rgba(255,255,255,.1); }
  .lm-nav.lm-nav-open .lm-links .lm-layout-button { display: block; width: 100%; padding: 14px 0 !important; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); background: none !important; }
}
@media (max-width: 480px) {
  .lm-nav .lm-btn .lm-layout-button { padding: 10px 12px !important; font-size: 12px !important; }
}
/* keep the nav (and its open menu) above the hero, which shares its stacking level on phones */
.lm-layout .lm-nav { z-index: 60 !important; }
@media (max-width: 480px) {
  .lm-nav .lm-logo { max-width: 112px; flex: 0 1 112px; }
  .lm-nav .lm-logo img { width: 100% !important; height: auto !important; }
}

/* Buttons never collapse below their own label. In a row, every widget starts at
   0px and grows to share the space, so a button beside a growing block was left
   at 0px and its label hung off the side (Contact: "Read them on Google").
   Buttons the design gave a custom width keep it. */
.lm-layout .lm-layout-widget-button:not([class*="__width-"]) { width: auto; flex-basis: auto; }

/* hyphenated words are kept on one line (see keepHyphenatedWordsTogether in src/lib/drafts.mjs) */
.lm-nobr { white-space: nowrap; }

/* service-page process steps: cards in a row share one height (the row only
   lines up while no card is expanded, so "Read more" still grows just that card) */
.lpv .psteps { align-items: start; }

/* Paragraph wrapping: short blurbs get even lines, longer text never ends on a lone word. */
.lm-layout .lm-svc-t p, .lm-layout .lm-svc-b p, .lm-layout .lm-pil-t .lm-body p, .lm-layout .lm-pil-bt p, .lpv .lm-svc-t p, .lpv .lm-svc-b p { text-wrap: balance; }
.lm-layout .lm-layout-tab-content p, .lm-layout .lm-layout-tab-content .lm-acc-in, .lm-layout .qa .ans p, .lm-layout .lead { text-wrap: pretty; }

/* big hand-drawn style service icons in the margins of the "three quick questions" section (every page except Home and About, which style it themselves) */
section#contact{isolation:isolate}
.ct-doodles.g{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.ct-doodles.g .ctd{position:absolute;width:min(var(--s),7.2vw);height:min(var(--s),7.2vw);transform:rotate(var(--r));animation:ctd-float 7s ease-in-out var(--dl) infinite;overflow:visible}
.ct-doodles.g .ctd-f{fill:var(--k);stroke:none}
.ct-doodles.g .ctd-i{fill:none;stroke:#0E0F12;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.ct-doodles.g .ctd-i circle{fill:#0E0F12;stroke:none}
.ct-doodles.g .ctd-i circle[r="19"]{fill:none;stroke:#0E0F12}
@keyframes ctd-float{0%,100%{transform:translateY(0) rotate(var(--r))}50%{transform:translateY(-10px) rotate(calc(var(--r) + 2.5deg))}}
@media(max-width:1180px){.ct-doodles.g .ctd:nth-child(n+7){display:none}.ct-doodles.g .ctd{--s:92px}}
@media(max-width:760px){.ct-doodles.g{display:none}}
@media(prefers-reduced-motion:reduce){.ct-doodles.g .ctd{animation:none}}
/* the old faint 24px outline icons are replaced by the big hand-drawn ones above */
section.contact>.lmbgx{display:none!important}

/* two-column question sections (text left, card right): the icons sit in a row along the bottom edge, peeking up, so they never cover the text */
.ct-doodles.g.b .ctd{top:auto!important;right:auto!important;width:min(104px,7vw);height:min(104px,7vw)}
.ct-doodles.g.b .ctd:nth-child(1){left:4%!important;bottom:20px!important;width:min(84px,5.8vw);height:min(84px,5.8vw)}
.ct-doodles.g.b .ctd:nth-child(2){left:16%!important;bottom:28px!important;width:min(84px,5.8vw);height:min(84px,5.8vw)}
.ct-doodles.g.b .ctd:nth-child(3){left:28%!important;bottom:20px!important;width:min(84px,5.8vw);height:min(84px,5.8vw)}
.ct-doodles.g.b .ctd:nth-child(4){left:40%!important;bottom:28px!important;width:min(84px,5.8vw);height:min(84px,5.8vw)}
.ct-doodles.g.b .ctd:nth-child(5){left:52%!important;bottom:calc(clamp(70px,8vw,120px) - min(104px,7vw)*0.78)!important}
.ct-doodles.g.b .ctd:nth-child(6){left:64%!important;bottom:calc(clamp(70px,8vw,120px) - min(104px,7vw)*0.55)!important}
.ct-doodles.g.b .ctd:nth-child(7){left:76%!important;bottom:calc(clamp(70px,8vw,120px) - min(104px,7vw)*0.78)!important}
.ct-doodles.g.b .ctd:nth-child(8){left:88%!important;bottom:calc(clamp(70px,8vw,120px) - min(104px,7vw)*0.55)!important}
@media(max-width:1180px){.ct-doodles.g.b .ctd:nth-child(-n+4){width:5vw;height:5vw}.ct-doodles.g.b .ctd:nth-child(2),.ct-doodles.g.b .ctd:nth-child(4){display:none}}
/* "All in house. Here in Clearwater." heading block on the service pages: centred, no colour bar above it */
.lpv .ih .rv > .specline, .lpv .ih .specline { display: none; }
.lpv .ih :has(> h2.h2) { text-align: center; }
.lpv .ih-sub { margin-left: auto; margin-right: auto; text-wrap: balance; }
.lpv .ih h2.h2 { margin-top: 0; }
@media (min-width: 1100px) { .lpv .ih p.ih-sub { max-width: none; font-size: clamp(12px, 1.1vw, 17px); } }

/* flip side of the two big service cards: the back is as tall as the front (picture + text), so the short text block sits in the middle of the card, between the label and the button, with larger type, instead of leaving a hole under it */
.lm-svc-top .lm-svc-b .lm-svc-bh { margin-top: auto; font-size: clamp(22px, 2vw, 30px); }
.lm-svc-top .lm-svc-b p { margin-bottom: auto; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; }
.lm-svc-top .lm-svc-b .lm-svc-go { margin-top: 0; }
/* same for the smaller bottom-row cards: text block centred between the label and the button */
.lm-svc-bot .lm-svc-b .lm-svc-bh { margin-top: auto; }
.lm-svc-bot .lm-svc-b p { margin-bottom: auto; }
.lm-svc-bot .lm-svc-b .lm-svc-go { margin-top: 0; }

.lm-intake-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: .65rem 1rem;
  background: #ff6a2b;
  color: #141416;
  border-radius: 6px;
  font: 800 1rem/1.15 'Archivo', sans-serif;
}
.lm-intake-link:hover { background: #ff8954; }
.lm-intake-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ── "All in house" carousel (.lm-car), rendered by src/lib/service-cards.mjs and wired in layout.js.
   Same coverflow as the homepage's "See what we make": one card in focus, its neighbours dimmed and
   tucked behind it, a flip to the longer description. Sits under the contact form, on dark. ─────── */
body .ih.ih-car { background: #07080B; color: #fff; border-top: 1px solid rgba(255,255,255,.08); padding: clamp(64px, 7.5vw, 110px) 0 clamp(48px, 5.5vw, 80px); overflow: hidden; position: relative; }
body .ih.ih-car .wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 30px; align-items: end; max-width: none; }
body .ih.ih-car .wrap > .rv { grid-column: 1; grid-row: 1; text-align: left; margin: 0; max-width: 60rem; }
body .ih.ih-car .wrap > .rv, body .ih.ih-car .wrap > .rv * { text-align: left; align-items: flex-start; }
body .ih.ih-car .wrap > .rv .lm-layout-widget-container, body .ih.ih-car .wrap > .rv .x-txt { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
body .ih.ih-car .specline { display: none; }
body .ih.ih-car .h2 { color: #fff; margin-top: 0; }
body .ih.ih-car .ih-sub { color: rgba(255,255,255,.72); margin: 14px 0 0; max-width: 60ch; }
.lm-car { display: contents; }
.lm-car-ctl { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 12px; }
.lm-car-n { font: 400 13px 'Goldman', Arial, sans-serif; letter-spacing: .12em; color: #fff; margin: 0 6px 0 10px; min-width: 70px; text-align: center; }
.lm-car-b { width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); display: grid; place-items: center; color: #fff; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.lm-car-b svg { width: 20px; height: 20px; }
.lm-car-b:hover, .lm-car-b:focus-visible { background: var(--ca, #FF6A2B); border-color: var(--ca, #FF6A2B); color: #0E0F12; transform: scale(1.06); outline: none; }

.lm-car-track { grid-column: 1 / -1; margin-inline: calc(50% - 50vw); --cw: clamp(380px, 42vw, 700px); --pad: calc(50vw - var(--cw) / 2);
  display: flex; align-items: center; overflow-x: hidden; padding: clamp(40px, 4vw, 60px) var(--pad); scroll-padding-left: var(--pad);
  cursor: grab; outline: none; overscroll-behavior-x: contain; touch-action: pan-y; scrollbar-width: none; user-select: none; -webkit-user-select: none; }
.lm-car-track::-webkit-scrollbar { display: none; }
.lm-car-track.drag { cursor: grabbing; }
.lm-car-track.drag .lm-car-c { pointer-events: none; }
.lm-car-track:focus-visible { box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.lm-car-c { position: relative; flex: 0 0 var(--cw); aspect-ratio: 16 / 10; perspective: 1600px; border-radius: 18px; z-index: 1;
  transform: scale(.82); opacity: .62; cursor: pointer; transition: transform .5s cubic-bezier(.3,.7,.2,1), opacity .5s, box-shadow .5s;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.lm-car-c + .lm-car-c { margin-left: calc(var(--cw) * -.1); }
.lm-car-c.on { transform: none; opacity: 1; z-index: 3; cursor: auto; box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12), 0 30px 70px -34px color-mix(in srgb, var(--k) 55%, transparent); }
.lm-car-c:not(.on):hover { transform: scale(.88); opacity: .85; z-index: 2; }
.lm-car-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.lm-car-c.flipped .lm-car-flip { transform: rotateY(180deg); }
.lm-car-face { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #14151B; isolation: isolate; }
.lm-car-face::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--k); z-index: 3; }
.lm-car-med { position: absolute; inset: 0; z-index: 0; transition: filter .6s; }
.lm-car-c:not(.on) .lm-car-med { filter: brightness(.55) saturate(.8); }
.lm-car-c:not(.on):hover .lm-car-med { filter: none; }
.lm-car-med img, .lm-car-med video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.lm-car-c.on:hover .lm-car-med img, .lm-car-c.on:hover .lm-car-med video { transform: scale(1.05); }
.lm-car-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,6,8,.94) 0%, rgba(5,6,8,.55) 42%, rgba(5,6,8,0) 70%), linear-gradient(180deg, rgba(5,6,8,.5), transparent 25%); }
.lm-car-top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; font: 400 11px 'Goldman', Arial, sans-serif; letter-spacing: .16em; color: #fff; }
.lm-car-ih { display: inline-flex; align-items: center; gap: 7px; background: rgba(10,11,15,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); padding: 6px 10px; border-radius: 999px; }
.lm-car-ih::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--k); box-shadow: 0 0 8px var(--k); }
.lm-car-num { font-size: 13px; background: rgba(10,11,15,.7); padding: 4px 7px; border-radius: 999px; }
.lm-car-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(16px, 1.8vw, 26px); }
body .lm-car .lm-car-c .lm-car-face h3 { margin: 0; letter-spacing: normal; text-transform: none; font-family: 'Saira', sans-serif !important; font-style: italic !important; font-stretch: 125%; font-weight: 800 !important; font-size: clamp(24px, 2.2vw, 38px); line-height: 1.08; color: #fff; text-wrap: balance; }
.lm-car-ds { margin: 6px 0 0; color: #E3E6EC; font: 400 clamp(14px, 1vw, 16px)/1.5 'Archivo', system-ui, sans-serif; max-width: 40ch; }
.lm-car-acts { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.lm-car-go { display: inline-flex; align-items: center; gap: 10px; font-family: 'Saira', sans-serif; font-style: italic; font-stretch: 115%; font-weight: 800; font-size: 15px; line-height: 1.1; color: #0E0F12; background: var(--k); padding: 12px 18px; border-radius: 11px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.lm-car-go svg { width: 18px; height: 18px; flex: none; }
.lm-car-go:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px var(--k); }
.lm-car-fl { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 11px; border: 1px solid rgba(255,255,255,.3); background: rgba(10,11,15,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 600 14px 'Archivo', sans-serif; cursor: pointer; transition: background .25s, border-color .25s; }
.lm-car-fl svg { width: 16px; height: 16px; transition: transform .5s; }
.lm-car-fl:hover { background: rgba(255,255,255,.12); border-color: var(--k); }
.lm-car-fl:hover svg { transform: rotate(180deg); }
.lm-car-c:not(.on) .lm-car-ds, .lm-car-c:not(.on) .lm-car-acts { opacity: 0; pointer-events: none; transition: opacity .3s; }
.lm-car-c .lm-car-ds, .lm-car-c .lm-car-acts { transition: opacity .4s; }
.lm-car-bk { transform: rotateY(180deg); background: linear-gradient(160deg, color-mix(in srgb, var(--k) 22%, #14151B), #0E0F14 60%); display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 3.8vw, 60px) clamp(18px, 2.2vw, 32px) clamp(14px, 1.6vw, 24px); }
.lm-car-bk::before { content: ""; position: absolute; inset: 0; background: url(/assets/2026/11/lm-topo-lines-white.webp) center/cover; opacity: .06; z-index: -1; }
.lm-car-bkin { min-height: 0; overflow: auto; scrollbar-width: thin; }
body .lm-car .lm-car-c .lm-car-bk h3 { font-size: clamp(18px, 1.8vw, 28px); }
.lm-car-bk p { margin: 8px 0 0; color: #D7DAE1; font: 400 clamp(13px, 1vw, 16px)/1.5 'Archivo', system-ui, sans-serif; max-width: 56ch; }
.lm-car-bk .lm-car-acts { margin-top: 12px; }
.lm-car-bk .lm-car-go, .lm-car-bk .lm-car-fl { padding-top: 9px; padding-bottom: 9px; }
.lm-car-prog { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 6px; margin-top: 8px; }
.lm-car-prog button { height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.12); cursor: pointer; position: relative; overflow: hidden; }
.lm-car-prog button::before { content: ""; position: absolute; inset: 0; background: var(--k); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.lm-car-prog button.on::before, .lm-car-prog button.past::before { transform: none; }
.lm-car-prog button.past::before { opacity: .45; }
.lm-car-prog button:focus-visible, .lm-car-go:focus-visible, .lm-car-fl:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  body .ih.ih-car .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .lm-car-ctl { grid-column: 1; grid-row: 2; }
  .lm-car-b { width: 46px; height: 46px; }
  .lm-car-track { --cw: 84vw; --pad: 18px; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 30px 18px 22px; cursor: auto; touch-action: auto; }
  .lm-car-c { aspect-ratio: 4 / 5.4; transform: none; opacity: .7; scroll-snap-align: start; }
  .lm-car-c + .lm-car-c { margin-left: 0; }
  .lm-car-c.on { opacity: 1; }
  .lm-car-c:not(.on):hover { transform: none; opacity: .7; }
  .lm-car-c:not(.on) .lm-car-med { filter: none; }
  .lm-car-c:not(.on) .lm-car-ds, .lm-car-c:not(.on) .lm-car-acts { opacity: 1; pointer-events: auto; }
  .lm-car-info { padding: 18px; }
  body .lm-car .lm-car-c .lm-car-face h3 { font-size: clamp(26px, 8vw, 34px); }
}
@media (prefers-reduced-motion: reduce) { .lm-car-flip, .lm-car-c, .lm-car-med img, .lm-car-med video { transition: none; } }
