@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ========================================================
   STYLE FOUNDATIONS & DESIGN SYSTEM TOKENS
   Visual style: clean, functional, implementation-oriented
   ======================================================== */

:root {
  /* Exact UI Colors */
  --primary: #43B472;
  --secondary: #9C9CD3;
  --background: #F1F0EC;
  --white: #FFFFFF;
  --outer-background: #CAD1DD;

  /* Main Font Style */
  --font-family-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;
  --font-weight-base: 400;
  --font-line-height-base: normal;

  /* Typography Scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Color Palette Mapped to Spec */
  --color-text-primary: #1e293b;
  --color-text-secondary: #ffffff;
  --color-text-tertiary: #64748b;
  --color-text-inverse: #334155;
  --color-surface-base: var(--white);
  --color-surface-muted: var(--background);

  /* Spacing Scale */
  --space-1: 6px;
  --space-2: 8px;
  --space-3: 14px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 22px;
  --space-7: 24px;
  --space-8: 32px;

  /* Radius Tokens */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;

  /* Shadow Tokens */
  --shadow-1: rgba(0, 0, 0, 0.08) 0px 4px 14px 0px;
  --shadow-2: rgba(0, 0, 0, 0.16) 0px 16px 32px -8px;

  /* Motion Tokens */
  --motion-duration-instant: 150ms;
  --motion-duration-fast: 200ms;

  /* Semantic UI Aliases for backward compatibility */
  --orvain-color-black: #0f172a;
  --orvain-color-white: var(--white);
  --orvain-color-surface-light: var(--white);
  --orvain-color-surface-default: var(--background);
  --orvain-color-surface-muted: #e7e6e0;
  --orvain-color-surface-subtle: #f8f7f4;
  --orvain-color-surface-soft: var(--outer-background);
  --orvain-color-surface-disabled: #e7e6e0;
  --orvain-color-surface-dark: #1e293b;
  --orvain-color-surface-static-dark: #0f172a;

  --orvain-color-content-primary: var(--color-text-primary);
  --orvain-color-content-secondary: var(--color-text-inverse);
  --orvain-color-content-muted: var(--color-text-tertiary);
  --orvain-color-content-disabled: #94a3b8;
  --orvain-color-content-on-dark: var(--color-text-secondary);
  --orvain-color-content-on-dark-muted: var(--color-text-tertiary);
  --orvain-color-content-on-solid: var(--white);

  --orvain-color-border-light: #f8f7f4;
  --orvain-color-border-subtle: #e7e6e0;
  --orvain-color-border-default: #dcdad4;
  --orvain-color-border-soft: #c8c5bc;
  --orvain-color-border-strong: #0f172a;
  --orvain-color-border-cool: var(--outer-background);
  --orvain-color-border-focused: var(--primary);

  /* Primary Brand Scale (#43B472 & Secondary #9C9CD3) */
  --orvain-color-brand-primary-50: #f0fdf6;
  --orvain-color-brand-primary-100: #dcfce9;
  --orvain-color-brand-primary-200: #bbf7d2;
  --orvain-color-brand-primary-500: var(--primary);
  --orvain-color-brand-primary-600: var(--primary);
  --orvain-color-brand-primary-700: #34965c;
  --orvain-color-brand-primary-800: #29774a;
  --orvain-color-brand-primary-900: #1f5a38;
  --orvain-color-brand-border-focused: var(--primary);

  /* Shadows mapped to Style Foundations */
  --orvain-shadow-light: var(--shadow-1);
  --orvain-shadow-soft: var(--shadow-1);
  --orvain-shadow-card: var(--shadow-1);
  --orvain-shadow-hover: var(--shadow-2);
  --orvain-shadow-elevated: var(--shadow-2);

  /* Radii mapped to Style Foundations */
  --orvain-border-radius-none: 0;
  --orvain-border-radius-sm: var(--radius-xs);
  --orvain-border-radius-tag: var(--radius-xs);
  --orvain-border-radius-md: var(--radius-sm);
  --orvain-border-radius-lg: var(--radius-md);
  --orvain-border-radius-xl: var(--radius-md);
  --orvain-border-radius-full: 9999px;

  --surface-canvas: var(--background);
  --surface-card: var(--white);
  --surface-card-subtle: #f8f7f4;
  --border-default: #dcdad4;
  --border-subtle: #e7e6e0;

  --font-sans: var(--font-family-stack);
  --font-display: var(--font-family-stack);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family-stack);
  font-size: var(--font-size-base);
  background-color: var(--color-surface-muted);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family-stack);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--font-line-height-base);
  color: var(--color-text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-stack);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* Layered "double card" look: white card with thick 6-8px off-white outer ring */
.double-card,
.layered-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 24px 28px;
  box-shadow: 0 0 0 7px #eef2ee, 0 2px 12px rgba(16, 38, 28, 0.04);
}

.inner-panel {
  border-radius: var(--radius-inner);
  padding: 16px 20px;
  background: #f6f8f6;
}

/* Big numeral styling: 96-110px, 600, tight line-height (0.9), letter-spacing -2px */
.big-numeral {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 104px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -2px;
  color: #0d1f16;
}

/* Icon button circles: perfect circles 44-52px */
.icon-btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ee;
  color: #0d1f16;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.icon-btn-circle:hover {
  background: #e1e7e2;
  transform: scale(1.04);
}

/* Avatar with 10px green online dot with 2px white ring */
.avatar-spec {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1f16;
  color: #ffffff;
  font-weight: 600;
  font-family: var(--font-display);
}

.avatar-spec::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 2px #ffffff;
}

/* Reach Top Hanging Center Shield / Pod */
.reach-top-pod {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--orvain-color-surface-light);
  padding: 8px 18px 8px 14px;
  border-radius: var(--orvain-border-radius-full);
  border: none !important;
  box-shadow: var(--orvain-shadow-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reach-top-pod:hover {
  box-shadow: var(--orvain-shadow-hover);
  transform: translateY(-1px);
}

/* ========================================================
   ORVAIN UI APP TOP BAR (Exact 5-part architecture)
   ======================================================== */
.orvain-app-topbar {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  border-radius: var(--radius-shell);
}

/* Part 2: Page links with sliding highlight track */
.orvain-nav-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #f1f5f3;
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 2px;
}

.orvain-nav-link {
  position: relative;
  z-index: 2;
  font-size: 13.5px;
  font-weight: 500;
  color: #47554d;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: none !important;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.orvain-nav-link:hover {
  color: #0f1712;
  background: rgba(255, 255, 255, 0.5);
}

.orvain-nav-link.active {
  color: #0f1712;
  background: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 18, 0.08);
}

/* Part 3: Search that expands out of its icon */
.orvain-search-expand-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.orvain-search-input {
  width: 44px;
  height: 44px;
  padding-left: 38px;
  padding-right: 12px;
  background: #f1f5f3;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #0f1712;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
}

.orvain-search-input::placeholder {
  color: transparent;
  transition: color 0.2s;
}

.orvain-search-input:focus,
.orvain-search-input:not(:placeholder-shown) {
  width: 220px;
  background: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 18, 0.08);
  cursor: text;
}

.orvain-search-input:focus::placeholder,
.orvain-search-input:not(:placeholder-shown)::placeholder {
  color: #94a39b;
}

.orvain-search-icon {
  position: absolute;
  left: 14px;
  pointer-events: none;
  color: #64746b;
  transition: color 0.2s;
}

.orvain-search-input:focus~.orvain-search-icon {
  color: #16a34a;
}

/* Part 4: Bell with rolling unread count & notifications card */
.orvain-bell-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f3;
  color: #47554d;
  transition: all 0.2s;
}

.orvain-bell-btn:hover {
  background: #e5e9e6;
  color: #0f1712;
}

.orvain-unread-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #16a34a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.4);
}

.orvain-notify-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 320px;
  background: #ffffff;
  border-radius: var(--radius-inner);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(16, 38, 28, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
  pointer-events: none;
}

/* Invisible bridge so mouse hover doesn't drop between trigger and card */
.orvain-notify-popover::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.orvain-notify-group:hover .orvain-notify-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Part 5: Account menu with role (Sales & Desk Dropdown) */
.orvain-account-menu-wrap {
  position: relative;
}

.orvain-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--motion-duration-fast) cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.orvain-account-trigger:hover,
.orvain-account-menu-wrap:hover .orvain-account-trigger {
  background: #f8fafc;
  border-color: #cbd5e1 !important;
  box-shadow: var(--shadow-1);
}

.orvain-account-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #16a34a;
}

.orvain-account-chevron {
  width: 14px;
  height: 14px;
  color: #64748b;
  opacity: 0.8;
  transition: transform var(--motion-duration-fast) cubic-bezier(0.16, 1, 0.3, 1), color var(--motion-duration-fast);
  flex-shrink: 0;
}

.orvain-account-menu-wrap:hover .orvain-account-chevron {
  transform: rotate(180deg);
  color: #0f172a;
  opacity: 1;
}

.orvain-account-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 270px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--motion-duration-fast) cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
  pointer-events: none;
}

/* Invisible bridge so mouse hover doesn't drop between trigger and card */
.orvain-account-popover::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.orvain-account-menu-wrap:hover .orvain-account-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.orvain-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  transition: all var(--motion-duration-instant) ease;
  text-decoration: none;
}

.orvain-menu-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
  font-size: 13px;
  font-weight: 500;
  color: #334139;
  transition: all 0.15s;
}

.orvain-menu-item:hover {
  background: #f8faf9;
  color: #16a34a;
}

/* Dropdown Flyout */
.reach-dropdown {
  position: relative;
}

.reach-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 240px;
  background: var(--orvain-color-surface-light);
  border-radius: var(--orvain-border-radius-md);
  padding: 8px;
  border: none !important;
  box-shadow: var(--orvain-shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}

.reach-dropdown:hover .reach-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reach-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: #334139;
  transition: all 0.15s ease;
}

.reach-dropdown-item:hover {
  background: #f8faf9;
  color: #16a34a;
  padding-left: 18px;
}

/* Reach Group Signature Footer Styles */
.reach-footer-card {
  background: var(--orvain-color-surface-light);
  border-radius: 0 !important;
  padding: 48px 24px 36px;
  box-shadow: none !important;
  border: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 640px) {
  .reach-footer-card {
    padding: 56px 40px 40px;
  }
}

@media (min-width: 1024px) {
  .reach-footer-card {
    padding: 64px 64px 44px;
  }
}

@media (min-width: 1280px) {
  .reach-footer-card {
    padding: 72px 80px 48px;
  }
}

.reach-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f0fdf4;
  border-radius: var(--radius-pill);
  color: #15803d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.reach-footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d1f16;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.reach-footer-col-title::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #16a34a;
  border-radius: 999px;
  margin-top: 6px;
}

.reach-footer-link {
  color: #47554d;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.25s ease;
  position: relative;
  display: inline-block;
  padding: 2px 0;
}

.reach-footer-link:hover {
  color: #16a34a;
  transform: translateX(2px);
}

.reach-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #1f2923;
  background: #f8faf9;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reach-social-circle:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(22, 163, 74, 0.35);
}

/* Orvain Grid System Background */
.orvain-grid-pattern {
  background-size: 32px 32px;
  background-image:
    linear-gradient(to right, rgba(7, 7, 7, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7, 7, 7, 0.03) 1px, transparent 1px);
}

.orvain-glow-radial {
  background: radial-gradient(circle at 50% 0%, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
}

/* Orvain Bento Card styling - Layered Double Card Look */
.orvain-bento-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: none;
  box-shadow: 0 0 0 7px #eef2ee, 0 2px 12px rgba(16, 38, 28, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.orvain-bento-card:hover {
  box-shadow: 0 0 0 7px #e3e8e3, 0 8px 24px rgba(16, 38, 28, 0.08);
  transform: translateY(-2px);
}

/* Orvain Pill Badge */
.orvain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--orvain-border-radius-full);
  background-color: var(--orvain-badge-color-soft-success-surface);
  color: var(--orvain-badge-color-soft-success-content);
}

/* ========================================================
   ORVAIN UI BUTTON COMPONENT DESIGN SYSTEM
   Source: https://orvain.dev/docs/components/button
   Variants: Primary, Secondary, Tertiary, Inverse On Dark, Error
   ======================================================== */

/* Orvain Button Base */
.orvain-btn,
.orvain-btn-primary,
.orvain-btn-secondary,
.orvain-btn-tertiary,
.orvain-btn-inverse,
.orvain-btn-error {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.15px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none !important;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.orvain-btn:active,
.orvain-btn-primary:active,
.orvain-btn-secondary:active,
.orvain-btn-tertiary:active,
.orvain-btn-inverse:active,
.orvain-btn-error:active {
  transform: scale(0.985);
}

/* Variant 1: Primary (Brand / Emerald #43B472)
   Used for the single main action on a screen (Save, Continue, Book Visit) */
.orvain-btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none !important;
  box-shadow: 0 2px 8px -1px rgba(67, 180, 114, 0.35);
}

.orvain-btn-primary:hover {
  background: #34965c;
  box-shadow: 0 4px 14px -2px rgba(67, 180, 114, 0.45);
  transform: translateY(-1px);
}

.orvain-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
}

/* Variant 2: Secondary
   Used for actions beside Primary (Download Brochure, Enquire) */
.orvain-btn-secondary {
  background: var(--orvain-color-surface-light);
  color: var(--orvain-color-content-primary);
  border: none !important;
  box-shadow: var(--orvain-shadow-light);
}

.orvain-btn-secondary:hover {
  background: var(--orvain-color-surface-default);
  color: var(--orvain-color-black);
  box-shadow: var(--orvain-shadow-card);
  transform: translateY(-1px);
}

.orvain-btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--orvain-color-brand-primary-500);
}

/* Variant 3: Tertiary (Quiet actions / Ghost / Minimal) */
.orvain-btn-tertiary {
  background: transparent;
  color: var(--orvain-color-content-secondary);
  border: none !important;
}

.orvain-btn-tertiary:hover {
  background: var(--orvain-color-surface-muted);
  color: var(--orvain-color-black);
}

.orvain-btn-tertiary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--orvain-color-brand-primary-500);
}

/* Variant 4: Inverse On Dark
   Used on dark surfaces (such as dark heroes, master gallery, or dark footer) */
.orvain-btn-inverse {
  background: var(--orvain-color-surface-light);
  color: var(--orvain-color-black);
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.orvain-btn-inverse:hover {
  background: var(--orvain-color-surface-default);
  color: #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* Variant 5: Error / Destructive */
.orvain-btn-error {
  background: #ef4444;
  color: #ffffff;
  border: none !important;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

.orvain-btn-error:hover {
  background: #dc2626;
  box-shadow: 0 4px 14px -2px rgba(239, 68, 68, 0.4);
}

/* Orvain Button Sizes */
.orvain-btn-sm {
  font-size: 12.5px;
  line-height: 18px;
  padding: 6px 12px;
  gap: 6px;
}

.orvain-btn-md {
  font-size: 14px;
  line-height: 20px;
  padding: 10px 18px;
  gap: 8px;
}

.orvain-btn-lg {
  font-size: 15px;
  line-height: 22px;
  padding: 12px 24px;
  gap: 10px;
}

/* Orvain Button Icon Slot alignment */
.orvain-btn svg,
.orvain-btn-primary svg,
.orvain-btn-secondary svg,
.orvain-btn-tertiary svg,
.orvain-btn-inverse svg {
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.orvain-btn:hover svg.arrow-icon,
.orvain-btn-primary:hover svg.arrow-icon,
.orvain-btn-secondary:hover svg.arrow-icon {
  transform: translateX(2px);
}

/* Orvain Light Hero Window Bezel */
.hero-bezel-light {
  background: radial-gradient(120% 120% at 50% 0%, rgba(22, 163, 74, 0.08) 0%, rgba(255, 255, 255, 0.95) 45%, #ffffff 100%);
  border: none !important;
  box-shadow: 0 24px 64px -16px rgba(7, 7, 7, 0.08), 0 0 40px -10px rgba(22, 163, 74, 0.12);
}

/* ========================================================
   REACH GROUP MOTION GRAPHICS & SIGNATURE INTERACTION STYLES
   ======================================================== */

/* Reach Floating Pill Menu (Docked at Bottom) */
.reach-floating-menu {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: calc(100% - 32px);
  max-width: 740px;
}

.reach-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--orvain-border-radius-full);
  padding: 8px 16px;
  border: none !important;
  box-shadow: var(--orvain-shadow-elevated);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reach-menu-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: #1f2923;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  position: relative;
}

.reach-menu-link:hover,
.reach-menu-link.active {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
}

/* Reach Word Carousel Typography Flip */
.reach-word-carousel-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 1.1;
  vertical-align: middle;
}

.reach-word-carousel-box {
  display: inline-block;
  overflow: hidden;
  height: 64px;
  position: relative;
  vertical-align: middle;
}

.reach-flip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  animation: reachFlipSequence 12s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}

.reach-flip-list li {
  height: 64px;
  line-height: 64px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #34965c 60%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

@keyframes reachFlipSequence {
  0%, 12% { transform: translateY(0); }
  16%, 28% { transform: translateY(-64px); }
  32%, 44% { transform: translateY(-128px); }
  48%, 60% { transform: translateY(-192px); }
  64%, 76% { transform: translateY(-256px); }
  80%, 92% { transform: translateY(-320px); }
  96%, 100% { transform: translateY(-384px); }
}

@media (max-width: 640px) {
  .reach-word-carousel-box {
    height: 44px;
  }

  .reach-flip-list li {
    height: 44px;
    line-height: 44px;
  }

  @keyframes reachFlipSequence {
    0%, 12% { transform: translateY(0); }
    16%, 28% { transform: translateY(-44px); }
    32%, 44% { transform: translateY(-88px); }
    48%, 60% { transform: translateY(-132px); }
    64%, 76% { transform: translateY(-176px); }
    80%, 92% { transform: translateY(-220px); }
    96%, 100% { transform: translateY(-264px); }
  }
}

/* Reach Group Signature Project Box (Large Cards with Round Plus Indicator) - Layered Double Card Look */
.reach-project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  background: #ffffff;
  min-height: 280px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 0 0 7px #eef2ee, 0 2px 12px rgba(16, 38, 28, 0.04);
}

.reach-project-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 7px #e3e8e3, 0 8px 24px rgba(16, 38, 28, 0.08);
}

.reach-project-plus {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #eef2ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0d1f16;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.reach-project-card:hover .reach-project-plus {
  background: #16a34a;
  color: #ffffff;
  transform: rotate(45deg);
}

/* Reach 3-Pillars Card with Interactive Hover Overlay */
.reach-pillar-card {
  position: relative;
  border-radius: var(--radius-card);
  border: none;
  padding: 32px 28px;
  background: #15803d;
  color: #ffffff;
  min-height: 280px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 12px rgba(16, 38, 28, 0.04);
}

.reach-pillar-overlay {
  position: absolute;
  inset: 0;
  background: #0f3d23;
  color: #ffffff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reach-pillar-card:hover .reach-pillar-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Reach Signature Underline on Heading (h4:after) */
.reach-heading-line {
  position: relative;
  padding-bottom: 18px;
}

.reach-heading-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: #16a34a;
  border-radius: 999px;
}

/* Video Frame with Reach Rounded Edge & Vignette */
.reach-video-container {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none !important;
  background: #000;
  border: 0 !important;
  outline: none !important;
}

.reach-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0 !important;
  outline: none !important;
}

.hero-bezel {
  background: radial-gradient(120% 120% at 50% 0%, rgba(89, 234, 169, 0.18) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.01) 100%), #0c0f0d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 80px -20px rgba(22, 163, 74, 0.25);
}

.hero-glass {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.orvain-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c4c8c6;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
}

.orvain-tag-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(89, 234, 169, 0.3);
  color: #ffffff;
}

/* Smooth zoom on images */
.orvain-img-zoom {
  overflow: hidden;
}

.orvain-img-zoom img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.orvain-img-zoom:hover img {
  transform: scale(1.04);
}


/* ========================================================
   GLOBAL SHAPE, RADIUS & SPACING (STYLE FOUNDATIONS TOKENS)
   - Radius tokens: xs=8px, sm=14px, md=20px
   - Shadow tokens: 1=rgba(0,0,0,0.14) 0px 4px 14px 0px, 2=rgba(0,0,0,0.4) 0px 16px 32px -8px
   - Motion tokens: instant=150ms, fast=200ms
   ======================================================== */
.app-shell,
.shell-container {
  border-radius: var(--radius-md);
}

/* Cards & Project Boxes */
.card,
.reach-project-card,
.orvain-bento-card,
.plot-card,
.amenity-card,
.gallery-card,
.reach-pillar-card {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-1) !important;
  border: 1px solid var(--orvain-color-border-default) !important;
  transition: transform var(--motion-duration-fast) cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--motion-duration-fast) cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover,
.reach-project-card:hover,
.orvain-bento-card:hover,
.plot-card:hover,
.amenity-card:hover,
.gallery-card:hover {
  box-shadow: var(--shadow-2) !important;
  transform: translateY(-2px);
}

/* Inner Panels */
.inner-panel,
.orvain-nav-track,
.orvain-account-popover,
.orvain-notify-popover {
  border-radius: var(--radius-sm) !important;
}

/* Images & Video Containers */
.reach-video-container,
video,
.card-media,
.gallery-card img,
.plot-card img,
.amenity-card img {
  border-radius: var(--radius-md) !important;
}

/* Pills, Chips, Tabs, Buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.orvain-btn,
.orvain-btn-primary,
.orvain-btn-secondary,
.orvain-btn-tertiary,
.orvain-btn-inverse,
.orvain-btn-error,
.btn-primary,
.btn-secondary,
.btn-outline,
.reach-nav-pill,
.reach-menu-link,
.pill,
.badge,
.orvain-badge-soft-success,
.orvain-nav-link {
  border-radius: var(--radius-sm) !important;
  transition: all var(--motion-duration-instant) ease;
}

/* Strict zero-border enforcement across buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.orvain-btn,
.orvain-btn-primary,
.orvain-btn-secondary,
.orvain-btn-tertiary,
.orvain-btn-inverse,
.orvain-btn-error,
.btn-primary,
.btn-secondary,
.btn-outline {
  outline: none;
}

/* Enhanced default button sizing */
button:not(.faq-toggle):not(#mobileMenuBtn):not(#closeTimedModal),
input[type="submit"],
.btn-primary,
.btn-secondary {
  letter-spacing: -0.01em;
  font-weight: 500;
}

/* Section styling */
section {
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
}

/* Subtle architectural divider shadow for alternating background sections */
section.bg-neutral-50,
section.bg-\[\#f8fafc\],
section.bg-\[\#f8faf8\] {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8), var(--shadow-1);
}