/* Fivefold Consulting Group — brand tokens */
:root {
  --navy: #1b2a4a;
  --navy-deep: #121d33;
  --blue: #2b6cb0;
  --blue-bright: #3b82c4;
  --bg: #fafbfc;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #2b6cb0;
  --error: #b91c1c;
  --success: #166534;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 42, 74, 0.08);
  --max-width: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-bright);
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 52px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

.nav-link--cta {
  padding: 0.5rem 1.125rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.nav-link--cta:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding-block: 5rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(43, 108, 176, 0.07), transparent),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeUp 0.6s ease both;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  animation: fadeUp 0.6s 0.15s ease both;
}

.hero-image {
  width: min(100%, 480px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* About */
.about {
  padding-block: 5rem;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.about .eyebrow {
  margin-bottom: 0.75rem;
}

.about-title {
  margin: 0 0 1.75rem;
  max-width: 22ch;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-intro {
  margin-bottom: 2rem;
}

.about-intro p {
  margin: 0;
  max-width: 72ch;
  color: var(--text);
}

.about-pillars-intro {
  margin: 0 0 1.75rem;
  max-width: 60ch;
  font-weight: 500;
  color: var(--navy);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pillar-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pillar-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.pillar h3 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.pillar p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Contact */
.contact {
  padding-block: 5rem 6rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem 4rem;
  align-items: start;
}

.contact h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.contact-intro p {
  margin: 0;
  color: var(--text-muted);
}

.contact-form {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: block;
  margin-bottom: 1.25rem;
}

.field-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-bottom: 0.5rem;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.9375rem;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: var(--error);
}

/* Footer */
.site-footer {
  padding-block: 2.5rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 1;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
  }

  .hero-image {
    width: min(100%, 360px);
  }

  .hero {
    padding-block: 3rem 2.5rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 1rem;
  }

  .nav-link:not(.nav-link--cta) {
    display: none;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .hero-visual {
    animation: none;
  }

  .btn-primary:hover:not(:disabled) {
    transform: none;
  }
}
