@import url("styles.css");

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
}

.footer-links,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
}

.button-dark {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.button-dark:hover {
  border-color: var(--navy-deep);
  color: #fff;
  background: var(--navy-deep);
}

.split-grid,
.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.section-copy,
.contact-copy,
.work-copy {
  font-size: 1.08rem;
}

.section-copy p:first-child,
.contact-copy p:first-child,
.work-copy p:first-child {
  margin-top: 0;
}

.callout {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--blue);
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-heading > p:last-child {
  max-width: 720px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 250px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.service-card h3,
.work-item h3,
.steps-grid h3 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.service-card p:last-child,
.work-note {
  color: var(--muted);
}

.card-number,
.work-label {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-number {
  margin: 0 0 2.5rem;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--line);
}

.work-item h3 {
  max-width: 480px;
  color: var(--navy-deep);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.work-label {
  margin: 0 0 0.8rem;
}

.work-note {
  font-size: 0.95rem;
}

.section-dark {
  color: #dce6f1;
  background: var(--navy-deep);
}

.section-dark .eyebrow {
  color: #91bde8;
}

.light-heading h2,
.steps-grid h3 {
  color: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.steps-grid article {
  min-height: 280px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--navy-deep);
}

.steps-grid p {
  color: #bdcbd9;
}

.step-number {
  display: block;
  margin-bottom: 3rem;
  color: #91bde8;
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-section {
  background: var(--sky);
}

.contact-email {
  margin-top: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .split-grid,
  .work-item,
  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .work-item {
    gap: 1.5rem;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    text-align: center;
  }
}
