/* Attending XYZ — stylesheet
   Theme: LIGHT cool background with DEEP VIOLET accent #581C87 */

:root {
  --violet-900: #2A0F45;
  --violet-800: #3B0764;
  --violet-700: #581C87;
  --violet-600: #6D28D9;
  --violet-400: #A78BFA;
  --violet-300: #C4B5FD;
  --violet-100: #EDE7F7;
  --violet-050: #F3EFFB;
  --bg: #F7F5FB;
  --bg-alt: #EFEAF8;
  --ink: #1D1A26;
  --ink-soft: #453F52;
  --ink-muted: #6B6478;
  --white: #FFFFFF;
  --line: #E2DCF0;
  --line-strong: #C9BFE4;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--violet-700);
  text-decoration: none;
}

a:hover {
  color: var(--violet-600);
}

h1, h2, h3, h4 {
  line-height: 1.15;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: var(--violet-700);
  color: var(--white);
  border-color: var(--violet-700);
}

.btn-primary:hover {
  background-color: var(--violet-600);
  border-color: var(--violet-600);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--violet-700);
  border-color: var(--violet-300);
}

.btn-ghost:hover {
  background-color: var(--violet-050);
  border-color: var(--violet-700);
  color: var(--violet-700);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--white);
  color: var(--violet-800);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: var(--violet-100);
  border-color: var(--violet-100);
  color: var(--violet-800);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--violet-300);
}

.btn-outline-light:hover {
  background-color: var(--violet-800);
  border-color: var(--white);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Sandwich navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--white);
  border-top: 5px solid var(--violet-700);
  border-bottom: 5px solid var(--violet-700);
  box-shadow: 0 2px 14px var(--line);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--violet-700);
}

.brand-mark-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--violet-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--violet-700);
  border-bottom-color: var(--violet-700);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: var(--violet-050);
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--violet-700);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero + crosshair ---------- */
.hero-section {
  background-color: var(--bg);
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow, .section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-700);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: 54px;
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 600;
}

.fact-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--violet-600);
}

/* Crosshair visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.crosshair {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
}

.axis {
  position: absolute;
  background-color: var(--line-strong);
}

.axis-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.tick {
  position: absolute;
  background-color: var(--violet-300);
}

.tick-top {
  top: 0;
  left: 50%;
  width: 1px;
  height: 26px;
  transform: translateX(-50%);
}

.tick-bottom {
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 26px;
  transform: translateX(-50%);
}

.tick-left {
  left: 0;
  top: 50%;
  height: 1px;
  width: 26px;
  transform: translateY(-50%);
}

.tick-right {
  right: 0;
  top: 50%;
  height: 1px;
  width: 26px;
  transform: translateY(-50%);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--violet-300);
  background-color: transparent;
}

.ring-1 {
  inset: 38%;
}

.ring-2 {
  inset: 26%;
}

.ring-3 {
  inset: 12%;
}

.ring-pulse {
  inset: 0;
  border: 2px solid var(--violet-700);
  animation: pulse 3.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  70% { transform: scale(1.06); }
  100% { transform: scale(1.06); }
}

.crosshair-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--violet-700);
  transform: translate(-50%, -50%);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 5px var(--violet-700);
}

.crosshair-label {
  position: absolute;
  font-size: 12px;
  font-weight: 800;
  color: var(--violet-700);
  letter-spacing: 0.08em;
}

.label-n {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.label-s {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.label-w {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.label-e {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Stats band ---------- */
.stats-band {
  background-color: var(--violet-800);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.stat {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--violet-600);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  color: var(--violet-300);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Statement section ---------- */
.signal-section {
  background-color: var(--white);
  padding: 96px 0;
}

.signal-section .statement {
  font-size: 38px;
  line-height: 1.25;
  color: var(--ink);
  max-width: 24ch;
  margin-bottom: 24px;
}

.statement-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- Capabilities (numbered list) ---------- */
.capabilities-section {
  background-color: var(--bg-alt);
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 38px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 17px;
}

.section-head-light {
  max-width: 680px;
}

.capability-list {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.capability-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line-strong);
}

.capability-index {
  font-size: 44px;
  font-weight: 800;
  color: var(--violet-300);
  letter-spacing: -0.02em;
  line-height: 1;
}

.capability-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.capability-body p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 62ch;
}

/* ---------- Method (dark section) ---------- */
.method-section {
  background-color: var(--violet-800);
  padding: 96px 0;
}

.method-section .section-head h2 {
  color: var(--white);
}

.method-section .section-head p {
  color: var(--violet-300);
}

.method-section .section-kicker {
  color: var(--violet-400);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.method-step {
  background-color: var(--violet-700);
  border-radius: 12px;
  padding: 30px 26px;
}

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--violet-700);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.method-step h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 10px;
}

.method-step p {
  color: var(--violet-100);
  font-size: 15px;
}

/* ---------- Services (big numerals) ---------- */
.services-section {
  background-color: var(--bg);
  padding: 96px 0;
}

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

.service-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--violet-700);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--line);
}

.service-numeral {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--violet-300);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Compare table ---------- */
.compare-section {
  background-color: var(--violet-800);
  padding: 96px 0;
}

.compare-section .section-head h2 {
  color: var(--white);
}

.compare-section .section-head p {
  color: var(--violet-300);
}

.compare-section .section-kicker {
  color: var(--violet-400);
}

.compare-table-wrap {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 50px var(--violet-900);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.compare-table thead th {
  background-color: var(--violet-700);
  color: var(--white);
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
}

.compare-table thead th.col-strong {
  background-color: var(--violet-600);
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table tbody th {
  color: var(--ink);
  font-weight: 700;
  background-color: var(--violet-050);
}

.compare-table tbody td {
  color: var(--ink-soft);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Voices slider ---------- */
.voices-section {
  background-color: var(--white);
  padding: 96px 0;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 10px 8px;
}

.slide-quote {
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  max-width: 52ch;
  margin-bottom: 22px;
  padding-left: 20px;
  border-left: 4px solid var(--violet-700);
}

.slide figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slide-name {
  font-weight: 800;
  color: var(--ink);
}

.slide-role {
  color: var(--ink-muted);
  font-size: 15px;
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--violet-700);
  background-color: transparent;
  cursor: pointer;
  padding: 0;
}

.slider-dots button.is-active {
  background-color: var(--violet-700);
}

/* ---------- Contact ---------- */
.contact-section {
  background-color: var(--bg-alt);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet-700);
}

.contact-list a,
.contact-list span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 30px;
  box-shadow: 0 16px 36px var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--bg);
  border: 2px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet-700);
  background-color: var(--white);
}

.form-status {
  font-size: 15px;
  font-weight: 600;
  color: var(--violet-700);
  min-height: 24px;
  margin-bottom: 6px;
}

/* ---------- CTA ---------- */
.cta-section {
  background-color: var(--violet-700);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  color: var(--white);
  font-size: 38px;
  max-width: 22ch;
  margin: 0 auto 16px;
}

.cta-inner p {
  color: var(--violet-100);
  font-size: 18px;
  max-width: 56ch;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--violet-900);
  color: var(--violet-100);
}

.footer-newsletter {
  background-color: var(--violet-800);
  padding: 36px 0;
  border-bottom: 1px solid var(--violet-600);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.newsletter-copy h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 4px;
}

.newsletter-copy p {
  color: var(--violet-300);
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: 280px;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
  background-color: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--violet-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.brand-footer {
  color: var(--white);
}

.footer-brand p {
  color: var(--violet-300);
  font-size: 15px;
  margin-top: 16px;
  max-width: 40ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--violet-300);
  font-size: 15px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col li {
  color: var(--violet-300);
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--violet-600);
  font-size: 14px;
  color: var(--violet-400);
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-visual {
    order: -1;
  }

  .crosshair {
    max-width: 320px;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--white);
    border-bottom: 5px solid var(--violet-700);
    box-shadow: 0 18px 30px var(--line);
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .site-nav.nav-open .nav-links {
    max-height: 420px;
    padding: 12px 24px 20px;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: none;
  }

  .hero-section {
    padding: 64px 0 56px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .signal-section .statement {
    font-size: 28px;
  }

  .capability-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ring-pulse {
    animation: none;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
