/* ---------------------------------------------------------
   ROOT VARIABLES
--------------------------------------------------------- */
:root {
  --navy: #003057;
  --navy-deep: #02192b;
  --soft-grey: #4b5563;
  --muted-grey: #6b7280;
  --bg-soft: #f5f7fa;
  --border-soft: #e5e7eb;
  --white: #ffffff;
  --gold: #c59d5f;
  --container-width: 1120px;
}

/* ---------------------------------------------------------
   GLOBAL RESET
--------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--soft-grey);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}

/* ---------------------------------------------------------
   GLOBAL LAYOUT SYSTEM
--------------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 96px 0 80px;
}

.section-white {
  background: #ffffff;
}

.section-soft {
  background: var(--bg-soft);
}

.section-grey {
  background-color: var(--bg-soft);
}


.section-header {
  margin-bottom: 48px;
  text-align: left;
}

.section-header h2 {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
}





.single-column {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}




/* ---------------------------------------------------------
   GLOBAL COMPONENTS
--------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #02213d;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Section Background Images (Valley + Building)
   Full-section backgrounds for premium editorial flow
--------------------------------------------------------- */

/* Base pattern for any section with a background image */
.section-with-image {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  padding-top: 140px;     /* space for the image area */
  padding-bottom: 160px;   /* your normal section spacing - increase to 160px */ 
  color: white;           /* text sits on image */
  overflow: hidden;
}

.section-with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}


#how-it-works.section-with-image::before {
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 34, 0.40),
    rgba(8, 20, 34, 0.25),
    rgba(8, 20, 34, 0.15)
  );
}




/* Ensure content sits above overlay */
.section-with-image .container,
.section-with-image .section-header,
.section-with-image h2,
.section-with-image h3,
.section-with-image p {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   Valley Background (Why Strathcrest)
--------------------------------------------------------- */

.valley-background {
  background-image: url('assets/valley-image.jpg');
  background-position: center top;   /* ensures hills + crest stay visible */
}

#why-strathcrest.section-with-image::before {
  background: linear-gradient(
    to bottom,
    rgba(6, 16, 28, 0.70),
    rgba(6, 16, 28, 0.50),
    rgba(6, 16, 28, 0.38)
  );
}







/* ---------------------------------------------------------
   Building Background (How Engagements Work)
--------------------------------------------------------- */

.building-background {
  background-image: url('assets/building-image.jpg');
  background-position: center bottom; /* architectural lines sit lower */
}



/* ---------------------------------------------------------
   Text colours for image-backed sections (scoped)
--------------------------------------------------------- */

/* Why Strathcrest (valley background) */
#why-strathcrest.section-with-image .section-header h2 {
  color: #ffffff;
}

#why-strathcrest.section-with-image .text-block h3 {
  color: #f5f7fa;
}

#why-strathcrest.section-with-image .text-block p {
  color: #e6e9ee;
}

/* How Engagements Work (building background) */
#how-it-works.section-with-image .section-header h2 {
  color: #ffffff;
}

#how-it-works.section-with-image .text-block h3 {
  color: #f5f7fa;
}

#how-it-works.section-with-image .text-block p {
  color: #e6e9ee;
}

/* ---------------------------------------------------------
   Responsive adjustments
--------------------------------------------------------- */

@media (max-width: 900px) {
  .section-with-image {
    padding-top: 140px;
    padding-bottom: 60px;
  }
}

@media (max-width: 600px) {
  .section-with-image {
    padding-top: 120px;
    padding-bottom: 50px;
  }
}



/* ---------------------------------------------------------
   HEADER + NAVIGATION
--------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: radial-gradient(circle at top left, #0b3a63 0, #02192b 55%, #010b14 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 20px 0 14px;
  backdrop-filter: blur(6px);
}

.site-header .container.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.site-header .container.nav-inner > .logo-lockup {
  margin-right: auto;
  display: flex;
  align-items: center;
}

.site-logo {
  max-width: 360px;
  max-height: 100px;
  object-fit: contain;
}

.site-header .nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-header .nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.site-header .nav-links a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.site-header .nav-links a:hover {
  opacity: 0.75;
  color: #ffffff;
}

.site-header .nav-cta {
  padding: 10px 18px;
  border-radius: 6px;
  background: #d4b07a;
  color: #ffffff;
  font-weight: 600;
}





/* ---------------------------------------------------------
   WHY STRATHCREST
--------------------------------------------------------- */

#why-strathcrest .text-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f5f7fa; /* soft white */
  margin-bottom: 8px;
}

#why-strathcrest .text-block p {
  font-size: 16px;
  line-height: 1.5;
  color: #e6e9ee; /* soft grey-white */
}


/* ---------------------------------------------------------
   HERO — Premium Editorial Typography & Rhythm
--------------------------------------------------------- */
.hero {
  background: radial-gradient(circle at top left, #0b3a63 0, #02192b 55%, #010b14 100%);
  color: #ffffff;
  padding-top: 260px !important;
  padding-bottom: 200px !important; /* tightened for smoother transition */
  position: relative; /* required for fade overlay */
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(1,11,20,0) 0%, #0F1A24 100%);
  pointer-events: none;
}

.hero-inner {
  animation: fadeUp 0.8s ease-out both;
  max-width: 760px;
}

/* Headline — confident, editorial, premium */
.hero-subheadline {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
  color: #ffffff;
}

/* Supporting line — softer, elegant, expensive */
.hero-supporting {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.38;
  margin-bottom: 18px;
  color: #e2e8f0;
  max-width: 720px;
}

/* Lead paragraph — readable, calm, premium */
.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 34px;
  color: #d1d5db;
  max-width: 720px;
}

/* Pillars — spacing tuned to match new rhythm */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}

.pillar h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 13px;
  line-height: 1.45;
  color: #cbd5df;
}


.hero::after {
  background: linear-gradient(to bottom, rgba(1,11,20,0) 0%, #0A2338 100%);
}


/* ---------------------------------------------------------
   SERVICES
--------------------------------------------------------- */
#services {
  padding-top: 104px;
  padding-bottom: 88px;
}

#services .section-intro {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.45;
}

#services .text-block h3 {
  font-size: 18px; /* previously 20px */
  line-height: 1.3;
  margin-bottom: 10px;
}


#services .grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 48px; /* increased from 48px */ row gap reduced
}

#services h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

#services p {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 22px;
  color: var(--soft-grey);
}

#services .text-block {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

/* ---------------------------------------------------------
   SERVICES — Soft Grey Background
--------------------------------------------------------- */

#services.section-soft {
  background-color: #f5f7fa; /* your existing soft grey */
}


/* ---------------------------------------------------------
   ABOUT — Mid Navy Section
--------------------------------------------------------- */

#about {
  background-color: #0A2338;   /* mid navy */
  color: #F3F4F6;
  padding-top: 120px;
  padding-bottom: 96px;
}

/* Restore the two-column layout */
#about .split {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: flex-start;
}

#about h2,
#about h3 {
  color: #FFFFFF;
}

#about .split-main p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: #E5E7EB;
}

.founder-portrait {
  width: 100%;
  max-width: 360px;
  border-radius: 8px;
  margin-top: 16px;
  display: block;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}



/* ---------------------------------------------------------
   SKILLS
--------------------------------------------------------- */
#skills {
  padding-top: 104px;
  padding-bottom: 88px;
}

.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: var(--soft-grey);
}

.skill-list li {
  margin-bottom: 10px;
}

/* ---------------------------------------------------------
   CASES
--------------------------------------------------------- */
#cases {
  padding-top: 104px;
  padding-bottom: 88px;
}

#cases .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
}

#cases .case-group {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-soft);
}

#cases h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

#cases p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--soft-grey);
  margin: 0;
}



.case-list li {
  margin-bottom: 10px;
  padding-left: 4px;
}


.case-list {
  margin: 0;
  padding-left: 0; /* remove default indent */
  list-style: none; /* remove default bullets */
  color: var(--soft-grey);
  font-size: 16px;
  line-height: 1.55;
}

.case-list li {
  position: relative;
  padding-left: 20px; /* space for en-dash */
  margin-bottom: 10px;
}

.case-list li::before {
  content: "–"; /* minimalist en-dash */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy); /* subtle premium tone */
  font-weight: 600;
}



.case-group h3 {
  margin-bottom: 14px; /* tighter, more premium */
}









/* ---------------------------------------------------------
   HOW IT WORKS
--------------------------------------------------------- */

#how-it-works .text-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f5f7fa;
  margin-bottom: 8px;
}

#how-it-works .text-block p {
  font-size: 16px;
  line-height: 1.5;
  color: #e6e9ee;
}

#how-it-works .section-header h2 {
  color: #ffffff;
}



/* ---------------------------------------------------------
   CONTACT (A + A3 + C1 + D2)
--------------------------------------------------------- */
#contact {
  padding-top: 104px;
  padding-bottom: 88px;
}

#contact .section-intro {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--soft-grey);
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 48px;
  align-items: start;
  max-width: var(--container-width);
  margin: 0 auto;
}

#contact .contact-info,
#contact .contact-form {
  background: #fafafa;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#contact .contact-info:hover,
#contact .contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

#contact .contact-block {
  margin-bottom: 24px;
}

#contact .contact-block h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

#contact .contact-block p {
  margin: 0;
  line-height: 1.45;
  font-size: 14px;
  color: var(--soft-grey);
  font-weight: 500;
}




#contact .contact-form {
  padding: 28px;
}

#contact .contact-form h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

#contact .contact-form form {
  display: grid;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

#contact .field input,
#contact .field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--navy);
}

#contact .contact-form .button-primary {
  margin-top: 20px;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding: 40px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.9;
}

/* ---------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 960px) {
  #services .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  #cases .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0 64px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero {
    padding-top: 180px !important;
    padding-bottom: 140px !important;
  }

  .hero-subheadline {
    font-size: 30px;
  }

  .hero-supporting {
    font-size: 18px;
  }

  .btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}
