/* ==========================================================================
   Bedi Group - Landing Page Design System & Stylesheet
   Accent Color: #740C0C (Deep Regal Maroon)
   Default Theme: Light Theme (Switchable to Dark Theme via Toggle)
   Features: Hero Background Image, Media Press Features, Visual Icons & Animations
   ========================================================================== */

:root {
  color-scheme: light;
  --ground: #FAF7F5;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --sunk: #F4ECE9;
  --ink: #1B080D;
  --ink-2: #4A3337;
  --ink-3: #755B60;
  --line: #E5D9D7;
  --line-strong: #D1BFC2;

  /* Primary Accent: #740C0C */
  --accent: #740C0C;
  --accent-hover: #540808;
  --accent-deep: #4D0707;
  --accent-dark: #360505;
  --accent-light: #941313;
  --accent-soft: #FDF1F1;
  --accent-border: rgba(116, 12, 12, 0.2);
  --accent-ink: #FFFFFF;

  /* Maroon tokens mapped directly to #740C0C */
  --maroon: #740C0C;
  --maroon-deep: #4D0707;
  --maroon-dark: #360505;
  --maroon-light: #941313;
  --maroon-soft: #FDF1F1;
  --maroon-ink: #FFFFFF;

  /* Secondary Accents */
  --marigold: #C98808;
  --marigold-hover: #AF7403;
  --marigold-soft: #FDF6E7;
  --chili: #B3401F;
  --chili-soft: #FDEFEA;
  --leaf: #237A47;
  --leaf-soft: #E8F7EE;
  --sky: #20628E;
  --sky-soft: #E9F3FA;

  /* Hero Palette */
  --hero-ground: #740C0C;
  --hero-ground-deep: #2A0407;
  --hero-ink: #FCF9F8;
  --hero-dim: #E5C2C6;

  /* Legacy alias */
  --peacock: var(--accent);
  --peacock-light: var(--accent-light);
  --peacock-soft: var(--accent-soft);
  --peacock-ink: var(--accent-ink);

  /* Typography Tokens: Bespoke Luxury Conglomerate System */
  --serif: "Playfair Display", "Cinzel", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Grotesk", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1440px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 14px 34px -10px rgba(116, 12, 12, 0.09), 0 4px 14px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 26px 54px -12px rgba(116, 12, 12, 0.16), 0 8px 24px -4px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 35px rgba(201, 136, 8, 0.22);
}

/* User-Activated Dark Theme ONLY (Default is Light) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0C0204;
  --surface: #160609;
  --surface-raised: #200B0F;
  --sunk: #280E14;
  --ink: #FAF3F4;
  --ink-2: #D8BFC3;
  --ink-3: #A6878D;
  --line: #37141C;
  --line-strong: #54202B;

  --accent: #E03535;
  --accent-hover: #FF4D4D;
  --accent-deep: #8F1111;
  --accent-dark: #590B0B;
  --accent-light: #FF5C5C;
  --accent-soft: #2E080C;
  --accent-border: rgba(224, 53, 53, 0.3);
  --accent-ink: #FFFFFF;

  --maroon: var(--accent);
  --maroon-deep: var(--accent-deep);
  --maroon-dark: var(--accent-dark);
  --maroon-light: var(--accent-light);
  --maroon-soft: var(--accent-soft);
  --maroon-ink: var(--accent-ink);

  --marigold: #F5B838;
  --marigold-hover: #EDB02E;
  --marigold-soft: #2D240E;
  --chili: #EB7954;
  --chili-soft: #2E1912;
  --leaf: #5DC489;
  --leaf-soft: #11291C;
  --sky: #63ADE0;
  --sky-soft: #122736;

  --hero-ground: #1A0307;
  --hero-ground-deep: #080102;
  --hero-ink: #FAF3F4;
  --hero-dim: #D4AFB5;

  --peacock: var(--accent);
  --peacock-light: var(--accent-light);
  --peacock-soft: var(--accent-soft);
  --peacock-ink: var(--accent-ink);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 34px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 26px 54px -12px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.bedi-group-page,
body.southbanks-active {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a {
  color: inherit;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}

/* Headings with high contrast & editorial serif aesthetic */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.022em;
  color: var(--ink);
  line-height: 1.16;
}

.hero h1 {
  color: var(--hero-ink);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.div-head h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.div-head h2 em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
}

p {
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marigold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Section Header Badges: Modern luxury glass capsules */
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sec-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.sec-badge.foods-badge {
  border-color: rgba(201, 136, 8, 0.35);
  background: var(--marigold-soft);
  color: #7A5304;
}

.sec-badge.rest-badge {
  border-color: rgba(179, 64, 31, 0.35);
  background: var(--chili-soft);
  color: var(--chili);
}

.sec-badge.pharma-badge {
  border-color: rgba(32, 98, 142, 0.35);
  background: var(--sky-soft);
  color: var(--sky);
}

.sec-badge.const-badge {
  border-color: var(--line-strong);
  background: var(--sunk);
  color: var(--ink-2);
}

.sec-badge.tech-badge {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
}

.sec-badge.found-badge {
  border-color: rgba(35, 122, 71, 0.35);
  background: var(--leaf-soft);
  color: var(--leaf);
}

.sec-badge.press-badge {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  max-width: max-content;
}

.mono {
  font-family: var(--mono);
}

/* ---------- Header: Modern Frosted Glass Floating Topbar ---------- */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: transparent;
  transition: all 0.25s ease;
}

.site-head.is-scrolled {
  background: rgba(250, 247, 245, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(116, 12, 12, 0.08);
}

:root[data-theme="dark"] .site-head.is-scrolled {
  background: rgba(12, 2, 4, 0.88);
  border-bottom: 1px solid rgba(224, 53, 53, 0.14);
}

.head-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 120px;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: none;
}

.brand-logo-img {
  height: 90px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text .brand-tagline {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marigold);
  font-weight: 700;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
  min-width: 0;
  padding-block: 4px;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-mobile-logo {
  display: none;
}

.nav a {
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.site-head.is-scrolled .nav a {
  color: var(--ink-2);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--marigold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover {
  background: var(--sunk);
  color: var(--accent);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.nav-current::after {
  width: 22px;
}

.nav a.nav-current {
  color: #c98808;
  font-weight: 700;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  margin-left: 6px;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.theme-icon-sun,
.theme-icon-moon {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Default / Light: show Moon to toggle Dark */
:root:not([data-theme="dark"]) .theme-icon-sun {
  display: none;
}

:root:not([data-theme="dark"]) .theme-icon-moon {
  display: block;
}

/* Dark Mode: show Sun to toggle Light */
:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
  color: #F5B838;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
}

@media (max-width: 820px) {
  .head-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
    align-items: center;
    padding: 20px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .theme-toggle {
    order: 2;
    margin-left: auto;
  }

  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--hero-ground);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 60px 30px;
    gap: 15px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  :root[data-theme="dark"] .nav {
    background: var(--hero-ground);
  }

  .nav.is-open {
    right: 0;
  }

  .nav a {
    font-size: 18px;
    padding: 14px 12px;
    text-align: left;
    width: 100%;
    color: var(--hero-ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .nav-mobile-logo {
    display: block;
    width: 140px;
    height: auto;
    margin-bottom: 20px;
  }
  
  .hero-cta,
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn,
  .cta-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Hero with Rich #740C0C Image Background ---------- */
.hero {
  position: relative;
  background: var(--hero-ground);
  color: var(--hero-ink);
  overflow: hidden;
  padding-top: clamp(150px, 15vw, 220px);
  padding-bottom: clamp(60px, 10vw, 120px);
  margin-top: -130px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(circle at 1px 1px, var(--hero-ink) 1.2px, transparent 1.3px);
  background-size: 24px 24px;
  mask-image: linear-gradient(110deg, transparent 25%, #000 85%);
  -webkit-mask-image: linear-gradient(110deg, transparent 25%, #000 85%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-inline: 0;
}

.hero .eyebrow {
  color: var(--hero-dim);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.02;
  margin-top: 18px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: normal;
  color: var(--marigold);
  text-shadow: 0 0 24px rgba(201, 136, 8, 0.35);
}

.hero-lede {
  margin-top: 24px;
  max-width: 36em;
  color: var(--hero-dim);
  font-size: 19px;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-gold {
  background: var(--marigold);
  color: #1A1303;
  font-weight: 700;
}

.btn-gold:hover {
  background: #E8A81D;
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--hero-ink) 35%, transparent);
  color: var(--hero-ink);
  background: color-mix(in srgb, var(--hero-ink) 6%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--hero-ink) 15%, transparent);
  border-color: var(--hero-ink);
}

.presence {
  background: color-mix(in srgb, var(--hero-ground-deep) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-ink) 18%, transparent);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.presence-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--hero-dim);
  font-size: 12px;
}

.presence li {
  list-style: none;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding-block: 13px;
  border-bottom: 1px solid color-mix(in srgb, var(--hero-ink) 12%, transparent);
}

.presence li:last-child {
  border-bottom: none;
}

.presence ul {
  margin: 0;
  padding: 0;
}

.presence .code {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--marigold);
  background: color-mix(in srgb, var(--marigold) 18%, transparent);
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
}

.presence .place {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}

.presence .role {
  font-size: 13.5px;
  color: var(--hero-dim);
  text-align: right;
}

.presence-cap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in srgb, var(--hero-ink) 20%, transparent);
  font-size: 13.5px;
  color: var(--hero-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.presence-cap svg {
  width: 14px;
  height: 14px;
  color: var(--marigold);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Media / News Press Feature Section ---------- */
/* ---------- Media / News Press Feature Section ---------- */
.press-section {
  padding-block: clamp(72px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.press-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.press-header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.press-header h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.press-header-desc {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 34em;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.5vw, 36px);
}

.press-card {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.press-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.press-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.press-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  max-height: 280px;
  overflow: hidden;
  background: var(--sunk);
}

.press-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.press-card:hover .press-thumb-img {
  transform: scale(1.04);
}

.press-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.press-pub-tag {
  position: absolute;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.pub-logo-badge {
  background: #740C0C;
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.pub-date {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.press-verified-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgb(255 255 255);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #740c0c;
  border: 1px solid rgb(255 255 255 / 18%);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
}

.press-card-body {
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 14px;
}

.press-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}

.press-category {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.meta-dot {
  color: var(--line-strong);
  font-size: 12px;
}

.press-readtime {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.press-byline {
  font-size: 12.5px;
  color: var(--ink-3);
}

.press-card-title {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  transition: color 0.2s ease;
}

.press-card:hover .press-card-title {
  color: var(--accent);
}

.press-quote {
  margin: 2px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.press-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.press-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.press-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s ease, color 0.2s ease;
}

.press-card:hover .press-cta-link {
  gap: 11px;
  color: var(--marigold);
}

.press-source-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .press-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Showcase Visual Graphics Banners ---------- */
.showcase-banner {
  margin-block: 36px 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.showcase-banner-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}

.showcase-banner-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-banner:hover .showcase-banner-img {
  transform: scale(1.03);
}

.showcase-banner-text {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-banner-text h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.15;
}

.showcase-banner-text p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .showcase-banner-inner {
    grid-template-columns: 1fr;
  }

  .showcase-banner-img {
    max-height: 240px;
  }
}

/* ---------- Index of divisions ---------- */
.index {
  padding-block: 64px 32px;
}

.index-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}

.index-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-top: 10px;
}

.index-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.idx {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.idx::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  transition: height 0.25s ease;
}

.idx:hover {
  background: var(--surface-raised);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.idx:hover::before {
  height: 100%;
}

.idx.idx-foods::before {
  background: var(--marigold);
}

.idx.idx-rest::before {
  background: var(--chili);
}

.idx.idx-pharma::before {
  background: var(--sky);
}

.idx.idx-const::before {
  background: var(--accent);
}

.idx.idx-tech::before {
  background: var(--accent);
}

.idx.idx-found::before {
  background: var(--leaf);
}

.idx-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.idx:hover .idx-icon-wrap {
  transform: scale(1.08);
}

.idx.idx-foods .idx-icon-wrap {
  background: var(--marigold-soft);
  color: var(--marigold);
}

.idx.idx-rest .idx-icon-wrap {
  background: var(--chili-soft);
  color: var(--chili);
}

.idx.idx-pharma .idx-icon-wrap {
  background: var(--sky-soft);
  color: var(--sky);
}

.idx.idx-const .idx-icon-wrap {
  background: var(--sunk);
  color: var(--accent);
}

.idx.idx-tech .idx-icon-wrap {
  background: var(--accent-soft);
  color: var(--accent);
}

.idx.idx-found .idx-icon-wrap {
  background: var(--leaf-soft);
  color: var(--leaf);
}

.idx-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

.idx h3 {
  font-size: 25px;
  letter-spacing: -0.01em;
}

.idx p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.idx .go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}

.idx:hover .go {
  gap: 10px;
  color: var(--marigold);
}

@media (max-width: 900px) {
  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .index-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Division sections ---------- */
.div {
  padding-block: clamp(68px, 8vw, 110px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 74px;
}

.div-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.div-head .lede {
  color: var(--ink-2);
  font-size: 18.5px;
  max-width: 38em;
  line-height: 1.65;
}

.div-head .lede+.lede {
  margin-top: 16px;
}

.links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-pill .arr {
  color: var(--accent);
  font-weight: bold;
}

@media (max-width: 880px) {
  .div-head {
    grid-template-columns: 1fr;
  }
}

.block {
  margin-top: 48px;
}

.block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.block-title h3 {
  font-size: 24px;
}

/* Foods Products Grid with Icons */
.lines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.line {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.line:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.line-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.line h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
}

.line .kind {
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-weight: 600;
}

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

.chip {
  font-size: 13.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--marigold-soft);
  color: #735003;
  border: 1px solid rgba(201, 136, 8, 0.25);
}

.line.wide {
  grid-column: span 2;
}

@media (max-width: 980px) {
  .lines {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .lines {
    grid-template-columns: 1fr;
  }

  .line.wide {
    grid-column: auto;
  }
}

.clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.client {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.client-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.client:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.client b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
}

.client span {
  font-size: 14.5px;
  color: var(--ink-2);
}

@media (max-width: 760px) {
  .clients {
    grid-template-columns: 1fr;
  }
}

/* Restaurants Locations */
.locs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.loc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.loc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loc-pin {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--chili-soft);
  color: var(--chili);
  display: grid;
  place-items: center;
}

.loc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.loc .city {
  font-family: var(--serif);
  font-size: 24px;
}

.loc address {
  font-style: normal;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.loc .status {
  margin-top: 10px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.st-open {
  background: var(--leaf-soft);
  color: var(--leaf);
  border: 1px solid rgba(35, 122, 71, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  display: inline-block;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(35, 122, 71, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(35, 122, 71, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(35, 122, 71, 0);
  }
}

.st-soon {
  background: var(--marigold-soft);
  color: var(--ink);
}

@media (max-width: 900px) {
  .locs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .locs {
    grid-template-columns: 1fr;
  }
}

.brand-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.brand-card {
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover {
  transform: translateY(-4px);
}

.brand-card.bb {
  background: linear-gradient(135deg, #740C0C, #450606);
  color: #FFF6F0;
}

.brand-card.nh {
  background: linear-gradient(135deg, #C98808, #875902);
  color: #1A1303;
}

.brand-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  color: inherit;
}

.brand-card p {
  opacity: 0.95;
  font-size: 16px;
  line-height: 1.55;
}

.brand-card a {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-card a:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .brand-pair {
    grid-template-columns: 1fr;
  }
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 15.5px;
}

th,
td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--sunk);
}

td.name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

td .sub {
  display: block;
  font-size: 13.5px;
  color: var(--ink-3);
  font-family: var(--sans);
  margin-top: 3px;
}

.swap {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: bold;
}

.salt {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
}

.effects {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.effects .lab {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

.fx {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
}

.note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 60em;
  line-height: 1.6;
}

/* Construction */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.svc {
  font-weight: 600;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.typ {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.typ.res {
  background: var(--sky-soft);
  color: var(--sky);
  border: 1px solid rgba(32, 98, 142, 0.2);
}

.typ.com {
  background: var(--chili-soft);
  color: var(--chili);
  border: 1px solid rgba(179, 64, 31, 0.2);
}

.typ.next {
  background: var(--marigold-soft);
  color: #755204;
  border: 1px solid rgba(201, 136, 8, 0.25);
}

/* Tech Split Panel */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.panel h4 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}

.ticks li svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--marigold);
  flex-shrink: 0;
}

.lr {
  background: linear-gradient(145deg, #4A0707, #260303);
  color: var(--hero-ink);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.lr h4 {
  color: var(--hero-ink);
}

.lr .ticks li {
  color: var(--hero-dim);
}

.lr a {
  color: var(--marigold);
  font-weight: 600;
}

.lr a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Foundation Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--leaf);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* Leadership */
.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(116, 12, 12, 0.35);
}

.founder h3 {
  font-size: clamp(40px, 4.5vw, 56px);
}

.founder p {
  color: var(--ink-2);
  margin-top: 12px;
  max-width: 44em;
  font-size: 20px;
  line-height: 1.6;
}

.team {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.person {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.person:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.person .av {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  box-shadow: inset 0 2px 4px rgba(116, 12, 12, 0.08);
}

.person b {
  display: block;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}

.person span {
  font-size: 14px;
  color: var(--ink-3);
  display: block;
  margin-top: 2px;
}

.person .role-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-top: 4px;
}

@media (max-width: 960px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team {
    grid-template-columns: 1fr;
  }

  .founder {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* Footer / Contact */
.foot {
  background: linear-gradient(135deg, rgba(116, 12, 12, 0.98) 0%, rgba(65, 6, 6, 0.98) 50%, rgba(25, 2, 2, 0.99) 100%);
  color: var(--hero-ink);
  padding-block: 68px 48px;
  margin-top: 0;
  scroll-margin-top: 74px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.foot h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  color: var(--hero-ink);
}

.foot .eyebrow {
  color: var(--hero-dim);
}

.foot p,
.foot li {
  color: var(--hero-dim);
  font-size: 15.5px;
}

.foot ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.foot a {
  color: var(--hero-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.foot a:hover {
  text-decoration: underline;
  color: var(--marigold);
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.copy-btn {
  font: 600 13.5px var(--sans);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in srgb, var(--hero-ink) 35%, transparent);
  background: color-mix(in srgb, var(--hero-ink) 8%, transparent);
  color: var(--hero-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background: color-mix(in srgb, var(--hero-ink) 20%, transparent);
  border-color: var(--hero-ink);
}

.copy-btn:active {
  transform: scale(0.96);
}

.foot-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--hero-ink) 18%, transparent);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--hero-dim);
}

@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll-Driven Entrance Animations ---------- */
.animate-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-parent>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-parent.is-revealed>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-parent.is-revealed>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-parent.is-revealed>*:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-parent.is-revealed>*:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger-parent.is-revealed>*:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger-parent.is-revealed>*:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger-parent.is-revealed>*:nth-child(6) {
  transition-delay: 0.40s;
}

/* Dark Mode Component Overrides */
:root[data-theme="dark"] .chip {
  background: var(--marigold-soft);
  color: #F5B838;
  border-color: rgba(245, 184, 56, 0.3);
}

:root[data-theme="dark"] .typ.next {
  background: var(--marigold-soft);
  color: #F5B838;
  border-color: rgba(245, 184, 56, 0.3);
}

:root[data-theme="dark"] .st-soon {
  background: var(--marigold-soft);
  color: #F5B838;
}

:root[data-theme="dark"] .brand-logo-img {
  content: url('../images/Bedi Group.png');
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

:root[data-theme="dark"] .press-card {
  background: var(--surface);
  border-color: var(--line);
}

:root[data-theme="dark"] .press-card:hover {
  background: var(--surface-raised);
}

:root[data-theme="dark"] .press-quote {
  background: rgba(224, 53, 53, 0.12);
  border-left-color: var(--accent);
  color: var(--ink-2);
}

:root[data-theme="dark"] .press-thumb-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(15, 3, 6, 0.85) 100%);
}

:root[data-theme="dark"] .line-icon,
:root[data-theme="dark"] .client-icon {
  background: rgba(224, 53, 53, 0.15);
  color: var(--accent);
}

/* Removed duplicate header theme toggle media query to prevent conflicts */

/* ==========================================================================
   INTERACTIVE VENTURE TABS & SHOWCASE CARDS (Modern Luxury Design)
   ========================================================================== */

.venture-tabs-section,
.divisions-showcase-section {
  padding-block: clamp(70px, 8.5vw, 120px);
  scroll-margin-top: 80px;
}

.divisions-showcase-head {
  text-align: left;
}

.divisions-showcase-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 12px;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.divisions-showcase-subtitle,
.index-subtitle {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 48em;
  margin-top: 10px;
  font-weight: 400;
}

.v-tabs-nav-wrap {
  width: 100%;
}

/* Modern Segmented Tab Navigation Bar */
.v-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

:root[data-theme="dark"] .v-tabs-nav {
  background: var(--surface-raised);
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.v-tabs-nav::-webkit-scrollbar {
  display: none;
}

.v-tab,
.v-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  transition: color 0.25s ease, transform 0.25s ease;
}

.v-tab-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.v-tab:hover,
.v-tab-btn:hover {
  color: var(--accent);
  background: var(--sunk);
}

.v-tab:hover .v-tab-icon,
.v-tab-btn:hover .v-tab-icon {
  color: var(--accent);
  transform: translateY(-1px);
}

.v-tab.active,
.v-tab-btn.active {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(116, 12, 12, 0.32);
  border-color: var(--accent);
}

.v-tab.active .v-tab-icon,
.v-tab-btn.active .v-tab-icon {
  color: var(--marigold);
}

/* Tab Panels & Showcase Card */
.v-panels-wrap,
.v-panels-container {
  margin-top: 28px;
}

.v-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.v-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 136, 8, 0.35);
  transform: translateY(-2px);
}

.v-card-media {
  position: relative;
  min-height: 400px;
  background: var(--sunk);
  overflow: hidden;
}

.v-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-card:hover .v-card-img {
  transform: scale(1.03);
}

.v-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(20, 3, 5, 0.48) 100%);
  pointer-events: none;
}

.v-card-tag-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 3, 5, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v-card-body {
  padding: clamp(32px, 4.5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v-card-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: 10px;
  display: block;
}

.v-card-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 36px);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.v-card-desc {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.v-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.v-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(116, 12, 12, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(116, 12, 12, 0.38);
}

.btn-ghost-subtle {
  background: transparent;
  color: var(--ink-2);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.btn-ghost-subtle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--surface-raised);
}

@media (max-width: 900px) {
  .v-card {
    grid-template-columns: 1fr;
  }

  .v-card-media {
    min-height: 280px;
  }
}

/* ==========================================================================
   FOUNDER & LEADERSHIP REAL PHOTOGRAPHY STYLES
   ========================================================================== */

.founder-photo-wrap {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  height: auto;
  /* border-radius: 50%; */
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(116, 12, 12, 0.25), 0 0 0 4px var(--accent-soft), 0 0 0 5px var(--accent);
  flex-shrink: 0;
  position: relative;
  background: var(--surface);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.person-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(116, 12, 12, 0.15), 0 0 0 2px var(--accent);
  flex-shrink: 0;
  position: relative;
  background: var(--surface);
}

.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ==========================================================================
   ARCHITECTURAL RENDERS & BLUEPRINTS GALLERY (BG Construction)
   ========================================================================== */

.proj-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.proj-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.proj-thumb-wrap {
  position: relative;
  height: 220px;
  background: var(--sunk);
  overflow: hidden;
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.proj-card:hover .proj-img {
  transform: scale(1.05);
}

.proj-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(116, 12, 12, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.proj-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-loc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.proj-title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.proj-desc {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.proj-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pdf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  transition: all 0.2s ease;
}

.pdf-link-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

@media (max-width: 980px) {
  .proj-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .proj-gallery {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Overrides for Tabs & Projects */
:root[data-theme="dark"] .v-tabs-nav {
  background: var(--surface);
  border-color: var(--line);
}

:root[data-theme="dark"] .v-tab {
  color: var(--ink-2);
}

:root[data-theme="dark"] .v-tab:hover {
  background: rgba(224, 53, 53, 0.15);
  color: #FF8585;
}

:root[data-theme="dark"] .v-tab.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

:root[data-theme="dark"] .v-card {
  background: var(--surface);
  border-color: var(--line);
}

:root[data-theme="dark"] .v-card:hover {
  border-color: rgba(224, 53, 53, 0.4);
}

:root[data-theme="dark"] .v-card-tag-floating {
  background: rgba(10, 2, 4, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
}

:root[data-theme="dark"] .proj-card {
  background: var(--surface);
  border-color: var(--line);
}

:root[data-theme="dark"] .proj-card:hover {
  border-color: var(--accent);
}

:root[data-theme="dark"] .founder-photo-wrap {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(224, 53, 53, 0.2), 0 0 0 5px var(--accent);
}

:root[data-theme="dark"] .person-photo-wrap {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--accent);
}

/* ==========================================================================
   BEDI GROUP — ABOUT US PAGE STYLES
   ========================================================================== */

.about-hero-section {
  position: relative;
  background: var(--hero-ground);
  color: var(--hero-ink);
  overflow: hidden;
  padding-top: clamp(150px, 15vw, 220px);
  padding-bottom: clamp(60px, 10vw, 120px);
  margin-top: -130px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
  position: relative;
  z-index: 1;
}

.about-hero-section h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.08;
  margin-top: 18px;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
}

.about-hero-lede {
  margin-top: 24px;
  color: var(--hero-dim);
  font-size: 19px;
  line-height: 1.65;
  max-width: 44em;
  margin-inline: auto;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.stat-badge-card {
  background: color-mix(in srgb, var(--hero-ground-deep) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero-ink) 18%, transparent);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.stat-badge-card:hover {
  transform: translateY(-3px);
  border-color: var(--marigold);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--marigold);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hero-dim);
  text-align: center;
}

/* Heritage & Matriarch Section */
.about-heritage-section {
  padding-block: clamp(72px, 8vw, 110px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.heritage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.heritage-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.founder-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(116, 12, 12, 0.2), 0 0 0 6px var(--accent-soft), 0 0 0 8px var(--accent);
  background: var(--sunk);
}

.founder-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.portrait-corner-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(116, 12, 12, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.founder-caption-box {
  text-align: center;
}

.founder-caption-box b {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}

.founder-caption-box span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.heritage-content-col h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  margin-block: 12px 20px;
}

.heritage-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.heritage-quote {
  margin: 28px 0 0;
  padding: 18px 24px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

/* Values Pillars */
.about-values-section {
  padding-block: clamp(72px, 8vw, 110px);
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.values-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.values-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-top: 12px;
}

.values-subtitle {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 12px;
}

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

.value-pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 36px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.value-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.pillar-icon-crest {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 4px;
}

.pillar-gurmukhi {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.value-pillar-card h3 {
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}

.value-pillar-card p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* About Divisions Grid */
.about-divisions-section {
  padding-block: clamp(72px, 8vw, 110px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.about-div-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.about-div-card {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.about-div-card:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-div-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-div-top .div-icon {
  font-size: 26px;
}

.about-div-top .div-cat {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.about-div-card h3 {
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}

.about-div-card p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.about-div-card .div-explore {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Global Footprint Grid */
.about-footprint-section {
  padding-block: clamp(72px, 8vw, 110px);
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.footprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.footprint-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.footprint-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.country-badge,
.country-badge-iso {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface-raised);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
}

.pillar-numeral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--marigold);
  background: var(--marigold-soft);
  border: 1px solid rgba(201, 136, 8, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

.footprint-card h3 {
  font-size: 19px;
  margin: 0;
  color: var(--ink);
}

.footprint-loc {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.footprint-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 6px 0 0;
}

/* About CTA Banner */
.about-cta-banner {
  padding-block: clamp(60px, 7vw, 90px);
  background: var(--surface);
}

.cta-banner-card {
  background: linear-gradient(135deg, #740C0C 0%, #4D0707 50%, #200305 100%);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  box-shadow: 0 16px 44px rgba(116, 12, 12, 0.3);
}

.cta-banner-text {
  max-width: 600px;
}

.cta-banner-text h2 {
  color: #FFFFFF;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin-block: 10px 14px;
}

.cta-banner-text p {
  color: var(--hero-dim);
  font-size: 16.5px;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   BEDI GROUP — CONTACT US PAGE STYLES
   ========================================================================== */

.contact-hero-section {
  position: relative;
  background: var(--hero-ground);
  color: var(--hero-ink);
  overflow: hidden;
  padding-top: clamp(150px, 15vw, 220px);
  padding-bottom: clamp(60px, 10vw, 120px);
  margin-top: -130px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
  position: relative;
  z-index: 1;
}

.contact-hero-section h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.1;
  margin-top: 16px;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
}

.contact-hero-lede {
  margin-top: 20px;
  color: var(--hero-dim);
  font-size: 18px;
  line-height: 1.6;
  max-width: 44em;
  margin-inline: auto;
}

.contact-main-section {
  padding-block: clamp(60px, 7vw, 96px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.contact-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Directory Column */
.contact-directory-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-hq-card {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hq-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hq-card-top h3 {
  font-size: 24px;
  margin: 4px 0 0;
  color: var(--ink);
}

.hq-info-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.hq-info-row .info-icon {
  font-size: 20px;
  line-height: 1.2;
}

.hq-info-row .info-body strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.hq-info-row .info-link {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: block;
}

.hq-info-row .info-link:hover {
  text-decoration: underline;
}

.hq-info-row small {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

.copy-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-pill-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
}

/* Regional Offices Box */
.regional-offices-box {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.regional-title {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ink);
}

.regional-card {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.regional-card:first-of-type {
  padding-top: 0;
  border-top: none;
}

.regional-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.regional-head strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.regional-head span {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.regional-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ==========================================================================
   Dedicated Direct Division Directories Section (Contact Us Page)
   ========================================================================== */

.contact-divisions-section {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--sunk);
  border-top: 1px solid var(--line);
  position: relative;
}

:root[data-theme="dark"] .contact-divisions-section {
  background: #100306;
  border-top: 1px solid var(--line);
}

.contact-divisions-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.contact-divisions-header .eyebrow {
  color: var(--marigold);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-divisions-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 48px);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 16px;
}

.contact-divisions-lede {
  font-family: var(--sans);
  font-size: clamp(15.5px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 auto;
}

/* 6-Card Grid: 3 columns on desktop, 2 on tablet, 1 on mobile */
.contact-divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-div-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.contact-div-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transition: height 0.25s ease;
}

/* Individual division top accent lines */
.contact-div-card.div-card-foods::before {
  background: var(--marigold);
}

.contact-div-card.div-card-rest::before {
  background: var(--chili);
}

.contact-div-card.div-card-pharma::before {
  background: var(--sky);
}

.contact-div-card.div-card-const::before {
  background: var(--accent-deep);
}

.contact-div-card.div-card-tech::before {
  background: var(--accent);
}

.contact-div-card.div-card-found::before {
  background: var(--leaf);
}

.contact-div-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.contact-div-card:hover::before {
  height: 6px;
}

:root[data-theme="dark"] .contact-div-card {
  background: var(--surface);
  border-color: var(--line);
}

.div-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.div-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.contact-div-card:hover .div-card-icon {
  transform: scale(1.08);
}

.icon-foods {
  background: var(--marigold-soft);
  color: var(--marigold);
}

.icon-rest {
  background: var(--chili-soft);
  color: var(--chili);
}

.icon-pharma {
  background: var(--sky-soft);
  color: var(--sky);
}

.icon-const {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.icon-tech {
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-found {
  background: var(--leaf-soft);
  color: var(--leaf);
}

:root[data-theme="dark"] .icon-foods {
  background: rgba(201, 136, 8, 0.18);
  color: #F5B83D;
}

:root[data-theme="dark"] .icon-rest {
  background: rgba(179, 64, 31, 0.18);
  color: #FF7B54;
}

:root[data-theme="dark"] .icon-pharma {
  background: rgba(32, 98, 142, 0.22);
  color: #64B5F6;
}

:root[data-theme="dark"] .icon-const {
  background: rgba(148, 19, 19, 0.22);
  color: #FF8585;
}

:root[data-theme="dark"] .icon-tech {
  background: rgba(224, 53, 53, 0.18);
  color: #FF7070;
}

:root[data-theme="dark"] .icon-found {
  background: rgba(35, 122, 71, 0.2);
  color: #5CD68D;
}

.div-card-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 10px;
  background: var(--sunk);
  border-radius: var(--radius-full);
}

:root[data-theme="dark"] .div-card-tag {
  background: var(--sunk);
  color: var(--ink-3);
}

.div-card-title {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 10px;
}

.div-card-scope {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 20px;
  flex-grow: 1;
}

/* Email Box */
.div-card-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.div-card-email-box:hover {
  border-color: var(--accent-border);
}

:root[data-theme="dark"] .div-card-email-box {
  background: var(--sunk);
  border-color: var(--line);
}

.div-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
  min-width: 0;
  transition: color 0.15s ease;
}

.div-email-link:hover {
  color: var(--marigold);
  text-decoration: underline;
}

:root[data-theme="dark"] .div-email-link {
  color: #FF7070;
}

:root[data-theme="dark"] .div-email-link:hover {
  color: var(--marigold);
}

.div-copy-btn {
  flex-shrink: 0;
}

.div-card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.div-portal-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.div-portal-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

:root[data-theme="dark"] .div-portal-link:hover {
  color: #FF8585;
}

@media (max-width: 1024px) {
  .contact-divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-divisions-grid {
    grid-template-columns: 1fr;
  }
}



/* Right Column: Contact Form */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 12px 36px rgba(116, 12, 12, 0.08);
}

.form-header-box {
  margin-bottom: 28px;
}

.form-header-box h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin-block: 8px 10px;
  color: var(--ink);
}

.form-header-box p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

.bg-interactive-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

.btn-submit-full {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  font-size: 16px;
  margin-top: 6px;
  cursor: pointer;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Alert Boxes */
.form-alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-alert-box.success {
  background: #E8F7EE;
  color: #166534;
  border: 1px solid #86EFAC;
}

.form-alert-box.error {
  background: #FDF1F1;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ==========================================================================
   CONTACT FORM 7 (CF7) EXTENSIVE STYLES
   ========================================================================== */

.wpcf7 {
  width: 100%;
}

.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.wpcf7 input[type="submit"] {
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(116, 12, 12, 0.25);
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(116, 12, 12, 0.35);
}

.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14.5px !important;
}

.wpcf7-not-valid-tip {
  color: #DC2626 !important;
  font-size: 12.5px !important;
  margin-top: 4px;
}

/* Responsive Overrides */
@media (max-width: 960px) {

  .heritage-grid,
  .contact-split-grid {
    grid-template-columns: 1fr;
  }

  .about-div-grid,
  .values-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footprint-grid,
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .about-div-grid,
  .values-pillars-grid,
  .footprint-grid,
  .about-stats-row,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Dark Theme Overrides for About & Contact */
:root[data-theme="dark"] .stat-badge-card {
  background: rgba(15, 3, 5, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .value-pillar-card,
:root[data-theme="dark"] .footprint-card,
:root[data-theme="dark"] .contact-hq-card,
:root[data-theme="dark"] .regional-offices-box,
:root[data-theme="dark"] .division-contacts-card,
:root[data-theme="dark"] .contact-form-card {
  background: var(--surface);
  border-color: var(--line);
}

:root[data-theme="dark"] .about-div-card {
  background: var(--sunk);
  border-color: var(--line);
}

:root[data-theme="dark"] .about-div-card:hover {
  background: var(--surface-raised);
}

:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] .form-textarea,
:root[data-theme="dark"] .wpcf7 input[type="text"],
:root[data-theme="dark"] .wpcf7 input[type="email"],
:root[data-theme="dark"] .wpcf7 input[type="tel"],
:root[data-theme="dark"] .wpcf7 textarea,
:root[data-theme="dark"] .wpcf7 select {
  background: var(--sunk);
  border-color: var(--line);
  color: var(--ink);
}

:root[data-theme="dark"] .founder-portrait-frame {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(224, 53, 53, 0.2), 0 0 0 8px var(--accent);
}

/* ==========================================================================
   404 Page Styles - Bespoke Bedi Group Luxury Error Template
   ========================================================================== */

.e404-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 8vw, 100px) 20px clamp(70px, 10vw, 110px);
  background: var(--ground);
  overflow: hidden;
}

/* Ambient glow accents */
.e404-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: min(800px, 90vw);
  height: 450px;
  background: radial-gradient(circle, rgba(116, 12, 12, 0.08) 0%, rgba(201, 136, 8, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

:root[data-theme="dark"] .e404-bg-glow {
  background: radial-gradient(circle, rgba(224, 53, 53, 0.18) 0%, rgba(201, 136, 8, 0.12) 50%, transparent 75%);
}

.e404-container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Error badge */
.e404-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

:root[data-theme="dark"] .e404-badge {
  background: rgba(224, 53, 53, 0.12);
  border-color: rgba(224, 53, 53, 0.3);
  color: #FF7070;
}

.e404-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(116, 12, 12, 0.7);
  animation: e404-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

:root[data-theme="dark"] .e404-pulse-dot {
  background: #FF5C5C;
  box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.7);
}

@keyframes e404-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(116, 12, 12, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(116, 12, 12, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(116, 12, 12, 0);
  }
}

/* Numeral 404 */
.e404-num {
  font-family: var(--display);
  font-size: clamp(6.5rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #941313 40%, var(--marigold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(116, 12, 12, 0.15);
  user-select: none;
}

:root[data-theme="dark"] .e404-num {
  background: linear-gradient(135deg, #FF6666 0%, #E03535 50%, var(--marigold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(224, 53, 53, 0.35);
}

/* Titles & text */
.e404-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 auto 16px;
  max-width: 720px;
}

.e404-desc {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* Search Form */
.e404-search-wrap {
  max-width: 580px;
  margin: 0 auto 36px;
}

.e404-search-form {
  position: relative;
  width: 100%;
}

.e404-input-group {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.e404-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-border), var(--shadow-lg);
  transform: translateY(-2px);
}

:root[data-theme="dark"] .e404-input-group {
  background: var(--surface-raised);
  border-color: var(--line);
}

:root[data-theme="dark"] .e404-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 53, 53, 0.25), var(--shadow-lg);
}

.e404-search-icon {
  color: var(--ink-3);
  flex-shrink: 0;
  margin-right: 12px;
}

.e404-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  padding: 8px 0;
  min-width: 0;
}

.e404-search-input::placeholder {
  color: var(--ink-3);
  opacity: 0.8;
}

.e404-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 11px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.e404-search-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

/* Action buttons */
.e404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.e404-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.e404-actions .btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(116, 12, 12, 0.25);
}

.e404-actions .btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(116, 12, 12, 0.35);
  transform: translateY(-2px);
}

.e404-actions .btn-ghost {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  color: var(--ink-2);
}

.e404-actions .btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

:root[data-theme="dark"] .e404-actions .btn-ghost {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--ink);
}

:root[data-theme="dark"] .e404-actions .btn-ghost:hover {
  background: rgba(224, 53, 53, 0.15);
  color: #FF8585;
}

/* Gateway Cards Grid */
.e404-gateways-wrap {
  margin-top: 10px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.e404-gateways-header {
  text-align: center;
  margin-bottom: 24px;
}

.e404-gateways-header .eyebrow {
  color: var(--marigold);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.e404-gateways-header h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  margin-top: 4px;
}

.e404-gateways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.e404-gateway-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.e404-gateway-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.e404-gateway-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.e404-gateway-card:hover::before {
  opacity: 1;
}

:root[data-theme="dark"] .e404-gateway-card {
  background: var(--surface-raised);
  border-color: var(--line);
}

.e404-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.25s ease;
}

:root[data-theme="dark"] .e404-card-icon {
  background: rgba(224, 53, 53, 0.15);
  color: #FF7070;
}

.e404-gateway-card:hover .e404-card-icon {
  transform: scale(1.08);
}

.e404-card-title {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.e404-card-arrow {
  color: var(--marigold);
  transition: transform 0.2s ease;
}

.e404-gateway-card:hover .e404-card-arrow {
  transform: translateX(3px);
}

.e404-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

/* Division chips strip */
.e404-divisions-strip {
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.e404-divisions-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 6px;
}

.e404-div-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.e404-div-chip:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-border);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .e404-div-chip {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-2);
}

:root[data-theme="dark"] .e404-div-chip:hover {
  background: rgba(224, 53, 53, 0.15);
  color: #FF8585;
}

@media (max-width: 900px) {
  .e404-gateways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .e404-input-group {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 12px;
    gap: 10px;
  }

  .e404-search-icon {
    display: none;
  }

  .e404-search-btn {
    justify-content: center;
  }

  .e404-gateways-grid {
    grid-template-columns: 1fr;
  }

  .e404-actions {
    flex-direction: column;
    width: 100%;
  }

  .e404-actions .btn {
    width: 100%;
    justify-content: center;
  }
}