/* =========================================================================
   Yiran — homepage design system (navy + azure)
   Prefix: yr-   |  Header keeps its own yiran-* classes.
   ========================================================================= */
:root {
  --yr-ink: #0c1c36;
  --yr-ink-2: #12305a;
  --yr-accent: #2e6ce6;
  --yr-accent-2: #5a8cf0;
  --yr-accent-hover: #2a61cf;
  --yr-accent-soft: color-mix(in srgb, var(--yr-accent) 8%, transparent);
  --yr-accent-ring: color-mix(in srgb, var(--yr-accent) 14%, transparent);
  --yr-accent-shadow: color-mix(in srgb, var(--yr-accent) 28%, transparent);
  --yr-button-fill: var(--yr-accent);
  --yr-button-fill-hover: var(--yr-accent-hover);
  --yr-dark-band-bg: linear-gradient(160deg, var(--yr-ink) 0%, var(--yr-ink-2) 100%);
  --yr-dark-band-glow: radial-gradient(80% 120% at 85% 0%, color-mix(in srgb, var(--yr-accent) 36%, transparent), transparent 55%);
  --yr-paper: #ffffff;
  --yr-paper-2: #f4f7fb;
  --yr-paper-3: #e9f0f9;
  --yr-text: #36475e;
  --yr-heading: #0c1c36;
  --yr-muted: #76859b;
  --yr-line: #e2e9f2;
  --yr-line-dark: rgba(255, 255, 255, 0.14);
  --yr-maxw: 1680px;
  --yr-radius: 8px;
  --yr-section-title-size: clamp(29px, 3.6vw, 44px);
  --yr-section-title-weight: 700;
  --yr-section-title-line-height: 1.12;
  --yr-section-title-letter-spacing: 0;
}

html { scroll-behavior: smooth; }

/* ---------- shared ---------- */
.yr-section {
  padding-block: clamp(72px, 7.2vw, 112px);
  padding-inline: clamp(24px, 2.4vw, 40px);
  scroll-margin-top: 24px;
}
.yr-section.is-light,
.yr-section.is-paper,
.yr-section.is-dark {
  background: transparent;
}

body.home .yr-home-surface--plain {
  --yr-home-surface-bg: #fff;
  --yr-home-card-bg: #f3f5f4;
  --yr-home-card-hover-bg: #f7f9f8;
  background: var(--yr-home-surface-bg) !important;
  color: var(--yr-text);
  border-top: 0 !important;
}

body.home .yr-home-surface--soft {
  --yr-home-surface-bg: #f5f7f6;
  --yr-home-card-bg: #fff;
  --yr-home-card-hover-bg: #fff;
  background: var(--yr-home-surface-bg) !important;
  color: var(--yr-text);
  border-top: 0 !important;
}

body.home :where(.yr-home-surface--plain, .yr-home-surface--soft) :where(.yr-h2, .yr-lead) {
  color: var(--yr-heading) !important;
}

body.home :where(.yr-home-surface--plain, .yr-home-surface--soft) .yr-lead {
  color: var(--yr-text) !important;
}

body.home .yr-certifications--home .yr-certifications__shell {
  width: min(1680px, calc(100% - 48px));
}

body.home :where(.yr-home-surface--plain, .yr-home-surface--soft) :where(
  .yr-step,
  .yr-proof-feature,
  .yr-proof-card,
  .yr-proof-statement,
  .yr-testimonial-card,
  .yr-case-ref-card,
  .yr-partners__logo,
  .yr-related-post-card-picture
) {
  background: var(--yr-home-card-bg) !important;
}

body.home :where(.yr-home-surface--plain, .yr-home-surface--soft) :where(
  .yr-partners__logo:hover
) {
  background: var(--yr-home-card-hover-bg) !important;
}

body.home .yr-certifications--home .yr-certifications__link,
body.home .yr-certifications--home .yr-certifications__link:hover,
body.home .yr-certifications--home .yr-certifications__link:focus-visible {
  background: #fff !important;
}

.yr-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yr-accent);
}
.yr-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yr-accent);
}
.has-text-align-center.yr-eyebrow,
.yr-eyebrow.is-center { justify-content: center; }

.yr-head-center { max-width: 840px; margin-inline: auto; margin-bottom: clamp(38px, 4.4vw, 58px); }
.yr-head-center .yr-h2, .yr-head-center .yr-lead { text-align: center; }

.yr-h2 {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: var(--yr-section-title-size);
  font-weight: var(--yr-section-title-weight);
  line-height: var(--yr-section-title-line-height);
  letter-spacing: var(--yr-section-title-letter-spacing);
  color: var(--yr-heading);
}

.yr-heading-stack {
  position: relative;
  isolation: isolate;
}

.yr-heading-stack > :not(.yr-section-watermark) {
  position: relative;
  z-index: 1;
}

.yr-section-watermark {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: max-content;
  max-width: min(100%, calc(100vw - 48px));
  overflow: hidden;
  color: color-mix(in srgb, var(--yr-heading) 6%, transparent);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: translateY(-28%);
}

.yr-heading-stack--center .yr-section-watermark {
  left: 50%;
  text-align: center;
  transform: translate(-50%, -28%);
}

.yr-home-module--capabilities .yr-section-watermark {
  color: rgba(255, 255, 255, 0.08);
  font-size: 64px;
}

@media (max-width: 1100px) {
  .yr-section-watermark {
    font-size: 60px;
  }

  .yr-home-module--capabilities .yr-section-watermark {
    font-size: 52px;
  }
}

@media (max-width: 600px) {
  .yr-section-watermark,
  .yr-home-module--capabilities .yr-section-watermark {
    max-width: calc(100vw - 40px);
    font-size: 38px;
    transform: translateY(-18%);
  }

  .yr-heading-stack--center .yr-section-watermark {
    transform: translate(-50%, -18%);
  }

  .yr-home-module--certifications .yr-section-watermark {
    font-size: 32px;
  }

}

.yr-lead {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--yr-text);
}
.is-dark .yr-h2, .is-dark .yr-lead { color: #fff; }
.is-dark .yr-lead { color: rgba(255, 255, 255, 0.78); }

.yr-product-media .yr-image-placeholder,
.yr-tile .yr-image-placeholder,
.yr-case-ref-media .yr-image-placeholder,
.yr-cap2-media .yr-image-placeholder,
.yr-step-media .yr-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
}

.yr-tile .yr-image-placeholder,
.yr-step-media .yr-image-placeholder {
  color: rgba(76, 95, 122, 0.32);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yr-accent) 8%, transparent), transparent 48%),
    linear-gradient(180deg, #f3f6fa 0%, #e7edf5 100%);
}

.yr-testimonial-avatar.yr-image-placeholder {
  min-height: 0;
  padding: 0;
  color: rgba(76, 95, 122, 0.66);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yr-accent) 12%, transparent), transparent 54%),
    #edf2f8;
}

.yr-testimonial-avatar.yr-image-placeholder::before {
  display: none;
}

.yr-products > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.yr-about > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.yr-solutions > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.yr-faq > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.yr-news > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  width: min(100%, var(--yr-maxw));
  max-width: var(--yr-maxw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- buttons ---------- */
.yr-btn .wp-block-button__link {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 !important;
  padding: 16px 30px !important;
  border: 1.5px solid transparent !important;
  border-radius: 8px !important;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.yr-btn .wp-block-button__link i { margin-right: 8px; font-size: 0.85em; }

.yr-btn-primary .wp-block-button__link {
  background: var(--yr-button-fill) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px var(--yr-accent-shadow);
}
.yr-btn-primary .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: var(--yr-button-fill-hover) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px var(--yr-accent-shadow);
}

.yr-btn-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--yr-ink) !important;
  border-color: rgba(12, 28, 54, 0.25) !important;
}
.yr-btn-outline .wp-block-button__link:hover {
  background: var(--yr-ink) !important;
  color: #fff !important;
  border-color: var(--yr-ink) !important;
}

.yr-btn-ghost .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
}
.yr-btn-ghost .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* text link with arrow */
.yr-textlink a, a.yr-textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--yr-accent);
  text-decoration: none;
}
.yr-textlink a i, a.yr-textlink i { font-size: 12px; transition: transform 0.2s ease; }
.yr-textlink a:hover i, a.yr-textlink:hover i { transform: translateX(5px); }

/* =========================================================================
   HERO
   ========================================================================= */
.yr-hero {
  position: relative;
  isolation: isolate;
  padding-inline: 24px;
  background:
    radial-gradient(120% 90% at 82% 12%, color-mix(in srgb, var(--yr-accent) 20%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(12, 28, 54, 0.6) 0%, rgba(12, 28, 54, 0.64) 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.yr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 80%);
  z-index: -1;
}
.yr-hero-inner { padding-block: clamp(116px, 16vh, 184px); }
.yr-hero-eyebrow { color: var(--yr-accent-2); }
.yr-hero-title {
  max-width: min(90vw, 1100px);
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: var(--yr-section-title-size);
  font-weight: var(--yr-section-title-weight);
  line-height: var(--yr-section-title-line-height);
  letter-spacing: 0;
  color: #fff;
  text-wrap: balance;
}
.yr-hero-lead {
  max-width: 580px;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
.yr-hero-cta { margin-top: 38px; gap: 14px; }

.yr-hero-meta {
  margin-top: clamp(52px, 7vw, 84px);
  padding-top: 32px;
  gap: clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--yr-line-dark);
}
.yr-stat { gap: 6px; }
.yr-stat-num {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0;
}
.yr-stat-num em { color: var(--yr-accent-2); font-style: normal; }
.yr-stat-label { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.62); }

/* =========================================================================
   CAPABILITIES — image + editorial split (v0.0.14)
   ========================================================================= */
.yr-section.yr-cap2 {
  padding-block: clamp(52px, 5.2vw, 80px);
}
.yr-cap2-cols {
  width: min(100%, var(--yr-maxw));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(420px, 0.86fr);
  gap: clamp(28px, 3.8vw, 64px);
  align-items: center;
}
.yr-cap2-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  border-radius: var(--yr-radius);
  overflow: hidden;
  background-color: var(--yr-paper-3);
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 56px rgba(12, 28, 54, 0.12);
  transform: translateZ(0);
}
.yr-cap2-media.is-ratio-ready {
  aspect-ratio: var(--yr-cap2-active-ratio);
}
.yr-cap2-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%, rgba(12, 28, 54, 0.08));
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}
.yr-cap2-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yr-cap2-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
}
.yr-cap2-carousel .swiper-wrapper {
  height: 100%;
}
.yr-cap2-carousel:not(.swiper-initialized) .yr-cap2-slide {
  display: none;
}
.yr-cap2-carousel:not(.swiper-initialized) .yr-cap2-slide:first-child {
  display: block;
}
.yr-cap2-slide {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: var(--yr-paper-3);
  background-position: center;
  background-size: cover;
}
.yr-cap2-prev,
.yr-cap2-next {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(12, 28, 54, 0.58);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.yr-cap2-prev { left: 16px; }
.yr-cap2-next { right: 16px; }
.yr-cap2-prev svg,
.yr-cap2-next svg { width: 20px; height: 20px; }
.yr-cap2-prev:hover,
.yr-cap2-prev:focus-visible,
.yr-cap2-next:hover,
.yr-cap2-next:focus-visible {
  border-color: var(--yr-accent);
  background: var(--yr-accent);
  outline: none;
}
.yr-cap2-prev:hover,
.yr-cap2-prev:focus-visible { transform: translate(-2px, -50%); }
.yr-cap2-next:hover,
.yr-cap2-next:focus-visible { transform: translate(2px, -50%); }
.yr-cap2-pagination {
  z-index: 4 !important;
  bottom: 14px !important;
}
.yr-cap2-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 28, 54, 0.16);
  opacity: 0.68;
}
.yr-cap2-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--yr-accent);
  opacity: 1;
}
.yr-cap2-body { max-width: 560px; }

/* eyebrow as a pill (overrides the default dash eyebrow for this section) */
.yr-eyebrow.is-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--yr-paper-3);
  border-radius: 999px;
  letter-spacing: 0.14em;
}
.yr-eyebrow.is-pill::before { display: none; }

.yr-cap2-body .yr-h2 { margin-bottom: 14px; }
.yr-cap2-lead {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(15.5px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.48;
  color: var(--yr-heading);
}
.yr-cap2-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--yr-text);
}
.yr-cap2-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.yr-cap2-list li {
  position: relative;
  padding-left: 26px;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--yr-heading);
}
.yr-cap2-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background-color: var(--yr-accent);
  -webkit-mask: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* inquiry CTA — outline pill with a nudging arrow */
.yr-cap2-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 22px;
  border: 1.5px solid rgba(12, 28, 54, 0.28);
  border-radius: 999px;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--yr-heading);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.yr-cap2-cta svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.yr-cap2-cta:hover {
  transform: translateY(-2px);
  background: var(--yr-ink);
  border-color: var(--yr-ink);
  color: #fff;
  box-shadow: 0 14px 28px rgba(12, 28, 54, 0.14);
}
.yr-cap2-cta:hover svg { transform: translate(3px, -3px); }

/* reveal: keep the image visible, then let the inner image ease into place */
.yr-cap2-media.yr-reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: box-shadow 0.45s ease;
}
.yr-cap2-media img { transform: scale(1.03); transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.yr-cap2-media.is-revealed img { transform: scale(1); }
.yr-cap2-media.is-revealed:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .yr-cap2-media.yr-reveal { filter: none !important; }
  .yr-cap2-media img,
  .yr-cap2-media.is-revealed img { transform: none !important; }
}
@media (max-width: 860px) {
  .yr-cap2-cols { grid-template-columns: 1fr; gap: 24px; }
  .yr-cap2-body { max-width: none; }
}
@media (max-width: 460px) {
  .yr-cap2-list { grid-template-columns: 1fr; }
}

/* =========================================================================
   CAPABILITIES — immersive 3–1–3 "Why Choose Us" composition
   ========================================================================= */
.yr-cap3 {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  padding: 72px clamp(24px, 4.8vw, 70px) 110px;
  overflow: hidden;
  background-color: #0b1820;
  background-image: linear-gradient(135deg, #183443, #09161f);
  color: #fff;
}

.yr-cap3-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.yr-cap3-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 15, 20, 0.74), rgba(5, 16, 23, 0.58) 48%, rgba(4, 13, 22, 0.76)),
    rgba(4, 12, 18, 0.3);
}

.yr-cap3-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, 100%);
  margin-inline: auto;
}

.yr-cap3-header {
  text-align: center;
}

.yr-cap3-title {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: var(--yr-section-title-size);
  font-weight: var(--yr-section-title-weight);
  letter-spacing: var(--yr-section-title-letter-spacing);
  line-height: var(--yr-section-title-line-height);
}

.yr-cap3-lead {
  max-width: 1000px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  text-wrap: pretty;
}

.yr-cap3-layout {
  display: grid;
  grid-template-columns: minmax(280px, 396px) 300px minmax(280px, 396px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(34px, 7.8vw, 114px);
  margin-top: 48px;
}

.yr-cap3-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yr-cap3-item {
  box-sizing: border-box;
  display: flex;
  min-height: 72px;
  align-items: center;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(229, 229, 229, 0.4);
  border-radius: 5px;
  background: rgba(8, 19, 25, 0.08);
  color: #fff;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.yr-cap3-item:hover {
  border-color: color-mix(in srgb, var(--yr-accent) 74%, #fff);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.yr-cap3-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.yr-cap3-icon::before,
.yr-cap3-icon::after {
  content: "";
  position: absolute;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.yr-cap3-icon::before {
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
}

.yr-cap3-icon::after {
  inset: 2px;
  background: rgba(7, 18, 24, 0.9);
}

.yr-cap3-icon svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yr-cap3-label {
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(17px, 1.38vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}

.yr-cap3-media {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0;
  border-radius: 50%;
}

.yr-cap3-picture {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: var(--yr-paper-3);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.28);
}

.yr-cap3-picture img,
.yr-cap3-picture .yr-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yr-cap3-picture--link {
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.yr-cap3-picture--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2), 0 28px 68px rgba(0, 0, 0, 0.34);
}

.yr-cap3-picture--link:focus-visible {
  outline: 3px solid var(--yr-accent);
  outline-offset: 7px;
}

/* Product showcase — asymmetric color field and horizontal 3:2 product rail. */
.yr-product-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 4vw, 72px) 0;
  background: #f7f7f7;
}

.yr-product-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 32%;
  background: var(--yr-accent);
}

.yr-product-showcase__shell {
  width: min(calc(100% - (2 * clamp(24px, 4.8vw, 70px))), 1680px);
  margin-inline: auto;
}

.yr-product-showcase__header {
  display: flex;
  min-height: 102px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.yr-product-showcase__title {
  max-width: 8ch;
  margin: 0;
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(29px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

.yr-product-showcase__nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.yr-product-showcase__arrow {
  display: inline-grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--yr-accent) 14%, #fff);
  color: var(--yr-accent);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.yr-product-showcase__arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yr-product-showcase__arrow:hover:not(.swiper-button-disabled) {
  transform: translateY(-2px);
}

.yr-product-showcase__next,
.yr-product-showcase__prev:hover:not(.swiper-button-disabled) {
  background: var(--yr-accent);
  color: #fff;
}

.yr-product-showcase__arrow:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--yr-accent) 44%, #fff);
  outline-offset: 3px;
}

.yr-product-showcase__arrow.swiper-button-disabled {
  opacity: 0.45;
  cursor: default;
}

.yr-product-showcase__slider {
  overflow: visible;
}

.yr-product-showcase__card {
  min-width: 0;
}

.yr-product-showcase__image {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--yr-accent);
  border-radius: 5px;
  background: #fff;
  cursor: zoom-in;
}

.yr-product-showcase__image img,
.yr-product-showcase__image .yr-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.yr-product-showcase__image:hover img {
  transform: scale(1.02);
}

.yr-product-showcase__image:focus-visible {
  outline: 3px solid var(--yr-accent);
  outline-offset: 3px;
}

.yr-product-showcase__image--placeholder {
  cursor: default;
}

.yr-product-showcase__name {
  margin: 10px 0 0;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.yr-product-showcase__name a,
.yr-product-showcase__name > span {
  display: block;
  overflow: hidden;
  color: var(--yr-ink);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.yr-product-showcase__name a:hover,
.yr-product-showcase__name a:focus-visible {
  color: #666;
}

@media (max-width: 781px) {
  .yr-product-showcase {
    padding: 40px 0;
    background: #f7f7f7;
  }

  .yr-product-showcase::before {
    display: none;
  }

  .yr-product-showcase__shell {
    width: calc(100% - 30px);
  }

  .yr-product-showcase__header {
    min-height: 0;
    align-items: center;
    margin-bottom: 20px;
  }

  .yr-product-showcase__title {
    max-width: calc(100% - 110px);
    color: var(--yr-ink);
    font-size: 26px;
    line-height: 1.4;
  }

  .yr-product-showcase__arrow {
    width: 40px;
    height: 40px;
  }

  .yr-product-showcase__name {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yr-product-showcase__image img,
  .yr-product-showcase__arrow,
  .yr-cap3-picture--link {
    transition: none;
  }
}

.yr-cap3-orbit {
  position: absolute;
  z-index: 1;
  inset: -46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  animation: yrCap3Orbit 18s linear infinite;
}

.yr-cap3-orbit::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.yr-cap3-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yr-accent);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

@keyframes yrCap3Orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 1050px) {
  .yr-cap3-layout {
    grid-template-columns: minmax(240px, 1fr) 260px minmax(240px, 1fr);
    gap: 32px;
  }

  .yr-cap3-media {
    width: 260px;
    height: 260px;
  }

  .yr-cap3-orbit {
    inset: -34px;
  }
}

@media (max-width: 820px) {
  .yr-cap3 {
    min-height: 0;
    padding: 58px 20px 70px;
  }

  .yr-cap3-title {
    font-size: var(--yr-section-title-size);
    line-height: var(--yr-section-title-line-height);
  }

  .yr-cap3-lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .yr-cap3-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 34px;
  }

  .yr-cap3-list,
  .yr-cap3-media {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .yr-cap3-list--left { order: 1; }
  .yr-cap3-media {
    order: 2;
    width: min(260px, 72vw);
    height: min(260px, 72vw);
    margin-block: 42px;
  }
  .yr-cap3-list--right { order: 3; }

  .yr-cap3-item {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yr-cap3-orbit { animation: none; }
  .yr-cap3-item { transition: none; }
}

/* About: full-width image-led proof section */
.yr-about-simple {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 700px;
  padding: clamp(92px, 10.6vw, 156px) clamp(24px, 5vw, 96px) clamp(84px, 9.1vw, 134px);
  overflow: hidden;
  color: #fff;
  background: #14243c;
}

/* Keep the Products opening rhythm compact instead of stacking the global
   section padding with WordPress's generated block-gap margins. */
.yr-products.yr-section {
  padding-top: clamp(52px, 4.6vw, 72px);
}

.yr-products > .yr-product-head,
.yr-product-titlecol > .yr-eyebrow {
  margin-block-start: 0 !important;
}

.yr-section.yr-about-simple--has-background {
  background-color: #14243c;
  background-image: var(--yr-about-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.yr-about-simple::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 15, 29, 0.58);
  pointer-events: none;
}

.yr-about-simple-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 1680px);
  margin-inline: auto;
}

.yr-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(56px, 9.5vw, 140px);
  align-items: center;
}

.yr-about-layout--copy-only {
  grid-template-columns: minmax(0, 620px);
  justify-content: end;
}

.yr-about-simple-head {
  width: 100%;
  max-width: 620px !important;
  margin: 0 !important;
  text-align: left;
}

.yr-about-simple-head .yr-h2,
.yr-about-simple-head .yr-lead {
  margin-inline: 0;
  text-align: left;
}

.yr-about-simple-head .yr-h2 {
  color: #fff;
  font-size: var(--yr-section-title-size);
  font-weight: var(--yr-section-title-weight);
  line-height: var(--yr-section-title-line-height);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.yr-about-simple-head .yr-lead {
  max-width: 620px;
  margin-top: clamp(18px, 1.5vw, 24px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.yr-about-proof-grid {
  display: grid;
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.35vw, 20px);
}

.yr-about-proof-grid--count-3 .yr-about-proof:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 10px);
  justify-self: center;
}

.yr-about-proof {
  box-sizing: border-box;
  display: grid;
  min-width: 0;
  min-height: clamp(198px, 15.5vw, 228px);
  align-content: space-between;
  gap: clamp(24px, 2.4vw, 36px);
  padding: clamp(32px, 3.35vw, 50px) clamp(22px, 2vw, 30px);
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  box-shadow: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.yr-about-proof:hover,
.yr-about-proof:focus-within {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.4);
}

.yr-about-proof-top {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.4vw, 20px);
}

.yr-about-proof-icon {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 3.25vw, 48px);
  height: clamp(40px, 3.25vw, 48px);
  color: var(--yr-accent);
  font-size: clamp(34px, 2.8vw, 42px);
  line-height: 1;
}

.yr-about-proof-icon i {
  --yr-about-icon-scale: 1;
  display: inline-flex;
  width: 1em;
  height: 1em;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: scale(var(--yr-about-icon-scale));
  transform-origin: center;
}

/* Font icons share a font size but not the same filled-area ratio. These
   optical corrections cover every icon exposed by the About settings. */
.yr-about-proof-icon .fa-award {
  --yr-about-icon-scale: 1.04;
}

.yr-about-proof-icon .fa-industry {
  --yr-about-icon-scale: 0.9;
}

.yr-about-proof-icon .fa-warehouse {
  --yr-about-icon-scale: 0.8;
}

.yr-about-proof-icon .fa-gears {
  --yr-about-icon-scale: 0.88;
}

.yr-about-proof-icon .fa-flask-vial {
  --yr-about-icon-scale: 0.94;
}

.yr-about-proof-icon .fa-chart-line {
  --yr-about-icon-scale: 0.92;
}

.yr-about-proof-icon .fa-globe {
  --yr-about-icon-scale: 0.98;
}

.yr-about-proof-icon .fa-users {
  --yr-about-icon-scale: 0.88;
}

.yr-about-proof .num {
  display: block;
  min-width: 0;
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(40px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.yr-about-proof .num em {
  display: inline-block;
  margin-left: 0.04em;
  color: #fff;
  font-size: 0.56em;
  font-style: normal;
  line-height: 1;
  vertical-align: 0.38em;
}

.yr-about-proof .lbl {
  display: block;
  min-height: 1.5em;
  max-width: none;
  color: #fff;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .yr-about-proof {
    transition: none;
  }

  .yr-about-proof:hover,
  .yr-about-proof:focus-within {
    transform: none;
  }
}

.yr-about-simple-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(30px, 3vw, 42px);
  margin-top: clamp(30px, 2.8vw, 42px);
}

.yr-about-simple-foot .yr-textlink {
  margin: 0;
}

.yr-about-simple-foot .yr-textlink a {
  gap: 18px;
  color: var(--yr-accent);
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 500;
}

.yr-about-simple-foot .yr-textlink a i {
  font-size: 16px;
}

.yr-about-video-link {
	display: inline-flex;
	width: clamp(62px, 4.6vw, 68px);
	height: clamp(62px, 4.6vw, 68px);
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--yr-accent);
	color: #fff;
	text-decoration: none;
	transition: background 0.25s ease, transform 0.25s ease;
}

.yr-about-video-link__icon {
	display: block;
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: clamp(8px, 0.66vw, 10px) solid transparent;
	border-bottom: clamp(8px, 0.66vw, 10px) solid transparent;
	border-left: clamp(13px, 1vw, 15px) solid currentColor;
}

.yr-about-video-link:hover,
.yr-about-video-link:focus-visible {
	color: #fff;
	background: var(--yr-accent-hover);
	transform: scale(1.045);
}

.yr-about-video-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

body.yr-about-video-open {
	overflow: hidden;
}

.yr-about-video-modal[hidden] {
	display: none;
}

.yr-about-video-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: 64px clamp(24px, 4vw, 60px) 40px;
	background: rgba(0, 0, 0, 0.87);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.yr-about-video-modal.is-open {
	opacity: 1;
}

.yr-about-video-modal__dialog {
	position: relative;
	width: min(960px, 100%);
	transform: scale(0.965);
	opacity: 0;
	transition: transform 0.34s cubic-bezier(0.2, 0.75, 0.25, 1), opacity 0.28s ease;
}

.yr-about-video-modal.is-open .yr-about-video-modal__dialog {
	transform: scale(1);
	opacity: 1;
}

.yr-about-video-modal__frame {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 0;
	background: #02060d;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.yr-about-video-modal__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.yr-about-video-modal__close {
	position: absolute;
	top: 16px;
	right: 18px;
	z-index: 2;
	display: inline-grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(25, 25, 25, 0.88);
	color: #fff;
	font: 200 30px/1 Arial, sans-serif;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.yr-about-video-modal__close:hover,
.yr-about-video-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	outline: 0;
	transform: scale(1.06);
}

@media (max-width: 600px) {
	.yr-about-video-modal {
		padding: 58px 12px 24px;
	}

	.yr-about-video-modal__close {
		top: 10px;
		right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yr-about-video-link,
	.yr-about-video-modal,
	.yr-about-video-modal__dialog {
		transition: none;
	}
}

@media (max-width: 1100px) {
  .yr-about-simple {
    min-height: 0;
    padding-block: clamp(76px, 9vw, 100px);
  }

  .yr-about-layout {
    width: min(100%, 780px);
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: clamp(46px, 6vw, 64px);
  }

  .yr-about-layout--copy-only {
    justify-content: stretch;
  }

  .yr-about-simple-head {
    max-width: 680px !important;
  }

  .yr-about-simple-head .yr-lead {
    max-width: 680px;
  }

  .yr-about-proof {
    min-height: 210px;
  }
}

/* =========================================================================
   PROCESS — 4 step
   ========================================================================= */
.yr-process-grid {
  width: min(100%, var(--yr-maxw));
  margin: clamp(38px, 4.2vw, 56px) auto 0;
  gap: clamp(18px, 1.6vw, 26px);
}
.yr-step { position: relative; padding-top: 26px; border-top: 2px solid var(--yr-line); }
.yr-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yr-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--yr-accent) 14%, transparent);
}
.yr-step-num { margin: 0; font-family: var(--wp--preset--font-family--montserrat), sans-serif; font-size: 15px; font-weight: 700; color: var(--yr-accent); letter-spacing: 0.08em; }
.yr-step-title { margin: 10px 0 8px; font-family: var(--wp--preset--font-family--montserrat), sans-serif; font-size: 19px; font-weight: 700; color: var(--yr-heading); }
.yr-step-desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--yr-text); }

/* =========================================================================
   PRODUCTS — hot sale cards below hero
   ========================================================================= */
.yr-products {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 3.6vw, 56px);
  padding-bottom: clamp(56px, 4.2vw, 64px);
  background: var(--yr-home-surface-bg, transparent) !important;
}
.yr-products::before {
  display: none;
}
.yr-products > * { position: relative; }
.yr-product-head {
	position: relative;
	display: block !important;
	width: min(100%, 1560px);
	max-width: 1560px !important;
	margin: 0 auto clamp(26px, 2.5vw, 36px) !important;
	padding-top: 0;
	text-align: center;
}
.yr-product-head::before {
  display: none;
}
.yr-product-head .yr-h2 {
  width: 100%;
  max-width: none !important;
	margin: 0;
	padding-top: 0;
	font-size: var(--yr-section-title-size);
	line-height: var(--yr-section-title-line-height);
	letter-spacing: var(--yr-section-title-letter-spacing);
	text-align: center;
}
.yr-products-browser {
	width: min(100%, 1560px);
	margin-inline: auto;
}
.yr-products-categories {
	width: 100%;
	margin-bottom: clamp(28px, 2.7vw, 38px);
	overflow: visible;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
}
.yr-products-categories::-webkit-scrollbar {
	display: none;
}
.yr-products-categories__track {
	display: flex;
	width: 100%;
	min-width: 100%;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(8px, 0.9vw, 12px);
}
.yr-products-category-tab {
	position: relative;
	flex: 0 0 auto;
	min-height: 44px;
	padding: 10px clamp(20px, 1.8vw, 28px);
	border: 1px solid color-mix(in srgb, var(--yr-line) 72%, transparent);
	border-radius: 999px;
	background: var(--yr-paper);
	box-shadow: 0 7px 20px color-mix(in srgb, var(--yr-ink) 5%, transparent);
	color: var(--yr-heading);
	font-family: var(--wp--preset--font-family--montserrat), sans-serif;
	font-size: clamp(14px, 1.05vw, 16px);
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.yr-products-category-tab:hover,
.yr-products-category-tab:focus-visible {
	border-color: color-mix(in srgb, var(--yr-accent) 36%, var(--yr-line));
	background: var(--yr-accent-soft);
	color: var(--yr-accent);
	transform: translateY(-1px);
}
.yr-products-category-tab.is-active,
.yr-products-category-tab.is-active:hover,
.yr-products-category-tab.is-active:focus-visible {
	border-color: var(--yr-accent);
	background: var(--yr-accent);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--yr-accent) 22%, transparent);
	color: var(--yr-paper);
	font-weight: 600;
}
.yr-products-category-tab:focus-visible {
	outline: 2px solid var(--yr-accent);
	outline-offset: 3px;
}
.yr-products-panel[hidden] {
	display: none;
}
.yr-products-panel.is-entering {
	animation: yr-product-panel-in 0.38s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}
@keyframes yr-product-panel-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.yr-products-showcase {
	display: grid;
	grid-template-columns: clamp(320px, 22vw, 340px) minmax(0, 1fr);
	gap: clamp(24px, 1.8vw, 28px);
	align-items: stretch;
}
.yr-products-panels {
	width: 100%;
	min-width: 0;
}
.yr-products-catalog-card {
	position: relative;
	display: flex;
	min-height: 0;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	box-sizing: border-box;
	padding: clamp(30px, 3vw, 44px);
	border-radius: var(--yr-card-radius);
	border: 1px solid var(--yr-line);
	background: linear-gradient(160deg, var(--yr-paper) 0%, var(--yr-paper-2) 100%);
	box-shadow: var(--yr-card-shadow);
	color: var(--yr-heading);
	text-decoration: none;
	isolation: isolate;
}
.yr-products-catalog-card::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(180deg, color-mix(in srgb, var(--yr-heading) 2%, transparent) 12%, color-mix(in srgb, var(--yr-heading) 22%, transparent) 50%, color-mix(in srgb, var(--yr-heading) 78%, transparent) 100%);
	content: "";
}
.yr-products-catalog-card__media {
	position: absolute;
	inset: 0;
	z-index: -3;
	overflow: hidden;
}
.yr-products-catalog-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.yr-products-catalog-card::after {
	display: none;
}
.yr-products-catalog-card__content {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	margin-top: auto;
	text-align: center;
}
.yr-products-catalog-card h3 {
	max-width: 10em;
	margin: 0;
	color: var(--yr-paper);
	font-family: var(--wp--preset--font-family--montserrat), sans-serif;
	font-size: clamp(30px, 2.4vw, 40px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.025em;
	text-shadow: 0 2px 18px color-mix(in srgb, var(--yr-heading) 26%, transparent);
}
.yr-products-catalog-card__link {
	display: inline-flex;
	width: min(100%, 240px);
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 13px;
	margin-top: clamp(24px, 2.4vw, 32px);
	padding: 10px 22px;
	border: 1px solid color-mix(in srgb, var(--yr-paper) 82%, transparent);
	border-radius: 999px;
	color: var(--yr-paper);
	font-size: 14px;
	font-weight: 700;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.yr-products-catalog-card__link i {
	transition: transform 0.28s ease;
}
.yr-products-catalog-card:hover .yr-products-catalog-card__media img,
.yr-products-catalog-card:focus-visible .yr-products-catalog-card__media img {
	transform: scale(1.045);
}
.yr-products-catalog-card:hover .yr-products-catalog-card__link,
.yr-products-catalog-card:focus-visible .yr-products-catalog-card__link {
	border-color: var(--yr-paper);
	background: var(--yr-paper);
	color: var(--yr-heading);
}
.yr-products-catalog-card:hover .yr-products-catalog-card__link i,
.yr-products-catalog-card:focus-visible .yr-products-catalog-card__link i {
	transform: translateX(4px);
}
.yr-products-catalog-card:focus-visible {
	outline: 2px solid var(--yr-accent);
	outline-offset: 4px;
}
.yr-home-products-grid {
	display: grid;
	width: 100%;
	max-width: none !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 !important;
	gap: clamp(24px, 1.8vw, 28px) clamp(16px, 1.2vw, 20px);
}
.yr-home-product-card {
	padding: 4px;
	border: 1px solid color-mix(in srgb, var(--yr-line) 64%, transparent);
	border-radius: 10px;
	background: var(--yr-paper);
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.yr-home-product-card .yr-related-product-card-media {
	padding: 0;
	border: 0;
	border-radius: 7px 7px 0 0;
	background: var(--yr-paper);
	transition: none;
}
.yr-home-product-card .yr-related-product-card-picture {
	border-radius: 7px 7px 0 0;
}
.yr-home-product-card .yr-related-product-card-content {
	display: flex;
	min-height: 76px;
	flex: 1;
	gap: 0;
	margin-top: 0;
	padding: 16px 18px 18px;
	border-radius: 0 0 7px 7px;
	background: var(--yr-paper);
}
.yr-home-product-card .yr-related-product-card-title {
	font-size: clamp(18px, 1.15vw, 20px);
	line-height: 1.35;
	letter-spacing: -0.012em;
}
.yr-home-product-card:hover,
.yr-home-product-card:focus-visible {
	border-color: var(--yr-accent);
	background: var(--yr-accent);
	transform: translateY(-2px);
}
@media (max-width: 900px) {
	.yr-products-showcase {
		grid-template-columns: 1fr;
	}
	.yr-products-catalog-card {
		min-height: 240px;
	}
	.yr-home-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.yr-products-categories {
		overflow-x: auto;
	}
	.yr-products-categories__track {
		justify-content: flex-start;
		width: max-content;
		flex-wrap: nowrap;
		gap: 8px;
		padding: 2px 2px 8px;
	}
	.yr-products-category-tab {
		min-height: 42px;
		padding: 9px 18px;
	}
	.yr-products-catalog-card {
		min-height: 0;
		padding: 28px;
	}
	.yr-home-products-grid {
		grid-template-columns: 1fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.yr-products-panel.is-entering {
		animation: none;
	}
	.yr-products-category-tab,
	.yr-products-catalog-card::after,
	.yr-products-catalog-card__media img,
	.yr-products-catalog-card__link i,
	.yr-home-product-card {
		transition: none;
	}
}

/* Keep the homepage rhythm compact where consecutive light sections meet.
   Large screens previously stacked two 112px paddings into a 224px void. */
body.home .yr-section.yr-cap2 {
  padding-top: clamp(56px, 4.5vw, 72px);
  padding-bottom: clamp(44px, 3.6vw, 56px);
}
body.home .yr-section.yr-process {
  padding-top: clamp(52px, 4.1vw, 64px);
  padding-bottom: clamp(52px, 4.1vw, 64px);
}
body.home .yr-section.yr-faq {
  padding-top: clamp(52px, 4.1vw, 64px);
  padding-bottom: clamp(56px, 4.5vw, 72px);
}
body.home .yr-section.yr-news {
  padding-block: clamp(56px, 4.5vw, 72px);
}
.yr-product-grid {
  display: grid;
  width: min(100%, 1280px);
  max-width: 1280px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  align-items: stretch;
  background: #fff;
}
.yr-product-grid--count-1 {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.yr-product-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
}
.yr-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.25s ease;
}
.yr-product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}
.yr-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transform: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.yr-product-body {
  display: block;
  padding: 20px 20px 22px;
}
.yr-product-title {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--yr-ink-2);
  word-break: break-word;
  transition: color 0.3s ease;
}
.yr-product-card:hover {
  transform: none;
  border-color: #ccd5df;
  box-shadow: none;
}
.yr-product-card:hover .yr-product-media img {
  transform: scale(1.02);
}
.yr-product-card:hover .yr-product-title {
  color: var(--yr-accent);
}

/* Product imagery must remain neutral even when a visual preset is active. */
body[class*="yr-style-"] .yr-section.yr-products.is-paper {
  background: var(--yr-home-surface-bg, transparent) !important;
}
body[class*="yr-style-"] .yr-products .yr-product-media,
body[class*="yr-style-"] .yr-products .yr-product-media img {
  background: #fff;
  background-image: none;
  opacity: 1;
  filter: none;
}

/* =========================================================================
   SOLUTIONS / INDUSTRIES — dark image tiles
   ========================================================================= */
.yr-sol-head { gap: clamp(28px, 4vw, 70px); align-items: flex-end; margin-bottom: clamp(34px, 3.8vw, 52px); }
.yr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 26px); }
.yr-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--yr-radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.yr-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  opacity: 0.92;
  filter: saturate(1) contrast(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, filter 0.4s ease;
}
.yr-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.04) 0%, rgba(8, 12, 18, 0.5) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}
.yr-tile { background: var(--yr-ink-2); }
.yr-tile-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(24px, 2.3vw, 34px); }
.yr-tile-cat { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yr-accent-2); margin-bottom: 6px; }
.yr-tile-title { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--wp--preset--font-family--montserrat), sans-serif; font-size: clamp(20px, 1.55vw, 26px); font-weight: 750; color: #fff; }
.yr-tile-title i { font-size: 14px; color: var(--yr-accent-2); transition: transform 0.25s ease; }
.yr-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18); }
.yr-tile:hover img { transform: scale(1.045); opacity: 1; filter: saturate(1.02) contrast(1.03); }
.yr-tile:hover::before { background: linear-gradient(180deg, rgba(8, 12, 18, 0.06) 0%, rgba(8, 12, 18, 0.54) 100%); }
.yr-tile:hover .yr-tile-title i { transform: translateX(5px); }

.yr-cases {
  --yr-case-accent: var(--yr-accent);
  --yr-case-shell: min(calc(100% - clamp(56px, 7vw, 112px)), var(--yr-maxw));
  background: transparent;
  border-top: 0;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 116px);
  padding-inline: 0;
}
.yr-cases .yr-eyebrow { color: var(--yr-case-accent); }
.yr-cases .yr-eyebrow::before { background: var(--yr-case-accent); }
.yr-cases .yr-h2 { color: var(--yr-heading); }
.yr-cases .yr-lead { color: var(--yr-text); }
.yr-cases .yr-textlink a {
  color: var(--yr-case-accent);
}
.yr-case-block {
  width: var(--yr-case-shell);
  max-width: var(--yr-maxw) !important;
  margin: 0 auto !important;
}
.yr-cases > .yr-case-block {
  width: var(--yr-case-shell);
  max-width: var(--yr-maxw) !important;
}
.yr-case-head {
  width: 100%;
  max-width: 100% !important;
  gap: clamp(24px, 5vw, 78px);
  align-items: flex-end;
  margin: 0 0 clamp(34px, 4vw, 54px);
}
.yr-case-head .yr-lead {
  max-width: 620px;
  margin-top: 16px;
}
.yr-case-block > .yr-case-carousel-shell {
  position: relative;
  width: 100%;
  max-width: var(--yr-maxw) !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0 10px;
  align-items: center;
}
.yr-case-carousel {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(12, 28, 54, 0.1);
  box-shadow: none;
}
.yr-case-carousel .swiper-wrapper {
  align-items: stretch;
  width: 100%;
}
.yr-case-carousel .yr-case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, 0.78fr);
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: clamp(540px, 39vw, 620px);
  overflow: hidden;
  background: #fff;
  color: var(--yr-heading);
  text-decoration: none;
  transform: translateZ(0);
}
.yr-case-media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #dce3ec;
}
.yr-case-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.94) contrast(1.04);
  transform: scale(1.015);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease, opacity 0.5s ease;
}
.yr-case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 20, 0.02) 40%, rgba(3, 9, 20, 0.18) 100%);
  pointer-events: none;
}
.yr-case-index {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(12, 28, 54, 0.42);
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.yr-case-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: clamp(44px, 4.4vw, 72px);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  border-left: 1px solid rgba(12, 28, 54, 0.08);
}
.yr-case-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 22px;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}
.yr-case-kicker span { color: var(--yr-muted); }
.yr-case-kicker em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-left: 2px solid color-mix(in srgb, var(--yr-accent) 55%, transparent);
  color: var(--yr-case-accent);
  font-style: normal;
}
.yr-case-title {
  display: block;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  max-width: none;
  font-size: clamp(34px, 2.7vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  color: var(--yr-heading);
  word-break: break-word;
}
.yr-case-desc {
  display: -webkit-box;
  max-width: 32em;
  margin-top: 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--yr-text);
}
.yr-case-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--yr-line);
}
.yr-case-fact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  min-width: 0;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--yr-line);
}
.yr-case-fact span {
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--yr-muted);
  text-transform: uppercase;
}
.yr-case-fact strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--yr-heading);
}
.yr-case-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 28px;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--yr-case-accent);
}
.yr-case-more i {
  font-size: 12px;
  transition: transform 0.22s ease;
}
.yr-case-card:hover .yr-case-media img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.04);
  opacity: 1;
}
.yr-case-card:hover .yr-case-more i { transform: translateX(4px); }
.yr-case-footer {
  grid-column: 1 / 2;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 18px 0 0;
  padding: 0 2px;
}
.yr-case-carousel.is-ready:not(.is-empty) ~ .yr-case-footer { display: flex; }
.yr-case-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--yr-muted);
}
.yr-case-prev,
.yr-case-next {
  position: static;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(12, 28, 54, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--yr-heading);
  padding: 0;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
  margin-top: 18px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.yr-case-carousel.is-ready:not(.is-single):not(.is-empty) ~ .yr-case-prev,
.yr-case-carousel.is-ready:not(.is-single):not(.is-empty) ~ .yr-case-next { display: inline-flex; }
.yr-case-prev { grid-column: 2 / 3; }
.yr-case-next { grid-column: 3 / 4; }
.yr-case-prev i,
.yr-case-next i {
  display: block;
  font-size: 12px;
  line-height: 1;
}
.yr-case-prev:hover,
.yr-case-next:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: color-mix(in srgb, var(--yr-accent) 34%, transparent);
  color: var(--yr-accent);
  box-shadow: 0 10px 24px rgba(12, 28, 54, 0.1);
}
.yr-case-prev:active,
.yr-case-next:active {
  transform: translateY(0) scale(0.97);
}
.yr-case-prev:focus-visible,
.yr-case-next:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--yr-accent) 45%, transparent);
  outline-offset: 3px;
}
.yr-case-prev.swiper-button-disabled,
.yr-case-next.swiper-button-disabled {
  opacity: 0.38;
  pointer-events: none;
  box-shadow: none;
}
.yr-case-footer .yr-case-pagination.swiper-pagination-progressbar {
  position: relative;
  top: auto;
  left: auto;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  height: 2px;
  border-radius: 999px;
  background: rgba(12, 28, 54, 0.14);
  overflow: hidden;
}
.yr-case-footer .yr-case-pagination .swiper-pagination-progressbar-fill {
  background: var(--yr-accent);
  border-radius: inherit;
}

/* Cases: reference project gallery */
.yr-cases-redesign {
  --yr-case-accent: var(--yr-accent);
  --yr-case-soft: color-mix(in srgb, var(--yr-accent) 8%, transparent);
  background: transparent;
  border-top: 0;
  padding-block: clamp(76px, 7.6vw, 118px);
}

.yr-cases-redesign .yr-case-head {
  align-items: flex-end;
  margin-bottom: clamp(38px, 4.4vw, 58px);
}

.yr-cases-redesign .yr-case-head > .wp-block-group {
  max-width: min(900px, 100%) !important;
}

.yr-cases-redesign .yr-eyebrow {
  display: flex;
  color: var(--yr-case-accent);
}

.yr-cases-redesign .yr-eyebrow::before {
  display: block;
  background: var(--yr-case-accent);
}

.yr-cases-redesign .yr-h2 {
  max-width: 900px;
  font-size: var(--yr-section-title-size);
  line-height: var(--yr-section-title-line-height);
  letter-spacing: var(--yr-section-title-letter-spacing);
}

.yr-cases-redesign .yr-lead {
  display: block;
  max-width: 640px;
  color: var(--yr-text);
}

.yr-case-ref-link {
  flex: 0 0 auto;
  margin-top: 2px !important;
}

.yr-case-ref-link a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid color-mix(in srgb, var(--yr-accent) 24%, transparent);
  border-radius: 999px;
  color: var(--yr-case-accent) !important;
  background: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  text-transform: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.yr-case-ref-link a:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--yr-accent) 42%, transparent);
  background: #fff;
  box-shadow: 0 12px 28px rgba(12, 28, 54, 0.1);
}

.yr-case-ref-shell {
  position: relative;
  width: 100%;
  max-width: 100% !important;
  margin-top: clamp(34px, 4vw, 58px);
}

.yr-case-ref-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - clamp(40px, 4vw, 60px)) / 3);
  column-gap: clamp(20px, 2vw, 28px);
  padding: 2px 2px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.yr-case-ref-track::-webkit-scrollbar {
  display: none;
}

.yr-case-ref-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(12, 28, 54, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--yr-heading);
  scroll-snap-align: start;
  box-shadow: 0 12px 34px rgba(12, 28, 54, 0.055);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.yr-case-ref-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--yr-accent) 22%, transparent);
  background: #fff;
  box-shadow: 0 22px 52px rgba(12, 28, 54, 0.095);
}

.yr-case-ref-main {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.yr-case-ref-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yr-accent) 8%, transparent), transparent 46%),
    #eef3fa;
}

.yr-case-ref-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 9, 20, 0) 24%, rgba(3, 9, 20, 0.72) 100%);
  pointer-events: none;
}

.yr-case-ref-media img,
.yr-case-ref-media .yr-image-placeholder {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
  transform: scale(1.01);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.yr-case-ref-media .yr-image-placeholder {
  display: grid !important;
  place-items: center;
  border-radius: 0;
  color: rgba(76, 95, 122, 0.22);
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0;
  text-align: center;
  box-shadow: none;
}

.yr-case-ref-media .yr-image-placeholder span {
  display: block;
  transform: translateY(-4px);
}

.yr-case-ref-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 30px);
  color: #fff;
}

.yr-case-ref-body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2vw, 28px) clamp(22px, 2vw, 30px) clamp(24px, 2.2vw, 32px);
}

.yr-case-ref-meta {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yr-case-ref-title {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(22px, 1.65vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.yr-case-ref-desc {
  display: -webkit-box;
  min-height: 4.9em;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--yr-text);
  font-size: 15px;
  line-height: 1.64;
}

.yr-case-ref-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: clamp(20px, 2vw, 26px) 0 0;
  padding: 0;
}

.yr-case-ref-fact {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 28, 54, 0.1);
}

.yr-case-ref-fact + .yr-case-ref-fact {
  padding-left: 18px;
  margin-left: 18px;
  border-left: 1px solid rgba(12, 28, 54, 0.1);
}

.yr-case-ref-fact small {
  color: var(--yr-muted);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 10.5px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.yr-case-ref-fact strong {
  min-width: 0;
  color: var(--yr-heading);
  font-size: 14.5px;
  font-weight: 720;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.yr-case-ref-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: clamp(22px, 2vw, 28px);
  color: var(--yr-case-accent);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, gap 0.2s ease;
}

.yr-case-ref-more:hover,
.yr-case-ref-more:focus-visible {
  gap: 14px;
  color: var(--yr-accent-2);
}

.yr-case-ref-card:hover .yr-case-ref-media img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.05);
}

.yr-case-ref-nav {
  position: absolute;
  top: clamp(138px, 12vw, 190px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(12, 28, 54, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(12, 28, 54, 0.5);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.yr-case-ref-prev {
  left: clamp(-42px, -2.6vw, -28px);
}

.yr-case-ref-next {
  right: clamp(-42px, -2.6vw, -28px);
}

.yr-case-ref-nav:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--yr-accent) 34%, transparent);
  background: #fff;
  color: var(--yr-case-accent);
}

.yr-case-ref-nav:disabled {
  opacity: 0.32;
  cursor: default;
  pointer-events: none;
}

.yr-case-ref-shell.is-static .yr-case-ref-nav {
  display: none;
}

.yr-case-ref-shell[data-count="1"] .yr-case-ref-nav {
  display: none;
}

.yr-case-ref-nav:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--yr-accent) 44%, transparent);
  outline-offset: 4px;
}

.yr-case-label,
.yr-proof-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid color-mix(in srgb, var(--yr-accent) 55%, transparent);
  color: var(--yr-accent);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.yr-case-feature-meta {
  display: block;
  margin-bottom: 14px;
  color: var(--yr-muted);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
}

.yr-case-feature-title {
  display: block;
  color: var(--yr-heading);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.12;
}

.yr-case-feature-desc {
  display: -webkit-box;
  max-width: 34em;
  margin-top: 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--yr-text);
  font-size: 15.5px;
  line-height: 1.72;
}

.yr-case-feature-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--yr-line);
}

.yr-case-feature-facts span {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px 16px 0 0;
}

.yr-case-feature-facts small {
  color: var(--yr-muted);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

.yr-case-feature-facts strong {
  color: var(--yr-heading);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.yr-case-feature-more {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--yr-accent);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 14px;
  font-weight: 780;
}

.yr-case-feature-more i,
.yr-case-mini i {
  font-size: 12px;
  transition: transform 0.22s ease;
}

.yr-case-feature:hover .yr-case-feature-more i,
.yr-case-mini:hover i {
  transform: translateX(4px);
}

.yr-case-mini-list {
  display: grid;
  gap: 12px;
}

.yr-case-mini {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 120px;
  padding: 24px;
  border: 1px solid rgba(12, 28, 54, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--yr-heading);
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.yr-case-mini:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--yr-accent) 20%, transparent);
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 28, 54, 0.07);
}

.yr-case-mini-no {
  color: rgba(12, 28, 54, 0.32);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.yr-case-mini-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.yr-case-mini-meta {
  color: var(--yr-muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.25;
}

.yr-case-mini-title {
  color: var(--yr-heading);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 17px;
  font-weight: 780;
  line-height: 1.32;
}

.yr-case-mini i {
  color: var(--yr-accent);
}

/* =========================================================================
   CTA band
   ========================================================================= */
.yr-cta { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 24px; background: var(--yr-dark-band-bg); color: #fff; }
.yr-cta::before { content: ""; position: absolute; inset: 0; background: var(--yr-dark-band-glow); pointer-events: none; }
.yr-cta-inner { position: relative; text-align: center; max-width: 760px; margin-inline: auto; }
.yr-cta-title { margin: 0; font-family: var(--wp--preset--font-family--montserrat), sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: 0; color: #fff; }
.yr-cta-text { max-width: 600px; margin: 18px auto 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.yr-cta-buttons { margin-top: 34px; gap: 14px; }
.yr-cta-buttons .yr-btn-ghost .wp-block-button__link i {
  margin-right: 0;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.yr-cta-buttons .yr-btn-ghost .wp-block-button__link:hover i {
  transform: translateX(5px);
}

/* =========================================================================
   Global inquiry modal
   ========================================================================= */
body.yr-inquiry-open { overflow: hidden; }
.xzsc {
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
body.yr-inquiry-open .xzsc {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.yr-inquiry-modal[hidden] { display: none; }
.yr-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: clamp(12px, 2.4vw, 24px);
  overflow: hidden;
}
.yr-inquiry-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 20, 0.58);
  backdrop-filter: blur(8px);
  animation: yrInquiryFade 0.2s ease both;
}
.yr-inquiry-dialog {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(226, 233, 242, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--yr-text);
  box-shadow: 0 28px 80px rgba(3, 9, 20, 0.28);
  animation: yrInquiryLift 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.yr-inquiry-dialog:focus { outline: 0; }
@keyframes yrInquiryFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes yrInquiryLift {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.yr-inquiry-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--yr-line);
  border-radius: 999px;
  background: #fff;
  color: var(--yr-heading);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.yr-inquiry-close:hover,
.yr-inquiry-close:focus {
  border-color: color-mix(in srgb, var(--yr-accent) 45%, transparent);
  color: var(--yr-accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--yr-accent-ring);
}
.yr-inquiry-copy {
  max-width: 620px;
  margin-bottom: 24px;
  padding-right: 44px;
}
.yr-inquiry-copy .yr-eyebrow { margin-bottom: 10px; }
.yr-inquiry-copy h2 {
  margin: 0;
  color: var(--yr-heading);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0;
}
.yr-inquiry-copy p:not(.yr-eyebrow) {
  margin: 14px 0 0;
  color: var(--yr-muted);
  font-size: 16px;
  line-height: 1.7;
}
.yr-inquiry-form {
  padding-top: 24px;
  border-top: 1px solid var(--yr-line);
}
.yr-inquiry-notice {
  color: var(--yr-heading);
  font-size: 14px;
  line-height: 1.7;
}
.yr-inquiry-form :where(.fluentform, form) { margin: 0; }
.yr-inquiry-form .ff-el-group { margin-bottom: 18px; }
.yr-inquiry-form .ff-el-input--label label,
.yr-inquiry-form label {
  color: var(--yr-heading);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.yr-inquiry-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea),
.yr-inquiry-form .ff-el-form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--yr-line);
  border-radius: var(--yr-radius);
  background: #fff;
  color: var(--yr-heading);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.yr-inquiry-form textarea,
.yr-inquiry-form textarea.ff-el-form-control { min-height: 116px; resize: vertical; }
.yr-inquiry-form :where(input, select, textarea):focus,
.yr-inquiry-form .ff-el-form-control:focus {
  border-color: var(--yr-accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--yr-accent-ring);
}
.yr-inquiry-form .ff-btn-submit,
.yr-inquiry-form :where(button[type="submit"], input[type="submit"]) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--yr-radius);
  background: var(--yr-button-fill);
  color: #fff;
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.yr-inquiry-form .ff-btn-submit:hover,
.yr-inquiry-form :where(button[type="submit"], input[type="submit"]):hover {
  background: var(--yr-button-fill-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px var(--yr-accent-shadow);
}
.yr-inquiry-form .ff-message-success {
  border-color: var(--yr-accent-ring);
  border-radius: var(--yr-radius);
  background: #f4f7fb;
  color: var(--yr-heading);
}
.yr-inquiry-form .error,
.yr-inquiry-form .ff-el-is-error .text-danger { color: #b42318; }
.yr-inquiry-submit-row {
  margin-bottom: 0 !important;
}

/* =========================================================================
   responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .yr-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yr-product-grid--count-1 { grid-template-columns: minmax(0, 420px); }
  .yr-tiles.yr-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .yr-process-grid.yr-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .yr-case-carousel .yr-case-card { grid-template-columns: 1fr; min-height: 0; }
  .yr-case-media { aspect-ratio: 16 / 10; min-height: 0; }
  .yr-case-media::after { background: linear-gradient(180deg, rgba(3, 9, 20, 0.02) 0%, rgba(3, 9, 20, 0.2) 100%); }
  .yr-case-copy { border-left: 0; }
  .yr-case-facts { grid-template-columns: 1fr; }
  .yr-case-fact { padding-right: 0; margin-right: 0; border-right: 0; }
  .yr-case-fact + .yr-case-fact { border-top: 0; }
}
@media (max-width: 781px) {
  .yr-product-head, .yr-case-head { display: block !important; }
  .yr-product-grid { grid-template-columns: 1fr; }
  .yr-product-grid--count-1,
  .yr-product-grid--count-2 {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
  }
  .yr-tiles.yr-grid-3 { grid-template-columns: 1fr !important; }
  .yr-about-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yr-cases { --yr-case-shell: calc(100% - 32px); }
  .yr-case-copy { padding: 28px; }
  .yr-case-title { font-size: 30px; }
  .yr-case-prev,
  .yr-case-next { width: 40px; height: 40px; }
  .yr-hero-meta { gap: 26px 32px; }
  .yr-hero-meta .yr-stat { flex-basis: 40%; }
  .yr-about-simple-foot {
    justify-content: flex-start;
  }
  .yr-about-proof {
    min-height: 184px;
  }
  .yr-about-proof .lbl {
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .yr-process-grid.yr-grid-4 { grid-template-columns: 1fr !important; }
  .yr-products { padding-block: 48px; }
  .yr-product-head { margin-bottom: 26px !important; }
	.yr-product-head,
	.yr-product-head .yr-h2 { text-align: center; }
  .yr-product-head .yr-h2 { font-size: var(--yr-section-title-size); }
  body.home .yr-section.yr-cap2,
  body.home .yr-section.yr-process,
  body.home .yr-section.yr-faq,
  body.home .yr-section.yr-news { padding-block: 48px; }
  .yr-product-body { padding: 17px 18px 19px; }
  .yr-product-title { font-size: 19px; }
  .yr-case-copy { padding: 22px; }
  .yr-case-title { font-size: 27px; }
  .yr-case-fact { padding: 14px 0; }
  .yr-case-footer { gap: 14px; }
  .yr-case-footer .yr-case-pagination.swiper-pagination-progressbar { max-width: none; }
  .yr-product-desc, .yr-case-desc { -webkit-line-clamp: 2; }
  .yr-about-proof {
    min-height: 164px;
    padding: 26px 20px;
  }
  .yr-about-simple-foot {
    display: flex;
  }
  .yr-hero-cta .wp-block-button { width: 100%; }
  .yr-hero-cta .wp-block-button__link { display: block; text-align: center; }
}

/* =========================================================================
   FOOTER — navy
   ========================================================================= */
.yr-footer { background: var(--yr-ink); color: rgba(255, 255, 255, 0.7); padding: clamp(64px, 7.4vw, 96px) 24px 0; }
.yr-footer-cols { gap: clamp(34px, 4.6vw, 68px); align-items: flex-start; }
.yr-footer-logo {
  display: inline-flex;
  max-width: min(240px, 100%);
  align-items: center;
  margin: 0;
  color: #fff;
  text-decoration: none;
}
.yr-footer-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
.yr-footer-logo a { display: inline-flex; color: inherit; text-decoration: none; }
.yr-footer-about { margin: 18px 0 0; max-width: 360px; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.62); }
.yr-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.yr-footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.045); color: #fff; font-size: 15px; text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.yr-footer-social-link:hover, .yr-footer-social-link:focus-visible { border-color: rgba(255, 255, 255, 0.34); background: #fff; color: var(--yr-accent); outline: 0; transform: translateY(-2px); }
.yr-footer-h { margin: 0 0 18px; font-family: var(--wp--preset--font-family--montserrat), sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.yr-footer-nav .wp-block-navigation__container { gap: 0; }
.yr-footer-nav .wp-block-navigation-item { width: 100%; }
.yr-footer-nav .wp-block-navigation-item > a { display: inline-block; padding: 7px 0; font-size: 14.8px; color: rgba(255, 255, 255, 0.66); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.yr-footer-nav .wp-block-navigation-item > a:hover { color: #fff; padding-left: 5px; }
.yr-footer-contact-line { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 14px; font-size: 14.8px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.yr-footer-contact-line a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.yr-footer-contact-line a:hover { color: #fff; }
.yr-footer-contact-line .dashicons { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--yr-accent); font-size: 18px; }
.yr-footer-bottom { gap: 14px 24px; margin-top: clamp(44px, 5.4vw, 72px); padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.yr-footer-copy { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.yr-footer-copy a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.yr-footer-copy a:hover { color: #fff; }

/* =========================================================================
   HERO SLIDER (dynamic, from Yiran 设置 > 首页)
   ========================================================================= */
.yr-hero-slider {
  position: relative;
  width: 100%;
  height: var(--yr-hero-h, 100vh);
  min-height: var(--yr-hero-h, 100vh);
  margin: 0;
  background: var(--yr-ink);
  overflow: hidden;
}
.yr-hero-slider .swiper-wrapper {
  height: 100%;
}
.yr-hero-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  min-height: var(--yr-hero-h, 100vh);
  overflow: hidden;
}
.yr-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--yr-ink);
}
.yr-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.14);
  transition: transform 1000ms linear 2000ms;
  will-change: transform;
}
.yr-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.yr-hero-slider.is-ready .swiper-slide-active .yr-hero-media img {
  transform: scale(1);
  transition: transform var(--yr-hero-zoom-duration, 3200ms) linear;
}
.yr-hero-placeholder.yr-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(72px, 12vw, 180px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yr-accent) 26%, transparent), transparent 46%),
    linear-gradient(315deg, color-mix(in srgb, var(--yr-accent-2) 14%, transparent), transparent 44%),
    #0c1c36;
}
.yr-hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.18) 0%, rgba(2, 8, 18, 0.2) 48%, rgba(2, 8, 18, 0.54) 100%),
    linear-gradient(90deg, rgba(2, 8, 18, 0.42) 0%, rgba(2, 8, 18, 0.12) 50%, rgba(2, 8, 18, 0.36) 100%);
  pointer-events: none;
  z-index: 1;
}
.yr-hero-slide .yr-hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0;
  padding: 0 clamp(28px, 4vw, 64px);
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}
.yr-hero-slide .yr-hero-eyebrow {
  margin: 0 0 16px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.yr-hero-slide .yr-hero-eyebrow::before {
  background: var(--yr-accent-2);
}
.yr-hero-slide .yr-hero-title {
  max-width: min(90vw, 1100px);
  margin: 0;
  color: #fff;
  font-size: var(--yr-section-title-size);
  line-height: var(--yr-section-title-line-height);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.34);
}
.yr-hero-slide .yr-hero-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.28);
}
.yr-hero-slide .yr-hero-cta {
  margin-top: clamp(18px, 2vw, 30px);
  justify-content: center;
}
.yr-hero-cta .wp-block-button__link {
  display: inline-flex !important;
  min-height: clamp(46px, 3.8vw, 58px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--yr-accent) 34%, transparent);
}
.yr-hero-cta .wp-block-button__link i {
  margin: 0 0 0 2px;
  font-size: 0.88em;
  transition: transform 0.24s ease;
}
.yr-hero-cta .wp-block-button__link:hover i {
  transform: rotate(45deg);
}

@media (min-width: 1025px) {
  .yr-hero-slide .yr-hero-inner {
    transform: translate(-50%, -50%);
  }
}

/* per-slide content entrance, gated by .is-ready so content stays visible if JS fails */
.yr-hero-slider.is-ready .yr-hero-slide .yr-hero-inner > * {
  opacity: 0;
  transition: opacity 2200ms cubic-bezier(0.16, 1, 0.3, 1), transform 2200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.yr-hero-slider.is-ready .yr-hero-slide .yr-hero-eyebrow,
.yr-hero-slider.is-ready .yr-hero-slide .yr-hero-title {
  transform: translateX(-42px);
}
.yr-hero-slider.is-ready .yr-hero-slide .yr-hero-lead {
  transform: translateX(34px);
}
.yr-hero-slider.is-ready .yr-hero-slide .yr-hero-cta {
  transform: translateX(-30px);
}
.yr-hero-slider.is-ready .swiper-slide-active .yr-hero-inner > * {
  opacity: 1;
  transform: translateX(0);
}
.yr-hero-slider.is-ready .swiper-slide-active .yr-hero-eyebrow { transition-delay: 0.08s; }
.yr-hero-slider.is-ready .swiper-slide-active .yr-hero-title { transition-delay: 0.14s; }
.yr-hero-slider.is-ready .swiper-slide-active .yr-hero-lead { transition-delay: 0.24s; }
.yr-hero-slider.is-ready .swiper-slide-active .yr-hero-cta { transition-delay: 0.34s; }

/* pagination + arrows */
.yr-hero-pagination {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: clamp(24px, 3.1vw, 52px);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.yr-hero-slider .swiper-pagination-bullet {
  position: relative;
  width: clamp(42px, 4.8vw, 86px);
  height: 2px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.48);
  opacity: 1;
}
.yr-hero-slider .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--yr-accent-2);
  opacity: 0;
  transition: width var(--yr-hero-progress-duration, 6000ms) linear, opacity 0.2s ease;
}
.yr-hero-slider .swiper-pagination-bullet-active::after {
  width: 100%;
  opacity: 1;
}
.yr-hero-prev, .yr-hero-next {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border: 0;
  background: transparent; color: #fff; border-radius: 0; cursor: pointer; font-size: 30px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  opacity: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
  transition: opacity 0.25s ease, color 0.25s ease;
}
.yr-hero-prev i,
.yr-hero-next i {
  transition: transform 0.25s ease;
}
/* 对称内收，右侧留出悬浮联系栏（90px）展开时的空间 */
.yr-hero-prev { left: clamp(104px, 8vw, 128px); }
.yr-hero-next { right: clamp(104px, 8vw, 128px); }
.yr-hero-slider:hover .yr-hero-prev,
.yr-hero-slider:hover .yr-hero-next,
.yr-hero-prev:focus-visible,
.yr-hero-next:focus-visible { opacity: 1; }
.yr-hero-prev:hover,
.yr-hero-prev:focus-visible {
  color: var(--yr-accent-2);
  transform: translateY(-50%);
}
.yr-hero-prev:hover i,
.yr-hero-prev:focus-visible i {
  transform: translateX(-4px);
}
.yr-hero-next:hover,
.yr-hero-next:focus-visible {
  color: var(--yr-accent-2);
  transform: translateY(-50%);
}
.yr-hero-next:hover i,
.yr-hero-next:focus-visible i {
  transform: translateX(4px);
}
@media (max-width: 768px) { .yr-hero-prev, .yr-hero-next { display: none; } }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.yr-reveal { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(6px); will-change: opacity, transform, filter; transition: opacity 0.82s cubic-bezier(0.16,1,0.3,1), transform 0.82s cubic-bezier(0.16,1,0.3,1), filter 0.82s cubic-bezier(0.16,1,0.3,1); }
.yr-reveal.is-revealed { opacity: 1; transform: none; filter: blur(0); will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .yr-reveal, .yr-reveal.is-revealed { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .yr-hero-slider.is-ready .yr-hero-slide .yr-hero-inner > * { opacity: 1 !important; transform: none !important; }
  .yr-hero-media img,
  .yr-hero-slider .swiper-pagination-bullet::after { transition: none !important; transform: none !important; }
}

/* =========================================================================
   IMAGE-FORWARD ENHANCEMENTS (v0.0.8)
   ========================================================================= */

/* ---------- Capabilities: redesigned as an image + editorial split — see the CAPABILITIES block above (v0.0.14) ---------- */

/* ---------- Process: image-card timeline ---------- */
.yr-process-grid { gap: 26px; }
.yr-step {
  display: flex; flex-direction: column;
  border-top: none;
  padding-top: 0;
  background: #fff;
  border: 1px solid var(--yr-line);
  border-radius: var(--yr-radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.yr-step::before { display: none; }
.yr-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(12, 28, 54, 0.14);
  border-color: transparent;
}
.yr-step-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--yr-ink-2);
}
.yr-step-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
  transition: transform 0.7s ease, opacity 0.4s ease;
}
.yr-step:hover .yr-step-media img { transform: scale(1.06); opacity: 1; }
.yr-step-body { padding: 22px 24px 26px; }
.yr-step-num { letter-spacing: 0.14em; font-size: 12px; }
.yr-step-title { margin: 8px 0 8px; }

/* ---------- Testimonials: static proof layout ---------- */
@media (max-width: 1080px) {
  .yr-case-showcase {
    grid-template-columns: 1fr;
  }
  .yr-case-ref-track {
    grid-auto-columns: calc((100% - 22px) / 2);
    column-gap: 22px;
  }
  .yr-case-ref-fact strong {
    font-size: 16px;
  }
  .yr-case-mini-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 781px) {
  .yr-cases-redesign {
    padding-block: 64px;
  }
  .yr-cases-redesign .yr-case-head {
    margin-bottom: 34px;
  }
  .yr-cases-redesign .yr-h2 {
    font-size: var(--yr-section-title-size);
  }
  .yr-case-ref-link {
    margin-top: 22px !important;
  }
  .yr-case-ref-link a {
    min-height: 50px;
    padding-inline: 22px;
  }
  .yr-case-ref-track {
    grid-auto-columns: minmax(280px, 92%);
    column-gap: 16px;
    border-left: 0;
    border-right: 0;
  }
  .yr-case-ref-card {
    padding-right: 0;
  }
  .yr-case-ref-title {
    min-height: 0;
    font-size: 22px;
  }
  .yr-case-ref-tags {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .yr-case-ref-fact + .yr-case-ref-fact {
    padding-left: 0;
    margin-left: 0;
    margin-top: 14px;
    border-left: 0;
  }
  .yr-case-ref-nav {
    top: 26vw;
    width: 42px;
    height: 42px;
    border-width: 1px;
  }
  .yr-case-ref-prev {
    left: 8px;
  }
  .yr-case-ref-next {
    right: 8px;
  }
  .yr-case-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .yr-case-feature-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .yr-case-feature-media img {
    position: static;
  }
  .yr-case-feature-body {
    padding: 30px;
  }
  .yr-case-feature-facts {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }
  .yr-case-feature-facts span {
    padding-right: 0;
  }
  .yr-case-mini-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .yr-cases-redesign .yr-h2 {
    font-size: var(--yr-section-title-size);
  }
  .yr-cases-redesign .yr-lead {
    font-size: 15.5px;
  }
  .yr-case-ref-tags { padding-bottom: 0; }
  .yr-case-ref-fact strong { font-size: 14.5px; }
  .yr-case-ref-track {
    grid-auto-columns: minmax(270px, 92%);
  }
  .yr-case-ref-overlay {
    padding: 20px;
  }
  .yr-case-ref-title {
    font-size: 21px;
  }
  .yr-case-ref-desc {
    min-height: 0;
    font-size: 14.5px;
    line-height: 1.62;
  }
  .yr-case-feature-body,
  .yr-case-mini {
    padding: 22px;
  }
  .yr-case-mini {
    min-height: 0;
  }
}

/* ---------- CTA: faded background image ---------- */
.yr-cta {
  background-image:
    linear-gradient(135deg, color-mix(in srgb, var(--yr-ink) var(--yr-cta-overlay-start, 94%), transparent) 0%, color-mix(in srgb, var(--yr-ink-2) var(--yr-cta-overlay-end, 92%), transparent) 100%),
    var(--yr-cta-bg, none);
  background-size: cover;
  background-position: center;
}
.yr-cta::before {
  background: var(--yr-dark-band-glow);
}
.yr-cta--has-background-image {
  --yr-cta-overlay-start: 62%;
  --yr-cta-overlay-end: 52%;
}
.yr-cta--has-background-image::before {
  opacity: 0.32;
}
.yr-cta--has-background-image :where(.yr-cta-title, .yr-cta-text) {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

/* =========================================================================
   MOBILE ADAPTATION (v0.0.15) — full responsive pass for the homepage.
   Appended last so it wins over the legacy header rules in style.css and
   the earlier same-file media queries (equal specificity, later wins).
   ========================================================================= */

/* ---- guard against accidental horizontal scroll from decorative offsets ---- */
@media (max-width: 1024px) {
  .yr-about, .yr-solutions { overflow-x: clip; }
}

/* -------------------------------------------------------------------------
   HERO (slider) — desktop stays full-viewport. Tablet keeps a shorter cover
   banner; phones preserve the complete landscape image and overlay only the
   essential title + CTA on the photo.
   ------------------------------------------------------------------------- */
/* the inner is a flex item sized to content and was overflowing the slide by
   its 2x24px padding; border-box + width:100% keeps the padding inside */
.yr-hero-slide .yr-hero-inner { box-sizing: border-box; width: 100%; min-width: 0; }

@media (max-width: 1024px) and (min-width: 782px) {
  .yr-hero-slider,
  .yr-hero-slider .swiper-wrapper,
  .yr-hero-slide {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 1400;
  }
  .yr-hero-slide .yr-hero-inner {
    width: min(100%, 860px);
  }
  .yr-hero-slide .yr-hero-title {
    font-size: var(--yr-section-title-size);
  }
  .yr-hero-slide .yr-hero-lead {
    max-width: 660px;
  }
}

@media (max-width: 781px) {
  .yr-hero-slider,
  .yr-hero-slider .swiper-wrapper,
  .yr-hero-slide {
    height: clamp(400px, 70svh, 560px);
    min-height: clamp(400px, 70svh, 560px);
    aspect-ratio: auto;
  }
  .yr-hero-slide {
    align-items: stretch;
    justify-content: center;
  }
  .yr-hero-slide::before {
    background:
      linear-gradient(180deg, rgba(7, 15, 29, 0.12) 0%, rgba(7, 15, 29, 0.18) 40%, rgba(7, 15, 29, 0.76) 100%),
      linear-gradient(90deg, rgba(7, 15, 29, 0.34) 0%, rgba(7, 15, 29, 0.06) 52%, rgba(7, 15, 29, 0.3) 100%);
  }
  .yr-hero-slide .yr-hero-inner {
    top: 54%;
    max-width: 100%;
    padding: 0 24px;
    text-align: center;
  }
  .yr-hero-eyebrow { display: none; }
  .yr-hero-title {
    display: block;
    width: 86%;
    max-width: 19ch;
    margin-inline: auto;
    overflow: visible;
    font-size: clamp(29px, 8.4vw, 34px);
    line-height: 1.1;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(2, 8, 18, 0.46);
  }
  .yr-hero-title br { display: none; }
  .yr-hero-slide .yr-hero-lead {
    display: -webkit-box;
    max-width: 34ch;
    margin-top: 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    line-height: 1.5;
  }
  .yr-hero-cta {
    width: auto;
    justify-content: center;
    margin-top: clamp(10px, 2.4vw, 16px);
  }
  .yr-hero-cta .wp-block-button { width: auto; }
  .yr-hero-cta .wp-block-button__link {
    display: inline-flex;
    width: auto;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    text-align: center;
  }
  .yr-hero-prev,
  .yr-hero-next { display: none; }
  .yr-hero-pagination {
    bottom: 22px;
    gap: 6px;
  }
  .yr-hero-slider .swiper-pagination-bullet {
    width: clamp(28px, 9vw, 46px);
  }
}

@media (max-width: 520px) {
  .yr-hero-slider,
  .yr-hero-slider .swiper-wrapper,
  .yr-hero-slide {
    height: clamp(400px, 70svh, 540px);
    min-height: clamp(400px, 70svh, 540px);
  }
  .yr-hero-slide .yr-hero-title {
    width: 88%;
    max-width: 18ch;
    font-size: clamp(29px, 8.8vw, 33px);
  }
}

/* -------------------------------------------------------------------------
   COLUMN SECTIONS — WP stacks columns on mobile by default (opt-out is
   `is-not-stacked-on-mobile`), so About/FAQ already stack at <=781px. These
   rules are a harmless belt-and-suspenders reinforcement of that.
   ------------------------------------------------------------------------- */
@media (max-width: 781px) {
  .yr-section.yr-cases { padding-inline: 0; }
}

/* ---- About: override the legacy `#aboutus{padding:0!important}` collision. ---- */
@media (max-width: 600px) {
  #aboutus.yr-section {
    padding: clamp(64px, 16vw, 76px) 20px !important;
  }

  .yr-about-layout {
    gap: 42px;
  }

  .yr-about-proof-grid {
    gap: 12px;
  }

  .yr-about-proof-grid--count-3 .yr-about-proof:last-child {
    grid-column: 1 / -1;
  }

  .yr-about-proof {
    min-height: 154px;
    gap: 20px;
    padding: 24px 14px;
  }

  .yr-about-proof-top {
    gap: 8px;
  }

  .yr-about-proof-icon {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  .yr-about-proof .num {
    font-size: clamp(26px, 7.4vw, 32px);
  }

  .yr-about-proof .lbl {
    font-size: 13px;
  }

  .yr-about-simple-head .yr-h2 {
    font-size: var(--yr-section-title-size);
  }

  .yr-about-simple-head .yr-lead {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* -------------------------------------------------------------------------
   CTA band — stack buttons full width on phones
   ------------------------------------------------------------------------- */
@media (max-width: 781px) {
  .yr-cta-buttons .wp-block-button { width: 100%; }
  .yr-cta-buttons .wp-block-button__link {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 13px 18px !important;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .yr-inquiry-modal {
    display: block;
    padding: 0;
  }
  .yr-inquiry-dialog {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }
  .yr-inquiry-close {
    top: calc(14px + env(safe-area-inset-top));
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(12, 28, 54, 0.08);
  }
  .yr-inquiry-copy {
    flex: 0 0 auto;
    max-width: none;
    margin: 0;
    padding: calc(18px + env(safe-area-inset-top)) 68px 16px 18px;
    border-bottom: 1px solid var(--yr-line);
    background: #fff;
  }
  .yr-inquiry-copy .yr-eyebrow { margin-bottom: 8px; }
  .yr-inquiry-copy h2 { font-size: clamp(22px, 6.4vw, 28px); line-height: 1.12; }
  .yr-inquiry-copy p:not(.yr-eyebrow) { display: none; }
  .yr-inquiry-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px calc(92px + env(safe-area-inset-bottom));
    border-top: 0;
    background: #fff;
  }
  .yr-inquiry-form .ff-el-group { margin-bottom: 12px; }
  .yr-inquiry-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea),
  .yr-inquiry-form .ff-el-form-control {
    min-height: 42px;
    font-size: 14px;
  }
  .yr-inquiry-form textarea,
  .yr-inquiry-form textarea.ff-el-form-control { min-height: 84px; }
  .yr-inquiry-submit-row {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100002;
    margin: 0 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(226, 233, 242, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -18px 38px rgba(12, 28, 54, 0.1);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .yr-inquiry-form .ff-btn-submit,
  .yr-inquiry-form :where(button[type="submit"], input[type="submit"]) {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    font-size: 13px;
  }
}

@media (min-width: 782px) and (max-height: 620px) {
  .yr-inquiry-modal { padding-block: 8px; }
  .yr-inquiry-dialog {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding-block: 18px;
  }
  .yr-inquiry-copy { margin-bottom: 12px; }
  .yr-inquiry-copy h2 { font-size: 22px; }
  .yr-inquiry-copy .yr-eyebrow,
  .yr-inquiry-copy p:not(.yr-eyebrow) { display: none; }
  .yr-inquiry-form {
    padding-top: 12px;
  }
  .yr-inquiry-form .ff-el-group { margin-bottom: 10px; }
  .yr-inquiry-form textarea,
  .yr-inquiry-form textarea.ff-el-form-control { min-height: 72px; }
}

@media (max-width: 781px) and (max-height: 620px) {
  .yr-inquiry-close {
    top: calc(8px + env(safe-area-inset-top));
  }
  .yr-inquiry-copy {
    padding-top: calc(12px + env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .yr-inquiry-copy .yr-eyebrow {
    display: none;
  }
  .yr-inquiry-copy h2 {
    font-size: 22px;
  }
  .yr-inquiry-form {
    padding-top: 12px;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .yr-inquiry-form .ff-el-group {
    margin-bottom: 10px;
  }
  .yr-inquiry-form textarea,
  .yr-inquiry-form textarea.ff-el-form-control {
    min-height: 72px;
  }
  .yr-inquiry-submit-row {
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .yr-inquiry-backdrop,
  .yr-inquiry-dialog {
    animation: none;
  }
  .xzsc {
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   FOOTER — brand + contact full width, the two link columns share a row
   ------------------------------------------------------------------------- */
@media (max-width: 781px) {
  .yr-footer-cols { flex-wrap: wrap !important; gap: 38px 24px !important; }
  .yr-footer-cols > .yr-footer-brand,
  .yr-footer-cols > .yr-footer-contact { flex: 0 0 100% !important; }
  .yr-footer-cols > .yr-footer-nav-col { flex: 1 1 40% !important; }
  .yr-footer-about { max-width: none; }
  .yr-footer-social { gap: 9px; margin-top: 22px; }
  .yr-footer-social-link { width: 36px; height: 36px; font-size: 14px; }
}
@media (max-width: 460px) {
  .yr-footer-cols > .yr-footer-nav-col { flex-basis: 100% !important; }
}

/* -------------------------------------------------------------------------
   Tighter section gutters on small phones
   ------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .yr-section { padding-inline: 20px; }
  .yr-cta { padding-left: 20px; padding-right: 20px; }
}

/* =========================================================================
   PARTNERS — reference-style logo carousel
   ========================================================================= */
.yr-partners {
  width: 100%;
  padding: clamp(30px, 2.5vw, 40px) clamp(20px, 4.8vw, 70px) clamp(52px, 4.5vw, 72px);
  background: var(--yr-paper, #fff);
  color: var(--yr-text);
  box-sizing: border-box;
}

.yr-partners__shell {
  width: min(1680px, 100%);
  margin-inline: auto;
}

.yr-partners__header {
  width: 100%;
  margin: 0 0 clamp(26px, 2.5vw, 36px);
}

.yr-partners__title {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--yr-heading);
  font-family: var(--wp--preset--font-family--montserrat), sans-serif;
  font-size: var(--yr-section-title-size);
  font-weight: var(--yr-section-title-weight);
  letter-spacing: var(--yr-section-title-letter-spacing);
  line-height: var(--yr-section-title-line-height);
  text-align: center;
  text-wrap: balance;
}

.yr-partners__title::before,
.yr-partners__title::after {
  display: none;
  content: none;
}

.yr-partners__carousel {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.yr-partners__grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yr-partners__item {
  display: flex;
  box-sizing: border-box;
  height: clamp(104px, 8vw, 124px);
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px 10px;
  border: 1px solid #f4f4f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 7px rgba(214, 214, 214, 0.22);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.yr-partners__logo-wrap,
.yr-partners__link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: none;
}

.yr-partners__item:hover {
  border-color: color-mix(in srgb, var(--yr-accent) 20%, #f4f4f4);
  box-shadow: 0 8px 22px rgba(12, 28, 54, 0.08);
  transform: translateY(-2px);
}

.yr-partners__link:focus-visible {
  border-radius: 8px;
  outline: 2px solid var(--yr-accent);
  outline-offset: 2px;
}

.yr-partners__logo {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.yr-partners__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transform: none;
  transition: transform 0.3s ease;
}

.yr-partners__item:hover .yr-partners__logo img,
.yr-partners__link:focus-visible .yr-partners__logo img {
  transform: scale(1.025);
}

.yr-partners__carousel .yr-partners__pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12px;
  margin: 48px 0 0;
  inset: auto;
  transform: none;
}

.yr-partners__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 4px !important;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.yr-partners__pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--yr-accent) 76%, #fff), var(--yr-accent));
  opacity: 1;
}

@media (max-width: 600px) {
  .yr-partners {
    padding: 42px 20px;
  }

  .yr-partners__header {
    margin-bottom: 22px;
  }

  .yr-partners__item {
    height: 96px;
    padding: 17px 9px;
  }

  .yr-partners__carousel .yr-partners__pagination {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yr-partners__item,
  .yr-partners__logo img {
    transition: none !important;
  }
}

/* Mobile About composition: keep the landscape artwork as a dedicated opening
   frame, then place copy and proof cards on a calm navy surface below it. */
@media (max-width: 781px) {
  .yr-section.yr-about-simple--has-background {
    --yr-about-mobile-media-h: clamp(220px, 62vw, 360px);
    background-color: #14243c;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding-top: calc(var(--yr-about-mobile-media-h) + clamp(48px, 12vw, 68px)) !important;
  }

  .yr-about-simple--has-background::before {
    background: linear-gradient(
      180deg,
      rgba(5, 15, 29, 0.12) 0,
      rgba(5, 15, 29, 0.28) calc(var(--yr-about-mobile-media-h) - 42px),
      #14243c var(--yr-about-mobile-media-h),
      #14243c 100%
    );
  }

  .yr-about-simple--has-background .yr-about-layout {
    align-items: start;
  }

  .yr-about-simple--has-background .yr-about-simple-head {
    order: -1;
  }
}

@media (max-width: 600px) {
  #aboutus.yr-section.yr-about-simple--has-background {
    padding-top: calc(var(--yr-about-mobile-media-h) + 52px) !important;
  }
}
