/*
Theme Name: FreshGroup
Theme URI: https://freshgroup.ge/
Description: FreshGroup native Gutenberg child theme with a production-tested component system.
Author: FreshGroup
Template: twentytwentyfive
Version: 0.3.1
Requires at least: 6.7
Requires PHP: 8.2
Text Domain: freshgroup
*/

@font-face {
  font-family: "BPG Glaho";
  src: url("assets/fonts/bpg-glaho.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "BPG Mrgvlovani Caps";
  src: url("assets/fonts/bpg-mrgvlovani-caps.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* Canonical breakpoints:
   portrait 0-477, landscape 478-767, tablet 768-1023,
   desktop 1024-1439, large 1440-1919, extra-large 1920+. */
:root {
  --fresh-dark: #17120f;
  --fresh-blue: #f25c05;
  --fresh-blue-deep: #c2410c;
  --fresh-active: #ea580c;
  --fresh-glow: #fb923c;
  --fresh-surface: #fdfdfd;
  --fresh-paper: #f5f5f5;
  --fresh-text: #2e2b2b;
  --fresh-white: #fff;
  --fresh-content: 1440px;
  --fresh-page-gutter: clamp(18px, 3vw, 40px);
  --fresh-gap: 20px;
  --fresh-transition: 220ms ease;
  --fresh-type-meta: 14px;
  --fresh-type-small: 15px;
  --fresh-type-body: clamp(16px, calc(15.5px + 0.1vw), 17px);
  --fresh-type-lead: clamp(17px, calc(16.5px + 0.1vw), 18px);
  --fresh-type-nav: 16px;
  --fresh-type-button: clamp(16px, calc(15.5px + 0.1vw), 17px);
  --fresh-type-card-title: clamp(18px, 1.55vw, 22px);
  --fresh-type-section-title: clamp(26px, 2.5vw, 36px);
  --fresh-type-hero: clamp(28px, 3.35vw, 48px);
  --fresh-type-faq: clamp(16px, calc(15.5px + 0.1vw), 17px);
  --fresh-type-footer-title: 16px;
  --fresh-type-footer: 15px;
  --fresh-type-copyright: clamp(13px, calc(12.5px + 0.1vw), 14px);
  --fresh-leading-body: 1.65;
  --fresh-leading-lead: 1.6;
  --fresh-leading-title: 1.3;
  --fresh-leading-section: 1.2;
  --fresh-leading-hero: 1.1;
  --fresh-weight-heading: 700;
  --fresh-section-space-y: clamp(40px, 7vw, 70px);
  --fresh-section-heading-space-top: var(--fresh-section-space-y);
  --fresh-section-heading-space-after: clamp(22px, 2vw, 30px);
  --fresh-section-space-bottom: var(--fresh-section-space-y);
  --fresh-section-divider-width: 48px;
  --fresh-section-divider-height: 3px;
  --fresh-section-divider-offset: clamp(14px, 1.4vw, 18px);
  --fresh-radius-sm: 5px;
  --fresh-radius-md: 5px;
  --fresh-radius-lg: 5px;
  --fresh-section-radius: clamp(32px, 4.5vw, 72px);
  --fresh-button-height: 50px;
  --fresh-button-padding: 12px 24px;
  --fresh-button-shadow: 0 2px 8px rgba(194, 65, 12, 0.26);
  --fresh-button-shadow-glow: 0 8px 24px rgba(242, 92, 5, 0.32);
  --fresh-motion-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fresh-blue-surface:
    radial-gradient(ellipse at 50% -14%, rgba(255, 189, 128, 0.2), transparent 43%),
    radial-gradient(circle at 9% 20%, rgba(242, 92, 5, 0.34), transparent 33%),
    radial-gradient(circle at 91% 70%, rgba(234, 88, 12, 0.24), transparent 38%),
    radial-gradient(ellipse at 52% 108%, rgba(194, 65, 12, 0.18), transparent 40%),
    linear-gradient(145deg, #17120f 0%, #3a1b0b 54%, #17120f 100%);
  --fresh-navigation-surface: var(--fresh-white);
  --fresh-denim-size: 768px;

  /*
   * Live-site palette (freshgroup.ge).
   * The public site is a light system: white page, orange signal, cool-grey
   * type. These tokens carry its exact values so components can match it
   * instead of the inherited dark LUXWEB surfaces.
   */
  --fresh-title: #111827;
  --fresh-muted: #646b78;
  --fresh-faint: #6e7581;
  --fresh-line: #e5e7eb;
  --fresh-disabled: #d1d5db;
  --fresh-alt: #f97316;
  --fresh-accent-tint: #fff3ea;
  --fresh-on-accent-muted: #ffffff;
  /* Owner rejected the live site's near-black footer end: the brand uses no
     black, so the gradient resolves into deep orange instead. */
  --fresh-footer-end: #9a3412;
  /* Secondary text on the hero's orange field: 6.1:1 on #ffa760. */
  --fresh-on-orange: #5a2c10;
  --fresh-card-radius: 16px;
  --fresh-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

  /* Chrome surfaces, matched to the live site. */
  --fresh-header-surface: var(--fresh-white);
  --fresh-footer-surface: linear-gradient(180deg, #ea580c 0%, var(--fresh-footer-end) 130%);
  --fresh-denim-surface: var(--fresh-accent-tint);

  /* The live site carries no woven texture; keep the mechanism, mute it. */
  --fresh-denim-opacity: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  color: var(--fresh-white);
  background: var(--fresh-active);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--fresh-text);
  background: var(--fresh-surface);
  font-family: "BPG Glaho", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-body);
  line-height: var(--fresh-leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

:where(a, button, summary, input, [tabindex]):focus,
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 0 !important;
}

:where(
  .wp-element-button,
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close,
  .wp-block-search__button,
  .wp-social-link a
):focus,
:where(
  .wp-element-button,
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close,
  .wp-block-search__button,
  .wp-social-link a
):focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

/* Button design system */
:where(.wp-block-button__link, .wp-element-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--fresh-button-height);
  padding: var(--fresh-button-padding);
  border: 1px solid var(--fresh-blue-deep);
  border-radius: var(--fresh-radius-lg) !important;
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-button);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition:
    color 240ms ease,
    border-color 240ms ease,
    background 360ms var(--fresh-motion-out),
    box-shadow 280ms ease,
    transform 280ms var(--fresh-motion-out);
}

:where(.wp-block-button__link, .wp-element-button):hover {
  border-color: var(--fresh-blue-deep);
  color: var(--fresh-white);
  background: linear-gradient(112deg, var(--fresh-dark) -18%, var(--fresh-blue-deep) 68%, var(--fresh-blue) 118%);
  box-shadow: var(--fresh-button-shadow-glow);
  transform: translateY(-2px);
}

.wp-block-button.is-style-outline > :where(.wp-block-button__link, .wp-element-button) {
  border-color: var(--fresh-blue-deep);
  color: var(--fresh-blue-deep);
  background: transparent;
  box-shadow: none;
}

.wp-block-button.is-style-outline > :where(.wp-block-button__link, .wp-element-button):hover {
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow-glow);
}

.lux-ui-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lux-ui-button:active {
  box-shadow: 0 2px 7px rgba(23, 18, 15, 0.24);
  transform: translateY(0) scale(0.975);
  transition-duration: 80ms;
}

.lux-ui-button--primary {
  border-color: var(--fresh-blue-deep);
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow);
}

.lux-ui-button--secondary {
  border-color: var(--fresh-blue-deep);
  color: var(--fresh-blue-deep);
  background: transparent;
  box-shadow: none;
}

.lux-ui-button--secondary:hover {
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow-glow);
}

.lux-ui-button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--fresh-white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.lux-ui-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--fresh-white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--fresh-button-shadow-glow);
}

.lux-ui-button--icon {
  flex: 0 0 auto;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 50% !important;
}

.lux-ui-button--compact {
  min-width: 33px;
  min-height: 33px;
  border-radius: var(--fresh-radius-md) !important;
}

.lux-ui-button > svg {
  position: relative;
  z-index: 2;
}

.lux-button-ripple {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  opacity: 0;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: lux-button-ripple 620ms ease-out;
}

@keyframes lux-button-ripple {
  0% {
    opacity: 0.44;
    transform: translate(-50%, -50%) scale(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@property --fresh-chase-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes lux-border-chase {
  to {
    --fresh-chase-angle: 360deg;
  }
}

.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-template-part,
main,
main .wp-block-post-content,
main .wp-block-post-content > * {
  margin-block-start: 0;
}

.wp-site-blocks {
  padding: 0;
}

main {
  background: var(--fresh-surface);
}

/* Header */
.lux-reference-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0);
  z-index: 1000;
  width: 100%;
  height: 65px;
  min-height: 65px;
  margin: 0 !important;
  padding: 0;
  color: var(--fresh-title);
  background: var(--fresh-header-surface);
  box-shadow: 0 1px 0 var(--fresh-line);
}

/* Live site runs an orange top strip above the white header row. */
.lux-reference-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: var(--fresh-active);
  content: "";
  pointer-events: none;
}

.lux-reference-header__inner {
  display: grid !important;
  grid-template-columns: 20% 60% 20%;
  align-items: center;
  gap: 0 !important;
  width: min(var(--fresh-content), 100%);
  height: 65px;
  margin: 0 auto !important;
  padding: 0 7px;
}

.lux-reference-logo {
  justify-self: start;
  margin: 0 !important;
  line-height: 0;
}

.lux-reference-logo a,
.lux-reference-logo a:focus,
.lux-reference-logo a:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.lux-reference-logo img {
  display: block;
  /* The mark is a square badge, so it is sized by height, never width. */
  width: auto !important;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.lux-reference-nav {
  justify-self: center;
  color: var(--fresh-title);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-nav);
  font-weight: 500;
}

.lux-reference-nav .wp-block-navigation__container {
  gap: 25px;
}

.lux-reference-nav .wp-block-navigation-item__content {
  padding: 22px 0;
  color: var(--fresh-title);
  transition: color var(--fresh-transition);
}

.lux-reference-nav .current-menu-item > .wp-block-navigation-item__content,
.lux-reference-nav .wp-block-navigation-item__content:hover,
.lux-reference-nav .wp-block-navigation-item__content:focus-visible {
  color: var(--fresh-active);
}

body.home .lux-reference-nav > .wp-block-navigation__container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content,
body.home .lux-reference-nav.wp-block-navigation__container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
  color: var(--fresh-active);
  box-shadow: inset 0 -2px 0 var(--fresh-active);
}

.lux-reference-nav .wp-block-navigation__submenu-container {
  min-width: 315px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-radius: 0 0 5px 5px;
  background: var(--fresh-white) !important;
  box-shadow: 0 8px 20px rgba(23, 18, 15, 0.15);
}

.lux-reference-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 9px 18px;
  color: var(--fresh-dark);
  line-height: 1.35;
}

.lux-reference-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.lux-reference-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  color: var(--fresh-active);
  background: rgba(234, 88, 12, 0.07);
}

.lux-reference-header__tools {
  justify-self: end;
  gap: 7px !important;
  margin: 0 !important;
}

.lux-reference-social {
  gap: 5px !important;
  margin: 0 !important;
}
/* Hero */
.lux-reference-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  margin: 0;
  padding: 0;
  background-image: url("assets/freshgroup/hero-background.webp");
  background-position: 50% 50%;
  background-size: cover;
}

.lux-reference-hero::before {
  z-index: 1;
}

.lux-reference-hero .wp-block-cover__video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-reference-hero .wp-block-cover__inner-container {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lux-reference-hero h1 {
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0;
  color: var(--fresh-white);
  font-family: "Dino Georgian Unicode", "Arial Black", Arial, sans-serif;
  font-weight: 400;
  line-height: var(--fresh-leading-hero) !important;
  text-align: center;
  text-transform: none;
}

.lux-reference-hero
  h1:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-hero);
}

.lux-reference-hero h1.lux-text-wave {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.lux-text-wave__word {
  display: inline-flex;
  justify-content: center;
  white-space: nowrap;
}

.lux-text-wave__space {
  display: none;
}

.lux-text-wave__letter {
  display: inline-block;
  font-size: min(1em, 10vw);
  color: var(--fresh-white);
  transform: translateY(0) scale(1);
  transform-origin: 50% 78%;
  animation: lux-hero-text-wave 6.4s var(--fresh-motion-out) infinite;
  animation-delay: var(--fresh-wave-delay, 1s);
  will-change: color, text-shadow, transform;
}

@keyframes lux-hero-text-wave {
  0%,
  14%,
  100% {
    color: var(--fresh-white);
    text-shadow: 0 0 0 rgba(255, 189, 128, 0);
    transform: translateY(0) scale(1);
  }

  5% {
    color: var(--fresh-glow);
    text-shadow:
      0 0 14px rgba(234, 88, 12, 0.58),
      0 0 30px rgba(242, 92, 5, 0.32);
    transform: translateY(-0.09em) scale(1.1);
  }

  9% {
    color: var(--fresh-active);
    text-shadow: 0 0 18px rgba(234, 88, 12, 0.34);
    transform: translateY(-0.025em) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lux-text-wave__letter {
    animation: none !important;
    will-change: auto;
  }
}

/* Premium action: reusable Gutenberg Button style and Hero CTA treatment. */
/*
 * Solid orange action button, matching freshgroup.ge. The tall two-line
 * variant this used to be belonged to LUXWEB; the live site uses a plain
 * single-line button.
 */
.wp-block-button:not(.is-style-lux-minimal)
  > :where(.wp-block-button__link, .wp-element-button),
.lux-ui-button--premium {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--fresh-button-height);
  padding: var(--fresh-button-padding);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px !important;
  color: var(--fresh-white);
  background: var(--fresh-blue);
  box-shadow: none;
  text-decoration: none;
  transform: translateY(0) scale(1);
  transition:
    border-color 260ms ease,
    background 420ms var(--fresh-motion-out),
    box-shadow 320ms ease,
    transform 320ms var(--fresh-motion-out);
}

/* Outline variant: orange rule on the page background, fills on hover. */
.wp-block-button:not(.is-style-lux-minimal).is-style-outline
  > :where(.wp-block-button__link, .wp-element-button),
.lux-ui-button--premium-secondary {
  border-color: var(--fresh-blue);
  color: var(--fresh-blue);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.wp-block-button:not(.is-style-lux-minimal)
  > :where(.wp-block-button__link, .wp-element-button):hover,
/* Filled button inverts to its outline on hover. */
.lux-ui-button--premium:hover,
.lux-ui-button--premium:focus-visible {
  border-color: var(--fresh-blue);
  color: var(--fresh-blue);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.wp-block-button:not(.is-style-lux-minimal).is-style-outline
  > :where(.wp-block-button__link, .wp-element-button):hover,
/* …and the outline button fills, so the pair always swap states. */
.lux-ui-button--premium-secondary:hover,
.lux-ui-button--premium-secondary:focus-visible {
  border-color: var(--fresh-blue);
  color: var(--fresh-white);
  background: var(--fresh-blue);
}

.wp-block-button.is-style-lux-premium-compact
  > :where(.wp-block-button__link, .wp-element-button),
.lux-ui-button--premium-compact {
  min-height: 42px;
  padding: 8px 18px;
}

.wp-block-button.is-style-lux-minimal
  > :where(.wp-block-button__link, .wp-element-button) {
  min-height: var(--fresh-button-height);
  padding: var(--fresh-button-padding);
  border: 1px solid var(--fresh-blue-deep);
  border-radius: 5px !important;
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow);
}

.wp-block-button.is-style-lux-minimal
  > :where(.wp-block-button__link, .wp-element-button):hover {
  color: var(--fresh-white);
  background: linear-gradient(112deg, var(--fresh-dark) -18%, var(--fresh-blue-deep) 68%, var(--fresh-blue) 118%);
  box-shadow: var(--fresh-button-shadow-glow);
}

.lux-ui-button--premium:active {
  transform: translateY(0) scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
  .lux-ui-button--premium {
    transition-duration: 0.01ms !important;
  }

  .lux-ui-button--premium:hover {
    transform: none;
  }
}

/*
 * 404
 * The parent theme's version was English and pointed at a search form this
 * site does not have. This one reuses the section shell and the call card, so
 * it inherits the rest of the design without new colour or spacing decisions.
 */
.fresh-404 {
  display: grid !important;
  place-items: center;
  min-height: clamp(320px, 34vw, 460px);
}

.fresh-404__panel {
  width: min(680px, 100%);
  margin: 0 auto !important;
  text-align: center;
}

.fresh-404__code {
  margin: 0 0 6px !important;
  color: var(--fresh-active);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.fresh-404__title {
  margin: 0 0 12px !important;
  color: var(--fresh-title) !important;
}

.fresh-404__note {
  margin: 0 auto 26px !important;
  max-width: 46ch;
  color: var(--fresh-muted);
}

.fresh-404__actions {
  justify-content: center;
}

@media (max-width: 599px) {
  .fresh-404__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fresh-404__actions .wp-block-button__link {
    width: 100%;
  }
}

/*
 * Standing call button, bottom-left.
 * The social rail sits at the same edge but is vertically centred and hidden
 * below 1180px, so the two never meet. It collapses to a circle on small
 * screens and expands to show the number where there is room.
 */
.lux-call-fab {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: calc(20px + env(safe-area-inset-left, 0px));
  z-index: 970;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--fresh-white);
  background: var(--fresh-blue);
  box-shadow: 0 10px 26px rgba(194, 65, 12, 0.34);
  text-decoration: none !important;
  transition:
    transform 260ms var(--fresh-motion-out),
    box-shadow 260ms ease,
    background 200ms ease;
}

.lux-call-fab svg {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.lux-call-fab__label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    max-width 320ms var(--fresh-motion-out),
    opacity 200ms ease,
    padding 320ms var(--fresh-motion-out);
}

.lux-call-fab:hover,
.lux-call-fab:focus-visible {
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: 0 14px 32px rgba(194, 65, 12, 0.42);
  transform: translateY(-2px);
}

.lux-call-fab:hover .lux-call-fab__label,
.lux-call-fab:focus-visible .lux-call-fab__label {
  max-width: 190px;
  padding-right: 10px;
  opacity: 1;
}

.lux-call-fab:focus-visible {
  outline: 3px solid var(--fresh-white);
  outline-offset: 3px;
}

.lux-call-fab:active {
  transform: translateY(0) scale(0.97);
}

/* The overlay owns the screen while it is open. */
body.lux-menu-open .lux-call-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}

@media (max-width: 767px) {
  .lux-call-fab {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: calc(16px + env(safe-area-inset-left, 0px));
    height: 52px;
  }

  .lux-call-fab svg {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  /* No hover on touch, so the number would never appear — keep it a circle. */
  .lux-call-fab__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lux-call-fab,
  .lux-call-fab__label {
    transition-duration: 0.01ms !important;
  }

  .lux-call-fab:hover {
    transform: none;
  }
}

/* Homepage sections */
.lux-reference-section {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding-top: var(--fresh-section-space-y) !important;
  padding-bottom: var(--fresh-section-space-y) !important;
  overflow: hidden;
  background: var(--fresh-surface);
}

.lux-reference-section > * {
  position: relative;
  z-index: 1;
}

/* Gutenberg: Group > Styles > FreshGroup — მომრგვალებული … */
:where(
  .wp-block-group.is-style-lux-rounded-top,
  .wp-block-group.is-style-lux-rounded-bottom,
  .wp-block-group.is-style-lux-rounded,
  .wp-block-cover.is-style-lux-rounded-top,
  .wp-block-cover.is-style-lux-rounded-bottom,
  .wp-block-cover.is-style-lux-rounded
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
}

:where(.wp-block-group, .wp-block-cover).is-style-lux-rounded-top {
  border-radius: var(--fresh-section-radius) var(--fresh-section-radius) 0 0;
}

:where(.wp-block-group, .wp-block-cover).is-style-lux-rounded-bottom {
  border-radius: 0 0 var(--fresh-section-radius) var(--fresh-section-radius);
}

:where(.wp-block-group, .wp-block-cover).is-style-lux-rounded {
  border-radius: var(--fresh-section-radius);
}

/*
 * FreshGroup woven surface
 * Gutenberg: Group > Styles > FreshGroup — Warm woven surface
 * Utility class: lux-denim-bg
 */
:where(
  .lux-denim-bg,
  .is-style-lux-denim,
  .lux-reference-header,
  .lux-reference-footer,
  .lux-reference-copyright
),
.lux-reference-work.lux-slider-ready {
  position: relative;
  isolation: isolate;
}

.wp-block-group.is-style-lux-denim {
  color: var(--fresh-text);
  background: var(--fresh-denim-surface) !important;
}

.wp-block-group.is-style-lux-denim > .wp-block-heading {
  color: var(--fresh-title) !important;
}

:where(
  .lux-denim-bg,
  .is-style-lux-denim,
  .lux-reference-header,
  .lux-reference-footer,
  .lux-reference-copyright
)::after,
.lux-reference-work.lux-slider-ready::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/textures/fresh-woven.webp?v=1");
  background-repeat: repeat;
  background-position: center top;
  background-size: var(--fresh-denim-size) var(--fresh-denim-size);
  mix-blend-mode: soft-light;
  opacity: var(--fresh-denim-opacity);
  filter: grayscale(1) contrast(1.18) brightness(2.1);
  content: "";
  pointer-events: none;
}

:where(
  .lux-denim-bg,
  .is-style-lux-denim,
  .lux-reference-header,
  .lux-reference-footer,
  .lux-reference-copyright
) > * {
  position: relative;
  z-index: 1;
}

.lux-reference-section > .wp-block-heading {
  width: min(calc(100% - 40px), var(--fresh-content));
  margin: 0 auto var(--fresh-section-heading-space-after) !important;
  color: var(--fresh-dark);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-weight: var(--fresh-weight-heading);
  line-height: var(--fresh-leading-section);
  text-align: center;
}

.lux-reference-section
  > .wp-block-heading:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-section-title);
}

.lux-reference-section > .wp-block-heading::after {
  display: block;
  width: var(--fresh-section-divider-width);
  height: var(--fresh-section-divider-height);
  margin: var(--fresh-section-divider-offset) auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fresh-blue-deep), var(--fresh-active), var(--fresh-glow));
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.22);
  content: "";
}

.lux-reference-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-reference-card-grid > .wp-block-column {
  min-width: 0;
}

.lux-reference-card {
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--fresh-line) !important;
  border-radius: var(--fresh-card-radius) !important;
  background: var(--fresh-white);
  box-shadow: var(--fresh-card-shadow);
  transition: box-shadow var(--fresh-transition), border-color var(--fresh-transition);
}

.lux-reference-card:hover {
  border-color: var(--fresh-disabled) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.lux-reference-card .wp-block-image {
  margin: 0 !important;
  overflow: hidden;
}

.lux-reference-card .wp-block-image a {
  display: block;
  line-height: 0;
}

.lux-reference-card .wp-block-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: filter var(--fresh-transition);
}

.lux-reference-card:hover .wp-block-image img {
  filter: brightness(1.2);
}

.lux-reference-card .wp-block-heading {
  margin: 10px 10px 25px !important;
  color: var(--fresh-dark);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-weight: 600;
  line-height: var(--fresh-leading-title);
}

.lux-reference-card
  .wp-block-heading:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-card-title);
}

.lux-reference-card .wp-block-heading a {
  color: var(--fresh-dark);
  transition: color var(--fresh-transition);
}

.lux-reference-work {
  height: auto;
  min-height: 0;
}

.lux-reference-work .lux-reference-card-grid + .lux-reference-card-grid {
  margin-top: 20px !important;
}

.lux-reference-work .lux-reference-card-grid {
  transform: translateY(4px);
}

.lux-reference-work > .wp-block-heading + .lux-reference-card-grid {
  margin-top: 4px !important;
}

.lux-reference-work-card {
  height: 379px;
}

.lux-reference-work-card .wp-block-image img {
  aspect-ratio: 7 / 5;
}

/* Gutenberg pattern preview and no-JavaScript fallback for post-powered glow sliders. */
.lux-glow-slider:not(.lux-slider-ready) .lux-glow-slider__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(100% - 40px, 1440px);
  margin: 24px auto 0 !important;
  padding: 0;
  list-style: none;
}

.lux-glow-slider:not(.lux-slider-ready) .lux-glow-slider__grid > .wp-block-post {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 8px solid transparent;
  border-radius: 40px;
  background:
    linear-gradient(var(--fresh-dark), var(--fresh-dark)) padding-box,
    conic-gradient(
      from var(--fresh-chase-angle),
      var(--fresh-white) 0deg,
      rgba(255, 255, 255, 0.9) 6deg,
      rgba(255, 255, 255, 0) 20deg,
      transparent 20deg 160deg,
      rgba(251, 146, 60, 0) 160deg,
      var(--fresh-glow) 172deg,
      var(--fresh-blue) 176deg 184deg,
      var(--fresh-glow) 188deg,
      rgba(242, 92, 5, 0) 200deg,
      transparent 200deg 340deg,
      rgba(255, 255, 255, 0) 340deg,
      var(--fresh-white) 356deg 360deg
    ) border-box,
    linear-gradient(
      112deg,
      var(--fresh-dark) -18%,
      var(--fresh-blue-deep) 54%,
      var(--fresh-blue) 82%,
      var(--fresh-glow) 118%
    ) border-box;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  animation: lux-border-chase 8.8s linear infinite;
  will-change: --fresh-chase-angle;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .lux-post-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: auto;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .wp-block-post-featured-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(23, 18, 15, 0.9), transparent);
  content: "";
  pointer-events: none;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .lux-post-card__media::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 44%;
  background: linear-gradient(to top, rgba(23, 18, 15, 0.9), transparent);
  content: "";
  pointer-events: none;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .lux-post-card__media
  :is(img, iframe, video) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .lux-post-card__media
  :is(iframe, video) {
  object-fit: cover;
}

.lux-glow-slider:not(.lux-slider-ready)
  .lux-glow-slider__grid
  > .wp-block-post
  > .wp-block-post-title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 64px 26px 24px;
  color: var(--fresh-white);
  font-size: var(--fresh-type-card-title);
  line-height: var(--fresh-leading-title);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.56);
}

.lux-glow-slider:not(.lux-slider-ready) .wp-block-post-title a {
  color: inherit !important;
}

.lux-glow-slider .wp-block-query-no-results {
  width: min(100% - 40px, 1440px);
  margin: 30px auto 0;
  color: var(--fresh-white);
}

/* Lightweight Gutenberg Post Carousel: native Query Loop + scroll snap first, JS controls second. */
.lux-post-carousel {
  isolation: isolate;
  overflow: clip;
}

.lux-post-carousel__query {
  width: min(calc(100% - 40px), var(--fresh-content));
  max-width: var(--fresh-content) !important;
  margin: 0 auto !important;
}

.lux-post-carousel__track {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--fresh-gap) * 2)) / 3);
  gap: var(--fresh-gap) !important;
  width: 100%;
  margin: 0 !important;
  padding: 4px 2px 24px !important;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.lux-post-carousel__track.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.lux-post-carousel__track::-webkit-scrollbar {
  display: none;
}

.lux-post-carousel__track:focus-visible {
  border-radius: var(--fresh-radius-md);
  box-shadow: inset 0 0 0 2px rgba(194, 65, 12, 0.5) !important;
}

.lux-post-carousel__track > .wp-block-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(23, 18, 15, 0.09);
  border-radius: var(--fresh-radius-lg);
  background: var(--fresh-white);
  box-shadow: 0 4px 24px rgba(23, 18, 15, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease;
}

.lux-post-carousel__track > .wp-block-post:hover,
.lux-post-carousel__track > .wp-block-post:focus-within {
  border-color: rgba(194, 65, 12, 0.36);
  box-shadow: var(--fresh-button-shadow-glow);
}

.lux-post-carousel__track
  > .wp-block-post:not(:has(.wp-block-post-featured-image)):not(:has(.lux-post-card__media))::before {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(194, 65, 12, 0.16), rgba(251, 146, 60, 0.05)),
    var(--fresh-paper);
  content: "";
}

.lux-post-carousel__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: clamp(20px, 2vw, 28px);
}

.lux-post-carousel__body > * {
  width: 100%;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.lux-post-carousel__body .wp-block-post-date {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--fresh-blue-deep);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  font-weight: 600;
  line-height: 1.4;
}

.lux-post-carousel__body .wp-block-post-title {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--fresh-dark);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-weight: 600;
  line-height: var(--fresh-leading-title);
}

.lux-post-carousel__body
  .wp-block-post-title:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-card-title);
}

.lux-post-carousel__body .wp-block-post-title a {
  color: inherit !important;
}

.lux-post-carousel__body .wp-block-post-excerpt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 0;
  color: var(--fresh-text);
  font-size: var(--fresh-type-body);
  line-height: var(--fresh-leading-body);
}

.lux-post-carousel__body .wp-block-post-excerpt__excerpt {
  margin: 0 0 20px;
}

.lux-post-carousel__body .wp-block-post-excerpt__more-text {
  margin: auto 0 0;
}

.lux-post-carousel__body .wp-block-post-excerpt__more-link:not(.lux-ui-button--premium) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--fresh-blue-deep) !important;
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  font-weight: 600;
  line-height: 1.2;
  box-shadow: inset 0 -1px 0 currentColor;
}

.lux-post-carousel__body .wp-block-post-excerpt__more-link:not(.lux-ui-button--premium):hover,
.lux-post-carousel__body .wp-block-post-excerpt__more-link:not(.lux-ui-button--premium):focus-visible {
  color: var(--fresh-dark) !important;
  box-shadow: inset 0 -2px 0 var(--fresh-blue-deep) !important;
}

.lux-post-carousel__controls {
  display: grid;
  grid-template-columns: 50px minmax(150px, 320px) 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 500px);
  margin: 8px auto 0;
}

.lux-post-carousel__controls[hidden] {
  display: none;
}

.lux-post-carousel--single .lux-post-carousel__controls {
  display: none;
}

.lux-post-carousel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(194, 65, 12, 0.36);
  border-radius: var(--fresh-radius-md);
  color: var(--fresh-blue-deep);
  background: transparent;
  cursor: pointer;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.lux-post-carousel__button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lux-post-carousel__button:hover,
.lux-post-carousel__button:focus-visible {
  border-color: var(--fresh-blue-deep);
  color: var(--fresh-white);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow-glow) !important;
}

.lux-post-carousel__button:disabled {
  border-color: rgba(23, 18, 15, 0.12);
  color: rgba(23, 18, 15, 0.32);
  background: transparent;
  box-shadow: none !important;
  cursor: default;
}

.lux-post-carousel__status {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lux-post-carousel__counter {
  min-width: 86px;
  color: var(--fresh-dark);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lux-post-carousel__progress {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 18, 15, 0.12);
}

.lux-post-carousel__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fresh-blue-deep), var(--fresh-glow));
  transition: width 260ms var(--fresh-motion-out);
}

.lux-post-carousel .wp-block-query-no-results {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(23, 18, 15, 0.09);
  border-radius: var(--fresh-radius-lg);
  background: var(--fresh-paper);
}

@media (max-width: 1023px) {
  .lux-post-carousel__track {
    grid-auto-columns: calc((100% - var(--fresh-gap)) / 2);
  }
}

@media (max-width: 767px) {
  .lux-reference-footer a,
  .lux-reference-copyright a {
    display: inline-block;
    padding-block: 6px;
  }


  .lux-post-carousel__query {
    width: 90%;
  }

  .lux-post-carousel__track {
    grid-auto-columns: min(86vw, 340px);
    gap: 14px !important;
    padding-bottom: 18px !important;
  }

  .lux-post-carousel__track > .wp-block-post {
    min-height: 420px;
  }

  .lux-post-carousel__controls {
    grid-template-columns: 46px minmax(120px, 1fr) 46px;
    gap: 12px;
    width: 100%;
  }

  .lux-post-carousel__button {
    width: 46px;
    height: 46px;
  }

  .lux-post-carousel__status {
    gap: 10px;
  }

  .lux-post-carousel__counter {
    min-width: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lux-post-carousel__track {
    scroll-behavior: auto;
  }

  .lux-post-carousel__progress-fill {
    transition: none;
  }
}

/* Unified Post Cards pattern: the same Query Loop can be a grid or a carousel. */
.lux-post-cards {
  --fresh-post-cards-columns: 3;
  --fresh-post-cards-gap: 20px;
  --fresh-post-card-content-gap: 18px;
}

.lux-post-cards-columns-1 {
  --fresh-post-cards-columns: 1;
}

.lux-post-cards-columns-2 {
  --fresh-post-cards-columns: 2;
}

.lux-post-cards-columns-3 {
  --fresh-post-cards-columns: 3;
}

.lux-post-cards-columns-4 {
  --fresh-post-cards-columns: 4;
}

.lux-post-cards__query {
  width: min(calc(100% - 40px), var(--fresh-content));
  max-width: var(--fresh-content) !important;
  margin: 0 auto !important;
}

.lux-post-cards .lux-post-cards__grid {
  display: grid !important;
  grid-template-columns: repeat(var(--fresh-post-cards-columns), minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  align-items: stretch;
  justify-items: stretch;
  gap: var(--fresh-post-cards-gap) !important;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  overflow-y: visible;
  list-style: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: default;
}

/*
 * A lone card keeps a card's width and sits centred. Stretching it across the
 * full row made one product look like a banner and blew its photo up to a
 * crop, which is what the section is least able to carry.
 */
.lux-post-cards .lux-post-cards__grid:has(> .wp-block-post:only-child) {
  grid-template-columns: minmax(0, min(100%, 460px)) !important;
  grid-auto-columns: min(100%, 460px) !important;
  justify-content: center;
}

/*
 * Never open more columns than the query actually returns. A section set to
 * three columns holding two posts otherwise leaves an empty third track, which
 * reads as a card that failed to load rather than a deliberate pair.
 * The column count is a custom property, so overriding it here is enough —
 * the grid's own repeat() picks the new value up.
 *
 * Scoped above the tablet breakpoint on purpose: below it the section already
 * steps down to two columns, and this rule sits on the grid, so leaving it
 * unscoped would out-specify that and force three narrow columns on a phone.
 */
@media (min-width: 1024px) {
  .lux-post-cards .lux-post-cards__grid:has(> .wp-block-post:nth-child(2):last-child) {
    --fresh-post-cards-columns: 2;
  }

  .lux-post-cards .lux-post-cards__grid:has(> .wp-block-post:nth-child(3):last-child) {
    --fresh-post-cards-columns: 3;
  }
}

/* Two cards on a tablet still fill their row rather than leaving a gap. */
@media (min-width: 600px) and (max-width: 1023px) {
  .lux-post-cards .lux-post-cards__grid:has(> .wp-block-post:nth-child(2):last-child) {
    --fresh-post-cards-columns: 2;
  }
}

.lux-post-cards--carousel.lux-post-cards-columns-1 .lux-post-cards__grid {
  grid-auto-columns: 100%;
}

.lux-post-cards--carousel.lux-post-cards-columns-2 .lux-post-cards__grid {
  grid-auto-columns: calc((100% - var(--fresh-post-cards-gap)) / 2);
}

.lux-post-cards--carousel.lux-post-cards-columns-3 .lux-post-cards__grid {
  grid-auto-columns: calc((100% - (var(--fresh-post-cards-gap) * 2)) / 3);
}

.lux-post-cards--carousel.lux-post-cards-columns-4 .lux-post-cards__grid {
  grid-auto-columns: calc((100% - (var(--fresh-post-cards-gap) * 3)) / 4);
}

@media (min-width: 768px) {
  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel)
    .lux-post-cards__grid {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    padding: 4px 2px 24px !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    cursor: grab;
  }

  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel).lux-post-cards-columns-1
    .lux-post-cards__grid {
    grid-auto-columns: 100%;
  }

  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel).lux-post-cards-columns-2
    .lux-post-cards__grid {
    grid-auto-columns: calc((100% - var(--fresh-post-cards-gap)) / 2);
  }

  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel).lux-post-cards-columns-3
    .lux-post-cards__grid {
    grid-auto-columns: calc((100% - (var(--fresh-post-cards-gap) * 2)) / 3);
  }

  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel).lux-post-cards-columns-4
    .lux-post-cards__grid {
    grid-auto-columns: calc((100% - (var(--fresh-post-cards-gap) * 3)) / 4);
  }

  .lux-post-cards-carousel-desktop-off .lux-post-carousel__controls {
    display: none !important;
  }
}

.lux-post-cards .lux-post-cards__grid > .wp-block-post {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(23, 18, 15, 0.1);
  border-radius: var(--fresh-radius-lg);
  background: #f8f9fb;
  box-shadow: 0 8px 26px rgba(23, 18, 15, 0.08);
  scroll-snap-align: start;
  transition:
    border-color 220ms ease,
    box-shadow 280ms var(--fresh-motion-out),
    transform 280ms var(--fresh-motion-out);
}

.lux-post-cards .lux-post-cards__grid > .wp-block-post:hover,
.lux-post-cards .lux-post-cards__grid > .wp-block-post:focus-within {
  border-color: rgba(194, 65, 12, 0.34);
  box-shadow: 0 14px 38px rgba(23, 18, 15, 0.13);
  transform: translateY(-3px);
}

.wp-block-freshgroup-post-card-media.lux-post-card__media,
.lux-post-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  /* Product shots are near square; a 16/9 window cut the cabins in half. */
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  overflow: hidden;
  background: var(--fresh-white);
}

/* Video fills its frame, so it keeps the dark surround the poster needs. */
.lux-post-card__media--youtube,
.lux-post-card__media--mp4 {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--fresh-dark), #4a1f0a);
}

.lux-post-card__media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--fresh-blue-deep), var(--fresh-active), var(--fresh-glow));
  content: "";
  pointer-events: none;
}

.lux-post-card__media > a:not(.lux-post-card__youtube-link) {
  display: block;
  width: 100%;
  height: 100%;
}

.lux-post-card__media picture,
.lux-post-card__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.lux-post-card__media img,
.lux-post-card__media iframe,
.lux-post-card__media video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  /* Show the whole product; letterboxing is preferable to a cropped cabin. */
  object-fit: contain;
}

.lux-post-card__media iframe,
.lux-post-card__media video {
  object-fit: cover;
}

.lux-post-card__media iframe,
.lux-post-card__media video {
  background: #000;
}

.lux-post-card__youtube-link {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: auto !important;
  height: auto !important;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--fresh-radius-md);
  color: var(--fresh-white) !important;
  background: rgba(23, 18, 15, 0.74);
  box-shadow: 0 8px 22px rgba(23, 18, 15, 0.28);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.lux-post-card__youtube-link:hover,
.lux-post-card__youtube-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--fresh-white) !important;
  background: #ff0033;
  transform: translateY(-2px);
}

.lux-post-card__media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  text-align: center;
}

.lux-post-card__media-placeholder--video {
  align-content: center;
  gap: 10px;
}

.lux-post-card__media-placeholder--video strong {
  color: var(--fresh-white);
  font-size: 18px;
}

.lux-post-card__media-placeholder--video span {
  max-width: 34ch;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.lux-post-cards .lux-post-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  padding: clamp(20px, 2vw, 26px) !important;
}

.lux-post-cards .lux-post-card__body > * {
  width: 100%;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.lux-post-cards .lux-post-card__title {
  display: -webkit-box;
  min-height: calc(2em * var(--fresh-leading-title));
  margin: 0 0 var(--fresh-post-card-content-gap) !important;
  overflow: hidden;
  color: var(--fresh-dark);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-weight: 600;
  line-height: var(--fresh-leading-title);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lux-post-cards
  .lux-post-card__title:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-card-title);
}

.lux-post-cards .lux-post-card__title a {
  color: inherit !important;
}

.lux-post-cards .lux-post-card__excerpt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  color: #6b625d;
  font-size: var(--fresh-type-body);
  line-height: 1.55;
}

.lux-post-cards .lux-post-card__excerpt .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  margin: 0 0 var(--fresh-post-card-content-gap);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.lux-post-cards-description-off .wp-block-post-excerpt__excerpt {
  display: none !important;
}

.lux-post-cards .lux-post-card__excerpt .wp-block-post-excerpt__more-text {
  margin: auto 0 0;
}

.lux-post-cards
  .lux-post-card__excerpt
  .wp-block-post-excerpt__more-link:not(.lux-ui-button--premium) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--fresh-blue);
  border-radius: var(--fresh-radius-lg);
  color: var(--fresh-blue) !important;
  background: transparent;
  box-shadow: none;
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-button);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 260ms ease;
}

.lux-post-cards
  .lux-post-card__excerpt
  .wp-block-post-excerpt__more-link:not(.lux-ui-button--premium):hover,
.lux-post-cards
  .lux-post-card__excerpt
  .wp-block-post-excerpt__more-link:not(.lux-ui-button--premium):focus-visible {
  color: var(--fresh-white) !important;
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow);
}

/* Post Cards carousel controls: clean circles, positioned per viewport. */
.lux-post-cards .lux-post-carousel__controls {
  z-index: 5;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  margin: 18px auto 0;
}

.lux-post-cards .lux-post-carousel__controls[hidden] {
  display: none !important;
}

.lux-post-cards .lux-post-carousel__status {
  display: none;
}

.lux-post-cards .lux-post-carousel__button {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(194, 65, 12, 0.12);
  border-radius: 50%;
  color: var(--fresh-blue-deep);
  background: var(--fresh-white);
  box-shadow:
    0 10px 28px rgba(23, 18, 15, 0.14),
    0 2px 8px rgba(194, 65, 12, 0.08);
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 260ms var(--fresh-motion-out),
    transform 260ms var(--fresh-motion-out);
}

.lux-post-cards .lux-post-carousel__button svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.6;
}

.lux-post-cards .lux-post-carousel__button:hover,
.lux-post-cards .lux-post-carousel__button:focus-visible {
  border-color: transparent;
  color: var(--fresh-white);
  background: linear-gradient(135deg, var(--fresh-blue-deep), var(--fresh-blue));
  box-shadow:
    0 14px 34px rgba(194, 65, 12, 0.28),
    0 0 0 4px rgba(251, 146, 60, 0.1) !important;
  transform: translateY(-2px);
}

.lux-post-cards .lux-post-carousel__button:active {
  transform: translateY(0) scale(0.96);
}

@media (min-width: 768px) {
  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel)
    .lux-post-cards__query {
    position: relative;
    padding-top: 68px;
  }

  :is(.lux-post-cards-carousel-desktop-on, .lux-post-cards--carousel)
    .lux-post-carousel__controls {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
  }
}

.lux-post-cards--grid .lux-post-carousel__controls {
  display: none !important;
}

@media (max-width: 1023px) {
  .lux-post-cards-columns-3,
  .lux-post-cards-columns-4 {
    --fresh-post-cards-columns: 2;
  }

  .lux-post-cards--carousel.lux-post-cards-columns-3 .lux-post-cards__grid,
  .lux-post-cards--carousel.lux-post-cards-columns-4 .lux-post-cards__grid,
  .lux-post-cards-carousel-desktop-on.lux-post-cards-columns-3 .lux-post-cards__grid,
  .lux-post-cards-carousel-desktop-on.lux-post-cards-columns-4 .lux-post-cards__grid {
    grid-auto-columns: calc((100% - var(--fresh-post-cards-gap)) / 2);
  }
}

@media (max-width: 767px) {
  .lux-post-cards {
    --fresh-post-cards-columns: 1;
    --fresh-post-cards-gap: 14px;
  }

  .lux-post-cards__query {
    width: 90%;
  }

  :is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-cards__grid {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 340px) !important;
    padding: 4px 2px 18px !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    cursor: grab;
  }

  :is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-cards__grid:has(> .wp-block-post:only-child) {
    grid-auto-columns: 100% !important;
  }

  .lux-post-cards-carousel-mobile-off .lux-post-carousel__controls {
    display: none !important;
  }

  :is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-carousel__controls {
    position: static;
    gap: 18px;
    width: 100%;
    margin: 16px auto 0;
  }

  .lux-post-cards .lux-post-carousel__button {
    width: 58px;
    height: 58px;
  }

  .lux-post-cards .lux-post-carousel__button svg {
    width: 24px;
    height: 24px;
  }

  .lux-post-cards .lux-post-cards__grid > .wp-block-post {
    min-height: 0;
  }
}

/* Portfolio slider: the Gutenberg cards stay native; JavaScript enhances them on the front end. */
.lux-reference-work.lux-slider-ready {
  height: auto;
  min-height: 0;
  overflow: hidden;
  color: var(--fresh-white);
  background: var(--fresh-blue-surface);
}

.lux-reference-work.lux-slider-ready::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.lux-reference-work.lux-slider-ready > .wp-block-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 34px !important;
  color: var(--fresh-white);
}

.lux-reference-work.lux-slider-ready
  > .wp-block-heading:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-section-title);
}

.lux-reference-work.lux-slider-ready > .wp-block-heading::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--fresh-active);
  box-shadow: 0 0 22px rgba(234, 88, 12, 0.72);
  content: "";
}

.lux-portfolio-slider {
  --fresh-slide-gap: clamp(18px, 2.15vw, 34px);
  --fresh-slide-width: min(90vw, 1220px);
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0;
}

.lux-portfolio-viewport {
  width: calc(
    100%
    - var(--fresh-slider-source-padding-left, 0px)
    - var(--fresh-slider-source-padding-right, 0px)
  );
  margin-right: var(--fresh-slider-source-padding-right, 0px);
  margin-left: var(--fresh-slider-source-padding-left, 0px);
  padding: 30px 0 34px;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.lux-portfolio-viewport.is-dragging {
  cursor: grabbing;
}

.lux-portfolio-viewport.is-dragging .lux-portfolio-track {
  transition: none;
}

.lux-portfolio-track {
  display: flex;
  align-items: center;
  gap: var(--fresh-slide-gap);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-portfolio-track.is-jumping {
  transition: none !important;
}

.lux-portfolio-slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 var(--fresh-slide-width);
  width: var(--fresh-slide-width);
  opacity: 0.38;
  filter: saturate(0.6) brightness(0.72);
  transform: scale(0.94);
  transform-origin: center;
  transition:
    opacity 720ms ease,
    filter 720ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-portfolio-slide::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 40px;
  opacity: 0.16;
  background: linear-gradient(
    137deg,
    var(--fresh-glow) 0%,
    rgba(255, 189, 128, 0.9) 45%,
    var(--fresh-blue) 100%
  );
  filter: blur(45px);
  transform: scale(0.92);
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
  pointer-events: none;
}

.lux-portfolio-slide.is-active {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.lux-reference-work.lux-slider-in-view .lux-portfolio-slide.is-active::before {
  opacity: 0.6;
  transform: scale(0.98);
}

.lux-portfolio-slide .lux-reference-work-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  height: clamp(420px, 48vw, 650px);
  min-height: 420px;
  overflow: hidden;
  border: 8px solid transparent !important;
  border-radius: 40px !important;
  background:
    linear-gradient(var(--fresh-dark), var(--fresh-dark)) padding-box,
    conic-gradient(
      from var(--fresh-chase-angle),
      var(--fresh-white) 0deg,
      rgba(255, 255, 255, 0.9) 6deg,
      rgba(255, 255, 255, 0) 20deg,
      transparent 20deg 160deg,
      rgba(251, 146, 60, 0) 160deg,
      var(--fresh-glow) 172deg,
      var(--fresh-blue) 176deg 184deg,
      var(--fresh-glow) 188deg,
      rgba(242, 92, 5, 0) 200deg,
      transparent 200deg 340deg,
      rgba(255, 255, 255, 0) 340deg,
      var(--fresh-white) 356deg 360deg
    ) border-box,
    linear-gradient(
      112deg,
      var(--fresh-dark) -18%,
      var(--fresh-blue-deep) 54%,
      var(--fresh-blue) 82%,
      var(--fresh-glow) 118%
    ) border-box;
  backface-visibility: hidden;
  transform: translateZ(0);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  transition: box-shadow 720ms ease, transform 720ms ease;
  animation: lux-border-chase 8.8s linear infinite;
  animation-play-state: paused;
  will-change: --fresh-chase-angle;
}

.lux-portfolio-slide.is-active .lux-reference-work-card {
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}

.lux-portfolio-slide .lux-reference-work-card::after {
  content: none;
}

.lux-reference-work.lux-slider-in-view
  .lux-portfolio-slide.is-active
  .lux-reference-work-card {
  animation-play-state: running;
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 32px;
  background: var(--fresh-dark);
}

.lux-portfolio-slide
  .lux-reference-work-card
  .wp-block-image
  a:not(.lux-post-card__youtube-link) {
  display: block;
  width: 100%;
  height: 100%;
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-image::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 44%;
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(23, 18, 15, 0.9) 0%,
    rgba(23, 18, 15, 0.46) 45%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  filter: none;
  object-fit: cover;
  transform: scale(1.003);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-image iframe,
.lux-portfolio-slide .lux-reference-work-card .wp-block-image video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: #000;
  object-fit: cover;
}

.lux-portfolio-slide.is-active .lux-reference-work-card:hover .wp-block-image img {
  filter: none;
  transform: scale(1.04);
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-heading {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 0;
  margin: 0 !important;
  padding: 64px 30px 25px !important;
  color: var(--fresh-white);
  line-height: var(--fresh-leading-title);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.56);
}

.lux-portfolio-slide
  .lux-reference-work-card
  .wp-block-heading:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-card-title);
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-heading a {
  color: var(--fresh-white) !important;
}

.lux-portfolio-slide .lux-reference-work-card .wp-block-heading::after {
  content: none;
}

.lux-portfolio-controls {
  display: grid;
  grid-template-columns: 58px minmax(160px, 310px) 58px;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  width: min(100% - 40px, 720px);
  margin: 6px auto 0;
}

.lux-reference-work.lux-slider-single .lux-portfolio-controls {
  display: none;
}

.lux-portfolio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--fresh-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    border-color var(--fresh-transition),
    background var(--fresh-transition),
    transform var(--fresh-transition);
}

.lux-portfolio-button:hover {
  border-color: var(--fresh-blue-deep);
  background: var(--fresh-blue-deep);
  box-shadow: var(--fresh-button-shadow-glow);
  transform: translateY(-3px);
}

.lux-portfolio-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.lux-portfolio-status {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.lux-portfolio-counter {
  color: rgba(255, 255, 255, 0.76);
  font-family: Arial, sans-serif;
  font-size: var(--fresh-type-meta);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.lux-portfolio-progress {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.lux-portfolio-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fresh-blue), #fb923c);
  box-shadow: 0 0 16px rgba(234, 88, 12, 0.7);
  transition: width 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-reference-faq {
  height: auto;
  min-height: 0;
}

.lux-reference-faq__list {
  display: grid;
  gap: 10px;
  width: min(
    720px,
    calc(100% - var(--fresh-page-gutter) - var(--fresh-page-gutter))
  ) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  border: 0;
  background: transparent;
}

.lux-reference-faq details {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 0;
  border: 1px solid rgba(62, 30, 13, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 1px 2px rgba(23, 18, 15, 0.04),
    0 8px 22px rgba(23, 18, 15, 0.035);
  transition:
    border-color var(--fresh-transition),
    background-color var(--fresh-transition),
    box-shadow var(--fresh-transition),
    transform var(--fresh-transition);
}

.lux-reference-faq details::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--fresh-blue), #fb923c);
  opacity: 0;
  content: "";
  transform: scaleY(0.4);
  transition: opacity var(--fresh-transition), transform var(--fresh-transition);
  pointer-events: none;
}

.lux-reference-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 66px 16px 22px;
  color: var(--fresh-dark);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-faq);
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition:
    color var(--fresh-transition),
    background-color var(--fresh-transition),
    box-shadow var(--fresh-transition);
}

.lux-reference-faq summary::-webkit-details-marker {
  display: none;
}

.lux-reference-faq summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 92, 5, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(var(--fresh-active), var(--fresh-active)) center / 12px 2px
      no-repeat,
    linear-gradient(var(--fresh-active), var(--fresh-active)) center / 2px 12px
      no-repeat,
    rgba(242, 92, 5, 0.06);
  content: "";
  transform: translateY(-50%);
  transition:
    border-color var(--fresh-transition),
    background-color var(--fresh-transition),
    background-size var(--fresh-transition),
    box-shadow var(--fresh-transition),
    transform 320ms var(--fresh-motion-out);
}

.lux-reference-faq details[open] {
  border-color: rgba(242, 92, 5, 0.34);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(238, 247, 255, 0.82)
  );
  box-shadow:
    0 1px 2px rgba(23, 18, 15, 0.05),
    0 14px 34px rgba(242, 92, 5, 0.09);
}

.lux-reference-faq details[open]::before {
  opacity: 1;
  transform: scaleY(1);
}

.lux-reference-faq details[open] summary {
  color: #3a1b0b;
}

.lux-reference-faq details[open] summary::after {
  border-color: rgba(242, 92, 5, 0.48);
  background:
    linear-gradient(var(--fresh-white), var(--fresh-white)) center / 12px 2px
      no-repeat,
    linear-gradient(var(--fresh-white), var(--fresh-white)) center / 2px 0
      no-repeat,
    linear-gradient(135deg, var(--fresh-blue), var(--fresh-active));
  box-shadow: 0 7px 18px rgba(242, 92, 5, 0.2);
  transform: translateY(-50%) rotate(180deg);
}

.lux-reference-faq details > p {
  margin: 0;
  padding: 0 66px 22px 22px;
  color: var(--fresh-text);
  font-family: "BPG Glaho", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-body);
  font-weight: 400;
  line-height: 1.75;
}

.lux-reference-faq summary:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(242, 92, 5, 0.42);
}

@supports selector(details::details-content) {
  .lux-reference-faq__list {
    interpolate-size: allow-keywords;
  }

  .lux-reference-faq details::details-content {
    overflow: hidden;
    block-size: 0;
    opacity: 0;
    transition:
      block-size 320ms var(--fresh-motion-out),
      content-visibility 320ms allow-discrete,
      opacity 220ms ease;
  }

  .lux-reference-faq details[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

/* Footer */
.lux-reference-footer {
  width: 100%;
  min-height: 374px;
  margin: 0 !important;
  padding: 80px 0;
  overflow: hidden;
  overflow: clip;
  color: rgba(255, 255, 255, 0.86);
  background: var(--fresh-footer-surface);
}

/*
 * Three columns, matching the three the footer template renders. The brand
 * column carries the logo and the blurb so it takes the wider track; the two
 * list columns share the rest evenly.
 */
.lux-reference-footer__columns {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px) !important;
  align-items: start;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-reference-footer p,
.lux-reference-footer li {
  color: rgba(255, 255, 255, 0.88);
}

/* Every footer link sits on orange, so it is white — never the global ink. */
.lux-reference-footer a {
  color: var(--fresh-white);
  transition: color var(--fresh-transition), opacity var(--fresh-transition);
}

.lux-reference-footer a:hover,
.lux-reference-footer a:focus-visible {
  color: var(--fresh-white);
  opacity: 0.75;
}

.lux-reference-footer h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  color: var(--fresh-white);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-weight: var(--fresh-weight-heading);
  line-height: 1.3;
}

.lux-reference-footer
  h2:not([style*="font-size"]):not([class*="-font-size"]) {
  font-size: var(--fresh-type-footer-title);
}

/* Short rule under each footer heading, echoing the section divider. */
.lux-reference-footer h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
}

.lux-reference-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lux-reference-footer__links li {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-family: "BPG Glaho", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-footer);
  line-height: 1.5;
}

/*
 * The supplied marker is used exactly as delivered: a white disc with a navy
 * chevron, already transparent outside the circle. It is a badge rather than a
 * bare arrow, so it needs the full 16px to stay legible, and it is not
 * recoloured — the owner wants the artwork's own colours.
 */
.lux-reference-footer__links li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 16px;
  height: 16px;
  background: url("assets/freshgroup/bullet-point.png") no-repeat center / contain;
  content: "";
  transition: transform var(--fresh-transition);
}

.lux-reference-footer__links li:hover::before,
.lux-reference-footer__links li:focus-within::before {
  transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
  .lux-reference-footer__links li::before {
    transition: none;
  }

  .lux-reference-footer__links li:hover::before,
  .lux-reference-footer__links li:focus-within::before {
    transform: none;
  }
}

.lux-reference-footer__links a {
  color: rgba(255, 255, 255, 0.86);
  transition: color var(--fresh-transition);
}

.lux-reference-footer__links a:hover,
.lux-reference-footer__links a:focus-visible {
  color: var(--fresh-active);
}

.lux-reference-footer__social {
  gap: 7px !important;
  margin: 16px 0 0 !important;
}

/* Size, shape and colour live in the shared social-icon rule further down. */

.lux-reference-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 60px;
  padding: 16px 0;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82);
  background: var(--fresh-footer-end);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.lux-reference-copyright__credit {
  font-size: var(--fresh-type-copyright);
  opacity: 0.82;
}

.lux-reference-copyright a {
  color: var(--fresh-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--fresh-transition);
}

.lux-reference-copyright a:hover,
.lux-reference-copyright a:focus-visible {
  opacity: 0.75;
}

.lux-reference-copyright p {
  margin: 0;
  color: var(--fresh-paper);
  font-family: "BPG Glaho", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-copyright);
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lux-glow-slider:not(.lux-slider-ready) .lux-glow-slider__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lux-reference-header__inner,
.lux-reference-card-grid,
.lux-reference-footer__columns {
    width: 90%;
  }

  .lux-reference-header__inner {
    grid-template-columns: minmax(0, 1fr) 40px 40px;
    align-items: center;
    gap: 10px !important;
    height: 65px;
    padding: 0;
  }

  .lux-reference-logo img {
    width: auto !important;
    height: 40px;
  }

  .lux-reference-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 9px;
    color: var(--fresh-white);
  }

  .lux-reference-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container-open svg {
    width: 20px;
    height: 20px;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 28px;
    color: var(--fresh-white);
  }

  .lux-reference-header__tools {
    display: contents !important;
  }

  .lux-reference-social {
    display: none !important;
  }
  .lux-reference-footer__columns {
    gap: 35px !important;
  }
}

@media (max-width: 767px) {
  .lux-glow-slider:not(.lux-slider-ready) .lux-glow-slider__grid {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .lux-glow-slider:not(.lux-slider-ready) .lux-glow-slider__grid > .wp-block-post {
    min-height: 330px;
    border-radius: 28px;
  }

  .lux-glow-slider:not(.lux-slider-ready)
    .lux-glow-slider__grid
    > .wp-block-post
    > .wp-block-post-featured-image {
    border-radius: 20px;
  }

  .lux-reference-header {
    position: relative;
  }

  .lux-reference-header__inner {
    display: grid !important;
    grid-template-columns: 1fr 33px 33px;
    gap: 10px !important;
    width: 90%;
    padding: 0;
  }

  .lux-reference-logo img {
    width: auto !important;
    height: 38px;
  }

  .lux-reference-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    padding: 7px;
    border-radius: 5px;
    color: var(--fresh-white);
    background: var(--fresh-blue-deep);
  }

  .lux-reference-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container-open svg {
    width: 19px;
    height: 19px;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 28px;
    color: var(--fresh-white);
    background: var(--fresh-dark) !important;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    color: var(--fresh-white);
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 36px;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    min-width: 0 !important;
    padding: 2px 0 10px 18px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    padding: 8px 0;
    color: var(--fresh-white) !important;
    font-size: var(--fresh-type-nav);
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
    color: var(--fresh-active) !important;
    background: transparent;
  }

  .lux-reference-header__tools {
    display: contents !important;
  }

  .lux-reference-social {
    display: none !important;
  }
  .lux-reference-hero {
    height: 100svh;
    min-height: 650px;
  }

  .lux-reference-hero .wp-block-cover__video-background {
    display: none;
  }

  .lux-reference-hero h1 {
    width: min(100%, 720px);
    max-width: 100%;
    line-height: var(--fresh-leading-hero) !important;
  }

  .lux-reference-section {
    width: 100%;
    min-height: 0;
  }

  .lux-reference-section > * {
    width: 90% !important;
    max-width: 90% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .lux-reference-section > .wp-block-heading {
    margin-bottom: var(--fresh-section-heading-space-after) !important;
  }

  .lux-reference-card-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 20px !important;
  }

  .lux-reference-work-card {
    height: auto;
  }

  .lux-reference-work-card .wp-block-image img {
    aspect-ratio: 7 / 5;
  }

  .lux-reference-work {
    height: auto;
    min-height: 0;
  }

  .lux-reference-work .lux-reference-card-grid + .lux-reference-card-grid {
    margin-top: 20px !important;
  }

  .lux-reference-work .lux-reference-card-grid {
    transform: translateY(2px);
  }

  .lux-reference-work > .wp-block-heading + .lux-reference-card-grid {
    margin-top: 2px !important;
  }

  .lux-reference-work-card {
    height: 334px;
  }

  .lux-reference-work.lux-slider-ready {
    height: auto;
    min-height: 0;
  }

  .lux-reference-work.lux-slider-ready > .wp-block-heading {
    width: 90% !important;
    max-width: 90% !important;
    margin-bottom: 20px !important;
  }

  .lux-reference-work.lux-slider-ready > .lux-portfolio-slider {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .lux-portfolio-slider {
    --fresh-slide-gap: 12px;
    --fresh-slide-width: min(70vw, 620px);
  }

  .lux-portfolio-viewport {
    padding: 24px 0 28px;
  }

  .lux-portfolio-slide {
    opacity: 0.3;
    transform: scale(0.94);
  }

  .lux-portfolio-slide.is-active {
    transform: scale(1);
  }

  .lux-portfolio-slide .lux-reference-work-card {
    height: clamp(330px, 105vw, 460px);
    min-height: 330px;
    border-radius: 28px !important;
  }

  .lux-portfolio-slide .lux-reference-work-card .wp-block-image {
    border-radius: 20px;
  }

  .lux-portfolio-slide .lux-reference-work-card .wp-block-image img {
    height: 100%;
  }

  .lux-portfolio-slide .lux-reference-work-card .wp-block-heading {
    min-height: 0;
    padding: 56px 20px 20px !important;
  }

  .lux-portfolio-controls {
    grid-template-columns: 48px minmax(126px, 220px) 48px;
    gap: 12px;
    width: calc(100% - (var(--fresh-page-gutter) * 2));
  }

  .lux-portfolio-button {
    width: 48px;
    height: 48px;
  }

  .lux-portfolio-status {
    grid-template-columns: 54px 1fr;
    gap: 10px;
  }

  .lux-portfolio-counter {
    font-size: 12px;
  }

  .lux-reference-faq__list {
    gap: 8px;
    width: calc(100% - (var(--fresh-page-gutter) * 2)) !important;
    max-width: 720px !important;
  }

  .lux-reference-faq summary {
    min-height: 58px;
    padding: 14px 58px 14px 16px;
    font-size: var(--fresh-type-faq);
  }

  .lux-reference-faq summary::after {
    right: 12px;
    width: 32px;
    height: 32px;
  }

  .lux-reference-faq details > p {
    padding: 0 58px 18px 16px;
    font-size: var(--fresh-type-body);
    line-height: 1.7;
  }

  .lux-reference-faq {
    height: auto;
    min-height: 0;
  }

  /* Height comes from the content. The 1112px this used to carry was measured
     against one particular footer and left ~213px of dead space under it on a
     375px screen, where the reset below never reached. */
  .lux-reference-footer {
    padding: 64px 0 48px;
  }

  .lux-reference-footer__columns {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 56px !important;
    width: 90%;
  }

  .lux-reference-footer__columns > .wp-block-column {
    width: 100%;
  }

  .lux-reference-copyright {
    min-height: 60px;
    padding: 12px 5%;
  }

  .lux-reference-copyright p {
    font-size: var(--fresh-type-copyright);
  }
}

@media (min-width: 478px) and (max-width: 767px) {
  .lux-reference-work,
.lux-reference-faq {
    height: auto;
    min-height: 0;
  }

  .lux-reference-work-card {
    height: auto;
  }

  .lux-reference-work {
    padding-bottom: var(--fresh-section-space-y) !important;
  }

}

@media (hover: hover) and (pointer: fine) {
  .lux-reference-card:hover {
    box-shadow: 0 8px 24px rgba(23, 18, 15, 0.2);
  }

  .lux-reference-card:hover .wp-block-heading a,
  .lux-reference-faq summary:hover {
    color: var(--fresh-active);
  }

  .lux-reference-faq summary:hover {
    background: rgba(242, 92, 5, 0.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .lux-reference-work .lux-reference-work-card,
  .lux-glow-slider:not(.lux-slider-ready) .lux-glow-slider__grid > .wp-block-post {
    animation: none !important;
  }

}

/* Site chrome: sticky header, premium navigation and floating social rail */
body {
  overflow-x: clip;
}

header.wp-block-template-part:has(.lux-reference-header),
header.wp-block-template-part.lux-sticky-header-shell {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  width: 100%;
  margin: 0 !important;
}

.lux-reference-header {
  position: relative;
  top: auto;
  transition:
    background 320ms var(--fresh-motion-out),
    box-shadow 320ms ease;
}

.lux-reference-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.lux-reference-nav .wp-block-navigation__container {
  gap: 7px;
}

/*
 * Desktop menu treatment: pill items, gradient borders, the absolutely
 * placed submenu arrow. These were unscoped, and because they run seven
 * classes deep with !important they also beat the mobile overlay's own
 * rules — which is why the burger menu drew dark text on a dark panel.
 * Below 1024px the overlay styles itself and none of this should apply.
 */
@media (min-width: 1024px) {
  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item {
    position: relative;
    isolation: isolate;
    border-radius: var(--fresh-radius-lg);
    transition:
      background 280ms var(--fresh-motion-out),
      box-shadow 280ms ease,
      transform 280ms var(--fresh-motion-out);
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid transparent;
    border-radius: inherit;
    background:
      linear-gradient(transparent, transparent) padding-box,
      linear-gradient(110deg, rgba(255, 255, 255, 0.3), rgba(251, 146, 60, 0.58), rgba(242, 92, 5, 0.4)) border-box;
    box-shadow: none;
    content: "";
    opacity: 0;
    transition: opacity 280ms ease;
    display: none;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:hover,
  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:focus-within {
    transform: none;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:hover::before,
  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:focus-within::before,
  body:not(.home) .lux-reference-nav .current-menu-item:hover::before {
    opacity: 1;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .current-menu-item::before,
  body.home
    .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:first-child::before {
    border-color: transparent;
    background: none;
    box-shadow: none;
    opacity: 0;
  }

  .lux-reference-nav .wp-block-navigation-item__content,
  .lux-reference-nav .wp-block-navigation-item__content:hover,
  .lux-reference-nav .wp-block-navigation-item__content:focus,
  .lux-reference-nav .wp-block-navigation-item__content:focus-visible,
  .lux-reference-nav .current-menu-item > .wp-block-navigation-item__content,
  body.home .lux-reference-nav .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
    border: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    color: var(--fresh-title) !important;
    line-height: 1;
    text-align: center;
    transition:
      color 240ms ease,
      transform 280ms var(--fresh-motion-out);
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .has-child
    > .wp-block-navigation-item__content {
    padding-right: 18px;
  }

  .lux-reference-nav .wp-block-navigation__submenu-icon {
    position: absolute;
    top: 50%;
    right: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 38px;
    margin: 0;
    padding: 0;
    color: var(--fresh-title);
    transform: translateY(-50%);
    transition: color 240ms ease;
  }

  .lux-reference-nav .wp-block-navigation__submenu-icon svg {
    display: none;
  }

  .lux-reference-nav .wp-block-navigation__submenu-icon::before {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.28);
    content: "";
    opacity: 0.58;
    transition:
      opacity 220ms ease,
      box-shadow 220ms ease;
  }

  .lux-reference-nav .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon,
  .lux-reference-nav .wp-block-navigation-item:focus-within > .wp-block-navigation__submenu-icon {
    color: var(--fresh-active);
  }

  .lux-reference-nav .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon::before,
  .lux-reference-nav .wp-block-navigation-item:focus-within > .wp-block-navigation__submenu-icon::before {
    box-shadow: 0 0 9px rgba(255, 255, 255, 0.72);
    opacity: 1;
  }

  .lux-reference-nav .wp-block-navigation-item__label {
    display: inline-block;
    position: relative;
    transform: none;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content
    > .wp-block-navigation-item__label::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fresh-blue-deep), var(--fresh-active), var(--fresh-glow));
    box-shadow: 0 0 8px rgba(251, 146, 60, 0.3);
    content: "";
    opacity: 0;
    transform: scaleX(0.25);
    transform-origin: center;
    transition:
      opacity 180ms ease,
      transform 280ms var(--fresh-motion-out);
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:hover
    > .wp-block-navigation-item__content
    > .wp-block-navigation-item__label::after,
  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:focus-within
    > .wp-block-navigation-item__content
    > .wp-block-navigation-item__label::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .lux-reference-nav .current-menu-item::after,
  .lux-reference-nav .wp-block-navigation-item:has(> .wp-block-navigation-item__content[aria-current="page"])::after,
  body.home
    .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:first-child::after {
    position: absolute;
    right: 18px;
    bottom: 2px;
    left: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fresh-blue-deep), var(--fresh-active), var(--fresh-glow));
    box-shadow: 0 0 8px rgba(251, 146, 60, 0.35);
    content: "";
    opacity: 1;
    transform: scaleX(1);
  }

  .lux-reference-nav
    .current-menu-item
    > .wp-block-navigation-item__content
    > .wp-block-navigation-item__label::after,
  .lux-reference-nav
    .wp-block-navigation-item:has(> .wp-block-navigation-item__content[aria-current="page"])
    > .wp-block-navigation-item__content
    > .wp-block-navigation-item__label::after,
  body.home
    .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item:first-child
    > .wp-block-navigation-item__content
    > .wp-block-navigation-item__label::after {
    opacity: 0 !important;
    transform: scaleX(0.25) !important;
  }
}

.lux-reference-nav .wp-block-navigation__submenu-container {
  min-width: 315px !important;
  padding: 10px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 5px !important;
  color: var(--fresh-title);
  background: var(--fresh-white) !important;
  box-shadow:
    0 20px 55px rgba(23, 18, 15, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.lux-reference-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 5px;
  color: var(--fresh-title);
  background: transparent;
  transition:
    color 220ms ease,
    background 260ms ease,
    transform 260ms var(--fresh-motion-out);
}

.lux-reference-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.lux-reference-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  color: var(--fresh-active);
  background: var(--fresh-accent-tint);
  transform: translateX(4px);
}

.lux-social-rail {
  position: fixed;
  top: 50dvh;
  left: 0;
  z-index: 980;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 12px 7px;
  border: 1px solid var(--fresh-line);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: var(--fresh-white);
  box-shadow: 8px 12px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  animation: lux-social-rail-in 720ms var(--fresh-motion-out);
  transition:
    opacity 220ms ease,
    transform 320ms var(--fresh-motion-out);
}

.lux-social-rail::before {
  width: 22px;
  height: 3px;
  margin-bottom: 2px;
  border-radius: 999px;
  background: var(--fresh-active);
  content: "";
}

.lux-social-rail__list {
  display: flex !important;
  flex-direction: column;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lux-social-rail__list .wp-social-link {
  margin: 0 !important;
}

.lux-social-rail__list .wp-social-link:hover,
.lux-social-rail__list .wp-social-link:focus-within {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--fresh-white) !important;
  background: linear-gradient(135deg, var(--fresh-blue-deep), var(--fresh-blue)) !important;
  box-shadow: 0 8px 22px rgba(242, 92, 5, 0.4);
  transform: translateX(4px) translateY(-1px);
}

/* Shared FreshGroup color treatment for compact social and utility icon controls. */
:is(
  .lux-reference-social,
  .lux-reference-footer__social,
  .lux-social-rail__list
) .wp-social-link {
  display: grid;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid currentcolor;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none;
  transition:
    color var(--fresh-transition),
    border-color var(--fresh-transition),
    background var(--fresh-transition);
}

:is(
  .lux-reference-social,
  .lux-reference-footer__social,
  .lux-social-rail__list
) .wp-social-link a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

:is(
  .lux-reference-social,
  .lux-reference-footer__social,
  .lux-social-rail__list
) .wp-social-link svg {
  width: 17px !important;
  height: 17px !important;
}

/*
 * Icon colour follows the surface: a muted hairline on the white header and
 * the light rail, a translucent white one on the orange footer.
 */
:is(.lux-reference-social, .lux-social-rail__list) .wp-social-link {
  border-color: var(--fresh-line);
  color: var(--fresh-muted) !important;
}

.lux-reference-footer__social .wp-social-link {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--fresh-white) !important;
}

:is(
  .lux-reference-social,
  .lux-reference-footer__social,
  .lux-social-rail__list
) .wp-social-link:hover,
:is(
  .lux-reference-social,
  .lux-reference-footer__social,
  .lux-social-rail__list
) .wp-social-link:focus-within {
  border-color: var(--fresh-blue) !important;
  color: var(--fresh-white) !important;
  background: var(--fresh-blue) !important;
  box-shadow: none;
}

:is(
  .lux-reference-social,
  .lux-reference-footer__social,
  .lux-social-rail__list
) .wp-social-link svg {
  fill: currentColor;
}

@keyframes lux-social-rail-in {
  from {
    opacity: 0;
    transform: translate(-110%, -50%);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media (max-width: 1023px) {
  .lux-reference-nav .wp-block-navigation__container {
    gap: 4px;
  }

  .lux-social-rail {
    display: flex !important;
  }

  .lux-reference-social {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .lux-reference-nav .wp-block-navigation__responsive-container-open {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: linear-gradient(135deg, var(--fresh-blue-deep), var(--fresh-blue));
    box-shadow: 0 8px 22px rgba(242, 92, 5, 0.28);
  }

  .lux-reference-nav .wp-block-navigation__responsive-container.is-menu-open {
    background:
      radial-gradient(circle at 100% 0, rgba(242, 92, 5, 0.22), transparent 38%),
      var(--fresh-dark) !important;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0 !important;
    padding: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--fresh-radius-md) !important;
    color: var(--fresh-white);
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: none !important;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close:hover {
    border-color: rgba(251, 146, 60, 0.46);
    background: rgba(251, 146, 60, 0.1) !important;
    transform: none;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close
    svg {
    width: 19px;
    height: 19px;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: 68px;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
    gap: 7px;
    width: 100%;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item {
    position: relative;
    width: 100%;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .has-child
    > .wp-block-navigation-item__content {
    padding-right: 48px;
    padding-left: 48px;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .has-child
    > .wp-block-navigation__submenu-icon {
    position: absolute;
    top: 4px;
    right: 6px;
    z-index: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 0;
    border-radius: var(--fresh-radius-md);
    color: var(--fresh-white);
    background: transparent;
    transform: none;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .has-child
    > .wp-block-navigation__submenu-icon::before {
    display: none;
    content: none;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .has-child
    > .wp-block-navigation__submenu-icon
    svg {
    display: block;
    width: 14px;
    height: 14px;
    transition: transform 280ms var(--fresh-motion-out);
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .has-child
    > .wp-block-navigation__submenu-icon[aria-expanded="true"]
    svg {
    transform: rotate(180deg);
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content {
    width: 100%;
    min-height: 46px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 5px;
    color: var(--fresh-paper) !important;
    background: rgba(255, 255, 255, 0.035);
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content:hover,
  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content:focus-visible {
    color: var(--fresh-white) !important;
    background: linear-gradient(112deg, rgba(194, 65, 12, 0.34), rgba(251, 146, 60, 0.1));
    transform: none;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 0;
    margin: 0 !important;
    padding: 0 14px !important;
    overflow: hidden;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: transparent !important;
    backdrop-filter: none;
    pointer-events: none;
    transform: none !important;
    will-change: max-height, opacity;
    transition:
      max-height 240ms var(--fresh-motion-out),
      padding 240ms var(--fresh-motion-out),
      opacity 90ms ease,
      visibility 0s linear 240ms;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.35;
    text-align: center;
  }

  .lux-reference-nav
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__submenu-icon[aria-expanded="true"]
    + .wp-block-navigation__submenu-container {
    max-height: 620px;
    padding: 7px 14px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .lux-social-rail {
    top: 52dvh;
    gap: 6px;
    padding: 9px 6px 9px 5px;
    border-radius: 0 15px 15px 0;
  }

  .lux-social-rail::before {
    width: 18px;
  }

  .lux-social-rail__list {
    gap: 6px !important;
  }

  .lux-social-rail__list .wp-social-link {
    width: 30px !important;
    height: 30px !important;
  }

  .lux-social-rail__list .wp-social-link svg {
    width: 15px !important;
    height: 15px !important;
  }

  body.lux-menu-open .lux-social-rail {
    opacity: 0;
    pointer-events: none;
    transform: translate(-110%, -50%);
    animation: none;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar header.wp-block-template-part:has(.lux-reference-header),
  body.admin-bar header.wp-block-template-part.lux-sticky-header-shell {
    top: 46px;
  }
}

/* Responsive geometry: one gutter system for header,
sections,
grids and queries. */
.lux-reference-header__inner,
.lux-reference-section > .wp-block-heading,
.lux-reference-card-grid,
.lux-reference-footer__columns,
.lux-post-cards__query,
.lux-post-carousel__query {
  width: min(
    calc(100% - var(--fresh-page-gutter) - var(--fresh-page-gutter)),
    var(--fresh-content)
  ) !important;
  max-width: var(--fresh-content) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* A section pattern can be inserted inside an empty section in Gutenberg.
   Keep that wrapper transparent so widths and vertical spacing are not applied twice. */
.lux-reference-section:has(> .lux-reference-section:only-child) {
  padding: 0 !important;
  overflow: visible;
  background: transparent;
}

.lux-reference-section > .lux-reference-section:only-child {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.lux-reference-work.lux-slider-ready > .lux-portfolio-slider {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lux-reference-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lux-reference-hero h1 {
    width: min(100%, 720px);
    max-width: 720px;
  }

  .lux-reference-footer__columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lux-reference-footer__columns > .wp-block-column {
    width: 100%;
  }

  .lux-portfolio-slider {
    --fresh-slide-width: min(78vw, 760px);
  }

  :is(.lux-reference-work, .lux-glow-slider) .lux-portfolio-viewport {
    width: calc(
      100%
      - var(--fresh-slider-source-padding-left, var(--fresh-page-gutter))
      - var(--fresh-slider-source-padding-right, var(--fresh-page-gutter))
    );
    margin-right: var(--fresh-slider-source-padding-right, var(--fresh-page-gutter));
    margin-left: var(--fresh-slider-source-padding-left, var(--fresh-page-gutter));
    overflow: hidden;
  }

  :is(.lux-reference-work, .lux-glow-slider) .lux-portfolio-controls {
    width: calc(
      100%
      - var(--fresh-slider-source-padding-left, var(--fresh-page-gutter))
      - var(--fresh-slider-source-padding-right, var(--fresh-page-gutter))
    );
  }
}

@media (max-width: 1023px) {
  :is(.lux-reference-work, .lux-glow-slider) .lux-portfolio-slide::before {
    content: none;
  }

  :is(.lux-reference-work, .lux-glow-slider)
    .lux-portfolio-slide
    .lux-reference-work-card,
  :is(.lux-reference-work, .lux-glow-slider)
    .lux-portfolio-slide.is-active
    .lux-reference-work-card {
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .lux-glow-slider .lux-portfolio-slider {
    --fresh-slide-gap: 14px;
  }

  :is(.lux-reference-work, .lux-glow-slider) .lux-portfolio-viewport {
    width: calc(
      100%
      - var(--fresh-slider-source-padding-left, var(--fresh-page-gutter))
      - var(--fresh-slider-source-padding-right, var(--fresh-page-gutter))
    );
    margin-right: var(--fresh-slider-source-padding-right, var(--fresh-page-gutter));
    margin-left: var(--fresh-slider-source-padding-left, var(--fresh-page-gutter));
    padding-top: 18px;
    padding-bottom: 22px;
    overflow: hidden;
  }

  .lux-glow-slider .lux-portfolio-slide .lux-reference-work-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  :is(.lux-reference-work, .lux-glow-slider) .lux-portfolio-controls {
    width: calc(
      100%
      - var(--fresh-slider-source-padding-left, var(--fresh-page-gutter))
      - var(--fresh-slider-source-padding-right, var(--fresh-page-gutter))
    );
  }

  .lux-post-cards:is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-cards__grid {
    grid-auto-columns: 100% !important;
    padding: 0 !important;
    scroll-padding-inline: 0;
  }

  .lux-post-cards:is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-cards__grid
    > .wp-block-post,
  .lux-post-cards:is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-cards__grid
    > .wp-block-post:hover,
  .lux-post-cards:is(.lux-post-cards-carousel-mobile-on, .lux-post-cards--carousel)
    .lux-post-cards__grid
    > .wp-block-post:focus-within {
    box-shadow: none;
    transform: none;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar header.wp-block-template-part:has(.lux-reference-header),
  body.admin-bar header.wp-block-template-part.lux-sticky-header-shell {
    top: 0;
  }
}

/* Desktop header capsule — 1440px FreshGroup interpretation of the reference. */
@media (min-width: 1024px) {
  /*
   * Desktop header: a full-width white bar like freshgroup.ge, not a floating
   * capsule. The bar spans the viewport; only its inner row is constrained to
   * the 1440px content width.
   */
  .lux-reference-header {
    height: 80px;
    min-height: 80px;
    padding: 0 var(--fresh-page-gutter);
    background: var(--fresh-header-surface);
    box-shadow: 0 1px 0 var(--fresh-line);
  }

  .lux-reference-header::after {
    display: none;
  }

  .lux-reference-header__inner {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(210px, 253px) minmax(0, 1fr) auto;
    width: min(100%, var(--fresh-content)) !important;
    max-width: var(--fresh-content) !important;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .lux-reference-header__inner::after {
    content: none;
  }

  .lux-reference-header__inner > * {
    position: relative;
    z-index: 1;
  }

  .lux-reference-nav .wp-block-navigation__submenu-container {
    isolation: isolate;
    overflow: hidden;
    border-color: var(--fresh-line) !important;
    color: var(--fresh-title);
    background: var(--fresh-navigation-surface) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: none;
  }

  .lux-reference-nav .wp-block-navigation__submenu-container::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background-image: url("assets/textures/fresh-woven.webp?v=1");
    background-repeat: repeat;
    background-position: center top;
    background-size: var(--fresh-denim-size) var(--fresh-denim-size);
    mix-blend-mode: soft-light;
    opacity: var(--fresh-denim-opacity);
    filter: grayscale(1) contrast(1.18) brightness(2.1);
    content: "";
    pointer-events: none;
  }

  .lux-reference-nav
    .wp-block-navigation__submenu-container
    > .wp-block-navigation-item {
    position: relative;
    z-index: 1;
  }

  .lux-reference-nav
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    color: var(--fresh-title);
  }

  .lux-reference-nav
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content:hover,
  .lux-reference-nav
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item__content:focus-visible {
    color: var(--fresh-active);
    background: var(--fresh-accent-tint);
  }

  .lux-reference-header.is-scrolled {
    background: var(--fresh-header-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .lux-reference-logo {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    padding-right: 28px;
  }

  .lux-reference-logo::after,
  .lux-reference-nav::after {
    position: absolute;
    top: 50%;
    width: 1px;
    height: 42px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 255, 255, 0.18) 22%,
      rgba(251, 146, 60, 0.42) 50%,
      rgba(255, 255, 255, 0.18) 78%,
      transparent
    );
    content: "";
    pointer-events: none;
    transform: translateY(-50%);
  }

  .lux-reference-logo::after {
    right: 0;
  }

  .lux-reference-nav {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .lux-reference-nav::after {
    right: 0;
  }

  .lux-reference-nav .wp-block-navigation__container {
    gap: clamp(14px, 1.45vw, 24px);
    flex-wrap: nowrap !important;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item {
    flex: 0 0 auto;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content {
    white-space: nowrap;
  }

  .lux-reference-header__tools {
    position: relative;
    width: auto;
    min-height: 44px;
    padding-left: 24px;
  }

  /*
   * The homepage used to pull the header down over the hero and go
   * transparent (a LUXWEB treatment). freshgroup.ge keeps an opaque bar above
   * the hero, so the header occupies its own space on every template.
   */
  body.home header.wp-block-template-part:has(.lux-reference-header),
  body.home header.wp-block-template-part.lux-sticky-header-shell {
    margin-bottom: 0 !important;
  }

  body.home .lux-reference-header,
  body.home .lux-reference-header.is-scrolled {
    background: var(--fresh-header-surface) !important;
  }
}

/* Compact desktop header: retain the full navigation without wrapping. */
@media (min-width: 1024px) and (max-width: 1366px) {
  .lux-reference-header__inner {
    grid-template-columns: 230px minmax(0, 1fr) 57px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .lux-reference-logo {
    padding-right: 20px;
  }

  .lux-reference-logo img {
    width: auto !important;
    height: 40px;
  }

  .lux-reference-nav {
    font-size: 15px !important;
  }

  .lux-reference-nav .wp-block-navigation__container {
    gap: clamp(2px, 0.45vw, 6px);
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .wp-block-navigation-item
    > .wp-block-navigation-item__content {
    padding-right: 11px;
    padding-left: 11px;
  }

  .lux-reference-nav
    > .wp-block-navigation__responsive-container
    > .wp-block-navigation__responsive-close
    > .wp-block-navigation__responsive-dialog
    > .wp-block-navigation__responsive-container-content
    > .wp-block-navigation__container
    > .has-child
    > .wp-block-navigation-item__content {
    padding-right: 13px;
  }

  .lux-reference-nav .wp-block-navigation__submenu-icon {
    right: 1px;
  }

  .lux-reference-header__tools {
    justify-content: flex-end;
    padding-left: 16px;
  }

  .lux-reference-social {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lux-social-rail {
    animation: none !important;
  }
}

/* Pricing Table — editable Gutenberg cards with responsive premium geometry. */
.lux-pricing-section {
  --fresh-pricing-line: var(--fresh-line);
  --fresh-pricing-panel: var(--fresh-white);

  color: var(--fresh-text);
}

.lux-pricing-section > .wp-block-heading {
  color: var(--fresh-title) !important;
}

.lux-pricing-section__intro {
  width: min(calc(100% - (var(--fresh-page-gutter) * 2)), 720px) !important;
  margin: calc(var(--fresh-section-heading-space-after) * -0.25) auto clamp(30px, 4vw, 48px) !important;
  color: var(--fresh-muted);
  font-size: var(--fresh-type-lead);
  line-height: var(--fresh-leading-lead);
}

.lux-pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: min(calc(100% - (var(--fresh-page-gutter) * 2)), var(--fresh-content)) !important;
  margin: 0 auto !important;
  gap: clamp(16px, 2vw, 24px);
}

.lux-pricing-card {
  position: relative;
  isolation: isolate;
  align-items: stretch !important;
  min-width: 0;
  min-height: 540px;
  padding: clamp(24px, 2.5vw, 34px) !important;
  overflow: hidden;
  border: 1px solid var(--fresh-pricing-line);
  border-radius: var(--fresh-card-radius);
  color: var(--fresh-text);
  background: var(--fresh-pricing-panel);
  box-shadow: var(--fresh-card-shadow);
  transition:
    border-color 320ms ease,
    box-shadow 320ms ease,
    transform 320ms var(--fresh-motion-out);
}

/* The live cards are flat: no accent bar, no glow blob, no lift. */
.lux-pricing-card::before,
.lux-pricing-card::after {
  content: none;
}

.lux-pricing-card:hover,
.lux-pricing-card:focus-within {
  border-color: var(--fresh-disabled);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.lux-pricing-card:hover::after,
.lux-pricing-card:focus-within::after {
  opacity: 1;
}

/* Live: the popular tier is a solid orange card with white type. */
.lux-pricing-card--featured {
  border-color: transparent;
  color: var(--fresh-white);
  background: var(--fresh-blue);
  box-shadow: 0 10px 30px rgba(242, 92, 5, 0.24);
}

.lux-pricing-card--featured:hover,
.lux-pricing-card--featured:focus-within {
  border-color: transparent;
  box-shadow: 0 14px 38px rgba(242, 92, 5, 0.3);
}

.lux-pricing-card > * {
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.lux-pricing-card__topline {
  width: 100%;
  margin: 0 !important;
}

.lux-pricing-card__eyebrow,
.lux-pricing-card__badge,
.lux-pricing-card__price-label,
.lux-pricing-card__price-value,
.lux-pricing-card__description {
  margin: 0 !important;
}

.lux-pricing-card__eyebrow {
  color: var(--fresh-muted);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lux-pricing-card--featured .lux-pricing-card__eyebrow {
  color: var(--fresh-on-accent-muted);
}

.lux-pricing-card__badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 0;
  border-radius: 20px;
  color: var(--fresh-blue);
  background: var(--fresh-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: 12px;
  line-height: 1;
}

.lux-pricing-card__title {
  margin: 18px 0 10px !important;
  color: var(--fresh-title) !important;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.lux-pricing-card--featured .lux-pricing-card__title {
  color: var(--fresh-white) !important;
}

.lux-pricing-card__description {
  min-height: 78px;
  color: var(--fresh-muted);
  font-size: var(--fresh-type-body);
  line-height: 1.55;
}

.lux-pricing-card--featured .lux-pricing-card__description {
  color: var(--fresh-on-accent-muted);
}

.lux-pricing-card__price {
  align-items: flex-start !important;
  gap: 5px !important;
  margin: 24px 0 0 !important;
  padding: 22px 0;
  border-top: 1px solid var(--fresh-line);
  border-bottom: 1px solid var(--fresh-line);
}

.lux-pricing-card--featured .lux-pricing-card__price {
  border-top-color: rgba(255, 255, 255, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.lux-pricing-card__price-label {
  color: var(--fresh-faint);
  font-size: 13px;
}

.lux-pricing-card--featured .lux-pricing-card__price-label {
  color: var(--fresh-on-accent-muted);
}

.lux-pricing-card__price-value {
  color: var(--fresh-title);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.lux-pricing-card--featured .lux-pricing-card__price-value {
  color: var(--fresh-white);
}

.lux-pricing-card__features {
  display: grid;
  margin: 22px 0 28px !important;
  padding: 0 !important;
  gap: 13px;
  color: var(--fresh-text);
  list-style: none;
}

.lux-pricing-card--featured .lux-pricing-card__features {
  color: var(--fresh-white);
}

.lux-pricing-card__features li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  line-height: 1.45;
}

/*
 * Tick drawn with borders rather than a "✓" glyph: it stays crisp at any
 * size and matches the stroke weight of the rest of the UI.
 */
.lux-pricing-card__features li::before {
  position: absolute;
  top: 0.46em;
  left: 3px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--fresh-blue);
  border-bottom: 2px solid var(--fresh-blue);
  content: "";
  transform: rotate(45deg);
}

.lux-pricing-card--featured .lux-pricing-card__features li::before {
  border-right-color: var(--fresh-white);
  border-bottom-color: var(--fresh-white);
}

.lux-pricing-card__actions {
  width: 100%;
  margin: auto 0 0 !important;
}

.lux-pricing-card__button,
.lux-pricing-card__button .wp-block-button__link {
  width: 100%;
}

/*
 * Live: the order button is an outlined orange pill that fills on hover, and
 * inverts to white-on-orange inside the popular card. Override the theme's
 * premium gradient button inside pricing cards only.
 */
.lux-pricing-card__button .wp-block-button__link,
.lux-pricing-card__button .wp-element-button {
  border: 1px solid var(--fresh-blue) !important;
  border-radius: 8px !important;
  color: var(--fresh-blue) !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background var(--fresh-transition), color var(--fresh-transition);
}

.lux-pricing-card__button .wp-block-button__link:hover,
.lux-pricing-card__button .wp-element-button:hover,
.lux-pricing-card__button .wp-block-button__link:focus-visible,
.lux-pricing-card__button .wp-element-button:focus-visible {
  color: var(--fresh-white) !important;
  background: var(--fresh-blue) !important;
}

.lux-pricing-card--featured .lux-pricing-card__button .wp-block-button__link,
.lux-pricing-card--featured .lux-pricing-card__button .wp-element-button {
  border-color: transparent !important;
  color: var(--fresh-blue) !important;
  background: var(--fresh-white) !important;
}

.lux-pricing-card--featured .lux-pricing-card__button .wp-block-button__link:hover,
.lux-pricing-card--featured .lux-pricing-card__button .wp-element-button:hover,
.lux-pricing-card--featured .lux-pricing-card__button .wp-block-button__link:focus-visible,
.lux-pricing-card--featured .lux-pricing-card__button .wp-element-button:focus-visible {
  color: var(--fresh-blue) !important;
  background: var(--fresh-accent-tint) !important;
}

.lux-pricing-section__note {
  width: min(calc(100% - (var(--fresh-page-gutter) * 2)), 720px) !important;
  margin: clamp(28px, 3vw, 40px) auto 0 !important;
  color: var(--fresh-muted);
  font-size: var(--fresh-type-small);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lux-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lux-pricing-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .lux-pricing-section__intro,
  .lux-pricing-grid,
  .lux-pricing-section__note {
    width: 90% !important;
    max-width: 90% !important;
  }

  .lux-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .lux-pricing-card {
    min-height: 0;
    padding: 24px 20px !important;
  }

  .lux-pricing-card__description {
    min-height: 0;
  }

  .lux-pricing-card:hover,
  .lux-pricing-card:focus-within {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lux-pricing-card,
  .lux-pricing-card::after {
    transition-duration: 0.01ms !important;
  }

  .lux-pricing-card::before {
    animation: none !important;
  }
}

/* FreshGroup home hero */
.freshgroup-hero {
  position: relative;
  box-sizing: border-box;
  display: grid !important;
  align-items: center;
  min-height: clamp(460px, 40vw, 580px);
  padding: clamp(28px, 3.5vw, 48px) var(--fresh-page-gutter, 24px) !important;
  color: var(--fresh-title);
  background: url("assets/freshgroup/hero-background.webp") no-repeat center bottom / cover;
}

/* Flex/grid on the section cancels Gutenberg's constrained layout, so the
   1440 track is restored here — otherwise the panel drifts to the viewport
   edge and collides with the social rail. */
.freshgroup-hero__inner {
  width: min(var(--fresh-content), 100%) !important;
  max-width: var(--fresh-content) !important;
  margin: 0 auto !important;
}

/*
 * The lineup is dropped below 900px rather than shrunk.
 *
 * It is a wide catalogue shot: anchoring it to the bottom of a phone screen
 * showed a random slice of two cabins under a band of reserved padding, which
 * read as a broken image rather than a backdrop. The section becomes a warm
 * tint band instead, and because this rule replaces `background` outright the
 * 81KB photo is never fetched on a phone.
 */
@media (max-width: 900px) {
  .freshgroup-hero {
    align-items: flex-start;
    min-height: 0;
    padding: clamp(28px, 6vw, 44px) 16px clamp(30px, 7vw, 48px) !important;
    background: var(--fresh-accent-tint);
  }

  .freshgroup-hero .wp-block-button,
  .freshgroup-hero .wp-block-button__link {
    width: 100%;
  }
}

/*
 * Service process steps
 * A numbered sequence rather than three empty cards: an orange badge, the
 * step title, and a hairline connector that shows the order on desktop.
 */
.lux-process__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px) !important;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-process__step {
  position: relative;
  display: grid !important;
  justify-items: center;
  gap: 16px;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 28px) !important;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
  box-shadow: var(--fresh-card-shadow);
  transition: border-color var(--fresh-transition), box-shadow var(--fresh-transition);
}

.lux-process__step:hover {
  border-color: var(--fresh-disabled);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.lux-process__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 !important;
  border-radius: 50%;
  color: var(--fresh-white);
  background: var(--fresh-blue);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.lux-process__title {
  margin: 0 !important;
  color: var(--fresh-title) !important;
  font-size: clamp(17px, 1.5vw, 20px) !important;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

/* Connector between steps, drawn across the grid gap. */
@media (min-width: 768px) {
  .lux-process__step:not(:last-child)::after {
    position: absolute;
    top: calc(clamp(28px, 3vw, 40px) + 27px);
    left: 100%;
    width: clamp(18px, 2vw, 28px);
    height: 2px;
    background: var(--fresh-line);
    content: "";
  }
}

@media (max-width: 767px) {
  .lux-process__grid {
    grid-template-columns: 1fr;
  }
}

/*
 * Product galleries
 * Product posts carry one featured image by default; the owner adds further
 * photos with a Gallery or Image block inside the post. These rules give
 * those blocks the same card language as the rest of the site.
 */
.single-post .wp-block-post-featured-image img,
.single .wp-block-post-featured-image img {
  width: 100%;
  border-radius: var(--fresh-card-radius);
  object-fit: contain;
}

.lux-reference-section .wp-block-gallery.has-nested-images {
  gap: clamp(12px, 1.4vw, 20px);
  width: min(var(--fresh-content), 100%);
  margin-inline: auto;
}

.lux-reference-section .wp-block-gallery.has-nested-images figure.wp-block-image {
  overflow: hidden;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
}

.lux-reference-section .wp-block-gallery.has-nested-images figure.wp-block-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  /* Same reason as the cards: the tile stays uniform, the photo stays whole. */
  object-fit: contain;
  transition: transform 420ms var(--fresh-motion-out);
}

.lux-reference-section .wp-block-gallery.has-nested-images figure.wp-block-image:hover img {
  transform: scale(1.03);
}

/* A single image dropped into product copy gets the same treatment. */
.lux-reference-section > .wp-block-group > .wp-block-image img {
  width: 100%;
  border-radius: var(--fresh-card-radius);
}

@media (prefers-reduced-motion: reduce) {
  .lux-reference-section .wp-block-gallery.has-nested-images figure.wp-block-image img,
  .lux-reference-section .wp-block-gallery.has-nested-images figure.wp-block-image:hover img {
    transition: none;
    transform: none;
  }
}

/*
 * Single product page
 * The parent theme's blog layout (comments, prev/next, dated post list) is
 * replaced by templates/single.html. These rules lay out its overview: media
 * on the left, summary and actions on the right.
 */
.lux-product-intro__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px) !important;
  align-items: center;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-product-intro__media {
  margin: 0 !important;
}

.lux-product-intro__image {
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
}

.lux-product-intro__image img {
  display: block;
  width: 100%;
  height: 100%;
  /* Studio shots of a whole cabin: cropping one cuts the product in half. */
  object-fit: contain;
}

/*
 * Product gallery
 * One stage plus a thumbnail strip. Every slide is in the markup, so the
 * stage degrades to a scroll strip when the script has not run.
 */
.lux-product-gallery {
  display: grid;
  gap: 14px;
  margin: 0 !important;
}

.lux-product-gallery__stage {
  --fresh-gallery-pad: clamp(10px, 1.6vw, 22px);
  position: relative;
  display: flex;
  overflow-x: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
  box-shadow: var(--fresh-card-shadow);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lux-product-gallery__stage::-webkit-scrollbar {
  display: none;
}

/*
 * The media is positioned rather than laid out, because a percentage height
 * against a content-sized grid row silently falls back to auto: the image then
 * took its natural aspect at full width and its foot was clipped away. Four
 * insets against a definite containing block cannot do that.
 */
.lux-product-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
  width: 100%;
  border-radius: var(--fresh-card-radius);
  scroll-snap-align: center;
}

.lux-product-gallery__slide img,
.lux-product-gallery__slide video,
.lux-product-gallery__slide .lux-video {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  /* The breathing room is padding on the media itself: object-fit measures the
     content box, so a replaced element still scales to fit inside it. Insets
     alone do not stretch an <img> — it keeps its intrinsic size. */
  padding: var(--fresh-gallery-pad);
  margin: 0 !important;
  object-fit: contain;
}

/* Once the script takes over, only the chosen slide occupies the stage. */
[data-lux-gallery-ready] .lux-product-gallery__slide {
  display: none;
}

[data-lux-gallery-ready] .lux-product-gallery__slide.is-active {
  display: block;
}

.lux-product-gallery__slide .lux-video {
  display: grid;
  place-items: center;
  width: auto !important;
}

/*
 * The video keeps its own 16/9 shape inside the 4/3 stage rather than being
 * stretched to fill it — a squeezed poster reads as a mistake.
 */
.lux-product-gallery__slide .lux-video__frame {
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
}

.lux-product-gallery__slide .lux-video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.lux-product-gallery__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--fresh-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(90, 44, 16, 0.16);
  color: var(--fresh-title);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lux-product-gallery__nav--prev {
  left: 12px;
}

.lux-product-gallery__nav--next {
  right: 12px;
}

.lux-product-gallery__nav::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.lux-product-gallery__nav--prev::before {
  margin-left: 3px;
  transform: rotate(-135deg);
}

.lux-product-gallery__nav--next::before {
  margin-right: 3px;
  transform: rotate(45deg);
}

.lux-product-gallery__stage:hover .lux-product-gallery__nav,
.lux-product-gallery__nav:focus-visible {
  opacity: 1;
}

.lux-product-gallery__nav:hover {
  background: var(--fresh-white);
}

/* Touch devices have no hover, and swiping is the gesture people reach for. */
@media (hover: none) {
  .lux-product-gallery__nav {
    opacity: 1;
  }
}

.lux-product-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 !important;
  padding: 2px;
  list-style: none;
  scrollbar-width: thin;
}

.lux-product-gallery__thumb-item {
  flex: 0 0 auto;
  margin: 0 !important;
}

.lux-product-gallery__thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 6px;
  border: 1px solid var(--fresh-line);
  border-radius: 10px;
  background: var(--fresh-white);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lux-product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lux-product-gallery__thumb:hover,
.lux-product-gallery__thumb:focus-visible {
  border-color: var(--fresh-active);
}

.lux-product-gallery__thumb.is-active {
  border-color: var(--fresh-active);
  box-shadow: 0 0 0 2px var(--fresh-accent-tint);
}

.lux-product-gallery__thumb-badge {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fresh-active);
}

.lux-product-gallery__thumb-badge::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--fresh-white);
  content: "";
}

/* Editor preview: the same shell, without the interactive parts. */
.lux-product-gallery--editor .lux-product-gallery__stage {
  display: grid;
  place-items: center;
}

.lux-product-gallery__editor-video,
.lux-product-gallery__editor-empty {
  display: grid;
  gap: 6px;
  padding: 24px;
  color: var(--fresh-muted);
  text-align: center;
  word-break: break-all;
}

.lux-product-gallery__editor-hint {
  margin: 10px 0 0;
  color: #646970;
  font-size: 12px;
}

@media (max-width: 599px) {
  .lux-product-gallery__thumb {
    width: 68px;
    height: 68px;
  }
}

.lux-product-intro__summary {
  display: grid !important;
  gap: 16px;
  margin: 0 !important;
}

.lux-product-intro__summary > * {
  margin: 0 !important;
}

.lux-product-intro__eyebrow {
  color: var(--fresh-blue-deep);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lux-product-intro__eyebrow a {
  color: inherit;
}

.lux-product-intro__title {
  color: var(--fresh-title) !important;
  font-size: clamp(28px, 3vw, 44px) !important;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.lux-product-intro__excerpt {
  color: var(--fresh-muted);
  font-size: var(--fresh-type-lead);
  line-height: var(--fresh-leading-lead);
}

.lux-product-intro__excerpt p {
  margin: 0;
}

.lux-product-intro__actions {
  gap: 12px !important;
  margin-top: 8px !important;
}

/* Product copy: headings and lists inside the post content. */
.entry-content > .wp-block-group > .wp-block-heading,
.lux-reference-section .wp-block-group > .wp-block-heading:not(.has-text-align-center) {
  margin-top: clamp(28px, 3vw, 40px) !important;
  color: var(--fresh-title);
  font-size: clamp(19px, 1.7vw, 23px);
}

/*
 * Body copy lists. The pricing cards style their own list, so they are
 * excluded — without that this rule repainted their ticks as orange dots on
 * the orange featured card, which made them disappear.
 */
.lux-reference-section
  .wp-block-group
  > ul.wp-block-list:not(.lux-pricing-card__features) {
  display: grid;
  gap: 10px;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.lux-reference-section
  .wp-block-group
  > ul.wp-block-list:not(.lux-pricing-card__features)
  > li {
  position: relative;
  padding-left: 26px;
  color: var(--fresh-text);
  line-height: 1.55;
}

.lux-reference-section
  .wp-block-group
  > ul.wp-block-list:not(.lux-pricing-card__features)
  > li::before {
  position: absolute;
  top: 0.62em;
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fresh-blue);
  content: "";
}

@media (max-width: 900px) {
  .lux-product-intro__grid {
    grid-template-columns: 1fr;
  }
}

/*
 * Product detail body
 * Replaces three stacked bullet lists with scannable blocks: a row of spec
 * tiles and a grid of feature cards.
 */
.lux-product-detail__lead p {
  margin: 0 auto !important;
  color: var(--fresh-text);
  font-size: var(--fresh-type-lead);
  line-height: var(--fresh-leading-lead);
  text-align: center;
  text-wrap: pretty;
}

.lux-product-detail__heading {
  position: relative;
  margin: clamp(44px, 5vw, 68px) auto clamp(24px, 2.6vw, 34px) !important;
  color: var(--fresh-title) !important;
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: clamp(20px, 1.9vw, 26px) !important;
  font-weight: var(--fresh-weight-heading);
  line-height: 1.25;
}

.lux-product-detail__heading::after {
  display: block;
  width: var(--fresh-section-divider-width);
  height: var(--fresh-section-divider-height);
  margin: var(--fresh-section-divider-offset) auto 0;
  border-radius: 999px;
  background: var(--fresh-active);
  content: "";
}

/* Technical parameters as tiles: the value leads, the label supports it. */
.lux-spec__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px) !important;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-spec__item {
  display: grid !important;
  justify-items: center;
  gap: 6px;
  padding: clamp(22px, 2.4vw, 32px) 16px !important;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
  box-shadow: var(--fresh-card-shadow);
  text-align: center;
}

.lux-spec__value {
  margin: 0 !important;
  color: var(--fresh-blue) !important;
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

.lux-spec__label {
  margin: 0 !important;
  color: var(--fresh-muted) !important;
  font-size: var(--fresh-type-small);
  line-height: 1.35;
}

/* Feature cards: a check, the feature, and its supporting note. */
.lux-features__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px) !important;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-features__item {
  position: relative;
  display: grid !important;
  gap: 4px;
  padding: clamp(18px, 1.8vw, 24px) clamp(18px, 1.8vw, 24px) clamp(18px, 1.8vw, 24px) 52px !important;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
  transition: border-color var(--fresh-transition), box-shadow var(--fresh-transition);
}

.lux-features__item:hover {
  border-color: var(--fresh-disabled);
  box-shadow: var(--fresh-card-shadow);
}

.lux-features__item::before {
  position: absolute;
  top: clamp(18px, 1.8vw, 24px);
  left: 18px;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--fresh-white);
  background: var(--fresh-blue);
  content: "✓";
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.lux-features__title {
  margin: 0 !important;
  color: var(--fresh-title) !important;
  font-weight: 600;
  line-height: 1.4;
}

.lux-features__note {
  margin: 0 !important;
  color: var(--fresh-muted) !important;
  font-size: var(--fresh-type-small);
  line-height: 1.5;
}

.lux-product-detail__closing p {
  margin: clamp(36px, 4vw, 52px) auto 0 !important;
  color: var(--fresh-muted);
  line-height: var(--fresh-leading-body);
  text-wrap: pretty;
}

@media (max-width: 1023px) {
  .lux-spec__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .lux-features__grid {
    grid-template-columns: 1fr;
  }
}

/* Real logos: greyscale at rest, full colour on hover. */

/*
 * Video facade
 * A YouTube embed is replaced by its poster until the visitor asks for it, so
 * the player's scripts never touch first load. The heading and copy around
 * each video stay in the markup, which is the part search engines read.
 */
.lux-video {
  position: relative;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-paper);
}

.lux-video__frame iframe,
.lux-video__frame img,
.lux-video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.lux-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--fresh-white);
  background: var(--fresh-blue);
  box-shadow: 0 10px 30px rgba(242, 92, 5, 0.34);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background var(--fresh-transition), transform var(--fresh-transition);
}

.lux-video__play::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 21px solid currentcolor;
  content: "";
}

.lux-video__play:hover,
.lux-video__play:focus-visible {
  background: var(--fresh-active);
  transform: translate(-50%, -50%) scale(1.06);
}

.lux-video__caption {
  margin: 14px auto 0 !important;
  color: var(--fresh-muted) !important;
  font-size: var(--fresh-type-small);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .lux-video__play:hover,
  .lux-video__play:focus-visible {
    transform: translate(-50%, -50%);
  }
}

/* ============================================================
   Homepage set pieces
   The rest of the site is a centred column. These three sections
   run on an asymmetric left-aligned grid instead: Georgian body
   copy scans badly when centred at full measure, and the split
   gives the product lineup and the video somewhere real to sit.
   ============================================================ */

/* --- Hero -------------------------------------------------- */

@media (max-width: 900px) {

}

/* --- Why us ------------------------------------------------ */
.lux-why__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px) !important;
  align-items: start;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
}

.lux-why__copy {
  display: grid !important;
  gap: 22px;
}

.lux-why__lead {
  margin: 0 !important;
  color: var(--fresh-text) !important;
  font-size: var(--fresh-type-lead);
  line-height: var(--fresh-leading-lead);
  text-align: left !important;
}

/* Three distinct claims, not a sequence — so they are ruled, not numbered. */
.lux-why__facts {
  display: grid;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.lux-why__facts li {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--fresh-line);
  color: var(--fresh-muted);
  line-height: 1.55;
}

.lux-why__facts li:last-child {
  border-bottom: 1px solid var(--fresh-line);
}

.lux-why__facts strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fresh-title);
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-small);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lux-why__actions {
  margin: 4px 0 0 !important;
}

.lux-why__media {
  margin: 0 !important;
}

.lux-why__media .lux-video {
  width: 100% !important;
}

@media (max-width: 900px) {
  .lux-why__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Closing call ------------------------------------------ */
.lux-call__card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px) !important;
  align-items: center;
  width: min(var(--fresh-content), 100%);
  margin: 0 auto !important;
  padding: clamp(32px, 4vw, 56px) !important;
  border: 1px solid var(--fresh-line);
  border-top: 3px solid var(--fresh-active);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
  box-shadow: var(--fresh-card-shadow);
}

.lux-call__title {
  margin: 0 0 10px !important;
  color: var(--fresh-title) !important;
  font-size: clamp(24px, 2.6vw, 36px) !important;
  line-height: 1.15;
  text-align: left !important;
}

.lux-call__title::after {
  display: none !important;
}

.lux-call__note {
  max-width: 44ch;
  margin: 0 !important;
  color: var(--fresh-muted) !important;
  text-align: left !important;
}

.lux-call__actions {
  display: grid !important;
  justify-items: start;
  gap: 14px;
}

/*
 * Both contact lines are one row: marker, then the value on a single baseline.
 * The markers repeat the footer's contact language — a disc with a navy glyph —
 * recoloured for a light card, where the footer's white disc would vanish.
 */
.lux-call__phone,
.lux-call__hours {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  white-space: nowrap;
}

.lux-call__phone::before,
.lux-call__hours::before {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

.lux-call__phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff3ea'/%3E%3Cg transform='translate(4.1 4.1) scale(0.655)'%3E%3Cpath fill='%230D3155' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/g%3E%3C/svg%3E");
}

.lux-call__hours::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff3ea'/%3E%3Cg transform='translate(4.1 4.1) scale(0.655)'%3E%3Cpath fill='%230D3155' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/g%3E%3C/svg%3E");
}

/* The phone number converts this business, so it is the largest thing here. */
.lux-call__phone {
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

/* The address is the quieter second line, but still readable — it used to
   inherit the 14px faint meta style and all but disappeared on the card. */
.lux-call__hours {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.2;
}

.lux-call__phone a,
.lux-call__hours a {
  color: var(--fresh-blue-deep);
  text-decoration: none;
  transition: color var(--fresh-transition);
}

.lux-call__hours a {
  color: var(--fresh-text);
}

.lux-call__phone a:hover,
.lux-call__phone a:focus-visible,
.lux-call__hours a:hover,
.lux-call__hours a:focus-visible {
  color: var(--fresh-active);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .lux-call__card {
    grid-template-columns: 1fr;
  }

  .lux-call__actions {
    justify-items: stretch;
  }
}

/* Long addresses may wrap on a phone; the marker stays on the first line. */
@media (max-width: 479px) {
  .lux-call__phone,
  .lux-call__hours {
    align-items: flex-start;
    white-space: normal;
  }

  .lux-call__phone::before,
  .lux-call__hours::before {
    width: 28px;
    height: 28px;
    margin-top: 2px;
  }
}

/* --- Hero: the dispatch panel -------------------------------
 * The lineup is a catalogue shot, not an environment: text laid
 * straight onto it collides with the cabins. The copy therefore
 * gets its own surface — a white panel set on the photograph,
 * the way a job docket sits on the delivered units. It keeps the
 * type crisp and leaves the products untouched.
 * ---------------------------------------------------------- */
.freshgroup-hero__panel {
  display: grid !important;
  gap: 18px;
  width: min(560px, 100%);
  margin: 0 !important;
  padding: clamp(26px, 2.4vw, 38px) !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--fresh-card-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(90, 44, 16, 0.18);
  backdrop-filter: blur(6px);
}

.freshgroup-hero__panel > * {
  margin: 0 !important;
}

.freshgroup-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fresh-blue-deep) !important;
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.freshgroup-hero__eyebrow::before {
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background: var(--fresh-active);
  content: "";
}

.freshgroup-hero__title {
  color: var(--fresh-title) !important;
  font-size: clamp(28px, 2.9vw, 40px) !important;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: left !important;
  text-wrap: balance;
}

.freshgroup-hero__lead {
  color: var(--fresh-muted) !important;
  font-size: var(--fresh-type-body);
  line-height: var(--fresh-leading-body);
  text-align: left !important;
}

.freshgroup-hero__actions {
  gap: 10px !important;
}

/* What every package includes — kept inside the panel, under a rule,
   so it can never sit on top of a cabin. */
.freshgroup-hero__meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 18px !important;
  border-top: 1px solid var(--fresh-line);
  color: var(--fresh-muted) !important;
  font-family: "BPG Mrgvlovani Caps", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  letter-spacing: 0.03em;
  list-style: none;
}

.freshgroup-hero__meta li {
  position: relative;
  margin: 0;
  padding-left: 14px;
}

.freshgroup-hero__meta li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fresh-active);
  content: "";
}

/* One quiet arrival, once. */
@media (prefers-reduced-motion: no-preference) {
  .freshgroup-hero__panel {
    animation: fresh-hero-panel 520ms var(--fresh-motion-out) both;
  }
}

@keyframes fresh-hero-panel {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 900px) {
  /*
   * With the photo gone there is nothing to sit on, so the panel stops being a
   * translucent overlay and becomes an ordinary card: solid white on the tint,
   * hairline border, and no backdrop blur (it had nothing left to blur).
   */
  .freshgroup-hero__panel {
    width: 100%;
    border-color: var(--fresh-line);
    background: var(--fresh-white);
    box-shadow: var(--fresh-card-shadow);
    backdrop-filter: none;
  }
}

/* Actions stay on one row while the panel has room for them. */
.freshgroup-hero__actions {
  flex-wrap: wrap !important;
}

.freshgroup-hero__actions .wp-block-button__link {
  white-space: nowrap;
}

/* The floating social rail must never reach the panel. */
@media (max-width: 1180px) {
  .lux-social-rail {
    display: none !important;
  }
}

/*
 * About intro — copy beside the site banner.
 *
 * Core Columns already stacks below 782px, so the only work here is holding
 * the image to the design system's radius, keeping it from stretching past
 * its own resolution, and letting the taller column set the section height.
 */
.lux-about-intro {
  margin-top: 34px;
}

.lux-about-intro__media {
  margin: 0;
}

.lux-about-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/*
 * Stacked, the banner would otherwise run most of a phone screen tall before
 * the copy resumes, so it is cropped to a calmer ratio on the way down.
 */
@media (max-width: 781px) {
  .lux-about-intro {
    margin-top: 22px;
  }

  .lux-about-intro__media img {
    max-height: 62vh;
    object-fit: cover;
    object-position: center;
  }
}

/*
 * Footer logo — the mark sits on its own white plate.
 *
 * The supplied artwork is dark lettering on opaque white, so it cannot go
 * transparent over the orange footer without the wordmark disappearing with
 * the background. Rather than leave a stray white rectangle, the plate is
 * finished as a deliberate chip on the design system's 5px radius. Swap in a
 * light-on-transparent logo and this rule becomes unnecessary.
 */
.lux-reference-footer__logo {
  display: inline-block;
  margin: 0 0 16px !important;
}

.lux-reference-footer__logo img {
  padding: 9px 11px;
  border-radius: 5px;
  background: var(--fresh-white, #fff);
  box-shadow: 0 2px 10px rgba(23, 18, 15, 0.14);
}

/*
 * Process video — below the steps, not inside them.
 *
 * The embed used to sit between step 01 and step 02 as a direct child of
 * .lux-process__grid, so the timeline treated it as a step and the numbered
 * sequence broke around it. It now follows the grid as its own constrained
 * block, leaving the 01-02-03 run unbroken.
 */
.lux-process__video {
  margin-top: 46px;
}

.lux-process__video figure {
  margin: 0;
}

@media (max-width: 767px) {
  .lux-process__video {
    margin-top: 30px;
  }
}

/* ==========================================================================
   Breadcrumb (SEOPress-driven, ported from LUXWEB)
   SEOPress Pro owns the crumb data and the BreadcrumbList JSON-LD; the theme
   only places the markup (functions.php → render_block) and styles it. The
   arrow-cell shape is LUXWEB's; only the palette changes — active/hover use
   --fresh-blue-deep (#c2410c), the one orange that clears WCAG AA behind white
   text, mirroring LUXWEB's Deep-Ink rule.
   ========================================================================== */
.fresh-breadcrumb {
  width: min(calc(100% - 40px), var(--fresh-content));
  margin: 26px auto 2px;
  text-align: left;
}

.fresh-breadcrumb ol.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  font-family: "BPG Glaho", "Sylfaen", sans-serif;
  font-size: var(--fresh-type-meta);
  line-height: 1;
  scrollbar-width: none;
}

.fresh-breadcrumb ol.breadcrumb::-webkit-scrollbar {
  display: none;
}

.fresh-breadcrumb .breadcrumb-item {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: 0.3s ease;
}

/* Each crumb's cell — links are <a>, the current page is a bare <span>. */
.fresh-breadcrumb .breadcrumb-item > a,
.fresh-breadcrumb .breadcrumb-item.active > span {
  box-sizing: content-box;
  display: block;
  height: 40px;
  padding: 0 15px 0 25px;
  overflow: hidden;
  color: #6b7280;
  background: var(--fresh-white);
  border: 1px solid var(--fresh-line);
  font-size: var(--fresh-type-meta);
  line-height: 40px;
  white-space: nowrap;
  text-decoration: none;
  text-overflow: ellipsis;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    max-width 0.3s ease;
}

/* Chevron notch between cells: a back triangle in the seam colour with a
   front triangle in the cell colour layered over it. More specific than
   SEOPress's own `.breadcrumb li::after` separator, so this shape wins. */
.fresh-breadcrumb .breadcrumb-item::after {
  box-sizing: content-box;
  position: absolute;
  right: -10px;
  top: -1px;
  z-index: 10;
  margin: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 10px solid var(--fresh-line);
  content: "";
  pointer-events: none;
}

.fresh-breadcrumb .breadcrumb-item::before {
  box-sizing: content-box;
  position: absolute;
  right: -9px;
  top: -1px;
  z-index: 20;
  margin: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 10px solid var(--fresh-white);
  content: "";
  transition: 0.3s ease;
  pointer-events: none;
}

/* Home crumb → rounded left cap with a house glyph; label kept for a11y. */
.fresh-breadcrumb .breadcrumb-item:first-child > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 5px 0 0 5px;
}

.fresh-breadcrumb .breadcrumb-item:first-child > a::before {
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11.3 3.3 3 10.8c-.4.3-.2 1 .3 1H5v8c0 .4.3.7.7.7H9.5v-5.2c0-.4.3-.7.7-.7h3.6c.4 0 .7.3.7.7v5.2h3.8c.4 0 .7-.3.7-.7v-8h1.7c.5 0 .7-.7.3-1l-8.3-7.5c-.4-.3-.9-.3-1.3 0z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11.3 3.3 3 10.8c-.4.3-.2 1 .3 1H5v8c0 .4.3.7.7.7H9.5v-5.2c0-.4.3-.7.7-.7h3.6c.4 0 .7.3.7.7v5.2h3.8c.4 0 .7-.3.7-.7v-8h1.7c.5 0 .7-.7.3-1l-8.3-7.5c-.4-.3-.9-.3-1.3 0z'/%3E%3C/svg%3E") no-repeat center / contain;
  content: "";
}

.fresh-breadcrumb .breadcrumb-item:first-child > a span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Last crumb → rounded right cap, no chevron. */
.fresh-breadcrumb .breadcrumb-item:last-child::before,
.fresh-breadcrumb .breadcrumb-item:last-child::after {
  display: none;
}

.fresh-breadcrumb .breadcrumb-item:last-child > a,
.fresh-breadcrumb .breadcrumb-item:last-child > span {
  padding-right: 20px;
  border-radius: 0 40px 40px 0;
}

/* Collapse long middle crumbs; reveal on hover. */
.fresh-breadcrumb .breadcrumb-item:not(:first-child):not(:last-child):not(.active) > a {
  max-width: 120px;
}

.fresh-breadcrumb .breadcrumb-item:not(:first-child):not(:last-child):not(.active) > a:hover,
.fresh-breadcrumb .breadcrumb-item:not(:first-child):not(:last-child):not(.active) > a:focus-visible {
  max-width: 360px;
}

/* Hover + current page → the site's signal orange (--fresh-active, the same
   #EA580C as the header strip and hovered buttons), white text. This is the
   brand's own filled-orange convention — the popular pricing card fills the
   identical way — so the crumb reads as FreshGroup, not a muted stand-in. */
.fresh-breadcrumb .breadcrumb-item > a:hover,
.fresh-breadcrumb .breadcrumb-item > a:focus-visible,
.fresh-breadcrumb .breadcrumb-item.active > span {
  color: var(--fresh-white);
  background: var(--fresh-active);
  border-color: var(--fresh-active);
}

.fresh-breadcrumb .breadcrumb-item:hover::before,
.fresh-breadcrumb .breadcrumb-item:focus-within::before {
  border-left-color: var(--fresh-active);
}

/* The empty anchor block a template drops in to position the crumbs. */
.fresh-breadcrumb-anchor {
  display: none;
}

@media (max-width: 477px) {
  .fresh-breadcrumb .breadcrumb-item:not(:first-child):not(:last-child):not(.active) > a {
    max-width: 72px;
  }
}

/* ==========================================================================
   Interior page masthead
   The light-system take on LUXWEB's intro panel: breadcrumb, a hairline and the
   page title share one full-width warm-tint band (--fresh-accent-tint), the
   same #FFF3EA used by the accent sections — a light panel, not the dark one
   DESIGN.md forbids. The band is full-bleed; its contents hold the 1440 grid.
   The title is injected into the band from the page's own H1 (functions.php),
   so every page's masthead is identical in structure and spacing.
   ========================================================================== */
.fresh-masthead {
  padding: 26px 0 24px;
  background: var(--fresh-accent-tint);
  border-bottom: 1px solid var(--fresh-line);
}

/* The band is full-width; its three rows hold the same 1440 grid as the body
   via the site's standard content-width formula, so the breadcrumb, hairline,
   title and the content below all share one left edge. Forcing margin-inline
   to 0 (as an earlier `margin:… 0 …` did) is what threw the title to the far
   edge — it must stay auto so the block centres and the text starts on grid. */
.fresh-masthead .fresh-breadcrumb,
.fresh-masthead .fresh-masthead__rule,
.fresh-masthead .fresh-masthead__title {
  width: min(calc(100% - 40px), var(--fresh-content));
  margin-left: auto;
  margin-right: auto;
}

.fresh-masthead .fresh-breadcrumb {
  margin-top: 0;
  margin-bottom: 0;
}

.fresh-masthead__rule {
  height: 1px;
  margin-top: 15px !important;
  margin-bottom: 0 !important;
  border: 0;
  background: var(--fresh-line);
  opacity: 1;
}

.fresh-masthead__title {
  margin-top: 15px !important;
  margin-bottom: 0 !important;
  color: var(--fresh-title);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  text-align: left;
}

/*
 * The intro line, when the page has one — pages without it simply skip it.
 * It stops at a comfortable reading measure rather than filling the band, so
 * `margin-right: auto` (not `auto` both sides) keeps the shorter box hard left
 * instead of centring it. The left margin reproduces exactly where the title's
 * centred 1440 box begins, so heading and intro share one vertical edge.
 */
.fresh-masthead__lead {
  width: min(calc(100% - 40px), 760px);
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  margin-left: max(20px, calc((100% - var(--fresh-content)) / 2));
  margin-right: auto;
  color: var(--fresh-text);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  text-align: left;
  text-wrap: pretty;
}

/* Empty anchor blocks the template drops in for the injected markup. */
.fresh-breadcrumb-anchor,
.fresh-title-anchor,
.fresh-lead-anchor {
  display: none;
}

/* The band already gives the page its heading, so the first content section
   opens tighter — its own centred H1 is suppressed in functions.php. */
.fresh-page .wp-block-post-content > .lux-reference-section:first-child {
  padding-top: clamp(26px, 3vw, 40px) !important;
}

/*
 * Footer contact rows — same marker language as the link bullets.
 *
 * Each line gets a white disc with a navy glyph, matching the supplied
 * bullet-point artwork, so the contact column and the links column read as one
 * system. Rows are matched by what they link to rather than by position, so
 * reordering them in the Site Editor cannot hand a row the wrong icon.
 */
.lux-reference-footer__contact p {
  position: relative;
  padding-left: 26px;
}

.lux-reference-footer__contact p::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

.lux-reference-footer__contact p:has(a[href^="tel:"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ffffff'/%3E%3Cg transform='translate(4.1 4.1) scale(0.655)'%3E%3Cpath fill='%230D3155' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/g%3E%3C/svg%3E");
}

.lux-reference-footer__contact p:has(a[href^="mailto:"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ffffff'/%3E%3Cg transform='translate(4.1 4.1) scale(0.655)'%3E%3Cpath fill='%230D3155' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/g%3E%3C/svg%3E");
}

/*
 * The social row starts where the contact copy starts, not where its icons do:
 * these are their own buttons, so lining them up with the marker column would
 * read as a fourth contact line rather than a separate block.
 */
.lux-reference-footer__contact .lux-reference-footer__social {
  padding-left: 26px;
}

.lux-reference-footer__contact p:not(:has(a))::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ffffff'/%3E%3Cg transform='translate(4.1 4.1) scale(0.655)'%3E%3Cpath fill='%230D3155' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   Partners
   Ten marks of very different proportions — a square cube, a
   long Georgian wordmark, a red brand block. A fixed grid makes
   that ragged, so the row runs as a marquee: it fits any number
   of partners, and the movement reads as a working roster rather
   than a wall. Optical weight is baked into each export, so the
   track only caps height.
   ============================================================ */
.lux-partners {
  overflow: hidden;
}

.lux-partners__marquee {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden;
  /* fade the ends so logos enter and leave instead of being cut */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.lux-partners__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 24px);
  width: max-content;
  padding-block: 14px;
  animation: lux-partners-scroll 46s linear infinite;
}

.lux-partners__marquee:hover .lux-partners__track,
.lux-partners__marquee:focus-within .lux-partners__track {
  animation-play-state: paused;
}

/* Each mark keeps its own card, so ten different lockups still read as one
   set as they pass. */
.lux-partners__logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 210px;
  height: 132px;
  margin: 0 !important;
  padding: 0 30px;
  border: 1px solid var(--fresh-line);
  border-radius: var(--fresh-card-radius);
  background: var(--fresh-white);
  box-shadow: var(--fresh-card-shadow);
  line-height: 0;
  transition:
    border-color var(--fresh-transition),
    box-shadow var(--fresh-transition);
}

.lux-partners__logo:hover {
  border-color: var(--fresh-disabled);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.lux-partners__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 72px;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity var(--fresh-transition);
}

.lux-partners__logo:hover img {
  opacity: 1;
}

@keyframes lux-partners-scroll {
  to {
    /* the set is duplicated once, so half a loop is a seamless wrap */
    transform: translateX(-50%);
  }
}

/*
 * No motion: the marquee becomes a row the visitor scrolls, which keeps
 * every partner reachable by touch, wheel and keyboard.
 */
@media (prefers-reduced-motion: reduce) {
  .lux-partners__track {
    animation: none;
  }

  .lux-partners__marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 767px) {
  .lux-partners__logo {
    min-width: 168px;
    height: 108px;
    padding: 0 22px;
  }

  .lux-partners__logo img {
    height: 56px;
  }

  .lux-partners__track {
    gap: 14px;
  }
}
