/* ============================================================
   Cosella – site styles
   Layered on top of Bootstrap 5
   ============================================================ */

/* --- Tokens ------------------------------------------------- */
:root {
  --c-navy:   #0a1d2f;
  --c-gold:   #b8904c;
  --c-teal:   #01afa9;
  --c-lime:   #9ebe30;
  --c-slate:  #747985;
  --c-light:  #e0e2e6;
  --c-border: #e0e2e6;
  --c-muted:  #747985;
  --c-body:   #1e293b;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-body);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy);
}

h1 {
  margin-bottom: 2rem;
}

hr { margin: 2rem 0; }

.strapline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

a { color: var(--c-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; }

#main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Utilities ---------------------------------------------- */
.text-gold        { color: var(--c-gold); }
.text-white-muted { color: rgba(255, 255, 255, 0.6); }
.section-dash     { display: block; height: 5px; width: 45px; }

/* --- Buttons ------------------------------------------------ */
.btn-cosella {
  display: inline-flex;
  align-items: center;
  background-color: var(--c-navy);
  color: #ffffff;
  border: 2px solid var(--c-navy);
  border-radius: var(--radius-sm);
  padding: 0.625rem 1.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-cosella:hover {
  background-color: #122440;
  border-color: #122440;
  color: #fff;
  text-decoration: none;
}

.btn-cosella-outline {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--c-navy);
  border: 2px solid var(--c-navy);
  border-radius: var(--radius-sm);
  padding: 0.625rem 1.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-cosella-outline:hover {
  background-color: var(--c-navy);
  color: #fff;
  text-decoration: none;
}

/* --- Navbar ------------------------------------------------- */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--c-border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand img {
  display: block;
  height: 40px;
  width: auto;
}

@media (max-width: 991.98px) {
  .hero-mark { display: none; }
}

.navbar-nav .nav-link {
  color: var(--c-slate) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 0.3rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.navbar-nav .nav-link:hover { color: var(--c-navy) !important; }
.navbar-nav .nav-link.active {
  color: var(--c-navy) !important;
  border-bottom-color: var(--c-accent, var(--c-gold));
}

.navbar-toggler { border-color: var(--c-border); }

/* --- Section base ------------------------------------------- */
section { padding: 5rem 0; }

.section-alt  { background-color: var(--c-light); }
.section-dark { background-color: var(--c-navy); }

/* --- About page -------------------------------------------- */
.about-split { padding-top: 0; padding-bottom: 0; }

.about-photo-panel {
  min-height: 420px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.about-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.belief-card { padding: 1.5rem 0.5rem; }

.value-card { padding: 1rem 0.5rem; }

.value-icon {
  font-size: 2rem;
  color: var(--c-teal);
  display: block;
  margin-bottom: 0.75rem;
}

.value-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.4rem;
}

.value-desc {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin: 0;
}

.about-link {
  color: var(--c-teal);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.about-link:hover { opacity: 0.75; text-decoration: none; }

.about-cta { position: relative; overflow: hidden; }

.about-cta-mark {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  height: 340px;
  width: auto;
  opacity: 0.06;
  z-index: 0;
}

.about-cta-text {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 520px;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 0.625rem 1.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.btn-cta-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
}

/* --- Careers page ------------------------------------------ */
.careers-perk { padding: 1rem 0.5rem; }

.careers-perk-icon {
  font-size: 2rem;
  color: var(--c-lime);
  display: block;
  margin-bottom: 0.75rem;
}

.careers-perk-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.4rem;
}

.careers-perk-desc {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin: 0;
}

.careers-link {
  color: var(--c-lime);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.careers-link:hover { opacity: 0.75; text-decoration: none; }

.careers-cta { position: relative; overflow: hidden; }

.careers-cta-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  height: 340px;
  width: auto;
  opacity: 0.12;
  z-index: 0;
}

.careers-cta-text {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.btn-lime {
  display: inline-flex;
  align-items: center;
  background-color: var(--c-lime);
  color: #ffffff;
  border: 2px solid var(--c-lime);
  border-radius: var(--radius-sm);
  padding: 0.625rem 1.375rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-lime:hover {
  background-color: #87a828;
  border-color: #87a828;
  color: #ffffff;
  text-decoration: none;
}

/* Page hero (stub pages) */
.page-hero {
  padding: 5rem 0;
  background-color: var(--c-light);
  border-bottom: 1px solid var(--c-border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* --- Hero --------------------------------------------------- */
#hero {
  background-color: #ffffff;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

#hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-lead {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 480px;
}

.hero-mark {
  width: 90%;
  max-width: 380px;
  max-height: 340px;
  object-fit: contain;
}

/* --- What makes us different -------------------------------- */
.diff-card { padding: 2rem 1rem; }
.diff-icon  { height: 52px; width: auto; }

/* --- What we do (services) ---------------------------------- */
.service-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
}
.service-icon { height: 38px; width: auto; }

.service-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.4rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin: 0;
}

/* --- How we work -------------------------------------------- */
.how-steps-row { position: relative; }

@media (min-width: 768px) {
  .how-steps-row::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed rgba(184, 144, 76, 0.5);
    z-index: 0;
  }
}

.step-circle {
  position: relative;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(184, 144, 76, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-num {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 26px;
  height: 26px;
  background-color: var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.step-icon { font-size: 2rem; color: rgba(255, 255, 255, 0.85); }

/* --- Quote banner ------------------------------------------ */
.quote-section {
  background-color: var(--c-navy);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(10, 29, 47, 0.82);
  z-index: 1;
}

.quote-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.quote-mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  line-height: 0.7;
  color: var(--c-gold);
  margin-bottom: 1.5rem;
}

.quote-text {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* --- Join / Careers teaser ---------------------------------- */
#join { padding-top: 0; padding-bottom: 0; }

.join-image {
  min-height: 400px;
  height: 100%;
  background-color: var(--c-navy);
  position: relative;
  overflow: hidden;
}

.join-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Holding ------------------------------------------------ */
.page-holding {
  background-image: url('../assets/cover-01-80.jpg');
  background-size: cover;

  .content {
    background-color: color-mix(in srgb, var(--c-navy) 50%, transparent);
  }
}

/* --- Footer ------------------------------------------------- */
.site-footer {
  background-color: var(--c-navy);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.footer-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  margin: 0;
}

.footer-label {
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 992px) {
  .footer-list-cols {
    columns: 2;
    column-gap: 1.5rem;
  }
}
.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.footer-list i {
  margin-top: 0.2rem;
  color: var(--c-gold);
  flex-shrink: 0;
}
.footer-list a,
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.footer-list a:hover,
.site-footer a:hover { color: #ffffff; text-decoration: underline; }

.site-footer p { font-size: 0.875rem; margin-bottom: 0.5rem; }
.site-footer .bi-geo-alt-fill { color: var(--c-gold); }

.footer-mark {
  width: 130px;
  filter: brightness(0) invert(1);
  opacity: 0.18;
}

.footer-main { padding-bottom: 3rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.4); }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
