:root {
  --navy: #0c1a2e;
  --navy-light: #152a45;
  --teal: #1a8f8f;
  --teal-dark: #147070;
  --white: #ffffff;
  --off-white: #f4f7fa;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --max-width: 1080px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header — horizontal: Expertise | Logo | Contact */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding-block: 0.75rem;
}

.header-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.header-link:hover {
  color: var(--teal);
}

.header-link--left {
  justify-self: start;
}

.header-link--right {
  justify-self: end;
}

.logo-link {
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
}

.logo {
  height: 44px;
  width: auto;
  max-width: min(100%, 360px);
  object-fit: contain;
}

.nav-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero — split layout */
.hero {
  background: var(--off-white);
  padding-block: 4rem 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-full {
  width: 100%;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Sections */
.section {
  padding-block: 5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-intro {
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--navy);
}

.section-intro--center {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-intro--center p {
  margin-top: 0.75rem;
  color: var(--gray-500);
}

/* Expertise */
.expertise {
  background: var(--navy);
  color: var(--white);
}

.expertise .section-label {
  color: var(--teal);
}

.expertise .section-intro h2 {
  color: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  padding: 2rem;
  background: var(--navy-light);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s;
}

.expertise-card:hover {
  border-color: var(--teal);
}

.expertise-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.expertise-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* Contact — side-by-side like Supreme */
.contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-info address {
  font-style: normal;
}

.contact-info address p {
  margin-bottom: 1.25rem;
}

.contact-info address strong {
  color: var(--navy);
}

.contact-info a {
  color: var(--teal);
  transition: opacity 0.2s;
}

.contact-info a:hover {
  opacity: 0.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 24px rgba(12, 26, 46, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

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

.form-status {
  font-size: 0.9rem;
}

.form-status--success {
  color: #15803d;
}

.form-status--error {
  color: #dc2626;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: min(100%, 320px);
  object-fit: contain;
}

.footer p {
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
    padding-inline: 0.5rem;
  }

  .header-link--left,
  .header-link--right {
    display: none;
  }

  .logo-link {
    grid-column: 2;
    justify-self: center;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .nav-mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-mobile a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
  }

  .nav-mobile a:hover {
    color: var(--teal);
  }

  .nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid,
  .expertise-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 2.5rem;
  }

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

  .section {
    padding-block: 3.5rem;
  }

  .hero {
    padding-block: 3rem;
  }
}
