/*
 * Newcastle.host stylesheet.
 * Forked from the Lily Paw Digital theme (LPDigital-2026/mainsite-refresh,
 * lilypawdigital/style.css v4.43): same layout system, spacing scale and
 * motion, with Newcastle.host's own palette (Tyne Bridge green and amber
 * on river navy), typeface (Space Grotesk) and squarer shapes.
 * Change colours only in the tokens near the top.
 */

/* Fonts self-hosted from the theme's own assets/fonts folder - no
   request to Google's servers, so no visitor IP is sent there. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   Two surfaces: "night" (the brand navy, the default) and "light" (a
   lilac-white). Components only read the contextual variables (--bg,
   --fg, --rule ...), so a section switches surface by re-declaring them
   once - see "Surfaces".

   Spacing is one scale. Sections are separated by --section; inside a
   section, the heading sits --head above its content; grids use --gap;
   panels pad by --pad. Nothing sets its own one-off distances.
   ========================================================================== */
:root {
  --night: #0a1a24;
  --night-deep: #06121a;
  --navy: #102733;
  --navy-hi: #163444;
  --light: #eef4f2;
  --white: #ffffff;
  --ink: #0a1a24;
  --cream: #f3f7f5;
  --pink: #2fd18b;
  --pink-hi: #62e3aa;
  --pink-ink: #0b7a4f;
  --orange: #f2b33d;
  /* the paw gradient from the logo: used as a surface, never on text */
  --paw: linear-gradient(115deg, var(--pink) 0%, #a9d65a 50%, var(--orange) 100%);

  --bg: var(--night);
  --panel: var(--navy);
  --fg: var(--cream);
  --fg-dim: rgba(243, 247, 245, 0.74);
  --rule: rgba(243, 247, 245, 0.16);
  --rule-strong: rgba(243, 247, 245, 0.4);
  --accent-text: #7fe8bb;
  --field-bg: rgba(243, 247, 245, 0.06);
  --field-border: rgba(243, 247, 245, 0.34);

  --section: clamp(80px, 10vw, 152px);
  --head: clamp(32px, 4.4vw, 60px);
  --gap: clamp(12px, 1.4vw, 20px);
  --pad: clamp(22px, 2.6vw, 36px);
  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1240px;
  --bar: 64px;
  --radius: 14px;
  --radius-sm: 8px;

  --font: 'Space Grotesk', system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ==========================================================================
   Surfaces
   ========================================================================== */
.lpd-pricing,
.lpd-cta-section,
.lpd-front-page .lpd-faq,
.lpd-about,
.lpd-contact,
.lpd-band-alt,
.lpd-form-card {
  --bg: var(--light);
  --panel: var(--white);
  --fg: var(--ink);
  --fg-dim: #3e545d;
  --rule: rgba(10, 26, 36, 0.14);
  --rule-strong: rgba(10, 26, 36, 0.42);
  --accent-text: var(--pink-ink);
  --field-bg: #fff;
  --field-border: rgba(10, 26, 36, 0.3);
  background: var(--bg);
  color: var(--fg);
}
.lpd-process,
.lpd-section-alt:has(.lpd-stat) { --bg: var(--navy); --panel: var(--navy-hi); background: var(--bg); }
/* night again inside light (featured plan) */
.lpd-pricing-card.lpd-featured {
  --bg: var(--night);
  --panel: var(--navy);
  --fg: var(--cream);
  --fg-dim: rgba(243, 247, 245, 0.74);
  --rule: rgba(243, 247, 245, 0.16);
  --rule-strong: rgba(243, 247, 245, 0.4);
  --accent-text: #7fe8bb;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
  -webkit-tap-highlight-color: transparent; /* own press states replace the grey flash */
  -webkit-text-size-adjust: 100%;
  accent-color: var(--pink);
  caret-color: var(--pink);
  scrollbar-color: #2c4a58 var(--night-deep);
  background: var(--night);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, not hidden: hidden here would make body a scroll container,
     which breaks position: sticky */
  overflow-x: clip;
}
::selection { background: var(--pink); color: var(--night); }

a { color: inherit; text-decoration: none; }
a, button, [role="button"], .wp-block-button__link, input[type="submit"] { touch-action: manipulation; }
img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .entry-title, .site-title {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--pink-hi); outline-offset: 3px; border-radius: 4px; }

/* last line of defence against WordPress's group wrapper (see functions.php) */
.wp-block-group__inner-container { display: contents; }

/* Caching plugins (WP Rocket, AccelerateWP) mark sections further down
   the page to be skipped until they are near the screen. A skipped
   section has no height, so the page changes length as you scroll and
   the pinned colocation scene loses its place. These pages are light
   enough to render in full. */
.lpd-front-page [data-wpr-lazyrender],
.lpd-bands [data-wpr-lazyrender],
.site-main [data-wpr-lazyrender] { content-visibility: visible; contain: none; }

/* WordPress gives these blocks margins of their own; our layouts set
   every gap themselves */
.lpd-front-page :is(.wp-block-columns, .wp-block-image, .wp-block-buttons, .wp-block-gallery),
.lpd-bands :is(.wp-block-columns, .wp-block-image, .wp-block-buttons, .wp-block-gallery) { margin-top: 0; margin-bottom: 0; }
:is(.lpd-front-page, .lpd-bands) .wp-block-columns > .wp-block-column { width: auto; flex-basis: auto; margin: 0; min-width: 0; }

.container, .lpd-inner, .section-inner {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.lpd-inner, .section-inner { padding-top: var(--section); padding-bottom: var(--section); }

/* Section rhythm: neighbours on the same surface share one gap, so the
   distance between any two sections is always --section */
:is(.lpd-statement, .lpd-services, .lpd-features, .lpd-why-different, .lpd-proof, .lpd-latest, .lpd-section-alt:not(:has(.lpd-stat)))
  + :is(.lpd-statement, .lpd-services, .lpd-features, .lpd-why-different, .lpd-proof, .lpd-latest, .lpd-section-alt:not(:has(.lpd-stat))) > .lpd-inner,
:is(.lpd-process, .lpd-section-alt:has(.lpd-stat)) + :is(.lpd-process, .lpd-section-alt:has(.lpd-stat)) > .lpd-inner,
:is(.lpd-pricing, .lpd-cta-section, .lpd-faq, .lpd-about, .lpd-contact) + :is(.lpd-pricing, .lpd-cta-section, .lpd-faq, .lpd-about, .lpd-contact) > .lpd-inner { padding-top: 0; }

/* Text links */
.lpd-prose a:not(.wp-block-button__link),
.lpd-faq-item p a,
.lpd-pricing-note a,
.lpd-portfolio-cta a,
.lpd-alt-contact a,
.lpd-testimonial-link a,
.lpd-testimonial-source a,
.lpd-service-more .lpd-service-link a,
.entry-content:not(.lpd-bands):not(.lpd-article-body) a:not(.wp-block-button__link) {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

/* ==========================================================================
   Header - sits over the hero, turns solid once the page scrolls
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { background: rgba(10, 26, 36, 0.72); }
@media (min-width: 1101px) {
  /* blur only when the full menu shows: on mobile it would make the header the
     containing block for the fixed full-screen menu and clip it */
  .site-header.is-scrolled { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
@media (max-width: 1100px) { .site-header.is-scrolled { background: var(--night); } }
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--night); }
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-branding { position: relative; z-index: 45; display: flex; align-items: center; }
.site-branding p { margin: 0; }
.lpd-brand a, .custom-logo-link { display: flex; align-items: center; }
.lpd-logo-img, .custom-logo { height: 42px; width: auto; display: block; }
.site-description { display: none; }

.main-navigation { display: flex; align-items: center; gap: 28px; }
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.main-navigation li a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: rgba(243, 247, 245, 0.76);
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
}
/* the current page is simply brighter: no underline */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--cream); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .main-navigation li a:hover { color: var(--cream); }
}

.menu-toggle {
  position: relative;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(243, 247, 245, 0.34);
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s var(--ease-out);
}
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle-bars { position: absolute; top: 50%; left: 50%; width: 18px; height: 13px; transform: translate(-50%, -50%); transition: opacity 0.15s ease; }
.menu-toggle-bars span { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--cream); }
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 5.5px; }
.menu-toggle-bars span:nth-child(3) { top: 11px; }
.menu-toggle-paw { /* close icon (class name kept for the script) */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--paw);
  -webkit-mask: url('assets/icons/close.svg') center / contain no-repeat;
  mask: url('assets/icons/close.svg') center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9) rotate(-12deg);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-paw { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn, .wp-block-button__link, button[type="submit"], input[type="submit"] {
  -webkit-user-select: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active, .wp-block-button__link:active, button[type="submit"]:active, input[type="submit"]:active { transform: scale(0.97); }
.btn-primary,
.wp-block-button.lpd-btn-primary .wp-block-button__link,
button[type="submit"], input[type="submit"] { background: var(--pink); border-color: var(--pink); color: var(--night); }
.btn-secondary,
.wp-block-button.lpd-btn-secondary .wp-block-button__link { background: transparent; border-color: var(--rule-strong); color: var(--fg); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .wp-block-button.lpd-btn-primary .wp-block-button__link:hover,
  button[type="submit"]:hover, input[type="submit"]:hover { background: var(--pink-hi); border-color: var(--pink-hi); color: var(--night); }
  .btn-secondary:hover,
  .wp-block-button.lpd-btn-secondary .wp-block-button__link:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
}
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.main-navigation .lpd-client-login { min-height: 36px; padding: 7px 16px; font-size: 0.85rem; font-weight: 500; white-space: nowrap; background: rgba(243, 247, 245, 0.1); border-color: transparent; color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .main-navigation .lpd-client-login:hover { background: rgba(243, 247, 245, 0.18); border-color: transparent; color: var(--cream); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.lpd-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(100vh, 920px);
  min-height: min(100svh, 920px);
  background: var(--night) url('assets/images/hero-tyne.jpg') center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}
.lpd-hero-video { position: absolute; inset: -6% 0 0 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; }
.lpd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* the Tyne footage is bright daylight: a deeper wash than a night film
     would need, heaviest where the words sit */
  background:
    linear-gradient(to right, rgba(10, 26, 36, 0.42) 0%, rgba(10, 26, 36, 0) 60%),
    linear-gradient(to top, var(--night) 0%, rgba(10, 26, 36, 0.9) 26%, rgba(10, 26, 36, 0.66) 60%, rgba(10, 26, 36, 0.76) 100%);
}
.lpd-hero > .lpd-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "kicker ." "title text" "title actions";
  grid-template-rows: auto 1fr auto; /* spare height goes above the text, keeping text and buttons together */
  column-gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-top: calc(var(--bar) + 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
/* older content that still has the price line under the buttons */
.lpd-hero > .lpd-inner:has(.lpd-hero-note) { grid-template-areas: "kicker ." "title text" "title actions" "title note"; grid-template-rows: auto 1fr auto auto; }
.lpd-hero-heading {
  grid-area: title;
  align-self: end;
  font-size: clamp(2.6rem, 6.3vw, 5.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}
.lpd-accent { color: inherit; }
/* "Capable. Connected. Considered." - one word to a line, full stops in pink */
.lpd-hero-heading.is-split .lpd-w { display: block; width: fit-content; }
/* Three words above the headline. Set in the body face at reading size,
   not as a small capitals label, with the full stops in brand pink. */
.lpd-hero p.lpd-hero-kicker {
  grid-area: kicker;
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--cream);
}
.lpd-kw { display: inline-block; white-space: nowrap; }
.lpd-dot, .lpd-sep { color: var(--pink); }
.lpd-sep { display: inline-block; margin: 0 0.12em 0 0.4em; }
.lpd-hero-text { grid-area: text; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.6; color: rgba(243, 247, 245, 0.9); margin: 0 0 24px; max-width: 42ch; }
.lpd-hero-actions { grid-area: actions; margin: 0; }
.lpd-hero-note { grid-area: note; margin: 16px 0 0; font-size: 0.92rem; color: rgba(243, 247, 245, 0.78); }
.lpd-hero .wp-block-button.lpd-btn-secondary .wp-block-button__link { border-color: rgba(243, 247, 245, 0.5); color: var(--cream); }

.lpd-hero .wp-block-columns.lpd-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(16px, 2.4vw, 32px);
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(28px, 3.6vw, 48px);
}
.lpd-rail > .wp-block-column { position: relative; padding-top: 18px; }
.lpd-rail > .wp-block-column::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(243, 247, 245, 0.32); transform-origin: left center; }
.lpd-rail p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: rgba(243, 247, 245, 0.76); }
.lpd-rail p.lpd-rail-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.025em; color: var(--cream); margin-bottom: 4px; }

@media (max-width: 900px) {
  .lpd-hero > .lpd-inner,
  .lpd-hero > .lpd-inner:has(.lpd-hero-note) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "title" "text" "actions" "note"; grid-template-rows: none; }
  .lpd-hero::before { background: linear-gradient(to top, var(--night) 0%, rgba(10, 26, 36, 0.9) 40%, rgba(10, 26, 36, 0.76) 100%); } /* text covers most of the picture on a phone */
  .lpd-hero-heading { margin-bottom: 20px; font-size: clamp(2.6rem, 13vw, 4.5rem); } /* short words: they can be set larger on small screens */
  /* on a phone the facts become a short list of titles under one rule */
  .lpd-hero .wp-block-columns.lpd-rail { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .lpd-rail > .wp-block-column { padding: 12px 0; }
  .lpd-rail > .wp-block-column + .wp-block-column::before { background: rgba(243, 247, 245, 0.14); }
  .lpd-rail p:not(.lpd-rail-title) { display: none; }
  .lpd-rail p.lpd-rail-title { margin: 0; }
}

/* ==========================================================================
   Statement - one sentence, set large. With scripting, the words light
   up as the sentence travels up the screen (--p is set by interactions.js)
   ========================================================================== */
.lpd-statement-text {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.7rem, 4.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: balance;
}
.lpd-statement .lpd-inner { display: flex; }
.lpd-hero + .lpd-statement > .lpd-inner { padding-top: calc(var(--section) - clamp(28px, 3.6vw, 48px)); }
.lpd-statement-text { max-width: 21em; }
.lpd-statement-text .lpd-sw { opacity: clamp(0.3, calc((var(--p, 1) * var(--n, 1) - var(--i, 0)) * 0.9 + 0.3), 1); }

/* ==========================================================================
   Section headings
   ========================================================================== */
.lpd-section-alt, .lpd-section-dark { background: transparent; }
.lpd-section-heading { margin: 0 0 var(--head); text-align: left; }
.lpd-section-heading h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.02; margin: 0; max-width: 16em; }
.lpd-section-heading p { color: var(--fg-dim); font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.55; margin: 16px 0 0; max-width: 44ch; }
/* Home page: section headlines set a step larger, with a larger subhead,
   left-aligned like everything else (the owner asked for no centred text). */
.lpd-front-page > .wp-block-group:not(.lpd-faq, .lpd-about, .lpd-contact) .lpd-section-heading h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.lpd-front-page > .wp-block-group:not(.lpd-faq, .lpd-about, .lpd-contact) .lpd-section-heading p { margin: 18px 0 0; max-width: 40ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; letter-spacing: -0.015em; }

/* ==========================================================================
   Services - two large media panels, then a line for what's next
   ========================================================================== */
.lpd-services .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.lpd-services .wp-block-columns > .wp-block-column:nth-child(3) { grid-column: 1 / -1; }

.lpd-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 var(--pad) var(--pad);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
}
/* the picture: real work on the left, the real data hall on the right */
.lpd-service-card::before {
  content: '';
  display: block;
  aspect-ratio: 16 / 10;
  margin: 0 calc(var(--pad) * -1) var(--pad);
  background: var(--night-deep) center top / cover no-repeat;
  transition: transform 0.9s var(--ease-out);
}
.lpd-service-web::before { background-image: url('assets/images/work/ryton-singers-desktop.jpg'); }
.lpd-service-colo::before { background-image: url('assets/images/colocation/colocation-1.jpg'); background-position: center; }
@media (hover: hover) and (pointer: fine) {
  .lpd-service-card:hover::before { transform: scale(1.03); }
}
.lpd-service-card h3 { position: relative; font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -0.045em; line-height: 1; margin: 0 0 12px; }
.lpd-service-card p { color: var(--fg-dim); margin: 0 0 20px; max-width: 46ch; }
.lpd-service-card .lpd-service-meta { margin: auto 0 20px; padding-top: 16px; border-top: 1px solid var(--rule); font-weight: 600; letter-spacing: -0.025em; color: var(--fg); }
.lpd-service-card .lpd-service-link { margin: 0; }
.lpd-service-card:not(:has(.lpd-service-meta)) .lpd-service-link { margin-top: auto; padding-top: 4px; }
.lpd-service-card .lpd-service-link a,
.lpd-service-tile .lpd-service-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.16s var(--ease-out), background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lpd-service-card .lpd-service-link a:active,
.lpd-service-tile .lpd-service-link a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  :is(.lpd-service-card, .lpd-service-tile) .lpd-service-link a:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
}


.lpd-service-more {
  box-shadow: inset 0 0 0 1px var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 8px clamp(20px, 3vw, 40px);
  padding: var(--pad);
  background: transparent;
}
.lpd-service-more::before { display: none; }
.lpd-service-more h3 { font-size: 1.3rem; letter-spacing: -0.035em; margin: 0; }
.lpd-service-more p { margin: 0; }
/* Further services: a grid of tiles under the two picture panels. It
   takes any number; three to a row on a wide screen. */
.lpd-services .wp-block-columns.lpd-service-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: var(--gap); }
.lpd-services .lpd-service-grid > .wp-block-column:nth-child(3) { grid-column: auto; }
.lpd-service-tile { display: flex; flex-direction: column; height: 100%; padding: var(--pad); background: var(--panel); border-radius: var(--radius); }
.lpd-service-tile::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  background: var(--paw);
  -webkit-mask: var(--icon, url('assets/icons/bridge.svg')) left center / contain no-repeat;
  mask: var(--icon, url('assets/icons/bridge.svg')) left center / contain no-repeat;
}
.lpd-service-maintenance { --icon: url('assets/icons/we-build-it.svg'); }
.lpd-service-m365 { --icon: url('assets/icons/usecase-cloud.svg'); }
.lpd-service-pbx { --icon: url('assets/icons/phone.svg'); }
.lpd-service-security { --icon: url('assets/icons/security.svg'); }
.lpd-service-email { --icon: url('assets/icons/email.svg'); }
.lpd-service-dns { --icon: url('assets/icons/usecase-web.svg'); }
.lpd-service-tile :is(h2, h3) { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 6px; }
.lpd-service-tile p { color: var(--fg-dim); margin: 0 0 20px; }
.lpd-service-tile p.lpd-service-sub { margin-bottom: 18px; }
.lpd-service-tile ul.lpd-service-list { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 10px; }
.lpd-service-tile :is(h2, h3) + ul.lpd-service-list { margin-top: 16px; }
.lpd-service-list li { position: relative; padding-left: 26px; color: var(--fg); font-size: 0.98rem; line-height: 1.45; }
.lpd-service-list li::before { content: ''; position: absolute; left: 2px; top: 0.36em; width: 13px; height: 13px; background: var(--accent-text); -webkit-mask: url('assets/icons/check.svg') center / contain no-repeat; mask: url('assets/icons/check.svg') center / contain no-repeat; }
.lpd-service-tile .lpd-service-link { margin: auto 0 0; }
.lpd-service-tile p.lpd-service-price { margin: 4px 0 0; padding-top: 18px; color: var(--fg); font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -0.03em; }
/* a service that is on its way: a small label above the title, sitting
   level with the icon */
.lpd-service-soon { position: relative; }
.lpd-service-tile p.lpd-service-badge {
  position: absolute;
  top: var(--pad);
  right: var(--pad);
  margin: 0;
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  background: rgba(243, 247, 245, 0.1);
  color: var(--fg);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}
.lpd-service-tile-more { background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.lpd-service-tile-more::before { display: none; }
@media (max-width: 760px) {
  .lpd-services .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
  .lpd-service-more { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Tiles - features, "how we're different", facility, use cases
   Each has its own drawn icon, set large in the paw gradient.
   ========================================================================== */
.lpd-card {
  position: relative;
  height: 100%;
  padding: var(--pad);
  background: var(--panel);
  border-radius: var(--radius);
}
.lpd-card h3 { font-size: 1.2rem; letter-spacing: -0.035em; line-height: 1.15; margin: 0 0 8px; }
.lpd-card p { color: var(--fg-dim); font-size: 0.98rem; line-height: 1.6; margin: 0; }

.lpd-features .wp-block-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.lpd-why-different .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.lpd-why-different .lpd-card { padding: calc(var(--pad) * 1.15); }
.lpd-why-different .lpd-card h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.lpd-why-different .lpd-card p { font-size: 1.02rem; max-width: 52ch; }

.lpd-features .lpd-card::before,
.lpd-why-item::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 0 clamp(28px, 4vw, 56px);
  background: var(--paw);
  -webkit-mask: var(--icon) left center / contain no-repeat;
  mask: var(--icon) left center / contain no-repeat;
}
.lpd-features .wp-block-column:nth-child(1) .lpd-card { --icon: url('assets/icons/responsive-design.svg'); }
.lpd-features .wp-block-column:nth-child(2) .lpd-card { --icon: url('assets/icons/fast-hosting.svg'); }
.lpd-features .wp-block-column:nth-child(3) .lpd-card { --icon: url('assets/icons/we-build-it.svg'); }
.lpd-features .wp-block-column:nth-child(4) .lpd-card { --icon: url('assets/icons/ongoing-support.svg'); }
.lpd-why-pricing { --icon: url('assets/icons/fair-pricing.svg'); }
.lpd-why-care { --icon: url('assets/icons/we-care.svg'); }
.lpd-why-secure { --icon: url('assets/icons/secured.svg'); }
.lpd-why-ddos { --icon: url('assets/icons/ddos-protected.svg'); }
.lpd-why-location { --icon: url('assets/icons/location.svg'); }
.lpd-why-security { --icon: url('assets/icons/security.svg'); }
.lpd-why-access { --icon: url('assets/icons/access.svg'); }
.lpd-why-onsite { --icon: url('assets/icons/capacity.svg'); }
.lpd-why-power { --icon: url('assets/icons/power.svg'); }
.lpd-why-connectivity { --icon: url('assets/icons/connectivity.svg'); }
.lpd-why-web { --icon: url('assets/icons/usecase-web.svg'); }
.lpd-why-cloud { --icon: url('assets/icons/usecase-cloud.svg'); }
.lpd-why-backup { --icon: url('assets/icons/usecase-backup.svg'); }
.lpd-why-games { --icon: url('assets/icons/usecase-games.svg'); }
@media (max-width: 1000px) { .lpd-features .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .lpd-features .wp-block-columns, .lpd-why-different .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   How It Works - four steps across, on a track that fills as the row
   travels up the screen (--p from interactions.js; full when unscripted)
   ========================================================================== */
.lpd-process .wp-block-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  padding-top: clamp(28px, 3.4vw, 44px);
}
.lpd-process .wp-block-columns.lpd-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lpd-process .wp-block-columns::before,
.lpd-process .wp-block-columns::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--rule); }
.lpd-process .wp-block-columns::after { background: var(--paw); transform-origin: left center; transform: scaleX(var(--p, 1)); }
.lpd-step p.lpd-step-number,
.lpd-step-number {
  margin: 0 0 clamp(20px, 3vw, 40px);
  font-size: clamp(2.8rem, 5.6vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  /* each numeral comes up to full strength as the track reaches it */
  opacity: clamp(0.4, calc((var(--p, 1) * var(--steps, 4) - var(--k, 0)) * 2 + 0.4), 1);
}
.lpd-process .lpd-steps-3 { --steps: 3; }
.lpd-process .wp-block-column:nth-child(2) { --k: 1; }
.lpd-process .wp-block-column:nth-child(3) { --k: 2; }
.lpd-process .wp-block-column:nth-child(4) { --k: 3; }
.lpd-step h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.035em; margin: 0 0 10px; }
.lpd-step p { color: var(--fg-dim); font-size: 0.98rem; line-height: 1.6; margin: 0; }
.lpd-step p.lpd-step-disclaimer { font-size: 0.86rem; margin-top: 12px; }
@media (max-width: 900px) {
  .lpd-process .wp-block-columns,
  .lpd-process .wp-block-columns.lpd-steps-3 { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 0 clamp(20px, 5vw, 32px); }
  .lpd-process .wp-block-columns::before,
  .lpd-process .wp-block-columns::after { top: 0; bottom: 0; right: auto; width: 3px; height: auto; }
  .lpd-process .wp-block-columns::after { transform-origin: center top; transform: scaleY(var(--p, 1)); }
  .lpd-step { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
  .lpd-process .wp-block-column:first-child .lpd-step { border-top: 0; padding-top: 0; }
  .lpd-process .wp-block-column:last-child .lpd-step { padding-bottom: 0; }
  .lpd-step > * { grid-column: 2; }
  .lpd-step p.lpd-step-number { grid-column: 1; grid-row: 1 / span 4; margin: 0; font-size: 2.6rem; }
}

/* Stats: three figures, set as large as the type allows */
.lpd-section-alt .wp-block-columns:has(.lpd-stat) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.lpd-section-alt .wp-block-column.lpd-stat { padding: var(--pad); background: var(--panel); border-radius: var(--radius); text-align: left; }
.lpd-stat-number { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.06em; line-height: 0.95; margin: 0 0 clamp(20px, 4vw, 56px); }
.lpd-stat-label { margin: 0; color: var(--fg-dim); font-size: 1rem; }
@media (max-width: 640px) {
  .lpd-section-alt .wp-block-columns:has(.lpd-stat) { grid-template-columns: minmax(0, 1fr); }
  .lpd-section-alt .wp-block-column.lpd-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .lpd-stat-number { margin: 0; font-size: 2.6rem; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.lpd-pricing .wp-block-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.lpd-pricing .wp-block-columns + .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--gap); }
.lpd-pricing .wp-block-columns.lpd-colocation-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lpd-pricing .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .lpd-pricing .wp-block-columns.lpd-colocation-pricing { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .lpd-pricing .wp-block-columns,
  .lpd-pricing .wp-block-columns + .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
}

.lpd-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--pad) clamp(20px, 2vw, 28px);
  background: var(--panel);
  color: var(--fg);
  border-radius: var(--radius);
}
.lpd-pricing-card.lpd-featured { background: var(--bg); }
.lpd-pricing-card p { margin: 0; }
.lpd-pricing-card .wp-block-buttons { margin-top: auto; padding-top: 28px; }
.lpd-pricing-card .wp-block-button, .lpd-pricing-card .wp-block-button__link { width: 100%; }

.lpd-pricing-card p.lpd-pricing-badge {
  align-self: flex-start;
  order: -1;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--paw);
  color: var(--night);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}
.lpd-pricing-card p.lpd-pricing-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.25; margin-bottom: 4px; }
.lpd-pricing-card p.lpd-pricing-domain { color: var(--fg-dim); font-size: 0.86rem; line-height: 1.45; margin-bottom: 24px; }
.lpd-pricing-card p.lpd-pricing-price { font-size: clamp(2.4rem, 3.4vw, 3.1rem); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.055em; line-height: 1; }
.lpd-pricing-card p.lpd-pricing-subprice { color: var(--fg-dim); font-size: 0.92rem; margin: 8px 0 20px; }
.lpd-pricing-card p.lpd-pricing-desc { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.55; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.lpd-pricing-card p.lpd-pricing-feature { position: relative; padding: 6px 0 6px 26px; font-size: 0.95rem; line-height: 1.45; }
.lpd-pricing-card p.lpd-pricing-feature::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 13px;
  height: 13px;
  background: var(--accent-text);
  -webkit-mask: url('assets/icons/check.svg') center / contain no-repeat;
  mask: url('assets/icons/check.svg') center / contain no-repeat;
}
.lpd-colocation-pricing .lpd-pricing-card p.lpd-pricing-desc { border: 0; padding: 0; margin-bottom: 24px; min-height: 3.1em; }
.lpd-colocation-pricing .lpd-pricing-card p.lpd-pricing-subprice { padding-bottom: 20px; border-bottom: 1px solid var(--rule); }

@media (min-width: 641px) {
  .lpd-pricing .wp-block-columns + .wp-block-columns .lpd-pricing-card:has(.lpd-pricing-feature) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 20px;
    align-content: start;
  }
  .lpd-pricing .wp-block-columns + .wp-block-columns .lpd-pricing-card:has(.lpd-pricing-feature) > :not(.lpd-pricing-feature) { grid-column: 1 / -1; }
}
.lpd-pricing-card:not(:has(.lpd-pricing-feature)) { background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.lpd-pricing-card:not(:has(.lpd-pricing-feature)) p.lpd-pricing-price { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; margin-bottom: 14px; }
.lpd-pricing-card:not(:has(.lpd-pricing-feature)) p.lpd-pricing-desc { border: 0; padding: 0; max-width: 40ch; font-size: 1rem; }
.lpd-pricing-card:not(:has(.lpd-pricing-feature)) .wp-block-button,
.lpd-pricing-card:not(:has(.lpd-pricing-feature)) .wp-block-button__link { width: auto; }
.lpd-pricing-note { margin: 28px 0 0; color: var(--fg-dim); }

/* Plan helper (built by interactions.js). Dashed, like the Custom card:
   it is help, not a product. */
.lpd-plan-helper {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(28px, 5vw, 80px);
  align-items: center;
  margin-bottom: var(--gap);
  padding: var(--pad);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  border-radius: var(--radius);
}
.lpd-plan-helper h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -0.035em; margin: 0 0 6px; }
.lpd-plan-helper-intro p { margin: 0; color: var(--fg-dim); }
.lpd-plan-helper-stage { min-height: 104px; display: flex; flex-direction: column; justify-content: center; }
p.lpd-plan-helper-q { margin: 0 0 14px; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; color: var(--fg); }
p.lpd-plan-helper-price { margin: -8px 0 14px; color: var(--fg-dim); }
.lpd-plan-helper-options { display: flex; flex-wrap: wrap; gap: 10px; }
.lpd-plan-helper-option {
  min-height: 46px;
  padding: 10px 20px;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lpd-plan-helper-option:active { transform: scale(0.97); }
.lpd-plan-helper-option.is-primary { background: var(--pink); border-color: var(--pink); color: var(--night); }
@media (hover: hover) and (pointer: fine) {
  .lpd-plan-helper-option:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
  .lpd-plan-helper-option.is-primary:hover { background: var(--pink-hi); border-color: var(--pink-hi); color: var(--night); }
}
.lpd-pricing-card.is-suggested { outline: 3px solid var(--pink); outline-offset: 3px; }
@media (max-width: 900px) { .lpd-plan-helper { grid-template-columns: minmax(0, 1fr); } .lpd-plan-helper-stage { min-height: 0; } }

/* ==========================================================================
   The offer - the one surface in the full paw gradient
   ========================================================================== */
.lpd-cta-banner {
  --fg: var(--night);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "title text" "title action";
  gap: 20px clamp(32px, 5vw, 80px);
  align-items: end;
  padding: clamp(28px, 5vw, 72px);
  background: var(--paw);
  color: var(--night);
  border-radius: calc(var(--radius) + 6px);
}
.lpd-cta-banner h2 { grid-area: title; font-size: clamp(2.2rem, 5.4vw, 4.5rem); letter-spacing: -0.05em; line-height: 0.96; margin: 0; }
.lpd-cta-banner p { grid-area: text; margin: 0; font-size: 1.04rem; line-height: 1.55; font-weight: 500; color: var(--night); }
.lpd-cta-banner .wp-block-buttons { grid-area: action; }
.lpd-cta-banner .wp-block-button.lpd-btn-primary .wp-block-button__link { background: var(--night); border-color: var(--night); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .lpd-cta-banner .wp-block-button.lpd-btn-primary .wp-block-button__link:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
}
@media (max-width: 900px) { .lpd-cta-banner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "action"; } }

/* ==========================================================================
   FAQ - click to expand, JS-driven accordion (interactions.js)
   ========================================================================== */
.lpd-front-page .lpd-faq > .lpd-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.lpd-front-page .lpd-faq > .lpd-inner > .lpd-section-heading { position: sticky; top: calc(var(--bar) + 32px); margin: 0; }
@media (max-width: 900px) {
  .lpd-front-page .lpd-faq > .lpd-inner { grid-template-columns: minmax(0, 1fr); }
  .lpd-front-page .lpd-faq > .lpd-inner > .lpd-section-heading { position: static; margin-bottom: var(--head); }
}
.lpd-faq-list { border-top: 1px solid var(--rule-strong); }
.lpd-faq-item { border-bottom: 1px solid var(--rule); }
.lpd-faq-item h3 {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 22px 52px 22px 0;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}
.lpd-faq-item h3::before,
.lpd-faq-item h3::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.lpd-faq-item h3::after { transform: rotate(90deg); }
.lpd-faq-item.is-open h3::after { transform: rotate(0deg); opacity: 0; }
.lpd-faq-trigger { all: unset; display: block; width: 100%; cursor: pointer; -webkit-user-select: none; user-select: none; }
.lpd-faq-item h3:has(.lpd-faq-trigger) { cursor: default; }
.lpd-faq-trigger::after { content: ''; position: absolute; inset: 0; } /* whole row is the target */
.lpd-faq-trigger:focus-visible { outline: none; }
.lpd-faq-item:has(.lpd-faq-trigger:focus-visible) h3 { outline: 2px solid var(--pink-hi); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .lpd-faq-item h3:hover { color: var(--accent-text); } }
.lpd-faq-item p { color: var(--fg-dim); line-height: 1.65; max-width: 60ch; margin: -6px 0 24px; }
/* collapsed only when the script that opens them is on its way; without
   JavaScript every answer is simply shown */
.lpd-js .lpd-faq-item p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), opacity 0.25s ease, margin 0.3s var(--ease-out);
}
.lpd-js .lpd-faq-item.is-open p { opacity: 1; margin: -6px 0 24px; }

/* ==========================================================================
   The colocation scene
   Unscripted (or with reduced motion) this is an ordinary section: the
   photographs beside the copy. With scripting the stage pins to the
   screen for three screens of scrolling - on phones too - while the
   photographs wipe from one to the next and the matching fact comes
   forward. interactions.js writes the scroll progress to --p (0 to 1);
   the keyframes below are paused and scrubbed by it, which works in
   every browser.
   ========================================================================== */
.lpd-scene { position: relative; background: var(--night); color: var(--cream); }
.lpd-scene-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.lpd-scene-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.lpd-scene-photo { margin: 0; overflow: hidden; border-radius: var(--radius); }
.lpd-scene-photo:first-child { grid-column: 1 / -1; }
.lpd-scene-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lpd-scene-photo:first-child img { aspect-ratio: 16 / 10; }

.lpd-scene-copy h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.02; margin: 0 0 16px; }
.lpd-scene-copy p.lpd-scene-intro { color: var(--fg-dim); max-width: 44ch; margin: 0 0 28px; }
.lpd-scene-caps { position: relative; }
.lpd-scene-cap { padding: 18px 0; border-top: 1px solid var(--rule); }
.lpd-scene-cap h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.035em; margin: 0 0 6px; }
.lpd-scene-cap p { margin: 0; color: rgba(243, 247, 245, 0.86); max-width: 46ch; }
.lpd-scene-copy p.lpd-colo-price { margin: 0 0 22px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 600; letter-spacing: -0.035em; }
@media (max-width: 900px) { .lpd-scene-stage { grid-template-columns: minmax(0, 1fr); } }

/* pinned mode */
.lpd-scrub .lpd-scene { height: 320vh; }
.lpd-scrub .lpd-scene-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-top: calc(var(--bar) + 20px);
  padding-bottom: 28px;
}
.lpd-scrub .lpd-scene-photos { display: block; position: relative; height: 100%; max-height: 760px; border-radius: var(--radius); overflow: hidden; }
.lpd-scrub .lpd-scene-photo { position: absolute; inset: 0; border-radius: 0; }
.lpd-scrub .lpd-scene-photo img,
.lpd-scrub .lpd-scene-photo:first-child img { aspect-ratio: auto; }
.lpd-scrub .lpd-scene-caps { padding-left: 22px; }
.lpd-scrub .lpd-scene-caps::before,
.lpd-scrub .lpd-scene-caps::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--rule); }
.lpd-scrub .lpd-scene-caps::after { background: var(--paw); transform-origin: top center; transform: scaleY(var(--p, 0)); }
/* the photographs and facts are moved by interactions.js, which writes
   their styles directly from the scroll position */
.lpd-scrub .lpd-scene-photo, .lpd-scrub .lpd-scene-photo img { will-change: clip-path, transform, opacity; }
.lpd-scrub .lpd-scene-cap { opacity: var(--cap-off, 0.62); }
.lpd-scrub .lpd-scene-cap:first-child { opacity: 1; }

/* pinned on a phone: photograph on top, one fact at a time beneath */
@media (max-width: 900px) {
  .lpd-scrub .lpd-scene-stage { grid-template-rows: minmax(0, 1fr) auto; gap: 20px; align-items: stretch; padding-top: calc(var(--bar) + 12px); padding-bottom: 20px; }
  .lpd-scrub .lpd-scene-photos { max-height: none; }
  .lpd-scrub .lpd-scene-copy h2 { font-size: 1.7rem; margin-bottom: 14px; }
  .lpd-scrub .lpd-scene-copy p.lpd-scene-intro { display: none; }
  .lpd-scrub .lpd-scene-caps { display: grid; --cap-off: 0; }
  .lpd-scrub .lpd-scene-cap:first-child { opacity: 1; }
  .lpd-scrub .lpd-scene-cap { grid-area: 1 / 1; border: 0; padding: 0 0 4px; }
  .lpd-scrub .lpd-scene-cap p { font-size: 0.95rem; }
  .lpd-scrub .lpd-scene-copy p.lpd-colo-price { margin: 14px 0 14px; padding-top: 14px; font-size: 1.1rem; }
  .lpd-scrub .lpd-scene-copy .wp-block-button__link { min-height: 46px; padding: 11px 18px; font-size: 0.92rem; }
}
/* too short to fit the stage: fall back to the ordinary section */
@media (max-height: 560px) {
  .lpd-scrub .lpd-scene { height: auto; }
  .lpd-scrub .lpd-scene-stage { position: static; height: auto; padding: var(--section) var(--gutter); }
  .lpd-scrub .lpd-scene-photos { display: grid; height: auto; }
  .lpd-scrub .lpd-scene-photo { position: static; clip-path: none !important; opacity: 1 !important; }
  .lpd-scrub .lpd-scene-photo img { transform: none !important; aspect-ratio: 4 / 3; }
  .lpd-scrub .lpd-scene-cap { opacity: 1 !important; }
  .lpd-scrub .lpd-scene-caps { display: block; }
}

/* Colocation band from older page content (single photograph) */
.lpd-colo-teaser .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lpd-colo-teaser-photo { margin: 0; overflow: hidden; border-radius: var(--radius); }
.lpd-colo-teaser-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.lpd-colo-teaser h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.02; margin: 0 0 16px; }
.lpd-colo-teaser .wp-block-column > p { color: var(--fg-dim); margin: 0 0 24px; max-width: 46ch; }
.lpd-colo-teaser .wp-block-column > p.lpd-colo-point { margin: 0; max-width: none; padding: 14px 0; border-top: 1px solid var(--rule); color: var(--fg); }
.lpd-colo-teaser .wp-block-column > p.lpd-colo-price { margin: 0 0 22px; max-width: none; padding-top: 20px; border-top: 1px solid var(--rule); font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 600; letter-spacing: -0.035em; color: var(--fg); }
@media (max-width: 900px) { .lpd-colo-teaser .wp-block-columns { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Proof - the client's words beside the site we built them
   ========================================================================== */
.lpd-proof-grid.wp-block-columns { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lpd-testimonial { margin: 0; text-align: left; }
.lpd-testimonial-stars.wp-block-image { margin: 0 0 24px; }
.lpd-testimonial-stars img { display: block !important; height: 22px !important; width: auto !important; max-width: 130px !important; }
p.lpd-testimonial-quote { font-size: clamp(1.3rem, 2.3vw, 1.95rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.25; color: var(--fg); margin: 0 0 28px; }
p.lpd-testimonial-name { margin: 0; font-weight: 600; color: var(--fg); }
p.lpd-testimonial-link { margin: 2px 0 0; color: var(--fg-dim); }
p.lpd-testimonial-source { margin: 28px 0 0; font-size: 0.92rem; color: var(--fg-dim); }
/* older content: the quote on its own */
.lpd-section-alt > .lpd-inner > .lpd-testimonial { max-width: 960px; }

.lpd-shots { position: relative; padding: 0 0 9% 0; }
.lpd-shot { margin: 0; overflow: hidden; background: var(--night-deep); box-shadow: 0 30px 60px -30px rgba(3, 10, 14, 0.9); }
.lpd-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lpd-shot-desktop img { height: auto; }
.lpd-shot-desktop { width: 92%; border-radius: var(--radius-sm); border: 1px solid rgba(243, 247, 245, 0.14); }
.lpd-shot-phone { position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 390 / 844; border-radius: 16px; border: 4px solid var(--night-deep); outline: 1px solid rgba(243, 247, 245, 0.2); }
@media (max-width: 900px) { .lpd-proof-grid.wp-block-columns { grid-template-columns: minmax(0, 1fr); } }

/* More than one review: unscripted they simply follow one another. With
   scripting (interactions.js adds .is-carousel and the arrows) they share
   one cell, so the section keeps the height of the tallest and nothing
   below it moves when the review changes. */
.lpd-reviews { display: grid; row-gap: var(--section); }
.lpd-reviews p.lpd-testimonial-quote { font-size: clamp(1.15rem, 1.75vw, 1.5rem); line-height: 1.35; letter-spacing: -0.03em; }
.lpd-reviews.is-carousel { row-gap: 0; touch-action: pan-y; }
.lpd-reviews.is-carousel > .lpd-proof-grid { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s 0.35s; }
.lpd-reviews.is-carousel > .lpd-proof-grid.is-active { opacity: 1; visibility: visible; transition: opacity 0.45s ease 0.1s, visibility 0s; }
@media (prefers-reduced-motion: no-preference) {
  .lpd-reviews.is-carousel > .lpd-proof-grid .lpd-shots { transform: translateX(calc(var(--dir, 1) * 28px)); transition: transform 0.35s ease; }
  .lpd-reviews.is-carousel > .lpd-proof-grid.is-active .lpd-shots { transform: none; transition: transform 0.7s var(--ease-out) 0.1s; }
}
.lpd-reviews-nav { display: flex; align-items: center; gap: 10px; margin-top: var(--pad); }
.lpd-reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1.5px solid var(--rule-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lpd-reviews-btn svg { width: 18px; height: 18px; }
.lpd-reviews-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .lpd-reviews-btn:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
}
.lpd-reviews-count { margin: 0 0 0 8px; font-size: 0.92rem; font-variant-numeric: tabular-nums; color: var(--fg-dim); }
.lpd-reviews-nav + p.lpd-testimonial-source { margin-top: var(--pad); }

/* ==========================================================================
   About + Contact (homepage)
   ========================================================================== */
.lpd-about > .lpd-inner,
.lpd-contact > .lpd-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
:is(.lpd-about, .lpd-contact) > .lpd-inner > .lpd-section-heading { margin: 0; }
:is(.lpd-about, .lpd-contact) > .lpd-inner > :not(.lpd-section-heading) { grid-column: 2; min-width: 0; }
.lpd-about .lpd-card, .lpd-about .card { padding: 0; background: none; border-radius: 0; }
.lpd-about .lpd-card p { color: var(--fg-dim); font-size: 1.06rem; line-height: 1.7; margin: 0 0 18px; max-width: 58ch; }
.lpd-about .lpd-card p:first-of-type { color: var(--fg); font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.35; }
.lpd-about .wp-block-buttons { margin-top: 28px; }
.lpd-contact > .lpd-inner > :not(.lpd-section-heading):empty { display: none; }
.lpd-contact > .lpd-inner > :not(.lpd-section-heading):not(:empty) { padding: var(--pad); background: var(--panel); border-radius: var(--radius); }
@media (max-width: 900px) {
  .lpd-about > .lpd-inner, .lpd-contact > .lpd-inner { grid-template-columns: minmax(0, 1fr); }
  :is(.lpd-about, .lpd-contact) > .lpd-inner > .lpd-section-heading { margin-bottom: var(--head); }
  :is(.lpd-about, .lpd-contact) > .lpd-inner > :not(.lpd-section-heading) { grid-column: 1; }
}

/* ==========================================================================
   Forms (theme defaults - any form plugin inherits these)
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px; /* iOS zooms the page on anything smaller */
  margin-bottom: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(47, 209, 139, 0.28); }
label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; color: var(--fg); }

.wpforms-container .wpforms-field { padding: 0 0 16px; }
.wpforms-container .wpforms-field-label { font-family: var(--font); font-size: 0.92rem; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.wpforms-container .wpforms-field-required { color: var(--accent-text); }
.wpforms-container input[type=text],
.wpforms-container input[type=email],
.wpforms-container input[type=tel],
.wpforms-container input[type=url],
.wpforms-container input[type=number],
.wpforms-container select,
.wpforms-container textarea {
  width: 100% !important;
  padding: 14px 16px !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--field-border) !important;
  background: var(--field-bg) !important;
  color: var(--fg) !important;
  font-family: var(--font) !important;
  font-size: 16px !important;
  box-shadow: none !important;
}
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus { border-color: var(--pink) !important; box-shadow: 0 0 0 3px rgba(47, 209, 139, 0.28) !important; outline: none !important; }
.wpforms-container button.wpforms-submit {
  min-height: 50px;
  padding: 13px 24px !important;
  border-radius: var(--radius-sm) !important;
  background: var(--pink) !important;
  color: var(--night) !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: 0.97rem !important;
  border: 0 !important;
  cursor: pointer;
}
.wpforms-container .wpforms-field-checkbox label,
.wpforms-container .wpforms-field-gdpr-checkbox label { color: var(--fg-dim); font-size: 0.9rem; }
.wpforms-container .wpforms-error, .wpforms-container .wpforms-field-description { font-size: 0.86rem; }

/* The site's own form plugin ([lpd_form], .lpd-form-wrap) caps itself at
   520px, centres itself and brings its own font, sizes and colours. Inside
   the theme it fills the space it is given and uses the site's type,
   fields and buttons. */
.lpd-form-wrap,
.lpd-form-wrap.lpd-form-align-center { max-width: none; width: 100%; margin: 0; font-family: var(--font); }
.lpd-form-wrap .lpd-form-field { margin: 0 0 18px; }
.lpd-form-wrap .lpd-form-field label { margin-bottom: 8px; color: var(--fg); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.lpd-form-wrap .lpd-form-required { color: var(--accent-text); }
.lpd-form-wrap .lpd-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select) {
  min-height: 52px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--field-bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
}
.lpd-form-wrap .lpd-form :is(input, textarea, select):focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(47, 209, 139, 0.28); }
.lpd-form-wrap .lpd-form textarea { min-height: 140px; }
.lpd-form-wrap .lpd-form-radio-option,
.lpd-form-wrap .lpd-form-field-checkbox label { color: var(--fg); font-size: 0.97rem; }
.lpd-form-wrap .lpd-form-radio-option input { accent-color: var(--pink); }
.lpd-form-wrap .lpd-form-submit {
  min-height: 50px;
  margin-top: 6px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--pink);
  color: var(--night);
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: transform 0.16s var(--ease-out), background-color 0.15s ease;
}
.lpd-form-wrap .lpd-form-submit:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .lpd-form-wrap .lpd-form-submit:hover { background: var(--pink-hi); } }
.lpd-form-wrap .lpd-form-message { border-radius: var(--radius-sm); font-size: 0.95rem; }
/* the Turnstile check keeps its own fixed width; let it sit on its own line */
.lpd-form-wrap .cf-turnstile { margin: 4px 0 18px; }

/* ==========================================================================
   Inner pages - page hero and bands (content shipped in inc/pages/)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--bar) + clamp(48px, 8vw, 112px)) 0 0; background: var(--night); color: var(--cream); }
.page-hero .container { position: relative; padding-bottom: clamp(24px, 3.4vw, 44px); }
/* the same track as "How It Works": a faint rule with the paw gradient drawn along it */
.page-hero .container::before,
.page-hero .container::after { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 3px; border-radius: 3px; background: var(--rule); }
.page-hero .container::after { background: var(--paw); transform-origin: left center; }
/* a page that opens on the steps already has a track right below */
body:has(.lpd-bands > .lpd-process:first-child) .page-hero .container::before,
body:has(.lpd-bands > .lpd-process:first-child) .page-hero .container::after { display: none; }
.page-hero .entry-title { font-size: clamp(2.6rem, 7vw, 5.75rem); letter-spacing: -0.05em; line-height: 0.98; margin: 0; }
.entry-title { font-size: 2rem; margin: 0 0 20px; }
.entry-meta { color: var(--fg-dim); font-size: 0.92rem; }

.lpd-band { position: relative; background: var(--bg); color: var(--fg); }
.lpd-band.lpd-cta-section { --bg: var(--night); background: var(--night); }
.lpd-band-alt + .lpd-band.lpd-cta-section, .lpd-band.lpd-pricing + .lpd-band.lpd-cta-section { --bg: var(--light); background: var(--light); }
/* same rhythm rule as the homepage, for bands */
.lpd-band:not(.lpd-band-alt):not(.lpd-process):not(.lpd-pricing) + .lpd-band:not(.lpd-band-alt):not(.lpd-process):not(.lpd-pricing):not(.lpd-cta-section) > .lpd-inner,
:is(.lpd-band-alt, .lpd-band.lpd-pricing) + :is(.lpd-band-alt, .lpd-band.lpd-pricing) > .lpd-inner,
:is(.lpd-band-alt, .lpd-band.lpd-pricing) + .lpd-band.lpd-cta-section > .lpd-inner,
.lpd-band:not(.lpd-band-alt):not(.lpd-process):not(.lpd-pricing) + .lpd-band.lpd-cta-section > .lpd-inner { padding-top: 0; }
.lpd-bands > .lpd-band:first-child > .lpd-inner { padding-top: clamp(40px, 5vw, 72px); }

.lpd-bands p.lpd-lead,
.lpd-bands .lpd-prose > p.lpd-lead { font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.22; color: var(--fg); max-width: 24em; margin: 0 0 28px; }
.lpd-bands .lpd-inner > p.lpd-lead { margin-bottom: 0; }
.lpd-bands .lpd-prose > p { color: var(--fg-dim); font-size: 1.06rem; line-height: 1.7; margin: 0 0 18px; max-width: 56ch; }
.lpd-bands .lpd-prose > p:last-child { margin-bottom: 0; }
.lpd-bands .lpd-prose > h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -0.045em; line-height: 1.04; margin: 0 0 18px; }
.lpd-bands .lpd-prose > p.lpd-lead + h2 { margin-top: clamp(28px, 4vw, 48px); }
.lpd-bands .lpd-prose > h3 { font-size: 1.35rem; margin: 0 0 12px; }
.lpd-bands .lpd-prose > .wp-block-buttons { margin-top: 28px; }

.lpd-bands .wp-block-columns.lpd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lpd-bands .wp-block-columns.lpd-split.lpd-split-top { align-items: start; }
.lpd-bands .wp-block-columns.lpd-split.lpd-split-narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
/* every other project: picture on the left (wide screens only, so the
   heading still comes first when the columns stack) */
@media (min-width: 901px) { .lpd-bands .wp-block-columns.lpd-split.lpd-split-flip > .wp-block-column:first-child { order: 2; } }
.lpd-bands .wp-block-columns.lpd-grid-2,
.lpd-bands .wp-block-columns.lpd-grid-3 { display: grid; gap: var(--gap); }
.lpd-bands .wp-block-columns.lpd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lpd-bands .wp-block-columns.lpd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lpd-bands .lpd-why-item::before { margin-bottom: clamp(20px, 2.6vw, 36px); width: 30px; height: 30px; }

/* Specification: headline figures, then the detail as labelled rows */
.lpd-bands .wp-block-columns.lpd-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.lpd-figure { height: 100%; padding: var(--pad); background: var(--panel); border-radius: var(--radius); }
.lpd-figure p.lpd-figure-number { margin: 0 0 clamp(20px, 3vw, 44px); font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.95; font-variant-numeric: tabular-nums; color: var(--fg); }
.lpd-figure p.lpd-figure-label { margin: 0; color: var(--fg-dim); font-size: 1rem; }
.lpd-spec { margin-top: var(--head); border-bottom: 1px solid var(--rule); }
.lpd-spec-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(28px, 5vw, 80px); padding: var(--pad) 0; border-top: 1px solid var(--rule); }
.lpd-spec-row h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -0.035em; margin: 0; }
.lpd-spec-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.lpd-spec-row li { position: relative; padding-left: 26px; color: var(--fg); font-size: 1rem; line-height: 1.5; }
.lpd-spec-row li::before { content: ''; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 13px; background: var(--accent-text); -webkit-mask: url('assets/icons/check.svg') center / contain no-repeat; mask: url('assets/icons/check.svg') center / contain no-repeat; }
@media (max-width: 900px) {
  .lpd-bands .wp-block-columns.lpd-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpd-spec-row { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
}
@media (max-width: 640px) { .lpd-spec-row ul { grid-template-columns: minmax(0, 1fr); } }

.lpd-bands .lpd-photo { margin: 0; overflow: hidden; border-radius: var(--radius); }
.lpd-bands .lpd-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* A cut-out photo (transparent background, e.g. Lily on About): shown whole
   at 4:3 on a panel so it sits level with the text, enlarged slightly from
   the bottom and shifted left so the subject lands in the middle of the frame. */
.lpd-bands .lpd-photo-cutout { background: var(--navy); }
.lpd-bands .lpd-photo-cutout img { display: block; aspect-ratio: 4 / 3; object-fit: contain; transform: translateX(-7.8%) scale(1.12); transform-origin: 50% 100%; }
.lpd-bands ul.lpd-checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.lpd-bands ul.lpd-checklist li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--fg); font-size: 1rem; }
.lpd-bands .lpd-card.lpd-pad h3, .lpd-bands .lpd-pointer h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); margin: 0 0 12px; }
.lpd-bands .lpd-pointer { background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.lpd-bands .lpd-card .wp-block-buttons { margin-top: 24px; }
.lpd-form-card { padding: var(--pad); border-radius: var(--radius); }
/* The price calculator (a shortcode from its own plugin, .lpd-calc-wrap) is
   a full-width, multi-step tool. Give it the page's full width wherever it
   lands: in the Get Started section, in a two-column layout or form card on
   a page edited by hand, or in an older single-column page. */
.lpd-calculator { margin-top: var(--head); }
.lpd-calculator { padding: var(--pad); background: var(--white); border-radius: var(--radius); --bg: var(--white); --panel: var(--light); --fg: var(--ink); --fg-dim: #3e545d; --rule: rgba(10, 26, 36, 0.14); --rule-strong: rgba(10, 26, 36, 0.42); --accent-text: var(--pink-ink); --field-bg: #fff; --field-border: rgba(10, 26, 36, 0.3); color: var(--fg); }
.lpd-calculator:not(:has(.lpd-calc-wrap)) { max-width: 760px; }
/* a calculator placed outside the Get Started section (a page edited by
   hand) gets the same white card */
:not(.lpd-calculator) > .lpd-calc-wrap { padding: var(--pad); background: var(--white); border-radius: var(--radius); color: var(--ink); }
.lpd-calculator + .lpd-alt-contact { max-width: none; }
.lpd-bands .wp-block-columns.lpd-split:has(.lpd-calc-wrap) { grid-template-columns: minmax(0, 1fr); }
.lpd-form-card:has(.lpd-calc-wrap) { padding: 0; background: none; }
.lpd-page-content:has(.lpd-calc-wrap) { max-width: var(--wrap); }
.lpd-calc-wrap { width: 100%; max-width: none; }
.lpd-form-card > h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin: 0 0 22px; }
.lpd-form-card > p:empty { display: none; }
.lpd-alt-contact { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); max-width: 46ch; }
.lpd-alt-contact p { margin: 0; color: var(--fg-dim); }
.lpd-alt-contact a { font-weight: 600; white-space: nowrap; }
.lpd-bands .lpd-split .lpd-faq-list { margin: 0; }
.lpd-bands .lpd-shots { margin-bottom: clamp(28px, 4vw, 48px); }
.lpd-bands .lpd-split p.lpd-testimonial-quote { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.3; }

.lpd-colo-gallery.wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.lpd-colo-gallery .wp-block-image { margin: 0; overflow: hidden; border-radius: var(--radius); width: auto !important; }
.lpd-colo-gallery .wp-block-image:first-child { grid-column: 1 / -1; }
.lpd-colo-gallery .wp-block-image img { width: 100%; height: 200px; object-fit: cover; }
.lpd-colo-gallery .wp-block-image:first-child img { height: 320px; }

@media (max-width: 900px) {
  .lpd-bands .wp-block-columns.lpd-split,
  .lpd-bands .wp-block-columns.lpd-split.lpd-split-narrow { grid-template-columns: minmax(0, 1fr); }
  .lpd-bands .wp-block-columns.lpd-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpd-bands .lpd-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .lpd-bands .wp-block-columns.lpd-grid-2,
  .lpd-bands .wp-block-columns.lpd-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .lpd-bands ul.lpd-checklist { grid-template-columns: minmax(0, 1fr); }
}

/* Page not found: the same header as any page, then four ways back */
.lpd-404-links { list-style: none; margin: var(--head) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.lpd-404-links a { display: flex; flex-direction: column; height: 100%; padding: var(--pad); background: var(--panel); border-radius: var(--radius); transition: transform 0.16s var(--ease-out), background-color 0.15s ease; }
.lpd-404-links a:active { transform: scale(0.97); }
.lpd-404-title { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: clamp(20px, 3vw, 44px); }
.lpd-404-title::after { content: '\2192'; display: inline-block; margin-left: 10px; color: var(--accent-text); transition: transform 0.25s var(--ease-out); }
.lpd-404-text { margin-top: auto; color: var(--fg-dim); font-size: 0.98rem; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .lpd-404-links a:hover { background: var(--navy-hi); }
  .lpd-404-links a:hover .lpd-404-title::after { transform: translateX(5px); }
}
@media (max-width: 1000px) { .lpd-404-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lpd-404-links { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Blog - the posts page, archives, articles and the home page section
   ========================================================================== */
.lpd-blog-body { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.lpd-blog-intro { max-width: 46ch; margin: 0 0 var(--head); }
.lpd-blog-intro p { margin: 0; color: var(--fg); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.4; }

.lpd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.lpd-post-card-featured + .lpd-post-grid { margin-top: var(--gap); }
.lpd-post-card { margin: 0; min-width: 0; }
.lpd-post-card-link { display: flex; flex-direction: column; height: 100%; background: var(--panel); border-radius: var(--radius); overflow: hidden; color: var(--fg); transition: transform 0.16s var(--ease-out); }
.lpd-post-card-link:active { transform: scale(0.985); }
.lpd-post-card-image { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-deep); }
.lpd-post-card-image img { display: block; }
.lpd-post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
/* no picture: the paw on the brand gradient */
.lpd-post-card-placeholder { position: relative; display: block; width: 100%; height: 100%; background: var(--paw); }
.lpd-post-card-placeholder::after { content: ''; position: absolute; inset: 0; margin: auto; width: 22%; height: 34%; background: rgba(10, 26, 36, 0.28); -webkit-mask: url('assets/icons/bridge.svg') center / contain no-repeat; mask: url('assets/icons/bridge.svg') center / contain no-repeat; }
.lpd-post-card-body { display: flex; flex-direction: column; flex: 1; padding: var(--pad); }
.lpd-post-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; color: var(--fg-dim); font-size: 0.85rem; }
.lpd-post-card-cat { color: var(--accent-text); font-weight: 600; }
.lpd-post-card-title { margin: 0 0 10px; font-size: clamp(1.2rem, 1.7vw, 1.4rem); letter-spacing: -0.035em; line-height: 1.2; }
.lpd-post-card-excerpt { margin: 0 0 18px; color: var(--fg-dim); font-size: 0.98rem; line-height: 1.6; }
.lpd-post-card-date { margin: auto 0 0; color: var(--fg-dim); font-size: 0.85rem; }
@media (hover: hover) and (pointer: fine) {
  .lpd-post-card-link:hover .lpd-post-card-image img { transform: scale(1.04); }
  .lpd-post-card-link:hover .lpd-post-card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
}
/* the newest post, side by side */
.lpd-post-card-featured .lpd-post-card-link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lpd-post-card-featured .lpd-post-card-image { aspect-ratio: auto; min-height: 340px; }
.lpd-post-card-featured .lpd-post-card-body { justify-content: center; padding: clamp(28px, 3.6vw, 52px); }
.lpd-post-card-featured .lpd-post-card-title { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.045em; line-height: 1.08; margin-bottom: 14px; }
.lpd-post-card-featured .lpd-post-card-excerpt { font-size: 1.05rem; }
.lpd-post-card-featured .lpd-post-card-date { margin-top: 0; }
@media (max-width: 1000px) { .lpd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lpd-post-grid { grid-template-columns: minmax(0, 1fr); }
  .lpd-post-card-featured .lpd-post-card-link { grid-template-columns: minmax(0, 1fr); }
  .lpd-post-card-featured .lpd-post-card-image { aspect-ratio: 16 / 10; min-height: 0; }
}

/* page numbers */
.lpd-blog .pagination { margin: var(--head) 0 0; }
.lpd-blog .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lpd-blog .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm); color: var(--fg); font-weight: 600; font-size: 0.95rem; }
.lpd-blog .page-numbers.current { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.lpd-blog .page-numbers.dots { border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .lpd-blog a.page-numbers:hover { background: rgba(243, 247, 245, 0.1); } }
.lpd-blog-empty { max-width: 52ch; padding: var(--pad); background: var(--panel); border-radius: var(--radius); }
.lpd-blog-empty h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 10px; }
.lpd-blog-empty p { color: var(--fg-dim); margin: 0 0 20px; }
.lpd-blog-empty p:last-child { margin: 0; }

/* an article: night header, then a light reading surface */
.lpd-article-hero .entry-title { max-width: 18em; font-size: clamp(2.2rem, 5.2vw, 4.25rem); letter-spacing: -0.045em; line-height: 1.02; }
/* the same header as every other page: a small line, the title, the track */
.lpd-article-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 20px; color: rgba(243, 247, 245, 0.74); font-size: 0.95rem; }
.lpd-article-cat { color: var(--accent-text); font-weight: 600; }
.lpd-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 24px; color: var(--fg-dim); font-size: 0.88rem; }
.lpd-breadcrumbs a { color: var(--fg-dim); }
.lpd-breadcrumbs [aria-current] { overflow: hidden; max-width: 34ch; white-space: nowrap; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) { .lpd-breadcrumbs a:hover, .lpd-article-cat:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 0.2em; } }
.lpd-article { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.lpd-article-image { max-width: 1000px; margin: 0 0 clamp(36px, 5vw, 64px); overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--rule); }
.lpd-article-image img { width: 100%; }
/* article layout: reading column on the left edge, tools in a column on
   the right on wide screens (it follows you down the page) */
.lpd-article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 300px); justify-content: space-between; gap: clamp(40px, 6vw, 96px); align-items: start; }
.lpd-article-main { min-width: 0; }
.lpd-article-aside { align-self: stretch; }
.lpd-article-aside-inner { position: sticky; top: calc(var(--bar) + 28px); display: grid; gap: var(--gap); }
.lpd-article-body,
.lpd-article-tags { max-width: 720px; margin-inline: 0; }
.lpd-article-image { max-width: none; }
@media (max-width: 1100px) {
  .lpd-article-layout { grid-template-columns: minmax(0, 1fr); }
  .lpd-article-aside { display: none; }
}

/* the summary under the title */
.lpd-article-standfirst { max-width: 40ch; margin: 22px 0 0; color: rgba(243, 247, 245, 0.82); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; letter-spacing: -0.015em; }

/* reading progress: a thin paw-gradient line under the header */
.lpd-read-progress { position: fixed; inset: var(--bar) 0 auto 0; z-index: 49; height: 3px; pointer-events: none; }
.admin-bar .lpd-read-progress { top: calc(var(--bar) + 32px); }
.lpd-read-progress span { display: block; height: 100%; background: var(--paw); transform-origin: left center; transform: scaleX(var(--p, 0)); }

/* on this page */
.lpd-toc { padding: var(--pad); background: var(--panel); border-radius: var(--radius); }
.lpd-toc-title { margin: 0 0 14px; color: var(--fg); font-size: 0.9rem; font-weight: 600; }
.lpd-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.lpd-toc li { counter-increment: toc; }
.lpd-toc a { display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 4px; padding: 7px 10px 7px 0; border-radius: var(--radius-sm); color: var(--fg-dim); font-size: 0.93rem; line-height: 1.4; transition: color 0.15s ease; }
.lpd-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--fg-dim); font-size: 0.8rem; font-variant-numeric: tabular-nums; padding-top: 2px; opacity: 0.7; }
.lpd-toc a.is-current { color: var(--fg); font-weight: 500; }
.lpd-toc a.is-current::before { color: var(--accent-text); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .lpd-toc a:hover { color: var(--fg); } }
/* the same list, collapsed above the text on smaller screens */
.lpd-toc-inline { display: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; }
.lpd-toc-inline summary { cursor: pointer; padding: 16px var(--pad); color: var(--fg); font-weight: 600; list-style: none; }
.lpd-toc-inline summary::-webkit-details-marker { display: none; }
.lpd-toc-inline summary::after { content: '+'; float: right; color: var(--accent-text); font-weight: 400; }
.lpd-toc-inline[open] summary::after { content: '\2212'; }
.lpd-toc-inline ol { padding: 0 var(--pad) var(--pad); }
@media (max-width: 1100px) { .lpd-toc-inline { display: block; } }

/* help card */
.lpd-aside-card { padding: var(--pad); background: var(--paw); border-radius: var(--radius); color: var(--night); }
.lpd-aside-card p { margin: 0 0 14px; color: var(--night); font-size: 0.95rem; line-height: 1.5; }
.lpd-aside-card .lpd-aside-card-title { margin-bottom: 6px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.03em; }
.lpd-aside-card .btn { min-height: 44px; background: var(--night); border-color: var(--night); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .lpd-aside-card .btn:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); } }

/* share */
.lpd-article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: 720px; margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--rule); }
.lpd-article-share p { margin: 0; color: var(--fg); font-weight: 600; }
.lpd-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lpd-share a, .lpd-share button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm); background: none; color: var(--fg); font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.16s var(--ease-out); }
.lpd-share a:active, .lpd-share button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .lpd-share a:hover, .lpd-share button:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); } }

/* author */
.lpd-author { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; max-width: 720px; margin-top: 28px; padding: var(--pad); background: var(--panel); border-radius: var(--radius); }
.lpd-author-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--paw); position: relative; }
.lpd-author-mark::after { content: ''; position: absolute; inset: 14px; background: var(--night); -webkit-mask: url('assets/icons/bridge.svg') center / contain no-repeat; mask: url('assets/icons/bridge.svg') center / contain no-repeat; }
.lpd-author p { margin: 0 0 8px; color: var(--fg-dim); font-size: 0.97rem; line-height: 1.6; }
.lpd-author p:last-child { margin: 0; }
.lpd-author .lpd-author-name { color: var(--fg); font-weight: 600; }
.lpd-author a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.2em; }
.lpd-article-body > * { margin-top: 0; }
.entry-content.lpd-article-body p { color: rgba(243, 247, 245, 0.86); font-size: 1.12rem; line-height: 1.75; margin: 0 0 1.4em; }
.entry-content.lpd-article-body strong { color: var(--fg); font-weight: 600; }
.entry-content.lpd-article-body > p:first-of-type { color: var(--fg); font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; letter-spacing: -0.02em; margin-bottom: 1.4em; }
.entry-content.lpd-article-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.04em; line-height: 1.15; margin: 2.2em 0 0.7em; scroll-margin-top: calc(var(--bar) + 32px); }
.entry-content.lpd-article-body h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); letter-spacing: -0.03em; margin: 1.8em 0 0.6em; }
.entry-content.lpd-article-body :is(ul, ol) { color: rgba(243, 247, 245, 0.86); font-size: 1.12rem; line-height: 1.7; margin: 0 0 1.4em; padding-left: 1.3em; }
.entry-content.lpd-article-body li { margin-bottom: 0.45em; }
.entry-content.lpd-article-body li::marker { color: var(--pink); }
.entry-content.lpd-article-body a:not(.wp-block-button__link) { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.entry-content.lpd-article-body blockquote { margin: 2.2em 0; padding: clamp(22px, 3vw, 32px); border-left: 0; border-radius: var(--radius); background: var(--panel); position: relative; }
.entry-content.lpd-article-body blockquote::before { content: ''; display: block; width: 40px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--paw); }
.entry-content.lpd-article-body blockquote p { margin: 0; color: var(--fg); font-size: clamp(1.2rem, 1.9vw, 1.4rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.45; }
.entry-content.lpd-article-body :is(figure, .wp-block-image) { margin: 2em 0; }
.entry-content.lpd-article-body img { border-radius: var(--radius-sm); margin: 0; height: auto; }
.entry-content.lpd-article-body figcaption { margin-top: 10px; color: var(--fg-dim); font-size: 0.9rem; text-align: left; }
.entry-content.lpd-article-body code { padding: 2px 6px; border-radius: 6px; background: var(--panel); font-size: 0.92em; }
.entry-content.lpd-article-body pre { overflow-x: auto; margin: 2em 0; padding: 20px; border-radius: var(--radius-sm); background: var(--night-deep); color: var(--cream); font-size: 0.92rem; line-height: 1.6; }
.entry-content.lpd-article-body pre code { padding: 0; background: none; }
.entry-content.lpd-article-body table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: 1rem; }
.entry-content.lpd-article-body :is(th, td) { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
.entry-content.lpd-article-body hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--rule); }
.lpd-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding: 0; list-style: none; }
.lpd-article-tags a { display: inline-block; padding: 6px 14px; border-radius: var(--radius-sm); background: var(--panel); color: var(--fg); font-size: 0.9rem; font-weight: 500; }
.lpd-article-comments { margin-top: 56px; }
.lpd-related { padding: 0 0 var(--section); }
.lpd-related h2 { margin: 0 0 var(--head); font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -0.045em; }
.lpd-article-cta { padding: 0 0 var(--section); }

/* home page: newest articles (hidden until there are some) */
.lpd-latest:not(:has(.lpd-post-card)) { display: none; }
.lpd-latest .lpd-latest-more { margin-top: var(--head); }

/* ==========================================================================
   Pages whose content has not been brought up to date, posts, search:
   a single reading column on night
   ========================================================================== */
.site-main { min-height: 50vh; }
.lpd-page-content { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.lpd-page-content-wide { max-width: var(--wrap); }
.entry-content:not(.lpd-bands):not(.lpd-article-body) p { color: var(--fg-dim); margin: 0 0 18px; }
.entry-content:not(.lpd-bands):not(.lpd-article-body) h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 48px 0 18px; }
.entry-content:not(.lpd-bands):not(.lpd-article-body) h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.entry-content:not(.lpd-bands):not(.lpd-article-body) ul, .entry-content:not(.lpd-bands):not(.lpd-article-body) ol { color: var(--fg-dim); padding-left: 22px; margin: 0 0 18px; }
.entry-content:not(.lpd-bands):not(.lpd-article-body) img { border-radius: var(--radius); margin: 8px 0 24px; }
.entry-content:not(.lpd-bands):not(.lpd-article-body) > p:first-of-type { color: var(--fg); font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.3; margin-bottom: 32px; }
.lpd-page-content .entry-content .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin: 0 0 40px; }
.lpd-page-content .entry-content .wp-block-columns > .wp-block-column { width: auto; flex-basis: auto; margin: 0; }
.lpd-page-content .entry-content .wp-block-columns.lpd-colocation-pricing { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lpd-page-content .lpd-card h3, .lpd-page-content .lpd-pricing-card p { margin-top: 0; }
.lpd-page-content .lpd-portfolio-item,
.lpd-page-content .lpd-portfolio-pointer { margin: 0 0 var(--gap); }
.lpd-page-content .lpd-faq { margin: 40px 0; }
.lpd-colo-explainer { max-width: 60ch; }
.lpd-portfolio-cta { margin-top: 28px !important; }
.lpd-about-photo img { max-width: 300px; }
.lpd-centered-buttons.wp-block-buttons { margin-top: 24px; }
.lpd-page-content .lpd-colo-gallery.wp-block-gallery { margin-bottom: 40px; }

.content-layout { padding-top: clamp(40px, 6vw, 80px) !important; }
@media (max-width: 800px) { .content-layout { grid-template-columns: minmax(0, 1fr) !important; } }
.card, .widget { padding: var(--pad); background: var(--navy); border-radius: var(--radius); }
.widget { margin-bottom: var(--gap); }
.widget-title { margin: 0 0 14px; font-size: 1.1rem; }
.card .entry-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.pagination { margin: 28px 0; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { padding: 20px; margin-bottom: 12px; background: var(--navy); border-radius: var(--radius); }
.comment-meta { font-size: 0.9rem; color: var(--fg-dim); margin-bottom: 8px; }
.post-card { background: var(--navy); border-radius: var(--radius); overflow: hidden; }
.post-card-body { padding: 22px; }
.post-card-meta { font-size: 0.9rem; color: var(--fg-dim); margin-bottom: 8px; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--night-deep); color: var(--cream); padding: clamp(56px, 7vw, 96px) 0 28px; --fg: var(--cream); --fg-dim: rgba(243, 247, 245, 0.7); }
.footer-grid { display: grid; gap: 40px clamp(24px, 3.4vw, 56px); grid-template-columns: 1.5fr 1fr 1.3fr 1fr 1fr; margin-bottom: 40px; }
.footer-grid :is(h2, h4) { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.02em; color: var(--cream); margin: 4px 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { color: var(--fg-dim); font-size: 0.95rem; transition: color 0.15s ease; }
.footer-brand .lpd-logo-img { height: 46px; margin-bottom: 18px; }
.footer-brand p { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.6; max-width: 34ch; margin: 0; }
.lpd-footer-phone { margin: 18px 0 0 !important; }
.lpd-footer-phone a { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.04em; color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .footer-grid li a:hover { color: var(--cream); }
  .lpd-footer-phone a:hover { color: var(--pink-hi); }
  .footer-bottom a:hover { color: var(--cream); }
}
/* cats on the left of the closing rule, status on the right */
.site-footer > .container { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.footer-grid, .footer-bottom { grid-column: 1 / -1; }
.lpd-footer-cats { grid-column: 1; grid-row: 2; display: flex; align-items: flex-end; gap: 16px; margin: 0 0 -1px; }
.lpd-status-badge { grid-column: 2; grid-row: 2; margin: 0 0 14px; }
.lpd-footer-cat-wrap { display: flex; }
.lpd-footer-cat { width: 64px; height: auto; overflow: visible; }
.lpd-cat-eye { transition: transform 0.18s var(--ease-out); } /* pupils follow the pointer */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(243, 247, 245, 0.16); color: var(--fg-dim); font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--cream); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Motion
   One entrance (the hero), then everything else answers the scroll:
   the statement, the steps, the colocation scene. Photographs unveil
   once as they arrive.
   ========================================================================== */
@keyframes lpd-word { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes lpd-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lpd-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lpd-unhide { to { visibility: visible; } }

@media (prefers-reduced-motion: no-preference) {
  /* Headline: each word rises out of its own line box. Hidden only while
     the script that splits it is on its way, with a timed fallback. */
  .lpd-js :is(.lpd-hero-heading, .page-hero .entry-title):not(.is-split) { visibility: hidden; animation: lpd-unhide 0s 1.2s forwards; }
  .lpd-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
  .lpd-w > span { display: inline-block; animation: lpd-word 0.9s var(--ease-out) both; animation-delay: calc(80ms + var(--i, 0) * 55ms); }

  .page-hero .container::after { animation: lpd-draw 1.3s var(--ease-in-out) 0.35s both; }
  .lpd-article-meta { animation: lpd-rise 0.7s var(--ease-out) 0.05s both; }
  .lpd-kw { animation: lpd-rise 0.7s var(--ease-out) both; animation-delay: calc(60ms + var(--i, 0) * 90ms); }
  .lpd-hero .lpd-w > span { animation-delay: calc(80ms + var(--i, 0) * 140ms); }
  /* with the line above it, the headline starts once that line is under way */
  .lpd-hero:has(.lpd-hero-kicker) .lpd-w > span { animation-delay: calc(320ms + var(--i, 0) * 140ms); }
  .lpd-hero-text { animation: lpd-rise 0.8s var(--ease-out) 0.6s both; }
  .lpd-hero-actions { animation: lpd-rise 0.8s var(--ease-out) 0.7s both; }
  .lpd-hero-note { animation: lpd-rise 0.8s var(--ease-out) 0.8s both; }
  .lpd-rail > .wp-block-column::before { animation: lpd-draw 1s var(--ease-out) both; animation-delay: calc(0.7s + var(--i, 0) * 80ms); }
  .lpd-rail > .wp-block-column > p { animation: lpd-rise 0.8s var(--ease-out) both; animation-delay: calc(0.8s + var(--i, 0) * 80ms); }
  .lpd-rail > .wp-block-column:nth-child(2) { --i: 1; }
  .lpd-rail > .wp-block-column:nth-child(3) { --i: 2; }
  .lpd-rail > .wp-block-column:nth-child(4) { --i: 3; }

  /* the hero film drifts a little slower than the page */
  .lpd-scrub .lpd-hero-video { transform: translateY(calc(var(--p, 0) * 9%)); }

  /* Photographs unveil top-down once (the clip is on the image, not the
     observed frame: a fully clipped frame never counts as intersecting) */
  .lpd-img-reveal img { clip-path: inset(0 0 100% 0); transform: scale(1.12); }
  .lpd-img-reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1.1s var(--ease-in-out), transform 1.6s var(--ease-out); }

  /* Page-to-page: a short cross-fade instead of a white flash */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 0.18s ease both lpd-vt-out; }
  ::view-transition-new(root) { animation: 0.28s ease both lpd-vt-in; }
}
@keyframes lpd-vt-out { to { opacity: 0; } }
@keyframes lpd-vt-in { from { opacity: 0; } }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lpd-colo-gallery .wp-block-image img,
  .lpd-colo-teaser-photo img { transition: transform 0.9s var(--ease-out); }
  .lpd-colo-gallery .wp-block-image:hover img,
  .lpd-colo-teaser-photo:hover img { transform: scale(1.03); }
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */
@media (max-width: 1240px) {
  .main-navigation ul { gap: 20px; }
  .main-navigation { gap: 20px; }
}
/* eight pages no longer fit on one line below 1100px: use the menu button */
@media (max-width: 1100px) {
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }

  .main-navigation.is-open,
  .main-navigation.is-closing {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 0;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--night);
    padding: calc(var(--bar) + 24px) var(--gutter) max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  .main-navigation.is-open { animation: lpd-menu-in 0.45s var(--ease-drawer) both; }
  .main-navigation.is-closing { animation: lpd-menu-out 0.3s var(--ease-drawer) both; }
  .main-navigation.is-open ul,
  .main-navigation.is-closing ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-navigation.is-open li,
  .main-navigation.is-closing li { border-top: 1px solid rgba(243, 247, 245, 0.16); }
  .main-navigation.is-open li { animation: lpd-rise 0.5s var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 45ms); }
  .main-navigation li:nth-child(2) { --i: 1; }
  .main-navigation li:nth-child(3) { --i: 2; }
  .main-navigation li:nth-child(4) { --i: 3; }
  .main-navigation li:nth-child(5) { --i: 4; }
  .main-navigation li:nth-child(6) { --i: 5; }
  .main-navigation li:nth-child(7) { --i: 6; }
  .main-navigation.is-open li a,
  .main-navigation.is-closing li a { padding: 15px 0; font-size: clamp(1.6rem, 6.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; color: var(--cream); }
  .main-navigation.is-open .current-menu-item > a { color: var(--pink-hi); }
  .main-navigation .lpd-client-login { margin-top: 28px; min-height: 52px; width: 100%; font-size: 1rem; background: var(--pink); border-color: var(--pink); color: var(--night); }
  .main-navigation.is-open .lpd-client-login { animation: lpd-rise 0.5s var(--ease-out) 0.4s both; }
  body.lpd-menu-open { overflow: hidden; }

  @keyframes lpd-menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes lpd-menu-out { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
}
@media (max-width: 400px) { .lpd-logo-img, .custom-logo { height: 36px; } }

/* Optical centring. Sora's capitals sit about 1.5px above the middle of
   their line box, so in a pill the label looks high (measured in Chrome).
   Every pill keeps its height; 0.06em of padding moves from the bottom to
   the top so the capitals sit in the middle. */
.btn, .wp-block-button__link, button[type="submit"], input[type="submit"] { padding-top: calc(13px + 0.06em); padding-bottom: calc(13px - 0.06em); }
.main-navigation .lpd-client-login { padding-top: calc(7px + 0.06em); padding-bottom: calc(7px - 0.06em); }
.lpd-plan-helper-option { padding-top: calc(10px + 0.06em); padding-bottom: calc(10px - 0.06em); }
.lpd-form-wrap .lpd-form-submit { padding-top: calc(13px + 0.06em); padding-bottom: calc(13px - 0.06em); }
.lpd-pricing-card p.lpd-pricing-badge { padding-top: calc(5px + 0.06em); padding-bottom: calc(5px - 0.06em); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 999;
  background: var(--cream);
  color: var(--night);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
