/* =========================================================
   ORIIBRANDS ENERGY — UI SYSTEM 4.0
   Presentation layer for the v4 visual system.
   Keeps the existing PHP/content engine intact while establishing
   a stricter hierarchy, spacing scale, responsive behaviour and
   component language.
   ========================================================= */

:root {
  /* UI 4.0 tokens */
  --ui-space-1: 8px;
  --ui-space-2: 12px;
  --ui-space-3: 16px;
  --ui-space-4: 24px;
  --ui-space-5: 32px;
  --ui-space-6: 48px;
  --ui-space-7: 64px;
  --ui-space-8: 88px;
  --ui-space-9: 96px;
  --ui-space-10: 120px;
  --ui-display: clamp(2.6rem, 4.8vw, 4.5rem);
  --ui-h1: clamp(2.35rem, 3.9vw, 3.85rem);
  --ui-h2: clamp(1.85rem, 2.8vw, 2.65rem);
  --ui-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --ui-body: 16px;
  --ui-small: 14px;
  --ui-meta: 12px;
  --ui-radius-sm: 8px;
  --ui-radius-md: 14px;
  --ui-radius-lg: 20px;
  --ui-radius-pill: 999px;
  --ui-shadow-soft: 0 16px 40px rgba(0,0,0,.16);
  --ui-shadow-card: 0 18px 48px rgba(0,0,0,.18);
}

/* ---------- Global type hierarchy ---------- */
body.ui-system-energy {
  font-size: var(--ui-body);
  line-height: 1.65;
}
body.ui-system-energy p { max-width: 68ch; }
body.ui-system-energy h1 { font-size: var(--ui-h1); }
body.ui-system-energy h2 { font-size: var(--ui-h2); }
body.ui-system-energy h3 { font-size: var(--ui-h3); }
body.ui-system-energy .hero-eyebrow,
body.ui-system-energy .section-eyebrow {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .16em;
}

/* Gradient is an emphasis device, not the default colour of every heading.
   Existing Customizer selections still work; the Energy preset itself uses
   solid headings by default. */
body.ui-system-energy:not(.heading-color-gradient) h1,
body.ui-system-energy:not(.heading-color-gradient) h2,
body.ui-system-energy:not(.heading-color-gradient) h3,
body.ui-system-energy:not(.heading-color-gradient) h4,
body.ui-system-energy:not(.heading-color-gradient) h5,
body.ui-system-energy:not(.heading-color-gradient) h6 {
  color: var(--foreground);
}

/* ---------- Header ---------- */
body.ui-system-energy .site-header {
  padding: 14px 0;
  border-bottom-color: transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.ui-system-energy .site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
}
body.ui-system-energy.has-static-front-page .site-header:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(var(--background-rgb),.48), rgba(var(--background-rgb),.10) 78%, transparent);
}
body.ui-system-energy .primary-nav > ul > li.current-menu-item > a,
body.ui-system-energy .primary-nav > ul > li.current_page_item > a,
body.ui-system-energy .primary-nav > ul > li.current-menu-ancestor > a,
body.ui-system-energy .primary-nav > ul > li.current-menu-parent > a {
  background: #fff;
  color: #0a0e0f;
}
body.ui-system-energy .primary-nav > ul > li.current-menu-item > a:hover,
body.ui-system-energy .primary-nav > ul > li.current_page_item > a:hover,
body.ui-system-energy .primary-nav > ul > li.current-menu-ancestor > a:hover,
body.ui-system-energy .primary-nav > ul > li.current-menu-parent > a:hover {
  background: #fff;
  color: #0a0e0f;
}
body.ui-system-energy .primary-nav a {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 600;
}
body.ui-system-energy .header-cta {
  min-height: 42px;
  padding-inline: 22px;
}

/* ---------- Buttons: fewer visual voices, clearer hierarchy ---------- */
body.ui-system-energy .btn-gradient,
body.ui-system-energy .wp-block-button__link,
body.ui-system-energy .oriibrands-btn {
  min-height: 46px;
  padding: 12px 24px;
  border-radius: var(--ui-radius-pill);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
}
body.ui-system-energy .wp-block-button.is-style-large .wp-block-button__link {
  min-height: 52px;
  padding: 14px 30px;
}
body.ui-system-energy .wp-block-button.is-style-small .wp-block-button__link {
  min-height: 40px;
  padding: 9px 18px;
}
body.ui-system-energy .wp-block-button.is-style-oriibrands-ghost .wp-block-button__link,
body.ui-system-energy .btn-gradient.btn-ghost,
body.ui-system-energy .oriibrands-btn.oriibrands-btn-ghost {
  min-height: 40px;
}
body.ui-system-energy .button-effect-flow .btn-gradient,
body.ui-system-energy .button-effect-flow .wp-block-button__link,
body.ui-system-energy .button-effect-flow .oriibrands-btn {
  animation: none;
  background: var(--gradient-brand);
}
body.ui-system-energy .button-effect-pulse .btn-gradient:hover,
body.ui-system-energy .button-effect-pulse .btn-gradient:focus-visible,
body.ui-system-energy .button-effect-pulse .wp-block-button__link:hover,
body.ui-system-energy .button-effect-pulse .wp-block-button__link:focus-visible,
body.ui-system-energy .button-effect-pulse .oriibrands-btn:hover,
body.ui-system-energy .button-effect-pulse .oriibrands-btn:focus-visible {
  animation: none;
  box-shadow: 0 10px 30px rgba(28,177,214,.20);
}

/* ---------- Hero ---------- */
body.ui-system-energy .hero {
  min-height: clamp(680px, 88vh, 900px);
  align-items: flex-end;
}
body.ui-system-energy .hero-inner {
  padding: 144px 24px 72px;
}
body.ui-system-energy .hero-inner h1 {
  max-width: 820px;
  margin-bottom: 22px;
  letter-spacing: -.035em;
}
body.ui-system-energy .hero-inner > p {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.65;
}
body.ui-system-energy .hero-actions {
  gap: 12px;
  margin: 32px 0;
}
body.ui-system-energy .hero-overlay {
  background:
    linear-gradient(to top, var(--background) 0%, rgba(var(--background-rgb),.72) 48%, rgba(var(--background-rgb),.08) 100%),
    linear-gradient(to right, rgba(var(--background-rgb),.76) 0%, rgba(var(--background-rgb),.20) 56%, transparent 100%);
}
body.ui-system-energy .oriibrands-hero-pattern,
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern {
  min-height: clamp(680px, 88vh, 900px) !important;
}
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern .wp-block-cover__inner-container {
  width: min(100%, var(--container));
  padding: 120px 24px 72px;
}
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern h1 {
  max-width: 820px;
  font-size: var(--ui-h1);
  letter-spacing: -.035em;
}
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern p:not(.hero-eyebrow) {
  max-width: 600px;
  font-size: 18px;
}

/* ---------- Sections / rhythm ---------- */
body.ui-system-energy .section { padding: var(--ui-space-9) 0; }
body.ui-system-energy .section-head { margin-bottom: var(--ui-space-7); }
body.ui-system-energy .section-head h2 { margin-bottom: 0; letter-spacing: -.025em; }
body.ui-system-energy .section-link {
  font-size: 14px;
  font-weight: 650;
}
body.ui-system-energy .section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
body.ui-system-energy .split-intro { gap: var(--ui-space-8); }
body.ui-system-energy .split-intro p,
body.ui-system-energy .media-text .text p { font-size: 17px; line-height: 1.7; }
body.ui-system-energy .pillars { gap: var(--ui-space-7); margin-top: var(--ui-space-7); }
body.ui-system-energy .pillars p,
body.ui-system-energy .steps p { font-size: 15px; line-height: 1.65; }

/* ---------- Services: editorial/industrial rather than SaaS ---------- */
body.ui-system-energy .services-grid {
  gap: 0;
  margin-top: var(--ui-space-7);
  border-radius: var(--ui-radius-lg);
}
body.ui-system-energy .service-card {
  min-height: 230px;
  padding: 30px;
  gap: 28px;
  transition: background .25s ease, transform .25s ease;
}
body.ui-system-energy .service-card:hover {
  background: rgba(var(--highlight-rgb),.035);
}
body.ui-system-energy .service-card .num {
  font-size: 14px;
  letter-spacing: .08em;
}
body.ui-system-energy .service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
body.ui-system-energy .service-card p { font-size: 15px; line-height: 1.6; }

/* ---------- Proof / statistics ---------- */
body.ui-system-energy .oriibrands-block-statistic {
  text-align: left;
  padding: 8px 24px 8px 0;
  border-right: 1px solid var(--border);
}
body.ui-system-energy .oriibrands-block-statistic:last-child { border-right: 0; }
body.ui-system-energy .oriibrands-block-statistic-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -.04em;
}
body.ui-system-energy .oriibrands-block-statistic-label {
  margin-top: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Cards / content ---------- */
body.ui-system-energy .oriibrands-block-service-card,
body.ui-system-energy .oriibrands-block-content-grid-item,
body.ui-system-energy .oriibrands-contact-form-card,
body.ui-system-energy .blog-sidebar-widget {
  border-radius: var(--ui-radius-lg);
}
body.ui-system-energy .oriibrands-block-service-card p,
body.ui-system-energy .oriibrands-block-content-grid-item-body p {
  font-size: 15px;
  line-height: 1.65;
}
body.ui-system-energy .oriibrands-block-content-grid-item {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.ui-system-energy .oriibrands-block-content-grid-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--ui-shadow-card);
}

/* ---------- Interior page heroes ---------- */
body.ui-system-energy .page-hero {
  padding: 104px 0 80px;
  text-align: left;
}
body.ui-system-energy .page-hero .hero-eyebrow { text-align: left; }
body.ui-system-energy .page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: -.035em;
}
body.ui-system-energy .page-hero p {
  max-width: 640px;
  margin-inline: 0;
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Forms ---------- */
body.ui-system-energy .oriibrands-contact-form-card { padding: 36px; }
body.ui-system-energy .oriibrands-contact-form label { font-size: 13px; letter-spacing: .01em; }
body.ui-system-energy .oriibrands-contact-form input[type="text"],
body.ui-system-energy .oriibrands-contact-form input[type="email"],
body.ui-system-energy .oriibrands-contact-form input[type="tel"],
body.ui-system-energy .oriibrands-contact-form input[type="date"],
body.ui-system-energy .oriibrands-contact-form input[type="file"],
body.ui-system-energy .oriibrands-contact-form select,
body.ui-system-energy .oriibrands-contact-form textarea {
  min-height: 48px;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 15px;
}
body.ui-system-energy .oriibrands-contact-form textarea { min-height: 140px; }

/* ---------- Mobile navigation: touch-first ---------- */
body.ui-system-energy .mobile-nav { padding: 20px 24px 28px; }
body.ui-system-energy .mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 4px;
  font-size: 16px;
}
body.ui-system-energy .mobile-nav .submenu-toggle {
  width: 44px;
  height: 44px;
  top: 2px;
}
body.ui-system-energy .mobile-nav .header-cta-mobile {
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}
body.ui-system-energy .menu-toggle,
body.ui-system-energy .search-toggle {
  min-width: 44px;
  min-height: 44px;
}


/* ---------- Footer: more breathing room, less UI chrome ---------- */
body.ui-system-energy .footer-grid { padding: 88px 0 72px; gap: 48px; }
body.ui-system-energy .footer-widget-area a,
body.ui-system-energy .footer-col a { font-size: 15px; }
body.ui-system-energy .footer-bottom { padding: 24px 0; }

/* ---------- Reduced borders / stronger whitespace ---------- */
body.ui-system-energy section:not(.has-background) { border-bottom-color: rgba(var(--highlight-rgb),.065); }
body.ui-system-energy .pillar-icon { border-color: rgba(var(--highlight-rgb),.08); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  body.ui-system-energy .section { padding: 80px 0; }
  body.ui-system-energy .hero-inner { padding-top: 132px; }
  body.ui-system-energy .page-hero { padding: 88px 0 68px; }
}

@media (max-width: 767px) {
  body.ui-system-energy .container { padding-inline: 20px; }
  body.ui-system-energy .section { padding: 68px 0; }
  body.ui-system-energy .section-head { margin-bottom: 40px; }
  body.ui-system-energy .hero,
  body.ui-system-energy .oriibrands-hero-pattern,
  body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern {
    min-height: auto !important;
  }
  body.ui-system-energy .hero-inner { padding: 116px 20px 56px; }
  body.ui-system-energy .hero-inner h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  body.ui-system-energy .hero-inner > p,
  body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern p:not(.hero-eyebrow) { font-size: 16px; }
  body.ui-system-energy .hero-actions { margin: 28px 0; gap: 10px; }
  body.ui-system-energy .hero-actions .btn-gradient,
  body.ui-system-energy .hero-actions .wp-block-button__link { width: 100%; }
  body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern .wp-block-cover__inner-container {
    padding: 108px 20px 56px;
  }
  body.ui-system-energy .page-hero { padding: 76px 0 56px; }
  body.ui-system-energy .page-hero h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  body.ui-system-energy .services-grid { border-radius: 16px; }
  body.ui-system-energy .service-card { min-height: 0; padding: 24px; }
  body.ui-system-energy .oriibrands-block-statistic {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  body.ui-system-energy .oriibrands-block-statistic:last-child { border-bottom: 0; }
  body.ui-system-energy .oriibrands-contact-form-card { padding: 24px; }
  body.ui-system-energy .footer-grid { padding: 64px 0 48px; gap: 32px; }
}

@media (max-width: 480px) {
  body.ui-system-energy .hero-actions { flex-direction: column; align-items: stretch; }
  body.ui-system-energy .hero-actions .wp-block-button,
  body.ui-system-energy .hero-actions .wp-block-button__link { width: 100%; }
  body.ui-system-energy .btn-gradient,
  body.ui-system-energy .wp-block-button__link,
  body.ui-system-energy .oriibrands-btn { min-height: 48px; }
}

/* Motion budget: keep the interface refined even when legacy effect settings
   are selected; the user can still opt into effects, but transitions stay
   short and non-disruptive by default. */
@media (prefers-reduced-motion: reduce) {
  body.ui-system-energy .oriibrands-block-content-grid-item:hover { transform: none; }
}


/* =========================================================
   UI SYSTEM 4.1 — refinement pass
   Tighter content measure, smaller display type, robust carousel and
   shadcn-inspired component surfaces.
   ========================================================= */
body.ui-system-energy {
  --ui-container: 1200px;
  --ui-content: 1080px;
}
body.ui-system-energy .container,
body.ui-system-energy .hero-inner,
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern .wp-block-cover__inner-container {
  max-width: var(--ui-container);
}
body.ui-system-energy .container { padding-inline: 24px; }
body.ui-system-energy .hero-inner { padding-inline: 24px; }
body.ui-system-energy .page-content > .container { max-width: var(--ui-content); }
body.ui-system-energy .page-content > .container { padding-inline: 24px; }
body.ui-system-energy .entry-content > *:not(.alignwide):not(.alignfull),
body.ui-system-energy .entry-content > .wp-block-group:not(.alignwide):not(.alignfull) {
  max-width: var(--ui-content);
  margin-inline: auto;
}
body.ui-system-energy .entry-content > .alignwide { max-width: var(--ui-container); margin-inline: auto; }

body.ui-system-energy .hero-inner h1,
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern h1,
body.ui-system-energy .page-hero h1 {
  font-size: var(--ui-h1);
  line-height: 1.08;
  max-width: 760px;
}
body.ui-system-energy .hero-inner > p,
body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern p:not(.hero-eyebrow),
body.ui-system-energy .page-hero p { font-size: 16px; max-width: 580px; }
body.ui-system-energy .section { padding-block: 80px; }
body.ui-system-energy .section-head { max-width: var(--ui-content); margin-inline: auto; }

/* Content grid: always stays inside a deliberate reading measure. */
body.ui-system-energy .oriibrands-block-content-grid {
  width: min(100%, var(--ui-container));
  margin-inline: auto;
  padding-inline: 24px;
}
body.ui-system-energy .oriibrands-block-content-grid-grid .oriibrands-block-content-grid-track {
  gap: 20px;
}
body.ui-system-energy .oriibrands-block-content-grid-item-body { padding: 18px 20px 22px; }
body.ui-system-energy .oriibrands-block-content-grid-item-body h3 { font-size: 17px; line-height: 1.25; }
body.ui-system-energy .oriibrands-block-content-grid-item-body p { font-size: 14px; line-height: 1.6; }

/* Carousel: contained, predictable and usable. */
body.ui-system-energy .oriibrands-block-content-grid-carousel { padding-inline: 0; }
body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-track {
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 10px;
  scroll-padding-inline: 2px;
}
body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-track::-webkit-scrollbar { display: none; }
body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-item {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}
body.ui-system-energy .oriibrands-block-content-grid-prev,
body.ui-system-energy .oriibrands-block-content-grid-next {
  top: 44%;
  width: 44px;
  height: 44px;
  background: rgba(16,22,23,.94);
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
body.ui-system-energy .oriibrands-block-content-grid-prev { left: 10px; }
body.ui-system-energy .oriibrands-block-content-grid-next { right: 10px; }
body.ui-system-energy .oriibrands-block-content-grid-prev:hover,
body.ui-system-energy .oriibrands-block-content-grid-next:hover { background: var(--secondary); }
body.ui-system-energy .oriibrands-block-content-grid-prev[aria-disabled="true"],
body.ui-system-energy .oriibrands-block-content-grid-next[aria-disabled="true"] { opacity: .3; pointer-events: none; }

/* Industrial/editorial cards: less chrome, clearer click affordance. */
body.ui-system-energy .oriibrands-block-content-grid-item,
body.ui-system-energy .oriibrands-block-service-card,
body.ui-system-energy .oriibrands-contact-form-card {
  border-color: rgba(var(--highlight-rgb),.10);
  box-shadow: none;
}
body.ui-system-energy .oriibrands-block-content-grid-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}

/* Small UI components used by theme patterns. */
body.ui-system-energy .ui-badge,
body.ui-system-energy .oriibrands-badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px;
  border: 1px solid var(--border); border-radius: var(--ui-radius-pill);
  font-size: 12px; font-weight: 650; line-height: 1; color: var(--muted-foreground);
}
body.ui-system-energy .ui-icon-button,
body.ui-system-energy .oriibrands-icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--foreground); cursor: pointer;
}
body.ui-system-energy .ui-divider,
body.ui-system-energy .oriibrands-divider { height: 1px; background: var(--border); width: 100%; }
body.ui-system-energy .ui-kicker,
body.ui-system-energy .oriibrands-kicker {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--primary-text);
}

@media (max-width: 900px) {
  body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-item {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (max-width: 640px) {
  body.ui-system-energy .container,
  body.ui-system-energy .hero-inner,
  body.ui-system-energy .page-content > .container,
  body.ui-system-energy .oriibrands-block-content-grid { padding-inline: 20px; }
  body.ui-system-energy .section { padding-block: 60px; }
  body.ui-system-energy .hero-inner h1,
  body.ui-system-energy .wp-block-cover.oriibrands-hero-pattern h1,
  body.ui-system-energy .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.05rem); }
  body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-item {
    flex-basis: min(86vw, 340px);
  }
  body.ui-system-energy .oriibrands-block-content-grid-prev { left: 8px; }
  body.ui-system-energy .oriibrands-block-content-grid-next { right: 8px; }
}


/* =========================================================
   ORIIBRANDS ENERGY — UI 4.2 component refinement
   ========================================================= */
body.ui-system-energy .container { width: min(100% - 40px, 1200px); margin-inline: auto; }
body.ui-system-energy .page-content { overflow: clip; }
body.ui-system-energy .page-hero { padding: 76px 0 64px; min-height: 0; }
body.ui-system-energy .page-hero h1 { font-size: clamp(2.35rem, 4.2vw, 4rem); max-width: 760px; }
body.ui-system-energy .page-hero p { font-size: 16px; max-width: 700px; }
body.ui-system-energy .oriibrands-contact-layout { grid-template-columns: minmax(0, 1.75fr) minmax(280px, .85fr); gap: 40px; align-items: start; }
body.ui-system-energy .oriibrands-contact-form-card { padding: 28px; }
body.ui-system-energy .oriibrands-contact-grid { gap: 22px 24px; }
body.ui-system-energy .oriibrands-contact-form input[type="text"],
body.ui-system-energy .oriibrands-contact-form input[type="email"],
body.ui-system-energy .oriibrands-contact-form input[type="tel"],
body.ui-system-energy .oriibrands-contact-form input[type="date"],
body.ui-system-energy .oriibrands-contact-form input[type="file"],
body.ui-system-energy .oriibrands-contact-form select,
body.ui-system-energy .oriibrands-contact-form textarea { width: 100%; box-sizing: border-box; }
body.ui-system-energy .oriibrands-contact-card { padding: 22px; min-height: 0; }
body.ui-system-energy .oriibrands-contact-card + .oriibrands-contact-card { margin-top: 14px; }
body.ui-system-energy .oriibrands-contact-card-label { font-size: 11px; letter-spacing: .06em; }
body.ui-system-energy .oriibrands-contact-card a,
body.ui-system-energy .oriibrands-contact-card > div > span:last-child { font-size: 15px; line-height: 1.5; }
body.ui-system-energy .oriibrands-block-content-grid-carousel { padding-inline: 0; }
body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-track { gap: 18px; padding: 2px 2px 8px; scrollbar-width: none; }
body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-track::-webkit-scrollbar { display:none; }
body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-item { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; }
body.ui-system-energy .oriibrands-block-content-grid-prev,
body.ui-system-energy .oriibrands-block-content-grid-next { width: 44px; height: 44px; background: var(--background); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
body.ui-system-energy .oriibrands-block-content-grid-prev { left: -22px; }
body.ui-system-energy .oriibrands-block-content-grid-next { right: -22px; }
body.ui-system-energy .oriibrands-block-content-grid-item-body { padding: 20px; }
body.ui-system-energy .oriibrands-block-content-grid-item-body h3 { font-size: 18px; line-height: 1.25; }
body.ui-system-energy .oriibrands-block-content-grid-item-body p { font-size: 15px; line-height: 1.55; }
body.ui-system-energy .oriibrands-block-content-grid-item.is-editorial { background: transparent; border: 0; border-radius: 0; }
body.ui-system-energy .oriibrands-block-content-grid-item.is-minimal { background: transparent; border-color: transparent; }
body.ui-system-energy .oriibrands-block-content-grid-item.is-featured { border-color: rgba(20,178,218,.35); box-shadow: 0 14px 40px rgba(20,178,218,.08); }
body.ui-system-energy .oriibrands-block-service-card.is-minimal { background: transparent; border-color: transparent; }
body.ui-system-energy .oriibrands-block-service-card.is-featured { border-color: rgba(20,178,218,.35); box-shadow: 0 16px 40px rgba(20,178,218,.08); }
body.ui-system-energy .oriibrands-block-statistic.is-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
body.ui-system-energy .oriibrands-block-statistic.is-minimal { border-right: 0; }
body.ui-system-energy .oriibrands-block-team-member.is-editorial { background: transparent; border: 0; padding: 0; }
body.ui-system-energy .oriibrands-block-quote.is-card { background: var(--card); border: 1px solid var(--border); border-left: 0; border-radius: 16px; padding: 28px; }
body.ui-system-energy .oriibrands-block-text-image.is-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
body.ui-system-energy .oriibrands-block-text-image.is-minimal { gap: 64px; }
body.ui-system-energy .oriibrands-block-text-image-media.is-wide img { aspect-ratio: 16/9; object-fit: cover; }
body.ui-system-energy .oriibrands-contact-form .btn-gradient { min-width: 150px; }
@media (max-width: 980px) {
  body.ui-system-energy .oriibrands-contact-layout { grid-template-columns: 1fr; }
  body.ui-system-energy .oriibrands-contact-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  body.ui-system-energy .oriibrands-contact-card + .oriibrands-contact-card { margin-top:0; }
  body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-item { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  body.ui-system-energy .container { width: min(100% - 28px, 1200px); }
  body.ui-system-energy .page-hero { padding: 56px 0 48px; }
  body.ui-system-energy .page-hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  body.ui-system-energy .oriibrands-contact-form-card { padding: 20px; }
  body.ui-system-energy .oriibrands-contact-grid { grid-template-columns:1fr; gap:16px; }
  body.ui-system-energy .oriibrands-contact-cards { grid-template-columns:1fr; }
  body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-item { flex-basis: 88%; }
  body.ui-system-energy .oriibrands-block-content-grid-prev,
  body.ui-system-energy .oriibrands-block-content-grid-next { display:inline-flex; position:static; transform:none; margin-top:12px; }
  body.ui-system-energy .oriibrands-block-content-grid-carousel { display:flex; flex-wrap:wrap; gap:8px; }
  body.ui-system-energy .oriibrands-block-content-grid-carousel .oriibrands-block-content-grid-track { order:-1; width:100%; }
}

/* ---------- 4.2 block primitives ---------- */
body.ui-system-energy .oriibrands-block-eyebrow { display:block; margin:0 0 10px; color:var(--primary-text); font-size:11px; line-height:1.2; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
body.ui-system-energy .oriibrands-block-service-card { min-height:220px; padding:26px; display:flex; flex-direction:column; gap:14px; background:var(--card); border:1px solid var(--border); border-radius:16px; box-sizing:border-box; }
body.ui-system-energy .oriibrands-block-service-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; min-height:44px; }
body.ui-system-energy .oriibrands-block-service-card-icon { width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px; border-radius:10px; color:var(--primary-text); background:rgba(var(--highlight-rgb),.07); border:1px solid var(--border); }
body.ui-system-energy .oriibrands-block-service-card-icon svg { width:20px; height:20px; }
body.ui-system-energy .oriibrands-block-service-card.icon-style-outline .oriibrands-block-service-card-icon { background:transparent; color:var(--foreground); }
body.ui-system-energy .oriibrands-block-service-card.icon-style-solid .oriibrands-block-service-card-icon { background:var(--foreground); color:var(--background); border-color:var(--foreground); }
body.ui-system-energy .oriibrands-block-service-card h3 { margin:0; font-size:20px; line-height:1.25; letter-spacing:-.02em; }
body.ui-system-energy .oriibrands-block-service-card p { margin:0; color:var(--muted-foreground); }
body.ui-system-energy .oriibrands-block-service-card-link { margin-top:auto; display:inline-flex; align-items:center; gap:8px; width:max-content; color:var(--foreground); font-size:14px; font-weight:650; text-decoration:none; }
body.ui-system-energy .oriibrands-block-service-card-link:hover { color:var(--primary-text); }
body.ui-system-energy .oriibrands-block-statistic-description { display:block; margin-top:8px; color:var(--muted-foreground); font-size:14px; line-height:1.5; }
body.ui-system-energy .oriibrands-block-team-member { overflow:hidden; background:var(--card); border:1px solid var(--border); border-radius:16px; }
body.ui-system-energy .oriibrands-block-team-member-photo img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; }
body.ui-system-energy .oriibrands-block-team-member-content { padding:18px 20px 20px; }
body.ui-system-energy .oriibrands-block-team-member.is-editorial .oriibrands-block-team-member-content { padding-inline:0; }
body.ui-system-energy .oriibrands-block-team-member-name { font-size:16px; font-weight:700; }
body.ui-system-energy .oriibrands-block-team-member-role { margin-top:5px; font-size:13px; color:var(--muted-foreground); }
body.ui-system-energy .oriibrands-block-quote { margin:0; }
body.ui-system-energy .oriibrands-block-quote-text { margin:0 0 18px; font-size:clamp(1.35rem,2.4vw,2rem); line-height:1.35; letter-spacing:-.02em; }
body.ui-system-energy .oriibrands-block-quote-author { display:flex; flex-direction:column; gap:3px; }
body.ui-system-energy .oriibrands-block-content-grid-head { margin:0 0 26px; }
body.ui-system-energy .oriibrands-block-content-grid-head h2 { margin:0 0 8px; }
body.ui-system-energy .oriibrands-block-content-grid-head p { margin:0; color:var(--muted-foreground); max-width:62ch; }
body.ui-system-energy .oriibrands-block-content-grid-item { position:relative; }
body.ui-system-energy .oriibrands-block-content-grid-item-body { position:relative; min-height:190px; display:flex; flex-direction:column; }
body.ui-system-energy .oriibrands-block-content-grid-item-arrow { margin-top:auto; width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:999px; color:var(--foreground); }
body.ui-system-energy .oriibrands-block-content-grid-item-arrow svg { width:16px; height:16px; }
body.ui-system-energy .oriibrands-block-content-grid-item:hover .oriibrands-block-content-grid-item-arrow { background:var(--foreground); color:var(--background); }
body.ui-system-energy .oriibrands-block-content-grid-item-image.ratio-16-9 { aspect-ratio:16/9; }
body.ui-system-energy .oriibrands-block-content-grid-item-image.ratio-1-1 { aspect-ratio:1/1; }
body.ui-system-energy .oriibrands-block-content-grid-item-image.ratio-4-3 { aspect-ratio:4/3; }
body.ui-system-energy .oriibrands-block-text-image-content { min-width:0; }
body.ui-system-energy .oriibrands-block-text-image-copy { color:var(--muted-foreground); font-size:16px; line-height:1.7; }
body.ui-system-energy .oriibrands-block-text-image-copy p { margin:0 0 14px; }
body.ui-system-energy .oriibrands-block-text-image-media.is-4-3 img { aspect-ratio:4/3; object-fit:cover; }
body.ui-system-energy .oriibrands-block-text-image-media.is-16-9 img { aspect-ratio:16/9; object-fit:cover; }
body.ui-system-energy .oriibrands-block-text-image-media.is-1-1 img { aspect-ratio:1/1; object-fit:cover; }
body.ui-system-energy .oriibrands-block-contact-form-intro { color:var(--muted-foreground); margin:-8px 0 24px; }

/* ---------- 4.2 new content patterns ---------- */
body.ui-system-energy .oriibrands-block-feature-list h2,
body.ui-system-energy .oriibrands-block-process h2 { margin:0 0 24px; }
body.ui-system-energy .oriibrands-block-feature-list ul { list-style:none; margin:0; padding:0; display:grid; gap:0; border-top:1px solid var(--border); }
body.ui-system-energy .oriibrands-block-feature-list li { display:flex; gap:14px; align-items:flex-start; padding:15px 0; border-bottom:1px solid var(--border); font-size:16px; line-height:1.5; }
body.ui-system-energy .oriibrands-block-feature-list-marker { flex:0 0 28px; color:var(--primary-text); font-weight:700; font-size:13px; }
body.ui-system-energy .oriibrands-block-feature-list.is-number .oriibrands-block-feature-list-marker { letter-spacing:.06em; }
body.ui-system-energy .oriibrands-block-process-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; border-top:1px solid var(--border); }
body.ui-system-energy .oriibrands-block-process-step { position:relative; min-height:150px; padding:22px 20px 20px 0; border-bottom:1px solid var(--border); }
body.ui-system-energy .oriibrands-block-process-step + .oriibrands-block-process-step { padding-left:20px; border-left:1px solid var(--border); }
body.ui-system-energy .oriibrands-block-process-number { display:block; margin-bottom:38px; color:var(--primary-text); font-size:12px; font-weight:700; letter-spacing:.08em; }
body.ui-system-energy .oriibrands-block-process-step h3 { margin:0; font-size:17px; line-height:1.3; }
body.ui-system-energy .oriibrands-block-process.is-cards .oriibrands-block-process-list { border:0; gap:12px; }
body.ui-system-energy .oriibrands-block-process.is-cards .oriibrands-block-process-step { padding:20px; border:1px solid var(--border); border-radius:14px; background:var(--card); }
body.ui-system-energy .oriibrands-block-process.is-cards .oriibrands-block-process-step + .oriibrands-block-process-step { border-left:1px solid var(--border); }
body.ui-system-energy .oriibrands-block-cta-banner { position:relative; overflow:hidden; border:1px solid var(--border); border-radius:20px; padding:56px; background:var(--card); }
body.ui-system-energy .oriibrands-block-cta-banner-content { position:relative; z-index:1; max-width:760px; }
body.ui-system-energy .oriibrands-block-cta-banner h2 { margin:0 0 12px; max-width:700px; }
body.ui-system-energy .oriibrands-block-cta-banner p { margin:0 0 26px; max-width:60ch; color:var(--muted-foreground); }
body.ui-system-energy .oriibrands-block-cta-banner.is-gradient { background:linear-gradient(135deg,rgba(20,178,218,.14),rgba(190,89,67,.08) 70%),var(--card); }
body.ui-system-energy .oriibrands-block-cta-banner.is-solid { background:var(--foreground); color:var(--background); }
body.ui-system-energy .oriibrands-block-cta-banner.is-solid p { color:color-mix(in srgb,var(--background) 70%,transparent); }
@media(max-width:900px){ body.ui-system-energy .oriibrands-block-process-list{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:640px){ body.ui-system-energy .oriibrands-block-process-list{grid-template-columns:1fr;} body.ui-system-energy .oriibrands-block-process-step + .oriibrands-block-process-step{padding-left:0;border-left:0;} body.ui-system-energy .oriibrands-block-cta-banner{padding:32px 24px;} }


