:root {
  --purple: #533afd;
  --purple-hover: #4434d4;
  --navy: #061b31;
  --navy-dark: #1c1e54;
  --slate: #64748d;
  --label: #273951;
  --border: #e5edf5;
  --white: #ffffff;
  --magenta: #f96bee;
  --ruby: #ea2261;
  --shadow: rgba(50, 50, 93, 0.25) 0px 30px 45px -30px, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 300;
  color: var(--slate);
  background: var(--white);
  line-height: 1.5;
  font-size: 1rem;
}
a { color: var(--purple); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.wrap { width: min(1080px, 92vw); margin: 0 auto; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.wordmark {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topnav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--navy);
}
.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);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: var(--purple-hover); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--purple);
  border: 1px solid #b9b9f9;
}
.btn-ghost:hover { background: rgba(83, 58, 253, 0.05); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(83, 58, 253, 0.12), transparent),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(249, 107, 238, 0.08), transparent);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.badge {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--label);
  background: #f6f9fc;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.lead { font-size: 1.125rem; line-height: 1.45; max-width: 34rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual { display: flex; flex-direction: column; gap: 1rem; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.panel-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.hero-panel ul { list-style: none; }
.hero-panel li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-weight: 400;
}
.hero-panel li:last-child { border-bottom: none; }
.hero-panel li span {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--purple);
  min-width: 3.5rem;
}

/* Bands */
.band { padding: 4.5rem 0; }
.band-light { background: var(--white); }
.band-dark { background: var(--navy-dark); color: rgba(255, 255, 255, 0.75); }
.band-contact { background: #f6f9fc; }
.band-head { max-width: 36rem; margin-bottom: 2.5rem; }
.band-head h2 {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.band-head-light h2 { color: var(--white); }
.band-head-light p { color: rgba(255, 255, 255, 0.65); }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: rgba(23, 23, 23, 0.06) 0px 3px 6px;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}
.service-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.service-item:nth-child(2n) { border-right: none; }
.service-item:nth-last-child(-n+2) { border-bottom: none; }
.service-item strong {
  display: block;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.25rem;
}
.service-item span { font-size: 0.875rem; }

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.trust-grid h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.trust-grid p { margin-bottom: 1rem; }
.quote {
  font-style: italic;
  color: var(--navy);
  font-weight: 400;
  border-left: 3px solid var(--purple);
  padding-left: 1rem;
  margin-top: 1.5rem;
}
.quote-meta { font-size: 0.875rem; }
.areas-block h3 {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.tags span {
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--label);
}
.link-arrow { font-weight: 400; font-size: 0.9375rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-layout h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.contact-meta { margin-top: 1.5rem; font-size: 0.9375rem; }
.contact-meta strong { display: block; color: var(--label); font-weight: 400; margin-bottom: 0.15rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--label);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.form-note { font-size: 0.8125rem; margin-top: 0.75rem; }
.form-success {
  display: none;
  margin-top: 0.75rem;
  padding: 0.65rem;
  background: rgba(21, 190, 83, 0.15);
  border: 1px solid rgba(21, 190, 83, 0.35);
  border-radius: 4px;
  color: #108c3d;
  font-size: 0.875rem;
}
.form-success.visible { display: block; }

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--slate);
}

@media (max-width: 900px) {
  .hero-layout, .feature-row, .photo-strip, .trust-grid, .contact-layout { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-item { border-right: none !important; }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .service-item:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .topnav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 56px;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .topnav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .field-row { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; align-items: flex-start; }
  .badge { white-space: normal; }
}
