/* ============================================================
   FAITH BUSINESS GROUP — Premium Black & White
   ============================================================ */

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

:root {
  --black:    #0a0a0a;
  --black-2:  #111111;
  --black-3:  #1a1a1a;
  --gray-1:   #2a2a2a;
  --gray-2:   #444444;
  --gray-3:   #888888;
  --gray-4:   #b8b8b8;
  --gray-5:   #d8d8d8;
  --gray-6:   #eeeeee;
  --white:    #ffffff;
  --off-white:#f8f7f5;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --nav-h:    72px;
  --section-gap: 120px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 16px;
}

.section-label--light {
  color: rgba(255,255,255,0.4);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.01em;
}

.section-title--light {
  color: var(--white);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--primary:hover {
  background: transparent;
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--ghost:hover {
  background: var(--black);
  color: var(--white);
}

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

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--gray-6);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

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

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

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--black);
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  border-top: 1px solid var(--gray-6);
  padding: 24px 40px;
}

.nav__mobile.open {
  display: block;
}

.nav__mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav__mobile a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__left {
  display: flex;
  flex-direction: column;
}

.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__float-scene {
  position: relative;
  width: 100%;
  height: 420px;
}

/* Shared bubble styles */
.hero__float-bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid var(--gray-5);
  background: var(--white);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.hero__float-bubble:hover {
  background: var(--black);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: scale(1.08) !important;
  z-index: 10;
}

.hero__float-bubble:hover .hero__float-initial {
  color: rgba(255,255,255,0.5);
}

/* Bubble 1 — large, top-left */
.hero__float-bubble--1 {
  width: 190px;
  height: 190px;
  top: 20px;
  left: 20px;
  animation: floatA 6s ease-in-out infinite;
}

/* Bubble 2 — medium, right */
.hero__float-bubble--2 {
  width: 160px;
  height: 160px;
  top: 60px;
  right: 30px;
  animation: floatB 7s ease-in-out infinite;
}

/* Bubble 3 — large, bottom-center */
.hero__float-bubble--3 {
  width: 175px;
  height: 175px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: floatC 8s ease-in-out infinite;
}

.hero__float-bubble--3:hover {
  transform: translateX(-50%) scale(1.08) !important;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes floatC {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-16px); }
}

.hero__float-initial {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  transition: color 0.35s, font-size 0.35s, margin 0.35s;
}

.hero__float-bubble:hover .hero__float-initial {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.hero__float-url {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition:
    max-width 0.5s ease,
    opacity 0.35s ease 0.1s,
    letter-spacing 0.4s ease;
}

.hero__float-bubble:hover .hero__float-url {
  max-width: 160px;
  opacity: 1;
  letter-spacing: 0.12em;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gray-3);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 32px;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-2);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gray-4);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gray-4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background: var(--off-white);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about__divider {
  width: 48px;
  height: 2px;
  background: var(--black);
  margin-top: 32px;
}

.about__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-1);
  margin-bottom: 20px;
}

.about__stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-5);
}

.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-3);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.company-card {
  position: relative;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--gray-6);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  z-index: 1;
}

.company-card--coming {
  background: var(--black-2);
}

.company-card__inner {
  padding: 48px 40px;
}

.company-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.company-card__number {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-4);
  letter-spacing: 0.05em;
}

.company-card--coming .company-card__number {
  color: rgba(255,255,255,0.2);
}

.company-card__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--black);
  color: var(--white);
}

.company-card__badge--soon {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}

.company-card__name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.company-card--coming .company-card__name {
  color: var(--white);
}

.company-card__domain {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-3);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.company-card--coming .company-card__domain {
  color: rgba(255,255,255,0.3);
}

.company-card__description {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-2);
  margin-bottom: 28px;
}

.company-card--coming .company-card__description {
  color: rgba(255,255,255,0.5);
}

.company-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.company-card__tags span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--gray-5);
  color: var(--gray-3);
}

.company-card--coming .company-card__tags span {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3);
}

.company-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--black);
  transition: gap 0.2s;
}

.company-card--coming .company-card__link {
  color: var(--white);
  border-bottom-color: var(--white);
}

.company-card__link:hover {
  gap: 14px;
}

.company-card__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.company-card--coming .company-card__accent {
  background: rgba(255,255,255,0.2);
}

.company-card:hover .company-card__accent {
  transform: scaleX(1);
}

/* ============================================================
   VALUES
   ============================================================ */

.values {
  position: relative;
  background: var(--black);
  color: var(--white);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.value-item {
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.value-item:hover {
  background: rgba(255,255,255,0.04);
}

.value-item__icon {
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.value-item__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.value-item__body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   LOCATION
   ============================================================ */

.location {
  background: var(--white);
}

.location__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.location__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-2);
  margin: 24px 0 32px;
}

.location__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray-3);
}

.location__card {
  background: var(--black);
  color: var(--white);
  padding: 48px;
}

.location__card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.location__card-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.location__card-city {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.location__card-line {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.location__card-companies {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location__card-co {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

.dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  background: var(--off-white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-2);
  margin: 24px 0 32px;
}

.contact__email {
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.contact__email:hover {
  opacity: 0.5;
}

.contact__form {
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--gray-6);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--gray-6);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-4);
}

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

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}

.footer__brand .nav__logo-mark {
  background: var(--white);
  color: var(--black);
}

.footer__brand .nav__logo-text {
  color: var(--white);
}

.footer__tagline {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  max-width: 200px;
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
}

.footer__col a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  :root {
    --section-gap: 80px;
  }

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

  .hero__float-scene {
    height: 300px;
  }

  .hero__float-bubble--1 { width: 150px; height: 150px; left: 10px; }
  .hero__float-bubble--2 { width: 130px; height: 130px; right: 10px; }
  .hero__float-bubble--3 { width: 140px; height: 140px; }

  .about__layout,
  .location__layout,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__stats {
    gap: 32px;
  }

  .footer__top {
    flex-direction: column;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .container {
    padding: 0 24px;
  }

  .nav__inner {
    padding: 0 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

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

  .company-card:last-child {
    grid-column: auto;
  }

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

  .hero__scroll {
    display: none;
  }

  .footer__nav {
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

  .contact__form {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .company-card__inner {
    padding: 36px 28px;
  }

  .about__stats {
    flex-direction: column;
    gap: 24px;
  }

  .value-item {
    padding: 36px 28px;
  }

  .location__card {
    padding: 32px 28px;
  }
}
