/* ==========================================================================
   Bama Studio — Production Stylesheet & Design System
   Brand of BAMA STUDIO LTD, London
   ========================================================================== */

/* Design Tokens */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Primary Studio Palette */
  --color-brand-green: #008744;
  --color-brand-green-hover: #00733a;
  --color-brand-green-light: #eaf6ef;
  --color-brand-green-subtle: #f0f8f3;
  --color-brand-dark-forest: #082f1b;
  --color-brand-red: #d92534;

  /* High-Contrast Neutrals */
  --color-bg-page: #fbfcfb;
  --color-bg-card: #ffffff;
  --color-text-heading: #0b1320;
  --color-text-main: #1f2937;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-border-subtle: #e2e8e5;
  --color-border-card: #e5eae6;

  /* Spacing & Layout */
  --max-width: 1200px;
  --container-pad: 28px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  /* Subtle, Restrained Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 10px 24px -4px rgba(16, 24, 40, 0.08);

  /* Transitions */
  --trans-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --trans-base: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Sticky Header Offset: keeps anchor targets and keyboard-focused elements clear of the header */
html {
  scroll-padding-top: 88px;
}

/* Screen Reader Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 3px;
}

/* Layout Container */
.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-overline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-green);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--color-text-heading);
}

.text-brand-green {
  color: var(--color-brand-green);
}

/* Primary Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  min-height: 46px;
  cursor: pointer;
  transition: all var(--trans-base);
  border: none;
  white-space: nowrap;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--trans-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-pill-green {
  background-color: var(--color-brand-green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 135, 68, 0.2);
}

.btn-pill-green:hover {
  background-color: var(--color-brand-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 135, 68, 0.28);
}

.btn-pill-white {
  background-color: #ffffff;
  color: var(--color-brand-dark-forest);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-pill-white:hover {
  background-color: #f7faf8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* White pill sits on the dark green banner: a white ring stays visible there */
.btn-pill-white:focus-visible {
  outline-color: #ffffff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: box-shadow var(--trans-fast);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav Menu */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 0;
  transition: color var(--trans-fast);
}

.nav-link:hover {
  color: var(--color-brand-green);
}

.nav-link.active {
  color: var(--color-text-heading);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-brand-green);
  border-radius: var(--radius-pill);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text-heading);
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-heading);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 999;
  padding: 32px var(--container-pad);
  flex-direction: column;
  border-top: 1px solid var(--color-border-subtle);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-base);
}

.mobile-drawer.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.mobile-nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-heading);
  display: block;
  padding: 10px 0;
}

.mobile-drawer-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 80px);
  background: radial-gradient(circle at 10% 20%, rgba(0, 135, 68, 0.03) 0%, transparent 60%);
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow-wrap {
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.3vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-text-heading);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-btn {
  padding: 15px 32px;
  font-size: 1rem;
}

/* Hero Right Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #f0f2f0;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.02);
}

.hero-pillar-legend {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pillar-line {
  width: 2px;
  height: 48px;
  background-color: var(--color-brand-green);
  border-radius: 2px;
}

.pillar-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar-items li {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1e293b;
}

/* ==========================================================================
   Ventures Section
   ========================================================================== */
.ventures-section {
  padding-top: clamp(48px, 7vw, 76px);
  padding-bottom: clamp(60px, 8vw, 92px);
  background-color: #ffffff;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.ventures-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}

.ventures-header-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 480px;
}

/* 2-Large on Row 1, 3-Smaller on Row 2 Grid */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* Common Venture Card Foundation */
.venture-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
}

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

/* ==========================================================================
   Variant A: Dark Photographic App Cards (Festimate & Flymate)
   ========================================================================== */
.venture-card-app {
  grid-column: span 3;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  background-color: #0b0710;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.venture-card-app.card-festimate {
  border-color: rgba(168, 85, 247, 0.22);
}

.venture-card-app.card-flymate {
  border-color: rgba(249, 115, 22, 0.22);
}

.card-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

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

.card-festimate .card-bg-img {
  object-position: right center;
}

.card-flymate .card-bg-img {
  object-position: 72% center;
}

.venture-card-app:hover .card-bg-img {
  transform: scale(1.03);
}

.card-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Directional Dark Gradient: Dark on left behind logo/text, clear over subject on right */
.overlay-festimate {
  background:
    /* Local darkening near the bottom action */
    linear-gradient(to top, rgba(14, 6, 20, 0.92) 0%, rgba(14, 6, 20, 0.40) 26%, rgba(14, 6, 20, 0) 48%),
    /* Directional plum-black gradient from left to right */
    linear-gradient(90deg,
      rgba(15, 6, 22, 0.97) 0%,
      rgba(18, 8, 26, 0.93) 32%,
      rgba(22, 10, 32, 0.78) 50%,
      rgba(26, 12, 38, 0.30) 72%,
      rgba(26, 12, 38, 0.04) 100%
    );
}

.overlay-flymate {
  background:
    /* Local darkening near the bottom action */
    linear-gradient(to top, rgba(18, 12, 10, 0.92) 0%, rgba(18, 12, 10, 0.40) 26%, rgba(18, 12, 10, 0) 48%),
    /* Directional warm charcoal gradient from left to right */
    linear-gradient(90deg,
      rgba(18, 12, 10, 0.97) 0%,
      rgba(22, 15, 12, 0.93) 32%,
      rgba(28, 18, 14, 0.78) 50%,
      rgba(32, 22, 16, 0.30) 72%,
      rgba(32, 22, 16, 0.04) 100%
    );
}

/* App Card Content Structure */
.card-content-app {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 32px 30px 32px;
  max-width: 390px;
}

.card-brand-zone-app {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* Completely transparent logo wrappers — no borders, badges, or shadows */
.venture-logo-app {
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.logo-festimate {
  width: clamp(190px, 15vw, 210px);
  height: auto;
  max-height: 125px;
}

.logo-flymate {
  width: clamp(155px, 12.5vw, 175px);
  height: auto;
  max-height: 135px;
}

.card-body-app {
  margin-top: 14px;
  margin-bottom: 24px;
}

.venture-card-app .card-venture-desc {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.card-footer-app {
  margin-top: auto;
}

/* ==========================================================================
   Variant B: Light Editorial Cards (Vofac Energy, Nexon Solar, Orynta)
   ========================================================================== */
.venture-card-editorial {
  grid-column: span 2;
  min-height: 375px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border-card);
}

/* Editorial Surface Variations */
.card-vofac {
  background-color: #f7f6f3;
  border-color: #e6e3dc;
}

.card-nexon {
  background-color: #f6f8fb;
  border-color: #e2e7ee;
}

.card-orynta {
  background-color: #faf7f2;
  border-color: #eae3d7;
}

/* Zone 1: Top Brand Area */
.card-editorial-top {
  padding: 26px 28px 18px 28px;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

.venture-logo-editorial {
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Optical balance for each distinct logo lockup */
.logo-volfac {
  height: 50px;
  width: auto;
  max-width: 120px;
}

.logo-nexon {
  height: 30px;
  width: auto;
  max-width: 175px;
}

.logo-orynta {
  height: 50px;
  width: auto;
  max-width: 125px;
}

/* Zone 2: Middle Photograph Band */
.card-editorial-image-band {
  width: 100%;
  height: 142px;
  overflow: hidden;
  position: relative;
  background-color: #cbd5e1;
}

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

.venture-card-editorial:hover .editorial-band-img {
  transform: scale(1.03);
}

/* Zone 3: Bottom Description & Action */
.card-editorial-bottom {
  padding: 22px 28px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
}

.venture-card-editorial .card-venture-desc {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text-heading);
  margin-bottom: 20px;
}

.card-editorial-action {
  margin-top: auto;
}

/* ==========================================================================
   Shared Action Link Styling & Micro-interactions
   ========================================================================== */
.btn-venture-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 4px 0;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.btn-venture-action.text-dark {
  color: var(--color-text-heading);
}

.btn-circle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #0b1320;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform var(--trans-fast), background-color var(--trans-fast), color var(--trans-fast);
  flex-shrink: 0;
}

.btn-circle-icon svg {
  width: 16px;
  height: 16px;
}

.btn-circle-icon.icon-dark {
  background-color: #0b1320;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 19, 32, 0.12);
}

.btn-venture-action:hover .btn-circle-icon {
  transform: translateX(4px);
  background-color: var(--color-brand-green);
  color: #ffffff;
}

.btn-venture-action:hover .btn-label {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-venture-action:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.venture-card-app .btn-venture-action:focus-visible {
  outline-color: #ffffff;
}

/* ==========================================================================
   About Bama Studio Section
   ========================================================================== */
.about-section {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(60px, 9vw, 96px);
  background-color: var(--color-bg-page);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.about-heading {
  margin-bottom: 20px;
}

.about-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  color: var(--color-text-heading);
  font-weight: 600;
  margin-bottom: 14px;
}

.about-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* 3 Supporting Cards */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pillar-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--color-bg-card);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 135, 68, 0.25);
  box-shadow: 0 6px 18px rgba(0, 135, 68, 0.08);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background-color: var(--color-brand-green-subtle);
  color: var(--color-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-svg {
  width: 26px;
  height: 26px;
}

.pillar-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Partnerships Banner Section
   ========================================================================== */
.partnerships-section {
  padding-bottom: clamp(56px, 8vw, 84px);
}

.partnerships-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(8, 47, 27, 0.16);
  min-height: 220px;
}

.partnerships-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.partnerships-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.partnerships-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 47, 27, 0.95) 0%, rgba(10, 61, 36, 0.9) 55%, rgba(6, 40, 23, 0.85) 100%);
}

.partnerships-content {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.partnerships-overline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #a7f3d0;
  margin-bottom: 10px;
}

.partnerships-title {
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.partnerships-desc {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d1fae5;
  max-width: 580px;
}

.partnerships-action {
  flex-shrink: 0;
}

/* ==========================================================================
   Contact / Direct Contact & Enquiry Form Section
   ========================================================================== */
.contact-section {
  padding-bottom: clamp(60px, 9vw, 96px);
}

.contact-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-header-text {
  text-align: center;
  margin-bottom: 40px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 10px auto 0;
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Direct Contact Block */
.direct-contact-block {
  background-color: #f8faf8;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.direct-contact-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.direct-contact-intro {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 24px;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.address-value {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-text-heading);
  line-height: 1.45;
}

.contact-item-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-brand-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans-fast);
}

.contact-item-link:hover {
  color: var(--color-brand-green-hover);
}

.external-icon {
  flex-shrink: 0;
}

/* Enquiry Form */
.enquiry-form-wrapper {
  display: flex;
  flex-direction: column;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-heading);
  display: flex;
  align-items: center;
  gap: 4px;
}

.required {
  color: var(--color-brand-red);
}

.optional-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--color-text-heading);
  outline-color: transparent;
  transition: all var(--trans-fast);
}

/* Transparent outline is invisible normally but shows in forced-colors (high contrast) mode */
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--color-brand-green);
  box-shadow: 0 0 0 3px rgba(0, 135, 68, 0.18);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.68rem;
  color: var(--color-text-light);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

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

.field-error {
  display: none;
  font-size: 0.82rem;
  color: var(--color-brand-red);
  font-weight: 600;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--color-brand-red);
  background-color: #fff9f9;
}

.form-group.has-error .field-error {
  display: block;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
}

.btn-submit {
  min-width: 180px;
}

/* Explains the temporary email-draft flow before the visitor submits */
.form-note {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Status Notifications in Live Region */
.form-status-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 14px;
}

.status-success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.status-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.status-info {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.status-info a {
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 52px;
  padding-bottom: 40px;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.footer-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--trans-fast);
}

.footer-link:hover {
  color: var(--color-brand-green);
}

/* Restrained Footer Contact Details */
.footer-contact-area {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.footer-contact-link {
  color: var(--color-brand-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--trans-fast);
}

.footer-contact-link:hover {
  color: var(--color-brand-green-hover);
}

.footer-contact-sep {
  color: #cbd5e1;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border-subtle);
  margin-top: 28px;
  margin-bottom: 24px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-legal-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 72ch;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.footer-legal-notice {
  font-weight: 400;
}

.footer-legal-secondary {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.footer-company-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: inherit;
  transition: color var(--trans-fast);
}

.footer-company-link:hover {
  color: var(--color-brand-green-hover);
}

.footer-company-link:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.footer-copy {
  color: var(--color-text-light);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ventures-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partnerships-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .ventures-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .venture-card-app,
  .venture-card-editorial,
  .venture-card-lg,
  .venture-card-sm {
    grid-column: span 1;
    border-radius: 20px;
  }

  .venture-card-app {
    min-height: 380px;
  }

  .card-content-app {
    padding: 26px 22px 22px 22px;
    max-width: 100%;
  }

  .logo-festimate {
    width: 180px;
  }

  .logo-flymate {
    width: 148px;
  }

  /* Directional gradient on mobile: maintains dark quiet area behind logo & text while revealing scene */
  .overlay-festimate {
    background:
      linear-gradient(to top, rgba(14, 6, 20, 0.94) 0%, rgba(14, 6, 20, 0.70) 55%, rgba(14, 6, 20, 0.35) 100%),
      linear-gradient(90deg, rgba(15, 6, 22, 0.96) 0%, rgba(18, 8, 26, 0.82) 65%, rgba(22, 10, 32, 0.40) 100%);
  }

  .overlay-flymate {
    background:
      linear-gradient(to top, rgba(18, 12, 10, 0.94) 0%, rgba(18, 12, 10, 0.70) 55%, rgba(18, 12, 10, 0.35) 100%),
      linear-gradient(90deg, rgba(18, 12, 10, 0.96) 0%, rgba(22, 15, 12, 0.82) 65%, rgba(28, 18, 14, 0.40) 100%);
  }

  .card-editorial-top {
    padding: 22px 22px 16px 22px;
    height: 86px;
  }

  .card-editorial-image-band {
    height: 155px;
  }

  .card-editorial-bottom {
    padding: 20px 22px 24px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-contact-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-contact-sep {
    display: none;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 20px;
  }

  .hero-pillar-legend {
    top: 14px;
    right: 14px;
    padding: 8px 12px;
  }

  .btn {
    width: 100%;
  }
}

/* The full-width rule above is meant for body buttons. The header CTA keeps its
   natural width so the menu button keeps its 44px size. Below 375px the header
   row is too narrow for logo, CTA and menu button at full size; that case is
   left unchanged pending a design decision. */
@media (min-width: 375px) and (max-width: 480px) {
  .nav-cta {
    width: auto;
  }
}

/* Room for the partnership button's label and arrow on the narrowest phones */
@media (max-width: 359px) {
  .partnerships-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
