:root {
  --bg: #eff6ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #4b6584;
  --primary: #0f5cc0;
  --primary-deep: #0a3a86;
  --primary-soft: #cfe3ff;
  --border: rgba(15, 92, 192, 0.14);
  --shadow: 0 24px 70px rgba(13, 59, 120, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 122, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ebf4ff 52%, #f8fbff 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(15, 92, 192, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--primary) 0%, #66a7ff 100%);
  color: #fff;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  padding: 4.5rem 0 3.5rem;
}

.hero-copy,
.hero-panel-card,
.info-card,
.timeline-step,
.project-card,
.contact-form,
.contact-copy,
.site-footer {
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(1.5rem, 3.5vw, 2.85rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(1.5rem, 3.5vw, 2.85rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading + p,
.info-card p,
.timeline-step p,
.project-card p,
.contact-copy p,
.form-note,
.field-hint,
.site-footer p,
.panel-copy,
.panel-list,
.contact-list {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3f8cff 100%);
  color: #fff;
}

.button-secondary {
  border-color: rgba(15, 92, 192, 0.2);
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary-deep);
}

.hero-points,
.panel-list,
.contact-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
  margin: 0;
}

.hero-points li::marker,
.panel-list li::marker,
.contact-list li::marker {
  color: var(--primary);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-panel-card {
  padding: 1.5rem;
}

.hero-panel-card.accent {
  background: linear-gradient(180deg, rgba(27, 106, 226, 0.94), rgba(10, 58, 134, 0.96));
  color: #fff;
}

.hero-panel-card.accent .panel-copy,
.hero-panel-card.accent .panel-label {
  color: rgba(255, 255, 255, 0.92);
}

.panel-label {
  margin: 0 0 0.9rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.section {
  padding: 1rem 0 2.25rem;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.card-grid,
.projects-grid,
.contact-layout {
  display: grid;
  gap: 1.2rem;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.timeline-step,
.project-card,
.contact-copy,
.contact-form,
.site-footer {
  padding: 1.5rem;
}

.process-section {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-number,
.project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: grid;
  gap: 1rem;
}

.project-card a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--surface-strong);
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-group label {
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(15, 92, 192, 0.2);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: #f8fbff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(15, 92, 192, 0.2);
  border-color: rgba(15, 92, 192, 0.42);
}

.field-hint,
.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.submit-button {
  width: 100%;
  cursor: pointer;
}

.submit-button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 1.5rem;
  font-weight: 600;
}

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

.form-status.success {
  color: #0f7b4a;
}

.site-footer {
  margin-top: 1.5rem;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .contact-layout,
  .card-grid,
  .timeline,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 1.4rem;
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: 10ch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.5rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy,
  .hero-panel-card,
  .info-card,
  .timeline-step,
  .project-card,
  .contact-form,
  .contact-copy,
  .site-footer {
    padding: 1.25rem;
    border-radius: 1.3rem;
  }

  .hero-actions,
  .site-nav {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
