/* ========================================
   Summit Growth Partners — Stylesheet
   ======================================== */

/* ---------- RESET & VARIABLES ---------- */
:root {
  --navy: #0A1628;
  --blue: #2E5090;
  --offwhite: #F7F5F2;
  --silver: #8A9BB5;
  --gold: #C9A96E;

  --navy-95: rgba(10, 22, 40, 0.95);
  --blue-10: rgba(46, 80, 144, 0.1);
  --gold-20: rgba(201, 169, 110, 0.2);

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
  background-color: var(--offwhite);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-dark {
  background-color: var(--navy);
  color: var(--offwhite);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-label-light {
  color: var(--gold);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.section-heading-light {
  color: var(--offwhite);
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
  max-width: 560px;
}

.section-body + .section-body {
  margin-top: var(--space-sm);
}

.section-header {
  margin-bottom: var(--space-xl);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll-line,
  .process-line-fill,
  .btn-arrow {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background-color: var(--navy-95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--offwhite);
  z-index: 101;
}

.logo-mark {
  width: 36px;
  height: 30px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--silver);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--offwhite);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-cta-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold);
  padding: 10px 24px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background-color var(--transition), transform var(--transition);
}

.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: #d4b478;
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  width: 100%;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--offwhite);
  margin-bottom: var(--space-md);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--silver);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-motif {
  width: 100%;
  max-width: 420px;
  opacity: 0.9;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  color: var(--navy);
  background: var(--gold);
}

.btn-primary:hover {
  background: #d4b478;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}

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

.btn-secondary {
  color: var(--silver);
  border: 1px solid rgba(138, 155, 181, 0.3);
}

.btn-secondary:hover {
  color: var(--offwhite);
  border-color: var(--silver);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

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

/* ---------- POSITIONING ---------- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-text .section-heading {
  margin-bottom: var(--space-md);
}

.geo-visual {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* ---------- CAPABILITIES ---------- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.capability-item {
  padding: var(--space-lg);
  background: var(--navy);
  transition: background-color var(--transition);
}

.capability-item:hover {
  background: rgba(46, 80, 144, 0.08);
}

.capability-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
  display: block;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.capability-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--offwhite);
  margin-bottom: var(--space-xs);
}

.capability-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- DIFFERENTIATOR ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.diff-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--offwhite);
  border: 1px solid rgba(10, 22, 40, 0.06);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.diff-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.5s var(--transition);
}

.diff-card:hover .diff-accent {
  height: 100%;
}

.diff-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
  color: var(--navy);
}

.diff-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- PROCESS ---------- */
.process-steps {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding-left: 40px;
}

.process-line {
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.process-line-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--blue));
  border-radius: 1px;
  transition: height 0.8s ease-out;
}

.process-step {
  display: flex;
  gap: var(--space-md);
  position: relative;
}

.process-marker {
  position: absolute;
  left: -40px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--navy);
  transition: border-color var(--transition), background-color var(--transition);
}

.process-step.is-visible .process-dot {
  border-color: var(--gold);
  background: var(--gold);
}

.process-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 4px;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--offwhite);
  margin-bottom: var(--space-xs);
}

.process-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--silver);
  max-width: 520px;
}

/* ---------- STATEMENT ---------- */
.statement {
  background: var(--navy);
  padding: var(--space-2xl) 0;
}

.statement-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.statement-quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.4;
  color: var(--offwhite);
}

/* ---------- CTA SECTION ---------- */
.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--offwhite);
  margin-bottom: var(--space-md);
}

.cta-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: var(--space-lg);
}

/* ---------- CONTACT ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.contact-email {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold-20);
  padding-bottom: 4px;
  transition: border-color var(--transition), color var(--transition);
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--blue);
  border-color: var(--gold);
}

.contact-email-block {
  padding-top: var(--space-xl);
}

/* ---------- CONTACT FORM ---------- */
.contact-form-section {
  background-color: var(--navy);
}

.contact-form {
  max-width: 720px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--offwhite);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(138, 155, 181, 0.3);
  padding: 12px 0;
  transition: border-color var(--transition);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--silver);
  opacity: 0.5;
}

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

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

.form-submit {
  margin-top: var(--space-sm);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: var(--silver);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--silver);
  max-width: 320px;
}

.footer-nav-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: var(--space-sm);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--silver);
  transition: color var(--transition);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--offwhite);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal .footer-link {
  font-size: 0.8rem;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-legal .footer-link:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--silver);
  opacity: 0.6;
}

/* ---------- FOCUS STATES ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .split-visual {
    order: -1;
  }

  .geo-visual {
    max-width: 280px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-email-block {
    padding-top: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.25rem;
    color: var(--offwhite);
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .logo-wordmark {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .statement-quote p {
    font-size: 1.3rem;
  }
}
