html {
  font-size: 18px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f2f2f2;
  color: #2e3142;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageFade 0.45s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main section {
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e5e5e5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(220, 220, 220, 0.96);
  box-shadow: 0 10px 30px rgba(24, 28, 40, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0;
  position: relative;
}

.logo {
  flex: 0 0 auto;
  min-width: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2e3142;
  opacity: 0.62;
  padding-bottom: 4px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0%;
  height: 1px;
  background: #e66a67;
  transition: width 0.24s ease;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid #dddddd;
  background: rgba(255, 255, 255, 0.94);
  color: #2e3142;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  align-items: center;
  gap: 10px;
}

.menu-toggle-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}

.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #2e3142;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 5px; }
.menu-toggle-icon span:nth-child(3) { top: 10px; }

.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* HERO */
.hero {
  padding-top: 86px;
  padding-bottom: 72px;
}

.hero-content {
  max-width: 780px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  color: #2e3142;
  margin: 0;
}

h1 {
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.page-title {
  font-size: 3.2rem;
  line-height: 1.04;
}

p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #6e7280;
  margin: 0 0 20px;
  max-width: 720px;
}

.section-divider {
  width: 92px;
  height: 1px;
  background: #e66a67;
  margin: 28px 0 20px;
}

.button {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  background: #e66a67;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(230, 106, 103, 0.25);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(230, 106, 103, 0.34);
}

/* SMALL LABELS */
.section-label,
.firm-leadership-label,
.impact-approach-label,
.industries-focus-label,
.strategy-tech-label,
.contact-split-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e66a67;
  line-height: 1.35;
}

/* HOME INTRO */
.intro-grid,
.firm-grid,
.strategy-grid,
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.intro-block h3,
.firm-block h3,
.strategy-card h3,
.impact-metric h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.intro-block p,
.firm-block p,
.strategy-card p,
.impact-metric p {
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: none;
}

.firm-grid,
.strategy-grid,
.impact-metrics {
  padding-top: 26px;
  border-top: 1px solid #e2e2e2;
}

.impact-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4rem;
  line-height: 1;
  color: #2e3142;
  margin-bottom: 12px;
}

/* DARK PANEL SYSTEM */
.contrast-inner,
.strategy-framework-inner,
.industries-framework-inner,
.impact-commitment-inner,
.firm-signature-inner {
  background: linear-gradient(135deg, #111827 0%, #17203a 56%, #26233d 100%);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(19, 22, 34, 0.2);
}

.contrast-inner::before,
.strategy-framework-inner::before,
.industries-framework-inner::before,
.impact-commitment-inner::before,
.firm-signature-inner::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  top: -280px;
  right: -200px;
  background: radial-gradient(circle, rgba(230, 106, 103, 0.11), transparent 70%);
  pointer-events: none;
}

.contrast-copy,
.strategy-framework-copy,
.industries-framework-copy,
.impact-commitment-copy,
.firm-signature-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 38px;
}

.contrast-copy h2,
.strategy-framework-copy h2,
.industries-framework-copy h2,
.impact-commitment-copy h2,
.firm-signature-copy h2 {
  font-size: 3rem;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 14px;
}

.contrast-copy p,
.strategy-framework-copy p,
.industries-framework-copy p,
.impact-commitment-copy p,
.firm-signature-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
}

.contrast-points,
.strategy-pillars,
.industries-framework-points,
.impact-commitment-points,
.firm-signature-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.contrast-point,
.strategy-pillar,
.industries-framework-point,
.impact-commitment-point,
.firm-signature-point {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.contrast-label,
.strategy-pillar-label,
.industries-framework-label,
.impact-commitment-label,
.firm-signature-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e66a67;
  margin-bottom: 10px;
}

.contrast-point p,
.strategy-pillar p,
.industries-framework-point p,
.impact-commitment-point p,
.firm-signature-point p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: none;
}

/* EDITORIAL SPLIT */
.firm-leadership-inner,
.impact-approach-inner,
.industries-focus,
.strategy-tech-inner,
.contact-split {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 52px;
  align-items: start;
}

.firm-leadership-quote h2,
.impact-approach-copy h2,
.industries-focus-copy h2,
.strategy-tech-copy h2,
.contact-main h2 {
  font-size: 3rem;
  line-height: 1.06;
  margin-bottom: 20px;
}

.firm-leadership-quote p,
.impact-approach-copy p,
.industries-focus-copy p,
.strategy-tech-copy p,
.contact-main p {
  max-width: 790px;
}

/* LIGHT CONTENT PANEL */
.firm-philosophy-inner,
.impact-framework-inner,
.contact-panel {
  background: #ffffff;
  border: 1px solid rgba(230, 230, 230, 0.94);
  border-radius: 30px;
  padding: 56px;
  box-shadow: 0 18px 46px rgba(20, 22, 32, 0.05);
}

.firm-philosophy-grid,
.impact-framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.firm-philosophy-copy h2,
.impact-framework-copy h2 {
  font-size: 2.85rem;
  line-height: 1.06;
  margin-bottom: 18px;
}

.values-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.value-card,
.impact-card {
  border-top: 1px solid #e9e9e9;
  padding-top: 14px;
}

.value-card h3,
.impact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.value-card p,
.impact-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: none;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid rgba(230, 230, 230, 0.95);
  border-radius: 26px;
  padding: 32px 28px 28px;
  box-shadow: 0 14px 30px rgba(20, 22, 32, 0.04);
}

.industry-card h3 {
  font-size: 2.2rem;
  line-height: 1.06;
  margin-bottom: 14px;
}

.industry-card p {
  font-size: 1rem;
  line-height: 1.68;
  max-width: none;
  margin-bottom: 18px;
}

.industry-meta {
  padding-top: 14px;
  border-top: 1px solid #ececec;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #7a7f8f;
}

.industries-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  max-width: 920px;
  margin-top: 22px;
}

.industries-list-item {
  border-top: 1px solid #e3e3e3;
  padding-top: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #2e3142;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-detail {
  border-top: 1px solid #e7e7e7;
  padding-top: 14px;
}

.contact-detail h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  line-height: 1.65;
  color: #6e7280;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #505564;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 16px;
  background: #fbfbfb;
  padding: 16px 18px;
  font: inherit;
  color: #2e3142;
  outline: none;
}

.form-row textarea {
  min-height: 170px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #e66a67;
  box-shadow: 0 0 0 3px rgba(230, 106, 103, 0.1);
}

.contact-note {
  font-size: 0.92rem;
  color: #7a7f8f;
  margin-top: 8px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(.22, .61, .36, 1),
    transform 0.7s cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }

/* RESPONSIVE */
@media (max-width: 1180px) {
  .container {
    padding: 0 24px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 226, 226, 0.96);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(24, 28, 40, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 14px 20px;
    opacity: 0.84;
  }

  .nav a::after {
    left: 20px;
    bottom: 10px;
  }

  .nav a:hover::after,
  .nav a.active::after {
    width: calc(100% - 40px);
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 17px;
  }

  .intro-grid,
  .firm-grid,
  .strategy-grid,
  .impact-metrics,
  .contrast-points,
  .strategy-pillars,
  .industries-framework-points,
  .impact-commitment-points,
  .firm-signature-points,
  .industries-grid,
  .industries-list,
  .values-grid,
  .impact-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .firm-leadership-inner,
  .impact-approach-inner,
  .industries-focus,
  .strategy-tech-inner,
  .contact-split,
  .firm-philosophy-grid,
  .impact-framework-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .page-title,
  .firm-leadership-quote h2,
  .impact-approach-copy h2,
  .industries-focus-copy h2,
  .strategy-tech-copy h2,
  .contact-main h2,
  .contrast-copy h2,
  .strategy-framework-copy h2,
  .industries-framework-copy h2,
  .impact-commitment-copy h2,
  .firm-signature-copy h2,
  .firm-philosophy-copy h2,
  .impact-framework-copy h2 {
    font-size: 2.55rem;
  }

  .contrast-inner,
  .strategy-framework-inner,
  .industries-framework-inner,
  .impact-commitment-inner,
  .firm-signature-inner,
  .firm-philosophy-inner,
  .impact-framework-inner,
  .contact-panel {
    padding: 40px 30px;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  main section {
    padding: 58px 0;
  }

  .logo img {
    height: 38px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .page-title,
  .firm-leadership-quote h2,
  .impact-approach-copy h2,
  .industries-focus-copy h2,
  .strategy-tech-copy h2,
  .contact-main h2,
  .contrast-copy h2,
  .strategy-framework-copy h2,
  .industries-framework-copy h2,
  .impact-commitment-copy h2,
  .firm-signature-copy h2,
  .firm-philosophy-copy h2,
  .impact-framework-copy h2 {
    font-size: 2rem;
  }

  .contrast-inner,
  .strategy-framework-inner,
  .industries-framework-inner,
  .impact-commitment-inner,
  .firm-signature-inner,
  .firm-philosophy-inner,
  .impact-framework-inner,
  .contact-panel {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .industry-card {
    padding: 26px 22px 24px;
  }

  .button {
    padding: 15px 26px;
    font-size: 0.92rem;
  }
}