/* ==========================================================================
   OBLONGFACE AI & PROPORTIONS SUITE - STYLE 1 MODERN SAAS ARCHITECTURE
   Native GeneratePress Theme Styling & High-End Aesthetic UI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;850&display=swap');

:root {
  /* Velvet Mulberry & Warm Alabaster Brand Identity */
  --of-primary: #5b1938;
  --of-primary-hover: #76224a;
  --of-primary-light: #f6eef2;
  --of-primary-rgb: 91, 25, 56;
  --of-accent: #c25e7e;
  --of-accent-hover: #a84d6a;
  --of-accent-light: #fdf2f4;
  --of-success: #059669;
  --of-warning: #d97706;
  --of-info: #0284c7;

  /* Typography & High-Contrast Readability */
  --of-dark: #1c1917;
  --of-dark-surface: #292524;
  --of-text-head: #1c1917;
  --of-text: #2b2826;
  --of-sub: #44403c;
  --of-muted: #57524e;

  /* Warm Alabaster Surfaces & Borders */
  --of-bg: #faf8f5;
  --of-card-bg: #ffffff;
  --of-border: #1c1917;
  --of-border-hover: #1c1917;

  /* Golden Ratio Specific Accents */
  --of-gold: #d97706;
  --of-gold-hover: #b45309;
  --of-gold-light: #fef3c7;
  --of-gold-border: #1c1917;

  /* Neo-Brutalism Geometry & Solid Elevation */
  --of-radius: 20px;
  --of-radius-lg: 26px;
  --of-shadow-neo-xs: 2px 2px 0px #1c1917;
  --of-shadow-neo-sm: 3px 3px 0px #1c1917;
  --of-shadow-neo: 4px 4px 0px #1c1917;
  --of-shadow-neo-lg: 6px 6px 0px #1c1917;
  --of-shadow-neo-xl: 8px 8px 0px #1c1917;
  --of-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   1. GLOBAL GENERATEPRESS THEME INTEGRATION & RESETS
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--of-font) !important;
  background-color: var(--of-bg) !important;
  background-image: 
    radial-gradient(at 10% 8%, rgba(194, 94, 126, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 12%, rgba(91, 25, 56, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(194, 94, 126, 0.03) 0px, transparent 55%) !important;
  background-attachment: fixed !important;
  color: var(--of-text) !important;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

/* Kill all generic underlines on links */
a {
  text-decoration: none !important;
}

/* 1.1 GeneratePress Full-Container Dark Sticky Header Bar (Matched to Footer Theme) */
.site-header {
  display: block !important;
  opacity: 1 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 28px 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(160deg, #1c1917 0%, #26161f 55%, #1c1917 100%) !important;
  border: none !important;
  border-bottom: 2px solid #292524 !important;
  box-shadow: 0 6px 24px rgba(28, 25, 23, 0.14) !important;
  padding: 14px 24px !important;
  transition: box-shadow 0.2s ease !important;
}

#mobile-header,
#sticky-navigation {
  display: none !important;
}

.main-navigation.navigation-stick,
.main-navigation.is_stuck {
  background: linear-gradient(160deg, #1c1917 0%, #26161f 55%, #1c1917 100%) !important;
  border-bottom: 2px solid #292524 !important;
  width: 100% !important;
}

body.admin-bar .site-header {
  top: 32px !important;
}

.header-floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.header-float-shape {
  position: absolute;
  color: #f4a7bb;
  opacity: 0.18;
  will-change: transform;
}

.header-float-shape.h-shape-oblong {
  top: -12px;
  left: 3%;
  width: 68px;
  animation: ofFooterFloatA 16s ease-in-out infinite alternate;
}

.header-float-shape.h-shape-diamond {
  top: -8px;
  left: 32%;
  width: 64px;
  color: #fde68a;
  opacity: 0.14;
  animation: ofFooterFloatB 19s ease-in-out infinite alternate;
}

.header-float-shape.h-shape-oval {
  bottom: -14px;
  right: 30%;
  width: 62px;
  color: #f5f5f4;
  opacity: 0.14;
  animation: ofFooterFloatC 20s ease-in-out infinite alternate;
}

.header-float-shape.h-shape-heart {
  top: -10px;
  right: 4%;
  width: 72px;
  opacity: 0.17;
  animation: ofFooterFloatB 22s ease-in-out infinite alternate-reverse;
}

.inside-header {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.site-branding {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.mobile-menu-control-wrapper {
  position: relative;
  z-index: 2;
}

#site-navigation {
  flex: 0 1 auto;
  margin: 0 0 0 auto !important;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .inside-header {
    flex-wrap: wrap !important;
  }
}

.main-title {
  margin: 0 !important;
  line-height: 1 !important;
}

.main-title a {
  font-size: 1.32rem !important;
  font-weight: 850 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  letter-spacing: -0.025em !important;
  transition: color 0.18s ease !important;
}

.main-title a:hover {
  color: #fbcfe8 !important;
}

.main-title a::before {
  content: '' !important;
  display: inline-block !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 0 !important;
  background: transparent url('../assets/brand/brand-mark.png') center / contain no-repeat !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 8px rgba(244, 167, 187, 0.35)) !important;
  flex-shrink: 0 !important;
}

.site-description {
  display: none !important;
}

/* Nav links pill styling (Matched to Footer Pills & Accents) */
.main-navigation {
  background: transparent !important;
}

.main-navigation .main-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-navigation .main-nav > ul > li > a {
  color: #e7e5e4 !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  border: 1.5px solid transparent !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.18s ease !important;
  line-height: 1.4 !important;
}

.main-navigation .main-nav > ul > li.menu-item-has-children > a .dropdown-menu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 -2px 0 0 !important;
  line-height: 1 !important;
  transition: transform 0.18s ease !important;
}

.main-navigation .main-nav > ul > li.menu-item-has-children:hover > a .dropdown-menu-toggle,
.main-navigation .main-nav > ul > li.menu-item-has-children.sfHover > a .dropdown-menu-toggle,
.main-navigation .main-nav > ul > li.menu-item-has-children.toggled-on > a .dropdown-menu-toggle {
  transform: rotate(180deg) !important;
}

@media (max-width: 1080px) and (min-width: 769px) {
  .main-title a {
    font-size: 1.15rem !important;
  }
  .main-navigation .main-nav > ul {
    gap: 3px;
  }
  .main-navigation .main-nav > ul > li > a {
    font-size: 0.82rem !important;
    padding: 6px 10px !important;
  }
}

.main-navigation .main-nav > ul > li > a:hover {
  color: #fbcfe8 !important;
  background: rgba(91, 25, 56, 0.36) !important;
  border-color: rgba(244, 167, 187, 0.35) !important;
  box-shadow: none !important;
  transform: translateY(-1px) !important;
}

.main-navigation .main-nav > ul > li[class*="current"] > a,
.main-navigation .main-nav > ul > li[class*="current"] > a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #5b1938 0%, #831843 60%, #9d174d 100%) !important;
  border-color: rgba(244, 167, 187, 0.45) !important;
  box-shadow: 0 4px 14px rgba(194, 94, 126, 0.32) !important;
  transform: none !important;
}

/* Desktop Tools Dropdown Menu (Dark Charcoal-Mulberry Theme) */
@media (min-width: 769px) {
  .main-navigation .main-nav > ul > li.menu-item-has-children {
    position: relative !important;
  }

  .main-navigation .main-nav > ul > li.menu-item-has-children > ul.sub-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    float: none !important;
    width: min(490px, calc(100vw - 48px)) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 12px !important;
    margin: 0 !important;
    list-style: none !important;
    background: linear-gradient(160deg, #1c1917 0%, #26161f 60%, #1c1917 100%) !important;
    border: 2px solid #292524 !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 44px rgba(28, 25, 23, 0.38), 0 0 0 1px rgba(244, 167, 187, 0.18) !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease !important;
    z-index: 10000 !important;
  }

  .main-navigation .main-nav > ul > li.menu-item-has-children > ul.sub-menu::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -14px !important;
    height: 14px !important;
  }

  .main-navigation .main-nav > ul > li.menu-item-has-children:hover > ul.sub-menu,
  .main-navigation .main-nav > ul > li.menu-item-has-children.sfHover > ul.sub-menu,
  .main-navigation .main-nav > ul > li.menu-item-has-children:focus-within > ul.sub-menu {
    left: auto !important;
    right: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

.main-navigation .main-nav ul.sub-menu li {
  margin: 0 !important;
  width: 100% !important;
  list-style: none !important;
}

.main-navigation .main-nav ul.sub-menu li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 10px 13px !important;
  border-radius: 11px !important;
  border: 1px solid transparent !important;
  color: #e7e5e4 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  background: transparent !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

.main-navigation .main-nav ul.sub-menu li a:hover {
  background: rgba(91, 25, 56, 0.48) !important;
  border-color: rgba(244, 167, 187, 0.36) !important;
  color: #fbcfe8 !important;
}

.main-navigation .main-nav ul.sub-menu li[class*="current"] > a,
.main-navigation .main-nav ul.sub-menu li[class*="current"] > a:hover {
  background: linear-gradient(135deg, #5b1938 0%, #831843 60%, #9d174d 100%) !important;
  border-color: rgba(244, 167, 187, 0.45) !important;
  color: #ffffff !important;
}

.site-header .menu-toggle {
  color: #f5f5f4 !important;
  background: rgba(91, 25, 56, 0.35) !important;
  border: 1.5px solid rgba(244, 167, 187, 0.35) !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  min-height: 40px !important;
  line-height: 1 !important;
  transition: all 0.18s ease !important;
}

.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus {
  color: #ffffff !important;
  background: rgba(91, 25, 56, 0.65) !important;
}

/* 1.2 Layout & Content Resets */
.site-content {
  padding: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Base inside-article container */
.inside-article {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Tool, App & Custom Hero Pages: 0 padding for full-bleed custom cards */
.home .inside-article,
.page-template-front-page .inside-article,
.page-id-101 .inside-article,
.page-id-68 .inside-article,
.page-id-61 .inside-article,
.page-id-62 .inside-article,
.page-id-63 .inside-article,
.page-id-64 .inside-article,
.page-id-65 .inside-article,
.page-id-66 .inside-article,
.page-id-67 .inside-article,
.page-id-137 .inside-article,
.page-id-138 .inside-article,
.page-id-139 .inside-article,
.inside-article:has(.of-hero),
.inside-article:has(.of-faceshapes-page),
.inside-article:has(.of-homepage-wrapper),
.inside-article:has(.of-directory-wrapper),
.inside-article:has(.of-suite-card),
.inside-article:has(.of-haircut-finder-app),
.inside-article:has(.of-tryon-app),
.inside-article:has(.ofg-hero),
.inside-article:has(.of-info-hero) {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Standard Content Pages & Single Posts (Privacy Policy, Terms, Disclaimer, About, Contact, Guides) */
body:not(.home):not(.blog):not(.archive):not(.page-id-101):not(.page-id-68):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .inside-article {
  padding: 36px 24px 64px 24px !important;
  max-width: 880px;
  margin: 0 auto;
}

/* Default Entry Header styling for standard content pages */
.entry-header {
  display: block !important;
  margin: 12px 0 24px 0 !important;
  padding: 0 !important;
}

.entry-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(2.2rem, 4.5vw, 2.85rem) !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 16px 0 !important;
}

.entry-meta {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.9rem !important;
  color: #64748b !important;
  margin-bottom: 24px !important;
}

/* Hide default entry-header ONLY on pages that render their own custom hero or app headers */
.home .entry-header,
.page-template-front-page .entry-header,
.page-id-101 .entry-header,
.page-id-68 .entry-header,
.page-id-61 .entry-header,
.page-id-62 .entry-header,
.page-id-63 .entry-header,
.page-id-64 .entry-header,
.page-id-65 .entry-header,
.page-id-66 .entry-header,
.page-id-67 .entry-header,
.page-id-137 .entry-header,
.page-id-138 .entry-header,
.page-id-139 .entry-header,
.inside-article:has(.of-hero) > .entry-header,
.inside-article:has(.of-faceshapes-page) > .entry-header,
.inside-article:has(.of-suite-card) > .entry-header,
.inside-article:has(.of-homepage-wrapper) > .entry-header,
.inside-article:has(.of-directory-wrapper) > .entry-header,
.inside-article:has(.of-tool-wrapper) > .entry-header,
.inside-article:has(.of-tryon-app) > .entry-header,
.inside-article:has(.of-haircut-finder-app) > .entry-header,
.inside-article:has(.of-tool-container) > .entry-header,
.inside-article:has(.of-info-hero) > .entry-header,
.inside-article:has(.ofg-hero) > .entry-header {
  display: none !important;
}

/* Content typography enhancements for standard pages & articles */
body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content p {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.04rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.25rem;
}

body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content h2 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 2.2rem 0 1rem 0;
  line-height: 1.25;
}

body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content h3 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  font-weight: 750;
  color: #1e293b;
  margin: 1.75rem 0 0.75rem 0;
}

body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content ul,
body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content ol {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #334155;
  margin: 1rem 0 1.5rem 1.5rem;
}

body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content li {
  margin-bottom: 0.5rem;
}

body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content a {
  color: #831843;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

body:not(.home):not(.page-id-101):not(.page-id-61):not(.page-id-62):not(.page-id-63):not(.page-id-64):not(.page-id-65):not(.page-id-66):not(.page-id-67):not(.page-id-137):not(.page-id-138):not(.page-id-139) .entry-content a:hover {
  color: #be185d;
}

/* GeneratePress Native Footer & Footer Bar Modern SaaS Styling */
.site-footer {
  display: block !important;
  padding: 0 !important;
  margin: 60px 0 0 0 !important;
  background: transparent !important;
  border: none !important;
}

.site-info,
#colophon {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  background: linear-gradient(160deg, #1c1917 0%, #26161f 55%, #1c1917 100%) !important;
  color: #a8a29e !important;
  padding: 64px 24px 36px 24px !important;
  margin-top: 0 !important;
  border-top: 2px solid #292524 !important;
}

.site-info .inside-site-info,
.footer-bar-align-right .inside-site-info,
.footer-bar-align-left .inside-site-info,
.footer-bar-align-center .inside-site-info {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.site-info .footer-bar,
.footer-bar-align-right .footer-bar,
.footer-bar-align-left .footer-bar,
.footer-bar-align-center .footer-bar {
  position: static !important;
  width: 100% !important;
  float: none !important;
  text-align: left !important;
  margin-bottom: 0 !important;
  order: 1 !important;
}

.site-info .footer-bar .widget {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.site-info .copyright-bar,
.footer-bar-align-right .copyright-bar,
.footer-bar-align-left .copyright-bar,
.footer-bar-align-center .copyright-bar {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1200px !important;
  margin: 40px auto 0 auto !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.84rem !important;
  color: #a8a29e !important;
  width: 100% !important;
  float: none !important;
  order: 2 !important;
  clear: both !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  text-align: center !important;
  align-items: center !important;
  gap: 14px !important;
}

.site-info .copyright-bar a {
  color: #d6d3d1 !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

.site-info .copyright-bar a:hover {
  color: #f4a7bb !important;
}

.site-info .copyright-bar .sep {
  color: #44403c !important;
  font-size: 0.75rem !important;
}

/* Text Gradient Utility */
.of-gradient-text {
  background: linear-gradient(135deg, #5b1938 0%, #c25e7e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   2. HOMEPAGE HERO SECTION
   ========================================================================== */

.of-hero {
  text-align: center;
  max-width: 880px;
  margin: 48px auto 44px auto;
  padding: 0 16px;
  position: relative;
}

.of-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid var(--of-dark);
  box-shadow: 3px 3px 0px var(--of-dark);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  color: var(--of-dark);
  margin-bottom: 22px;
}

.of-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--of-primary);
  border: 1px solid var(--of-dark);
  box-shadow: 0 0 10px rgba(91, 25, 56, 0.4);
  animation: ofPulse 2s infinite;
}

@keyframes ofPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.of-hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.4rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.16 !important;
  color: var(--of-dark) !important;
  margin: 0 0 20px 0 !important;
}

.of-hero-lead {
  font-size: 1.18rem !important;
  color: var(--of-sub) !important;
  line-height: 1.7 !important;
  margin: 0 0 28px 0 !important;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.of-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 34px 0;
}

.of-hero-pills li {
  background: #ffffff;
  border: 2px solid var(--of-dark);
  box-shadow: 2.5px 2.5px 0px var(--of-dark);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--of-dark);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.of-hero-pills li::before {
  content: '✓';
  color: var(--of-primary);
  font-weight: 900;
}

.of-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--of-primary);
  color: #ffffff !important;
  border: 2.5px solid var(--of-dark);
  box-shadow: 4px 4px 0px var(--of-dark);
  font-weight: 850;
  font-size: 1.05rem;
  padding: 15px 36px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.of-hero-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--of-dark);
  color: #ffffff !important;
}

.of-hero-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--of-dark);
}

/* ==========================================================================
   3. TOOL SECTION & INTERACTIVE APPS
   ========================================================================== */

.of-tool-section {
  margin: 50px auto 70px auto;
  max-width: 1180px;
}

.of-sec-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px auto;
  padding: 0 16px;
}

.of-sec-header h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 850;
  color: var(--of-dark);
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
}

.of-sec-header p {
  font-size: 1.08rem;
  color: var(--of-muted);
  line-height: 1.6;
  margin: 0;
}

.of-privacy-box {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.of-p-item {
  background: #ffffff;
  border: 2px solid var(--of-dark);
  box-shadow: 3px 3px 0px var(--of-dark);
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--of-dark);
  font-weight: 750;
}

.of-p-item strong {
  color: var(--of-primary);
}

/* Main App Wrapper */
.of-suite-app {
  max-width: 940px;
  margin: 24px auto 40px auto;
  color: var(--of-text);
  box-sizing: border-box;
}

.of-suite-app.of-detector-app {
  max-width: 1180px;
}

.of-detector-app .of-suite-card {
  padding: 40px 34px;
}

.of-detector-app .of-dropzone,
.of-detector-app .of-camera-stage,
.of-detector-app .of-measure-grid,
.of-detector-app .of-stage,
.of-detector-app .of-metrics-bar {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.of-suite-app * {
  box-sizing: border-box;
}

.of-suite-card {
  background: var(--of-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--of-radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06), 0 2px 10px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

/* Tool Header & Badges */
.of-tool-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px auto;
}

.of-res-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #831843;
  background: linear-gradient(135deg, #fff1f2 0%, #fce7f3 50%, #ede9fe 100%);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(131, 24, 67, 0.18);
  box-shadow: 0 2px 8px rgba(131, 24, 67, 0.08);
}

.of-tool-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 850;
  color: var(--of-dark);
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
}

.of-tool-intro p {
  font-size: 1.02rem;
  color: var(--of-muted);
  line-height: 1.6;
  margin: 0;
}

/* Mode Tabs Wrapper for Perfect Centering & Alignment */
.of-mode-tabs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 28px auto;
}

/* Mode Tabs - Sleek Segmented Switch (Apple/Stripe Style Pill-in-Pill) */
.of-mode-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  margin: 0 auto;
}

.of-mode-tabs .of-tab-btn,
.of-mode-tabs-wrap .of-tab-btn,
button.of-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

.of-mode-tabs .of-tab-btn svg,
button.of-tab-btn svg {
  color: #64748b !important;
  stroke: currentColor !important;
  transition: color 0.2s ease, stroke 0.2s ease !important;
}

/* Inactive Hover State: soft rose tint, crisp dark plum text, subtle lift */
.of-mode-tabs .of-tab-btn:not(.active):hover,
.of-mode-tabs-wrap .of-tab-btn:not(.active):hover,
button.of-tab-btn:not(.active):hover {
  background: #fdf2f8 !important;
  color: #5b1938 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(91, 25, 56, 0.08) !important;
}

.of-mode-tabs .of-tab-btn:not(.active):hover svg,
button.of-tab-btn:not(.active):hover svg {
  color: #5b1938 !important;
  stroke: #5b1938 !important;
}

/* Active State: Luxurious Velvet Mulberry gradient */
.of-mode-tabs .of-tab-btn.active,
.of-mode-tabs-wrap .of-tab-btn.active,
button.of-tab-btn.active,
button.of-tab-btn.active:hover {
  background: linear-gradient(135deg, #5b1938 0%, #831843 50%, #9d174d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(131, 24, 67, 0.35) !important;
  border-radius: 999px !important;
  transform: none !important;
}

.of-mode-tabs .of-tab-btn.active svg,
button.of-tab-btn.active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.of-mode-tabs .of-tab-btn:focus,
.of-mode-tabs .of-tab-btn:focus-visible,
.of-mode-tabs .of-tab-btn:active {
  outline: none !important;
}

/* Golden Ratio Mode Tabs: Active color matches gold/amber */
.gr-mode-tabs .of-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35) !important;
}

/* Dropzone - Clean, Radiant Surface with Callout Button */
.of-dropzone {
  border: 2px dashed rgba(131, 24, 67, 0.25);
  border-radius: 22px;
  background: linear-gradient(135deg, #fdf6f9 0%, #ffffff 50%, #fbf8fc 100%);
  box-shadow: 0 8px 30px -8px rgba(131, 24, 67, 0.06);
  transition: all 0.25s ease;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.of-dropzone:hover,
.of-dropzone.dragover {
  border-color: #831843;
  background: linear-gradient(135deg, #fce7f3 0%, #ffffff 60%, #fae8ff 100%);
  box-shadow: 0 12px 36px -8px rgba(131, 24, 67, 0.16);
  transform: translateY(-2px);
}

.of-drop-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
  color: #831843;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  box-shadow: 0 4px 12px rgba(131, 24, 67, 0.12);
}

.of-drop-cta-btn {
  margin: 12px auto 14px auto;
}

.of-btn-inline {
  display: inline-flex !important;
  padding: 10px 22px !important;
  font-size: 0.92rem !important;
  border-radius: 999px !important;
}

/* Golden Ratio Draggable Guideline Handles */
.of-gr-handle {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 5px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: grab;
  user-select: none;
  touch-action: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
  z-index: 25;
}
.of-gr-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.of-gr-handle.is-active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8), 0 4px 16px rgba(0,0,0,0.4);
}
.of-gr-handle.marker-gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.of-gr-handle.marker-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.of-gr-handle.marker-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.of-gr-handle.marker-rose { background: linear-gradient(135deg, #f43f5e, #be123c); }
.of-gr-handle.marker-cyan { background: linear-gradient(135deg, #0284c7, #0369a1); }

.of-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.of-drop-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--of-primary-light);
  color: var(--of-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 2rem;
}

.of-drop-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--of-dark);
  margin: 0 0 6px 0;
}

.of-drop-content p {
  font-size: 0.96rem;
  color: var(--of-muted);
  margin: 0 0 18px 0;
}

.of-privacy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 750;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 5px 14px;
  border-radius: 999px;
}

/* Stage & Canvas */
.of-stage {
  text-align: center;
  position: relative;
}

.of-stage-header {
  margin-bottom: 20px;
}

.of-stage-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 10px 0 6px;
  color: var(--of-dark);
}

.of-stage-sub {
  font-size: 0.92rem;
  color: var(--of-sub);
}

.of-canvas-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
  background: #09090b;
}

.of-canvas-wrap canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Draggable Landmark Markers Layer */
.of-markers-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.of-marker-btn {
  position: absolute;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  cursor: grab;
  user-select: none;
  touch-action: none;
  pointer-events: auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 20;
}

.of-marker-btn:hover {
  transform: scale(1.22);
}

.of-marker-btn.is-active,
.of-marker-btn:active {
  cursor: grabbing;
  transform: scale(1.35);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Color markers by anatomical pairs with high-contrast radiant gradients */
.of-marker-btn.marker-1, .of-marker-btn.marker-2 {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
.of-marker-btn.marker-3, .of-marker-btn.marker-4 {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
.of-marker-btn.marker-5, .of-marker-btn.marker-6 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}
.of-marker-btn.marker-7, .of-marker-btn.marker-8 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Stage Metadata, Legend & Jaw Selection */
.of-stage-meta {
  max-width: 620px;
  margin: 18px auto 0;
  background: #f8fafc;
  border: 1px solid var(--of-border);
  border-radius: 16px;
  padding: 14px 20px;
}

.of-marker-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--of-sub);
  margin-bottom: 12px;
}

.of-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.leg-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
}

.dot-pink { background: #ec4899; }
.dot-indigo { background: #6366f1; }
.dot-emerald { background: #10b981; }
.dot-amber { background: #f59e0b; }
.dot-cyan { background: #06b6d4; }

.of-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--of-border);
  padding-top: 10px;
}

.of-jaw-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--of-dark);
}

.of-select-mini {
  padding: 6px 12px;
  border: 1px solid var(--of-border);
  border-radius: 8px;
  font-size: 0.875rem;
  background: #ffffff;
  color: var(--of-dark);
}

.of-live-ratio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--of-primary-light);
  color: var(--of-primary);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

/* AI Loading Spinner */
.of-ai-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 20px;
}

.of-ai-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--of-primary-light);
  border-top-color: var(--of-primary);
  border-radius: 50%;
  animation: ofSpin 0.8s linear infinite;
}

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

#of-loader-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--of-dark);
}

/* Camera Mode Styles */
.of-camera-stage {
  text-align: center;
  padding: 24px 0;
}

.of-camera-start {
  padding: 36px 20px;
  border: 2px dashed var(--of-border);
  border-radius: 20px;
  max-width: 540px;
  margin: 0 auto;
}

.of-camera-icon {
  margin-bottom: 12px;
}

.of-camera-start h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--of-dark);
}

.of-camera-start p {
  color: var(--of-sub);
  margin-bottom: 20px;
}

.of-video-wrap {
  max-width: 540px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  background: #000;
}

#of-camera-video {
  width: 100%;
  display: block;
}

.of-camera-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #1e1e24;
}

/* Results Actions: Download Card & Retake */
.of-results-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.of-stage-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.of-btn-primary {
  background: linear-gradient(135deg, #5b1938 0%, #831843 50%, #9d174d 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px;
  padding: 13px 28px;
  font-size: 0.98rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(131, 24, 67, 0.35), 0 2px 4px rgba(131, 24, 67, 0.15) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.of-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(131, 24, 67, 0.45) !important;
  filter: brightness(1.06);
  color: #ffffff !important;
}

.of-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(131, 24, 67, 0.3) !important;
}

.of-btn-secondary {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 14px;
  padding: 13px 24px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.of-btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.of-btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Manual Form Inputs */
.of-measure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.of-input-group {
  margin-bottom: 18px;
  text-align: left;
}

.of-input-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--of-dark);
  margin-bottom: 6px;
}

.of-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.of-input-wrap input,
.of-field,
.of-select,
.of-select-mini {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 2px solid var(--of-dark);
  box-shadow: 2.5px 2.5px 0px var(--of-dark);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 750;
  color: var(--of-dark);
  background: #ffffff;
  transition: all 0.15s ease;
}

.of-input-wrap input:focus,
.of-field:focus,
.of-select:focus,
.of-select-mini:focus {
  outline: none;
  border-color: var(--of-dark);
  box-shadow: 4px 4px 0px var(--of-primary);
}

.of-unit {
  position: absolute;
  right: 16px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--of-muted);
}

.of-fig-box {
  background: #fdf7fa;
  border: 2px solid var(--of-dark);
  box-shadow: 4px 4px 0px var(--of-dark);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
}

.of-face-wireframe {
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

/* Results Panel */
.of-results-panel {
  margin-top: 40px;
  border-top: 2px solid var(--of-dark);
  padding-top: 36px;
  text-align: center;
}

.of-res-title {
  font-size: 2.1rem;
  font-weight: 850;
  color: var(--of-dark);
  letter-spacing: -0.03em;
  margin: 10px 0;
}

.of-res-desc {
  font-size: 1.06rem;
  color: var(--of-muted);
  max-width: 680px;
  margin: 0 auto 30px auto;
  line-height: 1.65;
}

.of-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.of-metric-box {
  background: linear-gradient(180deg, #ffffff 0%, #fdf8fb 100%);
  border: 1px solid #f1e6ed;
  box-shadow: 0 4px 16px rgba(131, 24, 67, 0.05);
  border-radius: 18px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.of-metric-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(131, 24, 67, 0.08);
}

.of-metric-val {
  font-size: 1.7rem;
  font-weight: 850;
  background: linear-gradient(135deg, #5b1938 0%, #9d174d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.of-metric-lbl {
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-top: 6px;
}

/* Styling Advice Tabs */
.of-gender-toggle {
  display: inline-flex;
  background: #ffffff;
  border: 2px solid var(--of-dark);
  box-shadow: 2.5px 2.5px 0px var(--of-dark);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}

.of-gender-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--of-sub);
  cursor: pointer;
  transition: all 0.15s ease;
}

.of-gender-btn:hover {
  color: var(--of-dark);
}

.of-gender-btn.active {
  background: var(--of-primary);
  color: #ffffff;
  border-color: var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
}

/* ==========================================================================
   3. 3-COLUMN EDITORIAL RECOMMENDATION STUDIO (NATIVE OBLONGFACE THEME)
   Neo-Brutalist Light System with Velvet Mulberry (#5b1938), Rose & Warm Alabaster
   ========================================================================== */

.of-results-styling-section {
  margin: 36px 0 40px 0;
  width: 100%;
  text-align: left;
}

.of-haircut-app {
  max-width: 1180px !important;
  margin: 24px auto 50px auto !important;
}

.of-haircut-app .of-suite-card {
  background: #ffffff !important;
  border: 2px solid #1c1917 !important;
  border-radius: 24px !important;
  box-shadow: 6px 6px 0px #1c1917 !important;
  padding: 40px 34px !important;
}

.of-tool-pill {
  display: inline-block;
  background: #fdf2f8;
  color: #5b1938;
  border: 2px solid #5b1938;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Controls Wrap (Gender & Shape Selector) */
.of-hf-controls-wrap {
  margin: 28px 0 34px 0;
  padding: 24px 26px;
  background: #faf8f5;
  border: 2px solid #1c1917;
  border-radius: 20px;
  box-shadow: 3.5px 3.5px 0px #1c1917;
}

.of-res-gender-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.of-res-gender-lead {
  font-size: 0.95rem;
  font-weight: 850;
  color: #1c1917;
}

.of-res-gender-pills {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #1c1917;
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 2.5px 2.5px 0px #1c1917;
  gap: 4px;
}

.of-res-gender-pill {
  background: transparent !important;
  color: #1c1917 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 8px 22px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  box-shadow: none !important;
}

.of-res-gender-pill:not(.active):hover {
  background: #fdf2f8 !important;
  color: #5b1938 !important;
}

.of-res-gender-pill.active {
  background: #5b1938 !important;
  color: #ffffff !important;
  border: 1.5px solid #1c1917 !important;
  box-shadow: 2px 2px 0px #1c1917 !important;
}

.of-hf-section {
  text-align: center;
}

.of-hf-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 850;
  color: #1c1917;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.of-hf-shape-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.of-hf-chip {
  background: #ffffff !important;
  color: #1c1917 !important;
  border: 2px solid #1c1917 !important;
  border-radius: 9999px !important;
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 2.5px 2.5px 0px #1c1917 !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.of-hf-chip:hover {
  background: #fdf2f8 !important;
  color: #5b1938 !important;
  transform: translate(-1.5px, -1.5px) !important;
  box-shadow: 4px 4px 0px #1c1917 !important;
}

.of-hf-chip.active {
  background: #5b1938 !important;
  color: #ffffff !important;
  box-shadow: 3px 3px 0px #1c1917 !important;
  transform: translate(-1px, -1px) !important;
}

/* 3-Column Studio Cards */
.of-res-cards-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  width: 100%;
}

.of-res-card-col {
  background: #ffffff;
  border: 2px solid #1c1917;
  border-radius: 20px;
  padding: 26px 20px;
  box-shadow: 4px 4px 0px #1c1917;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.of-res-card-col:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #1c1917;
}

.of-res-col-header {
  text-align: center;
  margin-bottom: 22px;
}

.of-col-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1.5px solid #1c1917;
  margin-bottom: 8px;
}

.tag-mulberry {
  background: #fdf2f8;
  color: #5b1938;
  border-color: #5b1938;
}

.tag-amber {
  background: #fef3c7;
  color: #92400e;
  border-color: #d97706;
}

.tag-emerald {
  background: #f0fdf4;
  color: #166534;
  border-color: #16a34a;
}

.of-res-col-title {
  font-size: 1.22rem;
  font-weight: 900;
  color: #1c1917;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Items List */
.of-res-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.of-res-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 12px;
  background: #faf8f5;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  min-width: 0;
  text-align: left;
  transition: all 0.2s ease;
}

.of-res-item:hover {
  background: #ffffff;
  border-color: #1c1917;
  box-shadow: 3px 3px 0px #1c1917;
  transform: translate(-1px, -1px);
}

.of-res-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 2px solid #1c1917;
  box-shadow: 2px 2px 0px #1c1917;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.of-res-thumb.thumb-icon {
  background: #fdf2f8;
  padding: 8px;
}

.of-res-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.of-res-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.of-res-content {
  flex: 1;
  min-width: 0;
}

.of-res-item-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px 8px;
  margin-bottom: 4px;
}

.of-res-item-title {
  font-size: 0.95rem;
  font-weight: 850;
  color: #1c1917;
  margin: 0;
  line-height: 1.25;
  min-width: 0;
  flex: 1 1 110px;
  overflow-wrap: break-word;
}

.of-res-badge {
  font-size: 10px;
  font-weight: 850;
  color: #1c1917;
  background: #fef08a;
  border: 1.5px solid #1c1917;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.of-res-desc {
  font-size: 0.82rem;
  line-height: 1.48;
  color: #44403c;
  margin: 4px 0 8px 0;
  text-align: left;
  overflow-wrap: break-word;
}

.of-res-note {
  font-size: 11px;
  font-weight: 750;
  padding: 6px 10px;
  border-radius: 12px;
  display: block;
  line-height: 1.38;
  text-align: left;
  overflow-wrap: break-word;
}

.note-mulberry,
.note-purple {
  background: #fdf2f8;
  color: #5b1938;
  border: 1.5px solid #5b1938;
}

.note-amber,
.note-magenta {
  background: #fef3c7;
  color: #92400e;
  border: 1.5px solid #d97706;
}

.note-emerald,
.note-blue {
  background: #f0fdf4;
  color: #166534;
  border: 1.5px solid #16a34a;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .of-haircut-app .of-suite-card,
  .of-detector-app .of-suite-card {
    padding: 30px 22px !important;
  }
  .of-res-cards-container {
    gap: 16px;
  }
  .of-res-card-col {
    padding: 20px 14px;
  }
  .of-res-thumb {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 960px) {
  .of-res-cards-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

/* ==========================================================================
   3.1 ALL 8 FACE SHAPES COMPARISON GRID (NEO-BRUTALIST)
   ========================================================================== */

.of-all-shapes-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: var(--of-border-neo);
}

.of-compare-header {
  margin-bottom: 28px !important;
}

.of-compare-desc {
  font-size: 1.02rem;
  color: var(--of-muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

.of-all-shapes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.of-all-shape-card {
  background: #ffffff;
  border: var(--of-border-neo);
  border-radius: 20px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--of-shadow-neo);
}

.of-all-shape-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--of-primary);
}

.of-all-shape-card.is-match {
  border: var(--of-border-neo) !important;
  background: #fff5f5 !important;
  box-shadow: 6px 6px 0px var(--of-primary) !important;
}

.of-shape-match-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--of-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 999px;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  white-space: nowrap;
}

.of-shape-svg-box {
  width: 90px;
  height: 90px;
  margin: 6px auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--of-primary-light);
  color: var(--of-primary);
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  transition: transform 0.2s ease;
}

.of-all-shape-card:hover .of-shape-svg-box {
  transform: scale(1.08) rotate(-3deg);
}

.of-all-shape-card.is-match .of-shape-svg-box {
  background: var(--of-primary);
  color: #ffffff;
}

.of-shape-wireframe {
  width: 58px;
  height: 58px;
}

.of-shape-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--of-dark);
  background: #fef08a;
  border: 1.5px solid var(--of-dark);
  box-shadow: 1.5px 1.5px 0px var(--of-dark);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.of-shape-card-title {
  font-size: 1.2rem;
  font-weight: 850;
  color: var(--of-dark);
  margin: 0 0 6px 0;
}

.of-shape-ratio-pill {
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--of-muted);
  margin-bottom: 10px;
}

.of-shape-neutral-advice {
  font-size: 0.88rem;
  color: var(--of-text);
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.of-shape-guide-link {
  font-size: 0.88rem;
  font-weight: 850;
  color: var(--of-dark);
  background: #f5f5f4;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  padding: 8px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.15s ease;
  margin-top: auto;
}

.of-shape-guide-link:hover {
  background: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--of-primary);
}

/* ==========================================================================
   3.2 RANK MATH ACCORDION STYLING (NEO-BRUTALIST)
   ========================================================================== */

.rank-math-block,
#rank-math-faq {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 16px;
}

.rank-math-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-math-list-item {
  background: #ffffff !important;
  border: var(--of-border-neo) !important;
  border-radius: 18px !important;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: var(--of-shadow-neo) !important;
}

.rank-math-list-item:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px var(--of-dark) !important;
}

.rank-math-list-item.is-open {
  background: #fffdf5 !important;
  box-shadow: 6px 6px 0px var(--of-primary) !important;
}

.rank-math-question {
  font-size: 1.15rem !important;
  font-weight: 850 !important;
  color: var(--of-dark) !important;
  margin: 0 !important;
  padding: 22px 26px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  user-select: none;
  background: transparent;
  transition: color 0.15s ease;
}

.rank-math-list-item:hover .rank-math-question {
  color: var(--of-primary) !important;
}

.of-faq-toggle-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fdf2f8;
  color: var(--of-primary);
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rank-math-list-item.is-open .of-faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--of-primary);
  color: #ffffff;
}

.rank-math-answer {
  padding: 0 26px;
  color: var(--of-text) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.rank-math-list-item.is-open .rank-math-answer {
  padding: 0 26px 22px 26px;
}

/* ==========================================================================
   3.3 GOLDEN RATIO TOOL DEDICATED GOLD ACCENTS (NEO-BRUTALIST)
   ========================================================================== */

#of-golden-calculator .of-res-badge {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 2px solid var(--of-dark) !important;
  box-shadow: 2px 2px 0px var(--of-dark) !important;
  font-weight: 850;
}

#of-golden-calculator .of-btn-primary {
  background: #fbbf24 !important;
  color: var(--of-dark) !important;
  border: var(--of-border-neo) !important;
  box-shadow: var(--of-shadow-neo) !important;
}

#of-golden-calculator .of-btn-primary:hover {
  background: #f59e0b !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px var(--of-dark) !important;
}

#of-golden-calculator .of-input-wrap input:focus,
#of-golden-calculator .of-field:focus {
  border-color: var(--of-dark) !important;
  box-shadow: 3px 3px 0px var(--of-dark) !important;
}

#of-golden-calculator #gr-computed-ratio {
  color: #b45309 !important;
}

#of-golden-calculator #gr-circle-progress {
  stroke: #d97706 !important;
  stroke-width: 9 !important;
}

/* ==========================================================================
   4. BEAUTY & STYLING COMPUTATIONAL TOOLS SHOWCASE (MATCHING USER REFERENCE UI)
   ========================================================================== */

.of-tools-showcase {
  margin: 60px auto;
  max-width: 1160px;
  padding: 0 16px;
}

.of-sec-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 36px auto;
}

.of-sec-header h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.of-sec-header p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.of-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.of-tool-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.of-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -5px rgba(124, 58, 237, 0.08), 0 10px 10px -5px rgba(124, 58, 237, 0.04);
  border-color: rgba(124, 58, 237, 0.25);
}

.of-tool-tag {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: none;
  box-shadow: none;
  letter-spacing: 0.02em;
}

/* Subtle, refined tag variations matching reference screenshot */
.of-tool-tag.tag-trending { background: #f1f5f9; color: #475569; }
.of-tool-tag.tag-popular { background: #fdf2f8; color: #9d174d; }
.of-tool-tag.tag-essential { background: #f0fdf4; color: #166534; }
.of-tool-tag.tag-precision { background: #fefce8; color: #854d0e; }
.of-tool-tag.tag-interactive { background: #eff6ff; color: #1e40af; }
.of-tool-tag.tag-manual { background: #fef2f2; color: #991b1b; }
.of-tool-tag.tag-bilateral { background: #eef2ff; color: #3730a3; }
.of-tool-tag.tag-celebrity { background: #faf5ff; color: #6b21a8; }
.of-tool-tag.tag-ai { background: #fff7ed; color: #c2410c; }

.of-tool-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.2s ease;
}

.of-tool-card:hover .of-tool-icon-wrap {
  transform: scale(1.08);
}

/* Soft Pastel Icon Backgrounds Matching Reference UI */
.icon-purple, .of-tool-icon-wrap.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-pink, .of-tool-icon-wrap.icon-pink { background: #fce7f3; color: #ec4899; }
.icon-cyan, .of-tool-icon-wrap.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-yellow, .icon-gold, .of-tool-icon-wrap.icon-yellow { background: #fef3c7; color: #d97706; }
.icon-green, .of-tool-icon-wrap.icon-green { background: #dcfce7; color: #16a34a; }
.icon-red, .of-tool-icon-wrap.icon-red { background: #fee2e2; color: #dc2626; }
.icon-blue, .of-tool-icon-wrap.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-orange, .of-tool-icon-wrap.icon-orange { background: #ffedd5; color: #ea580c; }

.of-tool-card h3 {
  font-size: 1.25rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.015em !important;
}

.of-tool-card p {
  font-size: 0.92rem !important;
  color: #64748b !important;
  line-height: 1.58 !important;
  margin: 0 0 24px 0 !important;
  flex-grow: 1;
}

.of-tool-arrow {
  font-size: 0.92rem;
  font-weight: 700;
  color: #7c3aed;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.of-tool-card:hover .of-tool-arrow {
  color: #6d28d9;
  gap: 10px;
}

/* ==========================================================================
   5. OBLONG FACE SHAPE COMPREHENSIVE GUIDE & CONTENT (NEO-BRUTALIST)
   ========================================================================== */

.of-guide-wrap {
  max-width: 1080px;
  margin: 60px auto;
  padding: 0 16px;
}

.of-guide-card {
  background: #ffffff;
  border: var(--of-border-neo);
  border-radius: 24px;
  padding: 44px;
  margin-bottom: 38px;
  box-shadow: var(--of-shadow-neo);
}

.of-guide-card h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.2rem) !important;
  font-weight: 850 !important;
  color: var(--of-dark) !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 20px 0 !important;
}

.of-guide-card p {
  font-size: 1.06rem !important;
  color: var(--of-text) !important;
  line-height: 1.72 !important;
  margin: 0 0 20px 0 !important;
}

.of-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.of-point-box {
  background: #fdfaf6;
  border: 2px solid var(--of-dark);
  box-shadow: 3px 3px 0px var(--of-dark);
  border-radius: 18px;
  padding: 24px;
}

.of-point-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--of-primary);
  color: #ffffff;
  font-weight: 850;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 2px solid var(--of-dark);
  box-shadow: 1.5px 1.5px 0px var(--of-dark);
}

.of-point-box h4 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--of-dark);
  margin: 0 0 6px 0;
}

.of-point-box p {
  font-size: 0.94rem !important;
  color: var(--of-text) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}


/* ==========================================================================
   NEON GLOW EFFECTS & ANATOMICAL FACE SHAPE ILLUSTRATIONS
   ========================================================================== */

.of-shapes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.of-shape-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 26px 20px;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.of-shape-svg-box {
  width: 130px;
  height: 144px;
  margin: 0 auto 18px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.7) 100%);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.of-shape-item:hover .of-shape-svg-box {
  transform: scale(1.06);
}

.of-shape-neon-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.of-shape-sub {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.of-shape-item strong {
  font-size: 1.15rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 8px;
  display: block;
}

.of-shape-item p {
  font-size: 0.92rem !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Neon Violet Theme (Oval / Oblong / Pear) */
.neon-violet .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.14) 0%, rgba(139, 92, 246, 0.02) 70%, transparent 100%);
}
.neon-violet svg path, .neon-violet svg rect, .neon-violet svg line {
  filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.75)) drop-shadow(0 0 12px rgba(139, 92, 246, 0.35));
}
.neon-violet .of-shape-sub {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: rgba(139, 92, 246, 0.2);
}
.of-shape-item.neon-violet:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 32px -4px rgba(139, 92, 246, 0.22), 0 0 16px rgba(139, 92, 246, 0.15);
  transform: translateY(-4px);
}

/* Neon Pink / Hot Magenta Theme (Heart / Round) */
.neon-pink .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(255, 42, 133, 0.16) 0%, rgba(255, 42, 133, 0.02) 70%, transparent 100%);
}
.neon-pink svg path, .neon-pink svg line, .neon-pink svg circle {
  filter: drop-shadow(0 0 6px rgba(255, 42, 133, 0.85)) drop-shadow(0 0 14px rgba(255, 42, 133, 0.45));
}
.neon-pink .of-shape-sub {
  background: #fdf2f8;
  color: #be185d;
  border-color: rgba(255, 42, 133, 0.25);
}
.of-shape-item.neon-pink:hover {
  border-color: rgba(255, 42, 133, 0.45);
  box-shadow: 0 12px 32px -4px rgba(255, 42, 133, 0.25), 0 0 18px rgba(255, 42, 133, 0.2);
  transform: translateY(-4px);
}

/* Neon Emerald Theme (Square) */
.neon-emerald .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.02) 70%, transparent 100%);
}
.neon-emerald svg path, .neon-emerald svg line, .neon-emerald svg circle {
  filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.75)) drop-shadow(0 0 12px rgba(16, 185, 129, 0.35));
}
.neon-emerald .of-shape-sub {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(16, 185, 129, 0.2);
}
.of-shape-item.neon-emerald:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 32px -4px rgba(16, 185, 129, 0.22), 0 0 16px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

/* Neon Amber / Gold Theme (Diamond) */
.neon-amber .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.02) 70%, transparent 100%);
}
.neon-amber svg path, .neon-amber svg line, .neon-amber svg circle {
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.75)) drop-shadow(0 0 12px rgba(245, 158, 11, 0.35));
}
.neon-amber .of-shape-sub {
  background: #fffbeb;
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.2);
}
.of-shape-item.neon-amber:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 32px -4px rgba(245, 158, 11, 0.22), 0 0 16px rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
}

/* Neon Cyan / Electric Sky Theme (Triangle) */
.neon-cyan .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.14) 0%, rgba(6, 182, 212, 0.02) 70%, transparent 100%);
}
.neon-cyan svg path, .neon-cyan svg line {
  filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.75)) drop-shadow(0 0 12px rgba(6, 182, 212, 0.35));
}
.neon-cyan .of-shape-sub {
  background: #ecfeff;
  color: #0e7490;
  border-color: rgba(6, 182, 212, 0.2);
}
.of-shape-item.neon-cyan:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 32px -4px rgba(6, 182, 212, 0.22), 0 0 16px rgba(6, 182, 212, 0.15);
  transform: translateY(-4px);
}

/* Neon Blue Theme (Rectangle) */
.neon-blue .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0.02) 70%, transparent 100%);
}
.neon-blue svg path, .neon-blue svg line, .neon-blue svg circle {
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.75)) drop-shadow(0 0 12px rgba(59, 130, 246, 0.35));
}
.neon-blue .of-shape-sub {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.2);
}
.of-shape-item.neon-blue:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 32px -4px rgba(59, 130, 246, 0.22), 0 0 16px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

/* Neon Orange Theme (Inverted Triangle) */
.neon-orange .of-shape-svg-box {
  background: radial-gradient(circle at center, rgba(255, 107, 0, 0.14) 0%, rgba(255, 107, 0, 0.02) 70%, transparent 100%);
}
.neon-orange svg path, .neon-orange svg line, .neon-orange svg circle {
  filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.75)) drop-shadow(0 0 12px rgba(255, 107, 0, 0.35));
}
.neon-orange .of-shape-sub {
  background: #fff7ed;
  color: #c2410c;
  border-color: rgba(255, 107, 0, 0.2);
}
.of-shape-item.neon-orange:hover {
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 12px 32px -4px rgba(255, 107, 0, 0.22), 0 0 16px rgba(255, 107, 0, 0.15);
  transform: translateY(-4px);
}

/* Oblong Specialty Card Neon Aura */
.of-shape-item.is-specialty {
  border: 2px solid #831843 !important;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%) !important;
  box-shadow: 0 10px 30px -4px rgba(131, 24, 67, 0.22), 0 0 20px rgba(168, 85, 247, 0.18) !important;
}
.of-shape-item.is-specialty .specialty-sub {
  background: linear-gradient(135deg, #5b1938 0%, #9d174d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(131, 24, 67, 0.3) !important;
}
.of-shape-item.is-specialty:hover {
  box-shadow: 0 16px 40px -4px rgba(131, 24, 67, 0.35), 0 0 30px rgba(168, 85, 247, 0.3) !important;
}


.of-shape-svg-box {
  width: 120px;
  height: 130px;
  margin: 0 auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.of-shape-item strong {
  color: var(--of-dark);
  font-size: 1.18rem;
  font-weight: 850;
  display: block;
  margin-bottom: 6px;
}

.of-shape-item .of-shape-sub {
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--of-dark);
  background: #fef08a;
  border: 1.5px solid var(--of-dark);
  box-shadow: 1px 1px 0px var(--of-dark);
  padding: 2px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: inline-block;
}

.of-shape-item p {
  font-size: 0.9rem !important;
  color: var(--of-text) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Comparison Table (Neo-Brutalist) */
.of-table-box {
  overflow-x: auto;
  border-radius: 20px;
  border: var(--of-border-neo);
  margin: 28px 0;
  background: #ffffff;
  box-shadow: var(--of-shadow-neo);
}

.of-table-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.98rem;
}

.of-table-box th {
  background: #fdf2f8;
  color: var(--of-dark);
  font-weight: 850;
  padding: 16px 20px;
  text-align: left;
  border-bottom: var(--of-border-neo);
  letter-spacing: -0.01em;
}

.of-table-box td {
  padding: 16px 20px;
  border-bottom: 1.5px solid #e2e8f0;
  color: var(--of-text);
}

.of-table-box tr:last-child td {
  border-bottom: none;
}

.of-table-box tr:hover td {
  background: #fffdf5;
}

/* FAQ Details Accordion (Neo-Brutalist) */
.of-faq-item {
  border: var(--of-border-neo);
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--of-shadow-neo);
}

.of-faq-item[open] {
  background: #fffdf5;
  box-shadow: 6px 6px 0px var(--of-primary);
}

.of-faq-item summary {
  padding: 20px 24px;
  font-weight: 850;
  font-size: 1.1rem;
  color: var(--of-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.of-faq-item summary::-webkit-details-marker,
.of-faq-item summary::-moz-list-bullet,
.of-faq-item summary::marker {
  display: none !important;
}

.of-faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--of-dark);
  font-weight: 850;
  transition: transform 0.2s ease;
}

.of-faq-item[open] summary::after {
  content: '−';
}

.of-faq-content {
  padding: 0 24px 22px 24px;
  font-size: 1rem;
  color: var(--of-text);
  line-height: 1.68;
}

/* Golden Ratio Score Circle */
.gr-score-circle {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px auto;
}

.gr-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gr-circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 9;
}

.gr-circle-progress {
  fill: none;
  stroke: #d97706;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 1s ease;
}

.gr-circle-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gr-pct {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--of-dark);
  line-height: 1;
}

.gr-lbl {
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--of-muted);
  margin-top: 4px;
}

.gr-metrics-list {
  background: #fdfaf6;
  border: 2px solid var(--of-dark);
  box-shadow: 3px 3px 0px var(--of-dark);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
}

.gr-m-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1.5px solid #e2e8f0;
  font-size: 0.95rem;
}

.gr-m-row:last-child {
  border-bottom: none;
}

.gr-disclaimer {
  font-size: 0.88rem;
  color: var(--of-muted);
  line-height: 1.55;
  background: #fdfaf6;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  border-radius: 14px;
  padding: 14px 18px;
}

/* Quiz Styles (Neo-Brutalist) */
.of-quiz-header {
  margin-bottom: 24px;
}

.of-quiz-progress-wrap {
  height: 12px;
  background: #f1f5f9;
  border-radius: 999px;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  overflow: hidden;
  margin-bottom: 12px;
}

.of-quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--of-primary);
  transition: width 0.3s ease;
}

.of-quiz-step-indicator {
  font-size: 0.84rem;
  font-weight: 850;
  color: var(--of-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.of-quiz-question-title {
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--of-dark);
  text-align: center;
  margin: 0 0 24px 0;
}

.of-quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.of-quiz-opt-card {
  background: #ffffff;
  border: var(--of-border-neo);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--of-shadow-neo);
}

.of-quiz-opt-card:hover {
  border-color: var(--of-dark);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--of-primary);
}

.of-quiz-opt-card.selected {
  background: #fff5f5;
  border-color: var(--of-dark);
  box-shadow: 5px 5px 0px var(--of-primary);
}

.of-quiz-opt-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.of-quiz-opt-title {
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--of-dark);
  margin-bottom: 4px;
}

.of-quiz-opt-sub {
  font-size: 0.86rem;
  color: var(--of-muted);
  line-height: 1.4;
}

.of-quiz-result {
  text-align: center;
  padding: 28px 0;
}

.of-quiz-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

/* Celebrity Lookalike Finder (Neo-Brutalist) */
.of-famous-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.of-famous-card {
  background: #ffffff;
  border: var(--of-border-neo);
  border-radius: 20px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--of-shadow-neo);
}

.of-famous-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px var(--of-primary);
  border-color: var(--of-dark);
}

.of-famous-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fdf2f8;
  color: var(--of-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  border: 2.5px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
}

.of-avatar-initials {
  font-size: 1.55rem;
  font-weight: 900;
}

.of-famous-match-pill {
  position: absolute;
  bottom: -6px;
  background: var(--of-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--of-dark);
  box-shadow: 1px 1px 0px var(--of-dark);
  white-space: nowrap;
}

.of-famous-body h4 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--of-dark);
  margin: 0 0 4px 0;
}

.of-famous-role {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--of-primary);
  display: block;
  margin-bottom: 8px;
}

.of-famous-body p {
  font-size: 0.9rem;
  color: var(--of-text);
  line-height: 1.5;
  margin: 0;
}

.of-famous-gender-btn {
  background: #ffffff;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  padding: 7px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.of-famous-gender-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--of-dark);
}

.of-famous-gender-btn.active {
  background: var(--of-primary);
  color: #ffffff;
  box-shadow: 2px 2px 0px var(--of-dark);
}

/* Manual Calculator & Symmetry Enhancements */
.of-calc-output {
  background: #ffffff;
  border: var(--of-border-neo);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--of-shadow-neo);
}

.mc-shape-badge {
  display: inline-block;
  background: #fef08a;
  color: var(--of-dark);
  font-size: 1.15rem;
  font-weight: 850;
  padding: 6px 18px;
  border-radius: 999px;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  margin-bottom: 14px;
}

.of-unit-selector label {
  background: #ffffff;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.of-golden-result-card {
  background: #fffdf5;
  border: var(--of-border-neo);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--of-shadow-neo);
}

.of-sym-upload-box {
  background: #fffbeb;
  border: 2.5px dashed var(--of-dark);
  box-shadow: 4px 4px 0px var(--of-dark);
  border-radius: 20px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
}

.of-sym-canvas-container {
  background: #ffffff;
  border: var(--of-border-neo);
  box-shadow: var(--of-shadow-neo);
  border-radius: 20px;
  overflow: hidden;
}

/* ==========================================================================
   6. MODERN 3-COLUMN DARK FOOTER + FLOATING FACE SHAPES + LIVE COUNTER
   ========================================================================== */

.footer-floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-float-shape {
  position: absolute;
  color: #f4a7bb;
  opacity: 0.21;
  will-change: transform;
}

.footer-float-shape.shape-oblong {
  top: 6%;
  left: 3%;
  width: 122px;
  animation: ofFooterFloatA 16s ease-in-out infinite alternate;
}

.footer-float-shape.shape-oval {
  top: 52%;
  left: 23%;
  width: 98px;
  color: #fde68a;
  opacity: 0.16;
  animation: ofFooterFloatB 19s ease-in-out infinite alternate;
}

.footer-float-shape.shape-diamond {
  top: 8%;
  left: 47%;
  width: 116px;
  opacity: 0.18;
  animation: ofFooterFloatC 21s ease-in-out infinite alternate;
}

.footer-float-shape.shape-round {
  bottom: 10%;
  left: 56%;
  width: 94px;
  color: #f5f5f4;
  opacity: 0.15;
  animation: ofFooterFloatA 17s ease-in-out infinite alternate-reverse;
}

.footer-float-shape.shape-heart {
  top: 5%;
  right: 16%;
  width: 124px;
  opacity: 0.20;
  animation: ofFooterFloatB 22s ease-in-out infinite alternate;
}

.footer-float-shape.shape-square {
  bottom: 8%;
  right: 3%;
  width: 112px;
  color: #fbcfe8;
  opacity: 0.17;
  animation: ofFooterFloatC 18s ease-in-out infinite alternate-reverse;
}

.footer-float-shape.shape-rect {
  bottom: 8%;
  left: 6%;
  width: 88px;
  color: #e7e5e4;
  opacity: 0.14;
  animation: ofFooterFloatB 20s ease-in-out infinite alternate-reverse;
}

@keyframes ofFooterFloatA {
  0%   { transform: translate3d(0px, 0px, 0) rotate(-10deg); }
  50%  { transform: translate3d(10px, -16px, 0) rotate(-3deg); }
  100% { transform: translate3d(-6px, 12px, 0) rotate(5deg); }
}

@keyframes ofFooterFloatB {
  0%   { transform: translate3d(0px, 0px, 0) rotate(8deg); }
  50%  { transform: translate3d(-12px, 14px, 0) rotate(2deg); }
  100% { transform: translate3d(8px, -10px, 0) rotate(-7deg); }
}

@keyframes ofFooterFloatC {
  0%   { transform: translate3d(0px, 0px, 0) rotate(-6deg); }
  50%  { transform: translate3d(14px, 12px, 0) rotate(4deg); }
  100% { transform: translate3d(-8px, -14px, 0) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-float-shape,
  .header-float-shape,
  .of-counter-pulse {
    animation: none !important;
  }
}

.site-footer-modern {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(160deg, #1c1917 0%, #26161f 55%, #1c1917 100%) !important;
  color: #a8a29e !important;
  padding: 68px 24px 36px 24px !important;
  margin-top: 80px !important;
  border-top: 2px solid #292524 !important;
}

.footer-nav-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.footer-brand-col,
.footer-nav-col,
.footer-counter-col {
  min-width: 0;
}

.footer-brand-col .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 850;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-brand-col .footer-logo .logo-circle {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent url('../assets/brand/brand-mark.png') center / contain no-repeat;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 0 8px rgba(244, 167, 187, 0.35));
  flex-shrink: 0;
}

.footer-brand-col p {
  font-size: 0.92rem;
  line-height: 1.62;
  color: #d6d3d1;
  margin: 0 0 16px 0;
}

.footer-brand-col .footer-privacy-note {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #a8a29e;
  margin-top: 16px;
  border-left: 2px solid #5b1938;
  padding-left: 10px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.f-badge {
  background: rgba(91, 25, 56, 0.32);
  color: #fbcfe8;
  font-size: 0.74rem;
  font-weight: 750;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(244, 167, 187, 0.32);
  letter-spacing: 0.02em;
}

.footer-nav-col h4 {
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #f5f5f4;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-col ul li {
  margin-bottom: 9px;
  line-height: 1.4;
}

.footer-nav-col ul li a {
  color: #d6d3d1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.18s ease;
  display: inline-block;
}

.footer-nav-col ul li a:hover {
  color: #f4a7bb;
  transform: translateX(3px);
  text-decoration: none;
}

/* Column 3: Live Visitor & Face Analyses Counter Card (Native OblongFace Style) */
.of-footer-counter-card {
  background: linear-gradient(155deg, rgba(44, 30, 38, 0.95) 0%, rgba(28, 22, 25, 0.98) 100%);
  border: 2px solid rgba(244, 167, 187, 0.35);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 5px 5px 0px #5b1938;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.of-footer-counter-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #831843;
}

.of-counter-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.of-counter-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5b1938 0%, #c25e7e 60%, #f4a7bb 100%);
  border: 2px solid #1c1917;
  box-shadow: 0 4px 18px rgba(194, 94, 126, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.of-counter-meta {
  min-width: 0;
}

.of-counter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbcfe8;
  margin-bottom: 4px;
}

.of-counter-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: ofPulseRing 2s infinite;
}

@keyframes ofPulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.of-counter-num-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.of-counter-number {
  font-size: clamp(1.65rem, 2.3vw, 2.05rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #ffffff 0%, #f4a7bb 60%, #c25e7e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.of-counter-trend {
  color: #34d399;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.of-counter-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

.of-counter-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.of-counter-copy {
  font-size: 0.87rem;
  line-height: 1.55;
  color: #e7e5e4;
  margin: 0;
  font-weight: 500;
}

.of-counter-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.of-counter-avatars {
  display: inline-flex;
  align-items: center;
}

.of-avatar-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #1c1917;
  margin-left: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 850;
  color: #ffffff;
}

.of-avatar-dot:first-child {
  margin-left: 0;
}

.of-avatar-dot.av-1 { background: linear-gradient(135deg, #5b1938, #831843); }
.of-avatar-dot.av-2 { background: linear-gradient(135deg, #9d174d, #db2777); }
.of-avatar-dot.av-3 { background: linear-gradient(135deg, #c25e7e, #f4a7bb); color: #1c1917; }
.of-avatar-dot.av-4 { background: linear-gradient(135deg, #d97706, #fbbf24); color: #1c1917; }

.of-counter-others {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbcfe8;
  font-variant-numeric: tabular-nums;
}

.copyright-bar {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.copyright-bar p {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}


/* Educational Article & Legacy Container Neo-Brutalist Styling */
.obf-page-article {
  max-width: 900px;
  margin: 48px auto;
  padding: 40px;
  background: #ffffff;
  border: var(--of-border-neo);
  box-shadow: var(--of-shadow-neo);
  border-radius: 22px;
}

.obf-page-article h2 {
  font-size: 1.55rem !important;
  font-weight: 850 !important;
  color: var(--of-dark) !important;
  margin: 32px 0 14px 0 !important;
  letter-spacing: -0.02em !important;
}

.obf-page-article h2:first-child {
  margin-top: 0 !important;
}

.obf-page-article p {
  font-size: 1.02rem !important;
  color: var(--of-text) !important;
  line-height: 1.72 !important;
  margin: 0 0 18px 0 !important;
}

.obf-page-article a {
  color: var(--of-primary) !important;
  font-weight: 750 !important;
  text-decoration: underline !important;
}

.ofn-page-hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px auto;
  padding: 20px 16px;
}

.ofn-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--of-dark);
  background: #fef08a;
  border: 2px solid var(--of-dark);
  box-shadow: 2px 2px 0px var(--of-dark);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ofn-lead {
  font-size: 1.15rem;
  color: var(--of-text);
  line-height: 1.65;
  margin: 0 auto;
}

/* ==========================================================================
   7. ADVANCED MOBILE-FIRST RESPONSIVE OPTIMIZATION
   ========================================================================== */

/* Zero Horizontal Overflow Reset (clip keeps sticky header working cleanly) */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Touch-optimized Interactive Elements (min 48px) */
.of-btn-primary,
.of-btn-secondary,
.of-mode-tab,
.of-tool-arrow,
.of-gender-btn,
.of-famous-gender-btn,
.of-shape-guide-link,
.rank-math-question,
.of-faq-item summary {
  min-height: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Draggable Canvas & Video Mobile Scaling */
.of-canvas-wrap,
.of-webcam-wrap,
.of-sym-canvas-container {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  border-radius: 18px;
  touch-action: none !important;
}

#of-canvas,
#of-webcam,
#of-sym-canvas,
#gr-canvas,
#ht-canvas,
#gt-canvas,
#hf-preview-canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  touch-action: none !important;
}

/* Marker Touch Size on Mobile */
.of-marker-btn {
  width: 32px !important;
  height: 32px !important;
  font-size: 0.82rem !important;
  touch-action: none !important;
}

/* Blog & Category Archive Editorial Grid (OblongFace Neo-Brutalism) */
body.blog .site-content,
body.archive .site-content,
body.blog #primary,
body.archive #primary {
  width: 100% !important;
  max-width: 1200px !important;
  float: none !important;
  margin: 0 auto !important;
}

body.blog #main,
body.archive #main {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  padding: 8px 20px 36px 20px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

body.archive #main > header.page-header {
  display: none !important;
}

.of-blog-archive-hero {
  grid-column: 1 / -1 !important;
  text-align: center;
  max-width: 840px;
  margin: 12px auto 10px auto;
  padding: 0 12px;
}

.of-blog-archive-hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 2.75rem) !important;
  font-weight: 850 !important;
  color: var(--of-dark) !important;
  margin: 14px 0 12px 0 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
}

.of-blog-archive-hero .ofn-lead {
  font-size: 1.05rem !important;
  line-height: 1.62 !important;
  color: #44403c !important;
  margin: 0 auto 22px auto !important;
  max-width: 680px !important;
}

.of-blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px 0;
}

.of-blog-filter-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #1c1917 !important;
  border: 2px solid #1c1917 !important;
  box-shadow: 2px 2px 0px #1c1917 !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease !important;
}

.of-blog-filter-pill:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #1c1917 !important;
  background: #f6eef2 !important;
  color: #5b1938 !important;
}

.of-blog-filter-pill.is-active {
  background: #5b1938 !important;
  color: #ffffff !important;
}

.of-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #faf8f5;
  color: #1c1917;
  border: 1.5px solid #1c1917;
}

.of-blog-filter-pill.is-active .of-pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.of-blog-showing-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #57524e;
  margin: 10px 0 0 0;
}

/* Archive Post Cards */
body.blog #main > article,
body.archive #main > article {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
}

body.blog #main > article .inside-article,
body.archive #main > article .inside-article {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  background: #ffffff !important;
  border: 2px solid #1c1917 !important;
  border-radius: 20px !important;
  box-shadow: 4px 4px 0px #1c1917 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

body.blog #main > article .inside-article:hover,
body.archive #main > article .inside-article:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px #1c1917 !important;
}

body.blog #main .post-image,
body.archive #main .post-image {
  order: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 2px solid #1c1917 !important;
  background: #f4efe6 !important;
  overflow: hidden !important;
  text-align: left !important;
}

body.blog #main .post-image a,
body.archive #main .post-image a {
  display: block !important;
  line-height: 0 !important;
}

body.blog #main .post-image img,
body.archive #main .post-image img,
body.blog #main .post-image svg,
body.archive #main .post-image svg {
  width: 100% !important;
  aspect-ratio: 1200 / 670 !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.28s ease !important;
}

body.blog #main > article:hover .post-image img,
body.archive #main > article:hover .post-image img,
body.blog #main > article:hover .post-image svg,
body.archive #main > article:hover .post-image svg {
  transform: scale(1.02) !important;
}

body.blog #main footer.entry-meta,
body.archive #main footer.entry-meta {
  order: 2 !important;
  margin: 18px 20px 8px 20px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
}

body.blog #main footer.entry-meta .gp-icon,
body.archive #main footer.entry-meta .gp-icon,
body.blog #main footer.entry-meta .tags-links,
body.archive #main footer.entry-meta .tags-links,
body.blog #main footer.entry-meta .comments-link,
body.archive #main footer.entry-meta .comments-link {
  display: none !important;
}

body.blog #main footer.entry-meta .cat-links a,
body.archive #main footer.entry-meta .cat-links a {
  display: inline-flex !important;
  align-items: center !important;
  background: #f6eef2 !important;
  color: #5b1938 !important;
  border: 1.5px solid #1c1917 !important;
  border-radius: 999px !important;
  padding: 3px 11px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: background 0.16s ease, color 0.16s ease !important;
}

body.blog #main footer.entry-meta .cat-links a:hover,
body.archive #main footer.entry-meta .cat-links a:hover {
  background: #5b1938 !important;
  color: #ffffff !important;
}

body.blog #main header.entry-header,
body.archive #main header.entry-header {
  order: 3 !important;
  margin: 0 20px 10px 20px !important;
  padding: 0 !important;
}

body.blog #main h2.entry-title,
body.archive #main h2.entry-title {
  font-size: 1.14rem !important;
  font-weight: 850 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.02em !important;
  color: #1c1917 !important;
  margin: 0 0 6px 0 !important;
}

body.blog #main h2.entry-title a,
body.archive #main h2.entry-title a {
  color: #1c1917 !important;
  transition: color 0.16s ease !important;
}

body.blog #main h2.entry-title a:hover,
body.archive #main h2.entry-title a:hover {
  color: #5b1938 !important;
}

body.blog #main header.entry-header .entry-meta,
body.archive #main header.entry-header .entry-meta {
  font-size: 0.79rem !important;
  font-weight: 600 !important;
  color: #57524e !important;
  margin: 0 !important;
}

body.blog #main header.entry-header .entry-meta a,
body.archive #main header.entry-header .entry-meta a {
  color: #57524e !important;
  font-weight: 700 !important;
}

body.blog #main .entry-summary,
body.archive #main .entry-summary {
  order: 4 !important;
  margin: 0 20px 20px 20px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

body.blog #main .entry-summary p:not(.read-more-container),
body.archive #main .entry-summary p:not(.read-more-container) {
  font-size: 0.9rem !important;
  line-height: 1.58 !important;
  color: #44403c !important;
  margin: 0 0 18px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.blog #main .read-more-container,
body.archive #main .read-more-container {
  margin: auto 0 0 0 !important;
  padding: 0 !important;
}

body.blog #main a.read-more.button,
body.archive #main a.read-more.button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: #5b1938 !important;
  color: #ffffff !important;
  border: 2px solid #1c1917 !important;
  border-radius: 999px !important;
  padding: 9px 18px !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: 2px 2px 0px #1c1917 !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease !important;
}

body.blog #main a.read-more.button:hover,
body.archive #main a.read-more.button:hover {
  background: #76224a !important;
  color: #ffffff !important;
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #1c1917 !important;
}

body.blog #main #nav-below.paging-navigation,
body.archive #main #nav-below.paging-navigation {
  grid-column: 1 / -1 !important;
  margin: 14px auto 4px auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body.blog #main #nav-below .nav-previous,
body.archive #main #nav-below .nav-previous,
body.blog #main #nav-below .nav-next,
body.archive #main #nav-below .nav-next {
  display: none !important;
}

body.blog #main #nav-below .nav-links,
body.archive #main #nav-below .nav-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
}

body.blog #main #nav-below .page-numbers,
body.archive #main #nav-below .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 15px !important;
  background: #ffffff !important;
  color: #1c1917 !important;
  border: 2px solid #1c1917 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  box-shadow: 2px 2px 0px #1c1917 !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease !important;
}

body.blog #main #nav-below .page-numbers.current,
body.archive #main #nav-below .page-numbers.current {
  background: #5b1938 !important;
  color: #ffffff !important;
}

body.blog #main #nav-below a.page-numbers:hover,
body.archive #main #nav-below a.page-numbers:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #1c1917 !important;
  background: #f6eef2 !important;
  color: #5b1938 !important;
}

body.blog #main > article.of-card-hidden,
body.archive #main > article.of-card-hidden {
  display: none !important;
}

@media (min-width: 1025px) {
  body.blog #main > article.of-lead-card,
  body.archive #main > article.of-lead-card {
    grid-column: 1 / -1 !important;
  }

  body.blog #main > article.of-lead-card .inside-article,
  body.archive #main > article.of-lead-card .inside-article {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    grid-template-rows: auto auto 1fr !important;
    grid-template-areas:
      "img cat"
      "img hdr"
      "img sum" !important;
    align-items: start !important;
  }

  body.blog #main > article.of-lead-card .post-image,
  body.archive #main > article.of-lead-card .post-image {
    grid-area: img !important;
    height: 100% !important;
    border-bottom: none !important;
    border-right: 2px solid #1c1917 !important;
  }

  body.blog #main > article.of-lead-card .post-image a,
  body.archive #main > article.of-lead-card .post-image a,
  body.blog #main > article.of-lead-card .post-image img,
  body.archive #main > article.of-lead-card .post-image img,
  body.blog #main > article.of-lead-card .post-image svg,
  body.archive #main > article.of-lead-card .post-image svg {
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: 1200 / 670 !important;
  }

  body.blog #main > article.of-lead-card footer.entry-meta,
  body.archive #main > article.of-lead-card footer.entry-meta {
    grid-area: cat !important;
    margin: 28px 28px 10px 28px !important;
  }

  body.blog #main > article.of-lead-card header.entry-header,
  body.archive #main > article.of-lead-card header.entry-header {
    grid-area: hdr !important;
    margin: 0 28px 12px 28px !important;
  }

  body.blog #main > article.of-lead-card h2.entry-title,
  body.archive #main > article.of-lead-card h2.entry-title {
    font-size: 1.55rem !important;
    line-height: 1.24 !important;
  }

  body.blog #main > article.of-lead-card .entry-summary,
  body.archive #main > article.of-lead-card .entry-summary {
    grid-area: sum !important;
    margin: 0 28px 28px 28px !important;
    height: calc(100% - 28px) !important;
  }

  body.blog #main > article.of-lead-card .entry-summary p:not(.read-more-container),
  body.archive #main > article.of-lead-card .entry-summary p:not(.read-more-container) {
    -webkit-line-clamp: 4 !important;
    font-size: 0.98rem !important;
  }
}

@media (max-width: 1024px) {
  body.blog #main,
  body.archive #main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 680px) {
  body.blog #main,
  body.archive #main {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 4px 14px 28px 14px !important;
  }
}

@media (max-width: 1024px) {
  .of-tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .of-all-shapes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-nav-grid {
    grid-template-columns: 1.1fr 0.9fr 1.15fr !important;
    gap: 28px !important;
  }
}

@media (max-width: 900px) {
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .footer-counter-col {
    grid-column: span 2 !important;
  }
  .of-footer-counter-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
  }
  .of-footer-counter-card .of-counter-divider {
    display: none;
  }
  .of-footer-counter-card .of-counter-social-wrap {
    flex: 1 1 260px;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari 16px Auto-Zoom on form focus */
  input[type="text"],
  input[type="number"],
  input[type="search"],
  input[type="email"],
  select,
  textarea,
  .of-field {
    font-size: 16px !important;
    min-height: 48px !important;
  }

  .site-header {
    border-radius: 0 !important;
    padding: 12px 16px !important;
    margin: 0 0 18px 0 !important;
  }

  .site-header .mobile-menu-control-wrapper,
  .site-header .mobile-menu-control-wrapper.toggled {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: none !important;
  }

  .site-header .mobile-menu-control-wrapper .menu-toggle {
    width: auto !important;
  }

  #site-navigation.toggled {
    display: block !important;
    opacity: 1 !important;
    width: 100% !important;
    flex-basis: 100% !important;
    margin: 12px 0 0 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  #site-navigation.toggled .main-nav > ul {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  #site-navigation.toggled .main-nav > ul > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    text-align: left !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
  }

  #site-navigation.toggled .main-nav ul.sub-menu {
    position: static !important;
    width: 100% !important;
    display: none !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 4px 0 6px 0 !important;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    height: auto !important;
  }

  #site-navigation.toggled .main-nav li.toggled-on > ul.sub-menu,
  #site-navigation.toggled .main-nav li.of-sub-open > ul.sub-menu,
  #site-navigation.toggled .main-nav ul.sub-menu.toggled-on {
    display: flex !important;
  }

  #site-navigation.toggled .main-nav ul.sub-menu li a {
    white-space: normal !important;
    padding: 9px 12px !important;
    font-size: 0.86rem !important;
  }

  .of-hero {
    padding: 24px 12px 18px 12px !important;
  }

  .of-hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
  }

  .of-hero-lead {
    font-size: 1.02rem !important;
    line-height: 1.58 !important;
    margin-bottom: 20px !important;
  }

  .of-hero-pills {
    gap: 8px !important;
    justify-content: center !important;
  }

  .of-hero-pills li {
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }

  .of-suite-card {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }

  .of-golden-layout,
  .of-calc-split {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .of-tools-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .of-tool-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  .of-tool-tag {
    top: 18px !important;
    right: 18px !important;
    font-size: 0.7rem !important;
  }

  .of-metrics-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .of-advice-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .of-all-shapes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .of-quiz-options-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .of-famous-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .of-guide-card {
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }

  .of-guide-card h2 {
    font-size: 1.6rem !important;
  }

  .of-points-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .obf-page-article {
    padding: 26px 20px !important;
    margin: 32px auto !important;
    border-radius: 20px !important;
  }

  .of-table-box {
    margin: 20px 0 !important;
    border-radius: 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .of-table-box table {
    min-width: 520px;
  }

  .rank-math-block,
  #rank-math-faq {
    margin: 36px auto !important;
  }

  .rank-math-question {
    padding: 18px 20px !important;
    font-size: 1.05rem !important;
  }

  .rank-math-answer {
    padding: 0 20px 18px 20px !important;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-brand-col,
  .footer-counter-col {
    grid-column: span 1 !important;
  }

  .of-footer-counter-card {
    flex-direction: column;
    align-items: stretch;
  }

  .of-footer-counter-card .of-counter-social-wrap {
    flex: 0 0 auto !important;
    width: 100%;
  }

  .of-footer-counter-card .of-counter-divider {
    display: block;
  }

  .footer-seo-strip {
    margin-top: 26px !important;
    gap: 6px 10px !important;
  }

  .site-info .copyright-bar,
  .footer-bar-align-right .copyright-bar,
  .footer-bar-align-left .copyright-bar,
  .footer-bar-align-center .copyright-bar {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .site-info .copyright-bar .footer-legal-inline {
    justify-content: center !important;
  }

  .site-footer-modern {
    padding: 44px 18px 28px 18px !important;
    margin-top: 50px !important;
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .site-info,
  .site-footer-modern {
    padding: 44px 18px 28px 18px !important;
    margin-top: 50px !important;
  }
}

/* Smart Phones & Compact Viewports (max-width: 640px) - MINIMUM SCROLL OPTIMIZED */
@media (max-width: 640px) {
  /* Ultra-Compact Mobile Hero: Upload option visible in minimum scroll */
  .of-hero {
    padding: 8px 10px 10px 10px !important;
    margin: 4px auto 10px auto !important;
  }

  .of-hero-badge {
    font-size: 0.7rem !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
  }

  .of-hero h1 {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.02em !important;
  }

  .of-hero-lead {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    color: var(--of-muted) !important;
  }

  /* Hide bulky bullet list, CTAs, and duplicate headers so upload option is reached with minimum scroll */
  .of-hero-pills,
  .of-hero-cta,
  .of-tool-sec-intro,
  .of-privacy-box {
    display: none !important;
  }

  .of-tool-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .site-header {
    border-radius: 0 !important;
    margin: 0 0 10px 0 !important;
    padding: 10px 14px !important;
  }

  .main-title a {
    font-size: 1.15rem !important;
  }

  /* Detector Card & Segmented Control */
  .of-suite-card,
  .of-haircut-app .of-suite-card,
  .of-detector-app .of-suite-card {
    padding: 18px 12px !important;
    border-radius: 18px !important;
    margin: 0 4px !important;
  }

  .of-res-card-col {
    padding: 18px 14px;
  }

  .of-res-item {
    padding: 12px 10px;
    gap: 10px;
  }

  .of-res-thumb {
    width: 58px;
    height: 58px;
  }

  .of-mode-tabs-wrap {
    margin-bottom: 12px !important;
  }

  .of-mode-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    border-radius: 14px !important;
    padding: 4px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
  }

  .gr-mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .of-mode-tabs .of-tab-btn,
  .of-mode-tabs-wrap .of-tab-btn,
  button.of-tab-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 4px !important;
    font-size: 0.72rem !important;
    font-weight: 750 !important;
    border-radius: 10px !important;
    gap: 3px !important;
    min-height: 48px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .of-mode-tabs .of-tab-btn.active,
  .of-mode-tabs-wrap .of-tab-btn.active,
  button.of-tab-btn.active,
  button.of-tab-btn.active:hover {
    border-radius: 10px !important;
  }

  .of-mode-tabs .of-tab-btn svg,
  button.of-tab-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  /* Compact Dropzone */
  .of-dropzone {
    padding: 22px 14px !important;
    border-radius: 18px !important;
  }

  .of-drop-icon {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 8px auto !important;
  }

  .of-dropzone h3 {
    font-size: 1.12rem !important;
    margin: 0 0 4px 0 !important;
  }

  .of-dropzone p {
    font-size: 0.82rem !important;
    margin: 0 0 10px 0 !important;
  }

  .of-drop-cta-btn {
    margin: 8px auto 10px auto !important;
  }

  .of-privacy-tag {
    font-size: 0.74rem !important;
    padding: 4px 10px !important;
  }

  .of-mode-tab {
    width: 100% !important;
    text-align: center;
  }

  .of-gender-selector {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .of-gender-btn {
    flex: 1 1 calc(50% - 6px) !important;
  }

  .of-metrics-bar {
    grid-template-columns: 1fr !important;
  }

  .of-all-shapes-grid {
    grid-template-columns: 1fr !important;
  }

  .of-btn-primary,
  .of-btn-secondary {
    width: 100% !important;
    margin-bottom: 8px;
  }

  .gr-score-circle {
    width: 110px !important;
    height: 110px !important;
  }

  .gr-pct {
    font-size: 1.5rem !important;
  }

  .of-tool-card {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }

  .of-tools-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .of-tool-arrow {
    width: 100%;
    justify-content: flex-start;
  }

  .of-marker-btn {
    width: 28px !important;
    height: 28px !important;
    margin-left: -14px !important;
    margin-top: -14px !important;
    font-size: 12px !important;
    border-width: 1.5px !important;
  }

  .of-stage-controls {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .of-stage-controls button {
    width: 100% !important;
  }
}

/* Ultra-Compact Smart Phones (max-width: 440px) */
@media (max-width: 440px) {
  .of-hero h1 {
    font-size: 1.75rem !important;
  }

  .of-mode-tabs .of-tab-btn,
  .of-mode-tabs-wrap .of-tab-btn,
  button.of-tab-btn {
    font-size: 0.68rem !important;
    padding: 6px 2px !important;
  }

  .of-tab-btn span {
    display: block !important;
    letter-spacing: -0.01em;
  }
}

/* Golden Ratio Stage Canvas Wrap: Centered, no black bar, perfectly responsive */
.gr-stage .of-canvas-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 580px !important;
  margin: 0 auto 20px auto !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16) !important;
  background: #09090b !important;
}


/* ==============================================================================
   THREE NEW TOOLS: HAIRCUT FINDER, HAIRSTYLE TRY-ON, GLASSES TRY-ON
   ============================================================================== */

/* 1. Haircut Finder UI */
.of-hf-controls-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
}

.of-hf-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
  color: #1e293b;
  margin-bottom: 8px;
}

.of-hf-shape-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.of-hf-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.of-hf-chip:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.of-hf-chip.active {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  color: #ffffff !important;
  border-color: #6d28d9 !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3) !important;
}

.of-hf-summary-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.of-hf-banner-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.of-hf-summary-banner h4 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #6b21a8;
}

.of-hf-summary-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: #581c87;
  line-height: 1.45;
}

.of-hf-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.of-hf-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.of-hf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.1);
  border-color: #c4b5fd;
}

.of-hf-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.of-hf-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f5f3ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.of-hf-match-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
}

.of-hf-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.of-hf-card-physics {
  font-size: 0.82rem;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 10px;
  line-height: 1.4;
}

.of-hf-card-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.of-hf-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.of-hf-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}

/* 2. Hairstyle Try-On Stage & Grids */
.ht-canvas-wrap,
.gt-canvas-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto 20px auto !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16) !important;
  background: #09090b !important;
}

.ht-styles-grid,
.gt-frames-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.ht-style-btn,
.gt-frame-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.ht-style-btn:hover,
.gt-frame-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.ht-style-btn.active {
  border-color: #db2777 !important;
  background: #fdf2f8 !important;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.18) !important;
}

.gt-frame-btn.active {
  border-color: #0891b2 !important;
  background: #ecfeff !important;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.18) !important;
}

.ht-icon,
.gt-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.ht-style-btn strong,
.gt-frame-btn strong {
  font-size: 0.85rem;
  color: #1e293b;
  line-height: 1.2;
}

.ht-style-btn small,
.gt-frame-btn small {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 3px;
}

.ht-color-chips,
.gt-color-chips {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.ht-color-btn,
.gt-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.ht-color-btn:hover,
.gt-color-btn:hover {
  transform: scale(1.18);
}

.ht-color-btn.active,
.gt-color-btn.active {
  outline: 3px solid #7c3aed;
  outline-offset: 2px;
  transform: scale(1.2);
}

.ht-sliders-wrap,
.gt-sliders-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 20px;
}

.ht-slider-row,
.gt-slider-row {
  margin-bottom: 12px;
}

.ht-slider-row:last-child,
.gt-slider-row:last-child {
  margin-bottom: 0;
}

.ht-slider-row label,
.gt-slider-row label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.of-slider {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
}


/* Haircut Studio Interactive Stage */
.hf-studio-stage-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.06);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hf-studio-stage-wrap {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

.hf-canvas-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #09090b !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.hf-canvas-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.hf-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hf-studio-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hf-active-cut-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  margin-bottom: 8px;
}

.hf-cut-title {
  font-size: 1.6rem;
  font-weight: 850;
  color: #1e293b;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.hf-cut-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hf-metric-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.hf-metric-item span {
  display: block;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 600;
}

.hf-cut-explanation {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.hf-stylist-script-box {
  background: #faf5ff;
  border-left: 4px solid #7c3aed;
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
}

.hf-stylist-script-box strong {
  display: block;
  font-size: 0.84rem;
  color: #6b21a8;
  margin-bottom: 4px;
}

.hf-stylist-script-box p {
  margin: 0;
  font-size: 0.86rem;
  color: #581c87;
  font-style: italic;
  line-height: 1.4;
}

.of-hf-card-action-btn {
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #7c3aed;
  background: #f5f3ff;
  color: #7c3aed;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
  width: 100%;
  transition: all 0.15s ease;
}

.of-hf-card-action-btn:hover,
.of-hf-card.is-active .of-hf-card-action-btn {
  background: #7c3aed;
  color: #ffffff;
}

.of-hf-card.is-active {
  border-color: #7c3aed !important;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15) !important;
  background: #fdfcff !important;
}

/* Touch and Drag Canvas Enhancements */
#gt-canvas, #ht-canvas {
  touch-action: none !important;
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

#gt-canvas:active, #ht-canvas:active {
  cursor: grabbing !important;
}

.ht-canvas-wrap, .gt-canvas-wrap {
  background: #f8fafc !important;
}

@keyframes ofSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Realistic Studio Canvas Background */
.hf-canvas-wrap,
.ht-canvas-wrap,
.gt-canvas-wrap {
  background: #f1f5f9 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

#hf-preview-canvas {
  border-radius: 14px;
}

/* Non-blank Canvas Stage Fallback */
.of-canvas-wrap {
  background-color: #f8fafc !important;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
}

#gt-canvas, #ht-canvas, #hf-preview-canvas {
  background: transparent !important;
}


/* ==========================================================================
   HOMEPAGE FACE TYPE ONE-TIME STROKE DRAW EFFECT (Zero CPU/GPU Drag)
   ========================================================================== */
.of-shapes-grid .of-neon-draw {
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-width 0.2s ease;
}

.of-shapes-grid .is-drawn .of-neon-draw,
.of-shapes-grid .of-shape-item:hover .of-neon-draw {
    animation: ofDrawOutlineOnce 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 1;
}

@keyframes ofDrawOutlineOnce {
    0% {
        stroke-dashoffset: 450;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .of-shapes-grid .of-neon-draw {
        stroke-dashoffset: 0 !important;
        animation: none !important;
    }
}

/* Guard against FAQ pseudo duplication */
.of-guide-container .of-faq-item summary::after,
.of-guide-container .of-faq-question::after,
.of-guide-container .of-faq-item summary::before,
.of-guide-container .of-faq-question::before {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   3.2 SALON BLUEPRINT STYLING (NATIVE OBLONGFACE THEME)
   ========================================================================== */

.hf-salon-guide-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 2px solid #1c1917;
}

.hf-salon-guide-section .of-sec-header {
  text-align: center;
  margin-bottom: 26px;
}

.hf-salon-guide-section .of-sec-header h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1c1917;
  margin: 10px 0 6px 0;
}

.hf-salon-guide-section .of-sec-header p {
  font-size: 0.94rem;
  color: #64748b;
  margin: 0;
}

.hf-salon-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.hf-salon-card {
  background: #ffffff;
  border: 2px solid #1c1917;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 4px 4px 0px #1c1917;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-salon-card:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 6px 6px 0px #1c1917;
}

.hf-salon-card h4 {
  font-size: 1.05rem;
  font-weight: 850;
  color: #1c1917;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hf-salon-card p {
  font-size: 0.89rem;
  line-height: 1.6;
  color: #44403c;
  margin: 0;
}

@media (max-width: 960px) {
  .hf-salon-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
