/* Hepheon — Design tokens from reference */
:root {
  --navy: #0b314b;
  --navy-dark: #082638;
  --navy-light: #134a6e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #d8dce2;
  --gray-400: #8b95a5;
  --gray-600: #4a5568;
  --gray-900: #1a202c;
  --linkedin: #0a66c2;
  --shadow-sm: 0 2px 8px rgba(11, 49, 75, 0.06);
  --shadow-md: 0 8px 32px rgba(11, 49, 75, 0.1);
  --shadow-lg: 0 16px 48px rgba(11, 49, 75, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.eyebrow.center {
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.section-title.center {
  text-align: center;
}

.section {
  padding: 5rem 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--gray-100);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}

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

.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 999px;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
}

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

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

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--navy-light);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.hero-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(11, 49, 75, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Services */
.services {
  background: var(--white);
}

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

.service-card {
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(11, 49, 75, 0.08);
  color: var(--navy);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
}

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

.about-card {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.about-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.about-card footer strong {
  font-weight: 600;
}

.about-card footer span {
  opacity: 0.7;
}

/* Contact — matches reference screenshot */
.contact {
  padding-bottom: 6rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}

.contact-left {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.contact-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-photo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.contact-photo-fallback {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-identity {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-identity strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-identity span {
  font-size: 0.875rem;
  opacity: 0.75;
}

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.contact-headline {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.contact-body {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.85;
}

.contact-right {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-option:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  background: var(--off-white);
}

.contact-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-option-icon.linkedin {
  color: var(--linkedin);
}

.contact-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-option-label {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.contact-option-action {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 4rem 0 auto 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-right {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
