:root {
  --purple: #92278f;
  --yellow: #f3c727;
  --ink: #000;
  --muted: #6e6e6e;
  --serif: "DM Serif Display", "Alga", Georgia, serif;
  --sans: "Figtree", "Madefor Text", "Helvetica Neue", Arial, sans-serif;
  --header-h: 140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--sans); font-weight: 300; color: var(--ink); background: #fff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--yellow); color: var(--purple); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 8px 32px; font-size: 13px; font-weight: 400; }
.topbar a { text-decoration: none; }
.topbar-contact { display: flex; align-items: center; gap: 12px; }
.topbar-contact .sep { width: 1px; height: 14px; background: var(--purple); }
.topbar-company { text-align: center; font-weight: 600; font-size: 13px; line-height: 1.3; }
.topbar-social { display: flex; justify-content: flex-end; gap: 14px; }
.topbar-social svg { width: 16px; height: 16px; }
.navbar { background: var(--purple); display: flex; align-items: center; justify-content: space-between; padding: 6px 32px; min-height: 76px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 400; padding: 6px 2px; }
.nav a:hover, .nav a.active { color: var(--yellow); }
.nav a.active { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 12px 34px; font-family: var(--sans); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--purple); }
.link-under { color: var(--purple); font-size: 14px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { display: block; font-family: var(--serif); font-size: 15px; margin-bottom: 14px; }
.eyebrow.light { color: #fff; }

/* hero */
.hero { min-height: 640px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 60px 24px; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.hero-inner { position: relative; max-width: 780px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 65px); line-height: 1.15; margin-bottom: 26px; }
.hero p { font-family: var(--serif); font-size: 17px; line-height: 1.55; margin: 0 auto 30px; max-width: 640px; }
.page-hero { position: relative; height: 390px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; }
.page-hero h1 { position: relative; font-size: clamp(38px, 5vw, 60px); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; max-width: 1240px; margin: 0 auto; padding: 110px 32px; align-items: center; }
.about-text h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; color: #2c3e50; margin-bottom: 22px; }
.about-text p, .ap-text p, .contact-info p { color: #222; font-size: 15px; margin: 0 0 18px; }
.about-text .btn { margin-top: 12px; }
.about-imgs { position: relative; min-height: 560px; }
.about-imgs img { position: absolute; object-fit: cover; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.ai-1 { top: 0; right: 0; width: 70%; height: 66%; }
.ai-2 { bottom: 0; left: 0; width: 66%; height: 62%; border: 6px solid #fff; }

/* solutions */
.solutions { display: grid; grid-template-columns: 1fr 1fr; background: var(--purple); color: #fff; min-height: 480px; }
.sol-text { padding: 80px 8vw 80px 12vw; align-self: center; }
.sol-text h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.15; margin-bottom: 22px; }
.sol-text p { font-size: 15px; margin: 0 0 28px; }
.sol-img { background-size: cover; background-position: center; min-height: 360px; }

/* services */
.services { background: var(--yellow); padding: 70px 32px 90px; }
.svc-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 50px; }
.svc-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-content: start; }
.svc-icon { grid-row: 1 / span 3; width: 56px; height: 56px; }
.svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 { color: var(--purple); font-size: 17px; line-height: 1.35; margin-bottom: 14px; }
.svc-card p { font-size: 13px; color: var(--muted); margin: 0 0 18px; color: #4a4a4a; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; max-width: 1240px; margin: 0 auto; padding: 80px 32px 100px; align-items: start; }
.contact-info h2 { font-size: 30px; line-height: 1.25; margin-bottom: 16px; }
.contact-info h4 { font-size: 18px; margin: 22px 0 4px; }
.contact-info p { margin-bottom: 6px; font-size: 13px; }
.contact-info a { text-decoration: underline; color: var(--purple); }
.contact-info .company { margin-top: 40px; color: var(--purple); font-weight: 600; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; padding-top: 70px; }
.contact-form label { display: block; font-family: var(--serif); font-size: 13px; color: var(--purple); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; border: 0; border-bottom: 2px solid var(--yellow); background: transparent; padding: 8px 2px; font-family: var(--sans); font-size: 13px; font-weight: 300; outline: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--purple); }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--purple); }
.form-note.error { color: #c0392b; }
.notfound { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 60px 24px; }
.notfound h1 { font-size: 96px; color: var(--purple); line-height: 1; }
.notfound p { margin: 0 0 14px; font-size: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* about page */
.about-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.ap-img { background-size: cover; background-position: center; min-height: 420px; }
.ap-text { padding: 80px 7vw; align-self: center; }
.ap-text h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; color: #2c3e50; margin-bottom: 22px; }

/* services page */
.srv-intro { max-width: 900px; margin: 0 auto; padding: 80px 32px 40px; text-align: center; }
.srv-intro h2 { font-size: clamp(32px, 4vw, 48px); color: var(--purple); margin-bottom: 22px; }
.srv-intro p { font-size: 15px; color: #222; margin: 0 0 18px; }
.srv-list { max-width: 1240px; margin: 0 auto; padding: 40px 32px 100px; display: grid; gap: 40px; }
.srv-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--yellow); }
.srv-row.rev .srv-img { order: 2; }
.srv-img { background-size: cover; background-position: center; min-height: 340px; }
.srv-text { padding: 48px 56px; align-self: center; }
.srv-text h3 { color: var(--purple); font-size: 26px; line-height: 1.25; margin-bottom: 16px; }
.srv-text p { font-size: 15px; margin: 0; color: #222; }

/* responsive */
@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr; gap: 4px; padding: 8px 16px; text-align: center; }
  .topbar-contact, .topbar-social { justify-content: center; }
  .navbar { padding: 6px 16px; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav { display: none; flex-direction: column; gap: 4px; width: 100%; padding: 8px 0 14px; }
  .nav.open { display: flex; }
  .about, .contact, .solutions, .about-page, .srv-row { grid-template-columns: 1fr; }
  .about { padding: 70px 20px; }
  .about-imgs { min-height: 480px; }
  .sol-text { padding: 56px 24px; }
  .sol-img { min-height: 300px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .contact { padding: 60px 20px; }
  .contact-form { padding-top: 0; }
  .srv-row.rev .srv-img { order: 0; }
  .srv-text { padding: 32px 24px; }
  .ap-text { padding: 56px 24px; }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
}
