/* =============================================================
   JHS SVENDGAARD RETAIL VENTURES LIMITED
   Modern Design System â€” shared across all pages
   -------------------------------------------------------------
   Layers:
     A. Design tokens
     B. Base / typography
     C. Shared header (reusable)
     D. Home page content sections (index-specific)
     E. Footer (reusable)
     F. Hero section (relocated as-is â€” do not redesign)
     G. Utilities / misc
     H. Responsive breakpoints
   ============================================================= */

/* =============================================================
   A. DESIGN TOKENS
   ============================================================= */
:root {
  /* Brand palette */
  --primary: #086000;
  --primary-dark: #064500;
  --primary-light: #e8f5e9;

  /* Neutrals */
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-warm: #faf8f5;
  --border: #e2e8f0;

  /* Layout */
  --gutter: 8%;          /* left/right page gutter â€” matches hero text edge */
  --gutter-r: 5%;
  --container: 1280px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);

  /* Radii */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Motion */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Map onto Astra tokens so sub-pages inherit the same palette */
  --ast-global-color-0: var(--primary);
  --ast-global-color-1: var(--primary-dark);
  --ast-global-color-2: var(--dark);
  --ast-global-color-3: var(--text);
  --ast-global-color-4: var(--bg-alt);
  --ast-global-color-5: var(--bg);
  --ast-global-color-6: var(--border);
  --ast-global-color-7: var(--dark);
  --ast-global-color-8: var(--dark);
}

/* =============================================================
   B. BASE / TYPOGRAPHY
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#content .ast-container {
  padding-top: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove Astra's forced 100vh min-height on #page so the page
   height is determined by content only — no empty space after footer. */
#page {
  min-height: 0 !important;
  display: block !important;
  flex-direction: column !important;
}
#page .site-content {
  flex-grow: 0 !important;
}

/* home.html iframe body — shrink-wrap content, no extra space after footer */
.home-frame-body {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.home-frame-body #content {
  flex-grow: 0;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6,
.entry-content :where(h1,h2,h3,h4,h5,h6) {
  font-family: 'Montserrat', 'Inter', sans-serif;
}

::selection {
  background: rgba(8, 96, 0, 0.15);
  color: var(--dark);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Image loading placeholder */
img { background: var(--bg-alt); }

/* =============================================================
   C. SHARED HEADER  (present on every page)
   ============================================================= */

/* --- Sticky glass header bar ---
   Target the full wrapper chain (.main-header-bar-wrap, .ast-main-header-wrap,
   .ast-primary-header-bar) so Astra's beige #fff6e9 on .ast-primary-header-bar
   is overridden on every layer. */
.ast-desktop-header,
.ast-main-header-wrap,
.main-header-bar-wrap,
.ast-primary-header-bar,
.ast-primary-header-bar.ast-primary-header,
.site-primary-header-wrap {
  background: rgba(248,246,245,0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Keep the navbar pinned to the top for the entire page scroll.
   Sticky must live on the OUTERMOST header element (#masthead) so it sticks
   relative to the document scroll â€” applying it only to the inner
   .ast-primary-header-bar (nested 3 levels deep) lets it scroll away once
   the parent <header> box passes. */
#masthead,
.ast-primary-header-bar,
.ast-primary-header-bar.ast-primary-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.ast-primary-header-bar,
.ast-primary-header-bar.ast-primary-header {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  min-height: 70px;
}

/* Align header to full width with consistent gutter */
.ast-primary-header-bar .ast-container,
.site-primary-header-wrap,
.ast-primary-header-bar {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.ast-builder-grid-row-container,
.ast-builder-grid-row,
.ast-builder-grid-row .ast-builder-grid-row-has-sides {
  display: flex !important;
  align-items: center !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter-r) !important;
  max-width: 100% !important;
}

/* --- Branding: logo + name inline --- */
.ast-builder-layout-element[data-section="title_tagline"],
.site-header-focus-item {
  display: flex !important;
  align-items: center !important;
}

.site-branding {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
  width: auto;
  line-height: 0;
}

.site-logo-img {
  flex-shrink: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  line-height: 0;
  padding: 0;
  margin: 0;
}

.site-logo-img img,
header .custom-logo-link img {
  display: block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  max-width: 40px !important;
  width: 40px !important;
  height: auto !important;
  position: relative;
  top: 0;
}

.ast-site-title-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ast-site-title-wrap .site-title {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.ast-site-title-wrap .site-title a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Hide <br> in site title by default; JS shows it when desktop nav wraps */
.ast-site-title-wrap .site-title a br {
  display: none;
}

#ast-desktop-header .jhs-nav-wrapped .ast-site-title-wrap .site-title a br,
.jhs-nav-wrapped #ast-desktop-header .ast-site-title-wrap .site-title a br {
  display: block;
}

#ast-desktop-header .jhs-nav-wrapped .ast-site-title-wrap .site-title a,
.jhs-nav-wrapped #ast-desktop-header .ast-site-title-wrap .site-title a {
  line-height: 1.15;
}

.site-header-primary-section-left {
  flex: 1 1 auto !important;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.site-header-primary-section-right {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.site-header .site-branding,
.site-header .ast-site-identity {
  padding: 0;
  margin: 0;
}

/* --- Navigation links --- */
.main-header-bar-navigation .menu-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.8019rem;
  color: var(--dark-soft) !important;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}

.main-header-bar-navigation .menu-link:hover {
  color: var(--primary) !important;
}

.main-header-menu > .menu-item > a {
  padding: 8px 11.34px;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
  font-size: 0.8019rem !important;
  padding-left: 11.34px !important;
  padding-right: 11.34px !important;
}

.main-header-menu > .menu-item-413 {
  order: 99;
}

/* Animated underline on top-level items (bottom only).
   Disable Astra's built-in overline+underline via ::before */
.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link::before,
.ast-desktop .ast-menu-hover-style-overline > .menu-item > .menu-link::before {
  display: none !important;
}

.main-header-menu > .menu-item > .menu-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .menu-item.current-menu-item > .menu-link::after {
  transform: scaleX(1);
}

/* --- Dropdowns ---
   Astra sets beige #d8c9c5 on .ast-builder-menu-1 .main-header-menu AND
   .sub-menu via inline CSS, so we must use !important + match specificity. */

/* Fainter active/selected tab background (override Astra's #d8c9c5) */
.main-header-menu > .menu-item.current-menu-item > .menu-link,
.main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
.main-header-menu > .menu-item:hover > .menu-link,
.main-header-menu > .menu-item:hover > .ast-menu-toggle,
.ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
  background: rgb(237, 230, 227) !important;
  border-radius: 6px;
}
.ast-builder-menu-1 .main-header-menu,
.ast-builder-menu-1 .main-header-menu .sub-menu,
.main-header-menu .sub-menu,
.main-header-menu {
  background: transparent !important;
}

.main-header-menu .sub-menu,
.ast-builder-menu-1 .main-header-menu .sub-menu {
  background: #ffffff !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  margin-top: 8px;
}

.ast-desktop .main-header-menu .sub-menu {
  width: 350px !important;
}

.main-header-menu .sub-menu a,
.ast-builder-menu-1 .main-header-menu .sub-menu a {
  font-size: 0.85rem;
  padding: 8px 20px;
  color: var(--text) !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

.main-header-menu .sub-menu a:hover,
.ast-builder-menu-1 .main-header-menu .sub-menu a:hover {
  background: var(--primary-light);
  color: var(--primary) !important;
}

.ast-desktop .main-header-menu .sub-menu,
.ast-desktop .ast-builder-menu .sub-menu {
  overflow: visible !important;
  z-index: 99999 !important;
}

/* --- Mobile header trigger --- */
/* Faint background for hamburger icon (override Astra's dark #6d2f08) */
[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill {
  background: rgb(237, 230, 227) !important;
  color: var(--primary) !important;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  fill: var(--primary) !important;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-wrap .mobile-menu {
  color: var(--primary) !important;
}

.ast-mobile-menu-trigger-fill .mobile-menu-toggle-icon span {
  color: var(--primary) !important;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
  top: 0;
  color: var(--primary) !important;
}

/* --- Mobile menu backgrounds (override Astra's beige #d8c9c5 and dark #6d2f08) --- */
.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
  background-color: #ffffff !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link {
  color: var(--dark-soft) !important;
  background-color: transparent !important;
}

/* --- Mobile-friendly menu links: larger tap targets and text --- */
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  padding: 14px 20px !important;
  line-height: 1.4 !important;
  min-height: 48px;
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid var(--border) !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:last-child > .menu-link {
  border-bottom: none !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:hover,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:focus {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* Mobile sub-menu items */
.ast-builder-menu-mobile .main-navigation .sub-menu .menu-link {
  font-size: 0.95rem !important;
  padding: 12px 20px 12px 36px !important;
  min-height: 44px;
  border-bottom: 1px solid var(--border) !important;
}

/* Mobile dropdown toggle arrows */
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px;
}

/* =============================================================
   D. COMPANY INTRO SECTION
   ============================================================= */
.jhs-company-intro {
  padding: 64px 0 56px;
  background: rgb(248, 246, 245);
}

.jhs-container {
  max-width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.jhs-company-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.jhs-company-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 100%;
  margin: 0 0 40px;
}

/* --- Vision / Mission cards (side-by-side, green bottom border) --- */
.jhs-vm-row {
  display: flex;
  gap: 32px;
}

.jhs-vm-card-new {
  flex: 1 1 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.jhs-vm-card-new:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.jhs-vm-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.jhs-vm-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jhs-vm-icon svg {
  width: 20px;
  height: 20px;
}

.jhs-vm-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.jhs-vm-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

.jhs-vm-divider-img {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: stretch;
}

.jhs-vm-divider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =============================================================
   D2. CORE PILLARS SECTION
   ============================================================= */
.jhs-core-pillars {
  padding: 72px 0 80px;
  background: var(--bg);
}

.jhs-pillars-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.jhs-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.jhs-pillar-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.jhs-pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.jhs-pillar-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.jhs-pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jhs-pillar-card:hover .jhs-pillar-img-wrap img {
  transform: scale(1.05);
}

.jhs-pillar-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  background: rgba(8, 96, 0, 0.85);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 2;
}

.jhs-pillar-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jhs-pillar-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jhs-pillar-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 0 14px;
  flex-grow: 1;
}

.jhs-pillar-btn {
  display: inline-block;
  padding: 10px 28px;
  margin-top: auto;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: default;
}

/* =============================================================
   D2b. BRAND PARTNERS
   ============================================================= */
.jhs-brand-partners {
  padding: 48px 0 56px;
  background: rgb(248, 246, 245);
}

.jhs-brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.jhs-brand-logos img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.jhs-brand-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  cursor: pointer;
}

/* =============================================================
   D3. PRODUCT RANGE SECTION
   ============================================================= */
.jhs-product-range {
  padding: 80px 0 72px;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background pattern */
.jhs-product-range::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 96, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.jhs-pr-header {
  margin-bottom: 48px;
}

.jhs-pr-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.jhs-pr-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.jhs-pr-title-accent {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

/* Two-column layout: description + highlights */
.jhs-pr-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.jhs-pr-lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin: 0 0 18px;
}

.jhs-pr-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 28px;
}

/* Highlight cards (Quality Assurance, Sustainability) */
.jhs-pr-highlights-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jhs-pr-highlight {
  display: flex;
  gap: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.jhs-pr-highlight:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.jhs-pr-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.jhs-pr-highlight:hover .jhs-pr-highlight-icon {
  transform: scale(1.08);
}

.jhs-pr-highlight-icon svg {
  width: 24px;
  height: 24px;
}

.jhs-pr-icon-sustainability {
  background: linear-gradient(135deg, #2d8a4e, var(--primary-dark));
}

.jhs-pr-highlight-body {
  flex: 1;
}

.jhs-pr-highlight-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jhs-pr-highlight-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* Category tags */
.jhs-pr-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.jhs-pr-cat {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all var(--transition);
  cursor: default;
}

.jhs-pr-cat:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 96, 0, 0.1);
}

/* =============================================================
   E. FOOTER (new design)
   ============================================================= */
.jhs-footer {
  background: linear-gradient(135deg, #1a1008 0%, #1a1008 70%, #1a3a1a 100%);
  color: #cbd5e1;
  padding: 0;
}

.jhs-footer-inner {
  display: flex;
  gap: 80px;
  max-width: 100%;
  padding: 43px var(--gutter-r) 37px var(--gutter);
}

.jhs-footer-col {
  flex: 1 1 0;
}

.jhs-footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px;
}

.jhs-footer-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.jhs-footer-links-grid {
  display: flex;
  gap: 48px;
}

.jhs-footer-links-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jhs-footer-links-grid li {
  margin-bottom: 10px;
}

.jhs-footer-links-grid a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.jhs-footer-links-grid a:hover {
  color: #fff;
}

.jhs-footer-bottom {
  background: #0a0a0a;
  padding: 14px var(--gutter);
  text-align: center;
}

.jhs-footer-bottom p {
  color: #64748b;
  font-size: 0.82rem;
  margin: 0;
}

.jhs-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.jhs-footer-bottom a:hover {
  color: #fff;
}

/* =============================================================
   G2. ENTRANCE ANIMATION UTILITIES
   ============================================================= */
.jhs-animate {
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.fadeInLeft  { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }
.zoomIn      { animation-name: zoomIn; }

.jhs-delay-1 { animation-delay: 0.1s; }
.jhs-delay-2 { animation-delay: 0.2s; }
.jhs-delay-3 { animation-delay: 0.3s; }
.jhs-delay-4 { animation-delay: 0.4s; }
.jhs-delay-5 { animation-delay: 0.5s; }
.jhs-delay-6 { animation-delay: 0.6s; }
.jhs-delay-7 { animation-delay: 0.7s; }
.jhs-delay-8 { animation-delay: 0.8s; }
.jhs-delay-9 { animation-delay: 0.9s; }
.jhs-delay-10 { animation-delay: 1.0s; }

/* =============================================================
   I. SHARED PAGE BANNER (Investor & Announcements)
   ============================================================= */
.jhs-page-banner {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.jhs-page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jhs-page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 16, 8, 0.85) 0%, rgba(26, 16, 8, 0.85) 65%, rgba(26, 58, 26, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.jhs-page-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.jhs-page-banner-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
}

/* =============================================================
   J. INVESTOR PAGE SECTION
   ============================================================= */
.jhs-investor-section {
  padding: 64px 0 56px;
  background: var(--bg);
}

.jhs-investor-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.jhs-investor-section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0 0 40px;
  max-width: 720px;
}

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

.jhs-investor-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 24px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}

.jhs-investor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.jhs-investor-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.jhs-investor-card:hover .jhs-investor-card-icon {
  transform: scale(1.08);
}

.jhs-investor-card-icon svg {
  width: 22px;
  height: 22px;
}

.jhs-investor-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jhs-investor-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  flex-grow: 1;
}

.jhs-investor-card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition);
}

.jhs-investor-card:hover .jhs-investor-card-arrow {
  gap: 10px;
}

.jhs-investor-card-arrow svg {
  width: 14px;
  height: 14px;
}

/* Investor contact info card */
.jhs-investor-contact {
  padding: 48px 0 56px;
  background: var(--bg-alt);
}

.jhs-investor-contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 600px;
  box-shadow: var(--shadow-sm);
}

.jhs-investor-contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jhs-investor-contact-icon svg {
  width: 22px;
  height: 22px;
}

.jhs-investor-contact-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jhs-investor-contact-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.jhs-investor-contact-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.jhs-investor-contact-body a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* =============================================================
   K. ANNOUNCEMENTS PAGE SECTION
   ============================================================= */
.jhs-announcements-section {
  padding: 64px 0 56px;
  background: var(--bg);
}

.jhs-announcements-header {
  margin-bottom: 32px;
}

.jhs-announcements-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.jhs-announcements-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* Year filter tabs */
.jhs-year-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.jhs-year-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  user-select: none;
}

.jhs-year-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.jhs-year-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Announcements count badge */
.jhs-year-tab .jhs-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.25);
}

.jhs-year-tab:not(.active) .jhs-tab-count {
  background: var(--bg-alt);
  color: var(--text-light);
}

/* Announcement list items */
.jhs-announcements-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jhs-announcement-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}

.jhs-announcement-item:last-child {
  border-bottom: 0;
}

.jhs-announcement-item:hover {
  background: var(--primary-light);
}

.jhs-pdf-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  /* PDF document icon with ribbon label */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%236b7280' d='M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6H6z'/%3E%3Cpath fill='%23ffffff' d='M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6H6zm0 2h7v5a1 1 0 0 0 1 1h5v10H6V4z'/%3E%3Crect fill='%23dc2626' x='6' y='14' width='12' height='6' rx='1'/%3E%3Ctext x='12' y='19' text-anchor='middle' fill='%23ffffff' font-family='Arial,sans-serif' font-size='4' font-weight='bold'%3EPDF%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.jhs-announcement-item:hover .jhs-pdf-icon {
  background-color: var(--primary-light);
  border-color: var(--border);
}

.jhs-pdf-icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  transition: color var(--transition);
}

.jhs-announcement-item:hover .jhs-pdf-icon svg {
  color: #ffffff;
}

.jhs-announcement-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-soft);
  line-height: 1.5;
  transition: color var(--transition);
}

.jhs-announcement-item:hover .jhs-announcement-title {
  color: var(--primary-dark);
}

/* Hidden state for filtered items */
.jhs-announcement-item.jhs-hidden {
  display: none;
}

/* Year group heading (visible when "All" tab is active) */
.jhs-year-group-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  padding: 20px 20px 8px;
  margin: 0;
  letter-spacing: -0.01em;
}

.jhs-year-group-heading.jhs-hidden {
  display: none;
}

/* =============================================================
   F. HERO SECTION  (relocated verbatim â€” do NOT redesign)
   ============================================================= */
.hero-section {
  position: relative;
  width: 100%;
  /* --app-vh is fed from the parent's real viewport height via postMessage
     (1vh inside an auto-sized iframe is circular, which stretches the hero).
     Falls back to 1vh when opened standalone. */
  height: max(calc(var(--app-vh, 1vh) * 70), 640px);
  min-height: 640px;
  background-color: #f4f6f8;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0) 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  padding-left: var(--gutter) !important;
  padding-right: 10% !important;
}

.hero-overlay h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark) !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  max-width: 90%;
  letter-spacing: -0.03em;
}

.hero-overlay p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.btn-group { display: flex; gap: 1rem; }

.btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 14px rgba(8, 96, 0, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: rgba(248, 246, 245, 0.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 96, 0, 0.4);
}

.btn-outline {
  background: rgba(255,255,255,0.8);
  color: var(--dark);
  border: 2px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

.montage-container {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  overflow: hidden;
}

.scrolling-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.scroll-panel {
  height: 100%;
  width: 14.7vw;
  min-width: 160px;
}

.scroll-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sketch-effect img {
  filter: grayscale(100%) contrast(120%) opacity(0.8);
}

/* =============================================================
   G. UTILITIES / MISC
   ============================================================= */

/* --- Loading overlay with breathing logo --- */
/* When active, expand the iframe document to fill the parent viewport */
.home-frame-body.jhs-loader-active {
  min-height: 100vh !important;
  height: 100vh !important;
}

.jhs-loader-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jhs-loader-logo {
	width: 80px;
	height: 80px;
	object-fit: contain;
	animation: jhs-breathe 2.4s ease-in-out infinite;
}

@keyframes jhs-breathe {
	0%, 100% {
		transform: scale(1);
		opacity: 0.6;
		filter: drop-shadow(0 0 4px rgba(8, 96, 0, 0.1));
	}
	50% {
		transform: scale(1.12);
		opacity: 1;
		filter: drop-shadow(0 0 16px rgba(8, 96, 0, 0.25));
	}
}

.jhs-loader-fade-out {
	animation: jhs-fade-out 0.6s ease forwards;
}

@keyframes jhs-fade-out {
	0% { opacity: 1; }
	100% { opacity: 0; visibility: hidden; }
}

/* Scroll-to-top button */
#ast-scroll-top {
  background: var(--primary) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 18px !important;
  box-shadow: var(--shadow) !important;
  transition: all var(--transition) !important;
}

#ast-scroll-top:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg) !important;
}

/* =============================================================
   H. RESPONSIVE BREAKPOINTS
   ============================================================= */

/* ---- Tablet (<= 1024px) ---- */
@media (max-width: 1024px) {
  .ast-site-title-wrap .site-title a {
    font-size: 0.85rem !important;
    line-height: 1.15;
  }

  .site-logo-img img,
  header .custom-logo-link img {
    width: 36px !important;
    max-width: 36px !important;
  }

  .site-branding { gap: 8px; }

  .jhs-company-title { font-size: 2rem; }
  .jhs-pillars-title { font-size: 1.8rem; }
  .jhs-pr-title { font-size: 2rem; }
  .jhs-pr-content { gap: 32px; }

  .hero-overlay { width: 70% !important; padding-left: var(--gutter) !important; }
  .hero-overlay h1 { font-size: 2.8rem; }
}

/* ---- Mobile (<= 768px) ---- */
@media (max-width: 768px) {
  /* Branding scales down */
  .site-branding { gap: 6px; }

  .ast-site-title-wrap .site-title a br {
    display: none !important;
  }

  .site-logo-img img,
  header .custom-logo-link img {
    width: 32px !important;
    max-width: 32px !important;
  }

  .ast-site-title-wrap .site-title a {
    font-size: 0.81rem !important;
    line-height: 1.15;
  }

  .ast-site-title-wrap {
    min-width: 0;
  }

  /* Mobile header bar */
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar,
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-below-header-bar,
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
    border-bottom: 0;
    position: static !important;
    width: 100% !important;
  }

  #masthead { position: sticky !important; top: 0; }

  /* Mobile navbar — compact vertical spacing */
  #ast-mobile-header .ast-primary-header-bar,
  .ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
  }

  /* Strip padding from grid row so hamburger touches page edge */
  #ast-mobile-header .ast-builder-grid-row-container,
  #ast-mobile-header .ast-builder-grid-row,
  .ast-header-break-point .ast-mobile-header-wrap .ast-builder-grid-row-container,
  .ast-header-break-point .ast-mobile-header-wrap .ast-builder-grid-row {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Strip Astra's 0 10px padding on section children to reclaim space */
  #ast-mobile-header .site-header-section > *,
  .ast-header-break-point .ast-mobile-header-wrap .site-header-section > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Remove Astra's large margin-left on branding for mobile */
  #ast-mobile-header .ast-site-identity,
  .ast-header-break-point .ast-mobile-header-wrap .ast-site-identity {
    margin-left: 0 !important;
  }

  /* Force hamburger icon to the extreme right corner */
  #ast-mobile-header .site-header-primary-section-right,
  .ast-header-break-point .site-header-primary-section-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding-right: 8px !important;
  }

  #ast-mobile-header [data-section="section-header-mobile-trigger"],
  .ast-header-break-point [data-section="section-header-mobile-trigger"] {
    margin-left: auto;
  }

  .ast-header-break-point .ast-mobile-header-wrap .ast-flex.stack-on-mobile {
    flex-wrap: wrap;
    padding-top: 0 !important;
    position: relative !important;
  }

  /* Company Intro */
  .jhs-company-intro { padding: 40px 0 36px; }
  .jhs-container { padding: 0 20px; }
  .jhs-company-title { font-size: 1.6rem; }
  .jhs-vm-row { flex-direction: column; gap: 20px; }
  .jhs-vm-divider-img { width: 100%; align-self: stretch; height: 160px; }

  /* Core Pillars */
  .jhs-core-pillars { padding: 48px 0 56px; }
  .jhs-pillars-title { font-size: 1.5rem; }
  .jhs-pillars-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Brand Partners */
  .jhs-brand-partners { padding: 36px 0 44px; }
  .jhs-brand-logos {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .jhs-brand-logos img {
    max-height: 48px;
  }

  /* Product Range */
  .jhs-product-range { padding: 48px 0 56px; }
  .jhs-pr-title { font-size: 1.6rem; }
  .jhs-pr-lead { font-size: 1.1rem; }
  .jhs-pr-content { grid-template-columns: 1fr; gap: 32px; }
  .jhs-pr-categories { gap: 8px; }
  .jhs-pr-cat { padding: 6px 16px; font-size: 0.82rem; }

  /* Hero overlay full width on mobile */
  .hero-section {
    min-height: 620px;
    height: max(calc(var(--app-vh, 1vh) * 70), 620px);
  }

  .hero-overlay {
    width: 100% !important;
    background: rgba(255,255,255,0.9);
    padding: 48px 5% !important;
  }
  .hero-overlay h1 { font-size: 2rem; }
  .btn-group { flex-direction: column; }
  .scroll-panel { width: 60vw; }

  /* Footer */
  .jhs-footer-inner {
    flex-direction: column;
    gap: 32px;
    padding: 31px 20px 24px;
  }

  .jhs-footer-links-grid {
    flex-direction: column;
    gap: 20px;
  }

  /* Page banner */
  .jhs-page-banner { height: 200px; }
  .jhs-page-banner-title { font-size: 1.8rem; }
  .jhs-page-banner-subtitle { font-size: 0.92rem; }

  /* Investor grid */
  .jhs-investor-section { padding: 40px 0 36px; }
  .jhs-investor-section-title { font-size: 1.6rem; }
  .jhs-investor-section-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .jhs-investor-grid { grid-template-columns: 1fr; gap: 16px; }
  .jhs-investor-card { padding: 20px; }
  .jhs-investor-contact { padding: 36px 0 40px; }
  .jhs-investor-contact-box { flex-direction: column; align-items: center; text-align: center; padding: 24px; }

  /* Announcements */
  .jhs-announcements-section { padding: 40px 0 36px; }
  .jhs-announcements-title { font-size: 1.6rem; }
  .jhs-year-tabs { gap: 8px; }
  .jhs-year-tab { padding: 6px 16px; font-size: 0.82rem; }
  .jhs-announcement-item { padding: 14px 16px; gap: 12px; }
  .jhs-pdf-icon { width: 36px; height: 36px; }
  .jhs-announcement-title { font-size: 0.88rem; }
}

/* ---- Tablet (<= 1024px) ---- */
@media (max-width: 1024px) {
  .jhs-page-banner { height: 240px; }
  .jhs-page-banner-title { font-size: 2.2rem; }
  .jhs-investor-section-title { font-size: 1.8rem; }
  .jhs-investor-section-desc { font-size: 1rem; }
  .jhs-investor-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .jhs-announcements-title { font-size: 1.8rem; }
}

/* =============================================================
   LIGHTBOX — Brand Partner Image Viewer
   ============================================================= */
.jhs-lightbox-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.jhs-lightbox-overlay.active {
  display: block;
  opacity: 1;
}

/* Content wrapper: positioned by JS at the visible viewport center.
   left: 50% keeps it horizontally centered; transform: translateY(-50%)
   vertically centers relative to the JS-set top value. */
.jhs-lightbox-content {
  position: absolute;
  left: 50%;
  top: 0;              /* overridden by JS */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.jhs-lightbox-img-wrap {
  position: relative;
  pointer-events: auto;
  display: inline-block;
}

.jhs-lightbox-img {
  max-width: 216px;   /* default 3× desktop brand max-height (72px ≈ ~72px wide) */
  max-height: 216px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: jhsLightboxIn 0.25s ease;
}

@keyframes jhsLightboxIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.jhs-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
  box-sizing: border-box;
}

.jhs-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.jhs-lightbox-close:hover {
  opacity: 0.6;
}

/* Mobile lightbox */
@media (max-width: 544px) {
  .jhs-lightbox-img {
    max-width: 144px;  /* 3× mobile brand max-height (48px) */
    max-height: 144px;
  }
	  .jhs-lightbox-close {
	    font-size: 18px;
	    width: 24px;
	    height: 24px;
	  }
}

/* ===================================================================
   SECTION H: ABOUT US / CONTACT PAGES
   =================================================================== */

/* --- About Us text block --- */
.jhs-about-text {
  max-width: 900px;
  margin: 0 auto;
}
.jhs-about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.2em;
}
.jhs-about-text p:last-child {
  margin-bottom: 0;
}

/* --- Contact cards grid --- */
.jhs-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .jhs-contact-grid {
    grid-template-columns: 1fr;
  }
}

.jhs-contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.jhs-contact-card:hover {
  box-shadow: var(--shadow-md);
}

.jhs-contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.jhs-contact-card-header .jhs-pdf-icon {
  flex-shrink: 0;
  background-image: none;
}
.jhs-contact-card-header .jhs-pdf-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
/* Management page uses person icons, not PDF */
#managementList .jhs-pdf-icon {
  background-image: none;
}
#managementList .jhs-pdf-icon svg {
  color: var(--primary);
}

.jhs-contact-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin: 0;
}

.jhs-contact-card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.6em;
}
.jhs-contact-card-body p:last-child {
  margin-bottom: 0;
}
.jhs-contact-card-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.jhs-contact-card-body a:hover {
  text-decoration: underline;
}

/* --- Contact image --- */
.jhs-contact-image {
  margin-top: 32px;
  text-align: center;
}
.jhs-contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* --- Management info inside announcement-item --- */
.jhs-management-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jhs-management-role {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  font-style: italic;
}

/* --- Contact form --- */
.jhs-contact-form {
  max-width: 800px;
  margin: 24px auto 0;
}

.jhs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .jhs-form-grid {
    grid-template-columns: 1fr;
  }
}

.jhs-form-group.jhs-form-full {
  grid-column: 1 / -1;
}

.jhs-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.jhs-form-group input[type="text"],
.jhs-form-group input[type="email"],
.jhs-form-group input[type="number"],
.jhs-form-group input[type="file"],
.jhs-form-group textarea,
.jhs-form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.jhs-form-group input:focus,
.jhs-form-group textarea:focus,
.jhs-form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 96, 0, 0.1);
}
.jhs-form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.jhs-form-group input[type="file"] {
  padding: 10px 16px;
  cursor: pointer;
}
.jhs-form-group input::placeholder,
.jhs-form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.jhs-form-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.jhs-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.jhs-form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.jhs-form-submit:active {
  transform: translateY(0);
}

/* --- Map section --- */
.jhs-map-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 var(--gutter, 8%) 32px;
}
.jhs-map-section iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* --- Careers hero image --- */
.jhs-careers-image {
  text-align: center;
  padding: 0 var(--gutter, 8%);
  margin-bottom: 8px;
}
.jhs-careers-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===================================================================
   SECTION I: STORE PORTFOLIO GALLERY
   =================================================================== */

/* --- Store section wrapper --- */
.jhs-store-section {
  padding: 48px 0;
}
.jhs-store-section-alt {
  background: var(--bg-alt);
}

.jhs-store-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 16px;
}
.jhs-store-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* --- Store photo grid --- */
.jhs-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .jhs-store-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .jhs-store-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.jhs-store-img-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.jhs-store-img-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.jhs-store-img-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.jhs-store-img-item:hover img {
  transform: scale(1.05);
}

/* --- Form submission states (AJAX) --- */
.jhs-form-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.jhs-form-submit .jhs-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: jhs-spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes jhs-spin {
  to { transform: rotate(360deg); }
}
.jhs-form-status {
  text-align: center;
  padding: 32px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.jhs-form-status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}
.jhs-form-status-icon.success {
  background: #ecfdf5;
  color: #059669;
}
.jhs-form-status-icon.error {
  background: #fef2f2;
  color: #dc2626;
}
.jhs-form-status-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin: 0 0 8px;
}
.jhs-form-status-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 20px;
}
.jhs-form-status-retry {
  display: inline-block;
  padding: 10px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.jhs-form-status-retry:hover {
  background: var(--primary);
  color: #ffffff;
}
