:root {
  --navy: #0d1f3c;
  --navy-mid: #1a3560;
  --blue: #1e3a6e;
  --silver: #8a9ab5;
  --silver-light: #c8d0de;
  --cream: #f4f5f7;
  --white: #ffffff;
  --text-dark: #0d1f3c;
  --text-mid: #4a5a7a;
  --text-light: #8a9ab5;
  --gold: #b8964a;
  --gold-light: #d4b06a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #e8edf5 0%, #f4f5f7 40%, #dde3ee 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30,58,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 40vw; height: 40vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184,150,74,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── BRAND HEADER ── */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.1s both;
}
.hero-the {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.1rem;
}
.hero-rlty {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 0.9;
  text-transform: uppercase;
}
.hero-family {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 0.4rem;
}

.hero-divider {
  width: 5rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto 2.5rem;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.3s both;
}

.hero-intro {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-mid);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.75;
  max-width: 560px;
  text-align: center;
  position: relative; z-index: 1;
  margin-bottom: 4rem;
  animation: fadeUp 0.7s 0.4s both;
}

/* ── COMPANY CARDS ── */
.companies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  width: 100%;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.5s both;
}

.company-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(30,58,110,0.1);
  box-shadow: 0 4px 20px rgba(13,31,60,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  min-height: 200px;
  cursor: pointer;
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,31,60,0.14);
  border-color: rgba(184,150,74,0.3);
}
.company-card:hover::before {
  transform: scaleX(1);
}

.company-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  transition: transform 0.3s ease;
  background: var(--white);
  padding: 0.5rem;
  border-radius: 4px;
}
.company-card:hover .company-logo-wrap {
  transform: translateY(-4px);
}
.company-logo-wrap img {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  background: var(--white);
}

.company-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  line-height: 1.5;
  margin-top: 0;
}
.company-card:hover .company-tagline {
  max-height: 60px;
  opacity: 1;
  margin-top: 1.2rem;
}

.company-arrow {
  position: absolute;
  bottom: 1rem; right: 1.2rem;
  font-size: 0.7rem;
  color: var(--silver);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex; align-items: center; gap: 0.3rem;
}
.company-card:hover .company-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(184,150,74,0.2);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-rlty {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  text-align: center;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .companies { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .companies { grid-template-columns: 1fr; max-width: 380px; }
  footer { flex-direction: column; text-align: center; padding: 2rem; }
}
