/* Pivot Transformation — Premium Strategic Advisory */

:root {
  --charcoal: #111111;
  --off-white: #F5F5F5;
  --muted-gray: #888888;
  --strong-red: #E10600;
  --near-black: #0A0A0A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--charcoal);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--off-white);
  max-width: 65ch;
}

.subline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--muted-gray);
  font-weight: 300;
  line-height: 1.6;
  max-width: 50ch;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 245, 245, 0.05);
}

nav {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--off-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo-i {
  color: var(--off-white);
  position: relative;
}

.logo-i::after {
  content: '';
  position: absolute;
  top: -0.25em;
  left: 50%;
  transform: translateX(-50%);
  width: 0.2em;
  height: 0.2em;
  background-color: var(--strong-red);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted-gray);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--strong-red);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--off-white);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Sections */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.content-wrapper {
  max-width: 900px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero .subline {
  margin-bottom: 3rem;
}

.cta-link {
  display: inline-block;
  color: var(--off-white);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--off-white);
  transition: all 0.3s ease;
}

.cta-link:hover {
  color: var(--strong-red);
  border-bottom-color: var(--strong-red);
}

/* Grid Layout */
.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.grid-block {
  padding: 3rem 2rem;
  background-color: rgba(245, 245, 245, 0.02);
  border: 1px solid rgba(245, 245, 245, 0.08);
  transition: all 0.4s ease;
  text-decoration: none;
  display: block;
}

.grid-block:hover {
  background-color: rgba(245, 245, 245, 0.04);
  border-color: rgba(225, 6, 0, 0.3);
  transform: translateY(-4px);
}

.grid-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--off-white);
}

.grid-block p {
  font-size: 1rem;
  color: var(--muted-gray);
  line-height: 1.6;
}

/* List Styling */
.point-list {
  list-style: none;
  margin: 2rem 0;
  max-width: 600px;
}

.point-list li {
  font-size: 1.125rem;
  color: var(--muted-gray);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.point-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 4px;
  height: 4px;
  background-color: var(--strong-red);
}

/* Closing Statement */
.closing-statement {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--muted-gray);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-style: italic;
}

/* Divider */
.divider {
  width: 60px;
  height: 1px;
  background-color: var(--strong-red);
  margin: 3rem 0;
}

/* Hero Divider */
.hero-divider {
  width: 60px;
  height: 1px;
  background-color: var(--strong-red);
  margin: 1.75rem 0 2.25rem 0;
  opacity: 0.9;
}

/* Content Pages */
.page-hero {
  min-height: 60vh;
  padding-top: 10rem;
}

.page-content {
  min-height: auto;
  padding: 4rem 3rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin-top: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--muted-gray);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(245, 245, 245, 0.02);
  border: 1px solid rgba(245, 245, 245, 0.1);
  color: var(--off-white);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--strong-red);
  background-color: rgba(245, 245, 245, 0.04);
}

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

button[type="submit"] {
  background-color: transparent;
  color: var(--off-white);
  border: 1px solid var(--off-white);
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

button[type="submit"]:hover {
  background-color: var(--strong-red);
  border-color: var(--strong-red);
}

/* Footer */
footer {
  padding: 3rem;
  text-align: center;
  border-top: 1px solid rgba(245, 245, 245, 0.05);
}

footer p {
  font-size: 0.875rem;
  color: var(--muted-gray);
  max-width: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1.25rem 1.5rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(245, 245, 245, 0.05);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .page-hero {
    padding-top: 8rem;
  }

  .grid-four {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print */
@media print {
  header {
    position: relative;
    background: white;
    color: black;
  }
  
  section {
    page-break-inside: avoid;
    min-height: auto;
  }
}

/* The Firm Page Styles */
.principles-container {
  margin: 3rem 0;
}

.principle-line {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--off-white);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-style: italic;
  letter-spacing: -0.01em;
}

.leadership-section {
  margin-top: 4rem;
}

.leader-portrait {
  width: 200px;
  height: 200px;
  background-color: rgba(245, 245, 245, 0.05);
  border: 1px solid rgba(245, 245, 245, 0.1);
  margin-bottom: 2.5rem;
}

.leader-info h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
  color: var(--off-white);
}

.leader-title {
  font-size: 1.125rem;
  color: var(--muted-gray);
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.credential-stack {
  margin: 2.5rem 0;
  padding-left: 0;
}

.credential-stack p {
  font-size: 1rem;
  color: var(--muted-gray);
  line-height: 1.9;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.leader-description {
  margin-top: 2.5rem;
}

.leader-description p {
  margin-bottom: 1.5rem;
  color: var(--off-white);
}

