@layer tokens, base, components, homepage, responsive;

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); }

@layer tokens {
:root {
  --ink: #0c0039;
  --purple-dark: #1b0081;
  --purple: #6842f5;
  --purple-soft: #a28ff6;
  --yellow: #f3ba40;
  --cream: #fffaf2;
  --white: #fff;
  --muted: rgba(12, 0, 57, 0.72);
  --line: rgba(104, 66, 245, 0.16);
  --shadow: 0 18px 55px rgba(27, 0, 129, 0.12);
  --radius: 36px;
  --container: 1240px;
}
}

@layer base {
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Poppins", sans-serif; font-size: 16px; line-height: 1.65; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--purple-dark); line-height: 1.2; }
h1 { max-width: 720px; margin-bottom: 24px; color: white; font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.8vw, 3.15rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
p { color: var(--muted); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section--tint { background: #f7f2ff; }
.section--soft { background: #fbf4eb; }
.section--purple { background: var(--purple); }
.section--purple h2, .section--purple h3, .section--purple p { color: white; }
.section-heading { max-width: 680px; margin-bottom: 54px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.eyebrow { margin-bottom: 10px; color: var(--purple); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: var(--yellow); }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 18px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}

@layer components {
.site-header { position: relative; z-index: 20; background: var(--cream); }
.site-header__inner { display: flex; min-height: 150px; align-items: center; justify-content: space-between; gap: 40px; }
.brand { width: 190px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: .92rem; }
.site-nav a { color: rgba(12,0,57,.74); }
.site-nav a:hover, .site-nav a.is-active { color: var(--purple-dark); font-weight: 600; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; border-radius: 50%; background: var(--purple); }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; }

.hero { position: relative; min-height: 676px; display: grid; align-items: center; overflow: hidden; }
.hero__image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,0,81,.86) 0%, rgba(36,2,94,.66) 46%, rgba(31,0,150,.2) 100%), url('../images/hero-optimized.jpg') center/cover; }
.hero__content { position: relative; padding-block: 80px; }
.hero__content > p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.88); font-size: 1.1rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.button { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; padding: 14px 31px; border: 1px solid var(--purple); border-radius: 999px; background: var(--purple); color: white; font-weight: 500; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: var(--purple-dark); }
.button--outline-light { border-color: white; background: transparent; }
.button--outline-light:hover { background: white; color: var(--purple-dark); }
.button--yellow { border-color: var(--yellow); background: var(--yellow); color: var(--purple-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.intro p:not(.eyebrow) { max-width: 600px; }
.intro .button { margin-top: 18px; }
.photo-collage { position: relative; min-height: 620px; overflow: hidden; }
.photo-collage__shape, .photo-collage__photo { position: absolute; border-radius: 28px; }
.photo-collage__shape--yellow { width: 62%; height: 62%; top: 3%; left: 7%; background: var(--yellow); transform: rotate(-15deg); }
.photo-collage__shape--purple { width: 75%; height: 65%; right: 0; bottom: 4%; background: var(--purple-soft); transform: rotate(18deg); }
.photo-collage__photo { width: 72%; box-shadow: var(--shadow); object-fit: cover; }
.photo-collage__photo--one { top: 12%; right: 6%; }
.photo-collage__photo--two { bottom: 4%; left: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: 0 8px 30px rgba(27,0,129,.05); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card--featured { background: var(--yellow); }
.service-card__icon { display: grid; width: 62px; height: 62px; margin-bottom: 24px; place-items: center; border-radius: 50%; background: var(--purple); }
.service-card__icon img { width: 30px; height: 30px; object-fit: contain; }
.service-card--featured .service-card__icon { background: white; }
.service-card p { font-size: .94rem; }
.service-card a, .article-card a { color: var(--purple); font-weight: 600; }
.service-card--featured a { color: var(--purple-dark); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-card { position: relative; min-height: 310px; padding: 40px 30px; overflow: hidden; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.process-card::after { position: absolute; right: -30px; bottom: -42px; width: 120px; height: 120px; border-radius: 50%; background: rgba(104,66,245,.1); content: ""; }
.process-card > span { display: block; margin-bottom: 44px; color: var(--yellow); font-size: 2.5rem; font-weight: 700; }
.rounded-media { width: 100%; min-height: 500px; border-radius: 32px; box-shadow: var(--shadow); object-fit: cover; }
.plain-check-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.plain-check-list li { position: relative; padding: 16px 18px 16px 52px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--purple-dark); font-weight: 600; }
.plain-check-list li::before { position: absolute; top: 15px; left: 18px; color: var(--purple); content: "✓"; font-weight: 700; }
.careers__panel { display: flex; min-height: 320px; align-items: center; justify-content: space-between; gap: 70px; padding: 60px 70px; border-radius: var(--radius); background: var(--yellow); }
.careers__panel > div { max-width: 720px; }
.careers__panel .button { flex: 0 0 auto; }
.careers__panel .eyebrow, .final-cta .eyebrow { color: var(--purple-dark); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.principle-grid article { min-height: 250px; padding: 32px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.principle-grid strong { color: var(--purple); font-size: 2rem; }
.principle-grid h3 { margin-top: 38px; }
.split--strategy > img { width: 100%; min-height: 510px; border-radius: 32px; object-fit: cover; }
.check-list { display: grid; gap: 16px; margin: 30px 0 38px; padding: 0; color: white; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { position: absolute; left: 0; color: var(--yellow); content: "✓"; font-weight: 700; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card { margin: 0; padding: 38px; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.review-card__number { display: block; margin-bottom: 28px; color: var(--purple); font-size: 1.7rem; font-weight: 700; }

.cta-band { padding: 76px 0; background: var(--purple); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-band h2 { margin-bottom: 12px; color: white; }
.cta-band p:not(.eyebrow) { margin-bottom: 0; color: white; }
.cta-band .button { flex: 0 0 auto; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { overflow: hidden; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.article-card__visual { display: flex; height: 230px; align-items: flex-end; padding: 25px; background: linear-gradient(135deg, var(--purple-dark), var(--purple-soft)); }
.article-card__visual--2 { background: linear-gradient(135deg, #ffcb59, #f28c4f); }
.article-card__visual--3 { background: linear-gradient(135deg, #230083, #ff7ca8); }
.article-card__visual span { padding: 7px 14px; border-radius: 999px; background: white; color: var(--purple); font-size: .8rem; font-weight: 600; }
.article-card__body { padding: 30px; }

.faq__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.accordion__item { overflow: hidden; border-radius: 18px; background: var(--purple); }
.accordion__item h3 { margin: 0; }
.accordion__item button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 26px; border: 0; background: transparent; color: white; text-align: left; cursor: pointer; }
.accordion__item i { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.accordion__item i::before, .accordion__item i::after { position: absolute; top: 8px; left: 2px; width: 14px; height: 2px; background: white; content: ""; transition: transform .2s; }
.accordion__item i::after { transform: rotate(90deg); }
.accordion__item.is-open i::after { transform: rotate(0); }
.accordion__panel { display: grid; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__panel p { margin: 0; padding: 0 26px 24px; color: white; }
.accordion__item.is-open .accordion__panel { max-height: 260px; }

.contact { padding-bottom: 0; }
.contact__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 72px; border-radius: 36px 36px 0 0; background: var(--purple); }
.contact__panel h2, .contact__panel > div > p { color: white; }
.contact__proof { display: flex; align-items: center; gap: 18px; margin-top: 34px; color: white; }
.contact__proof strong { color: var(--yellow); font-size: 2rem; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.lead-form input { width: 100%; min-height: 56px; padding: 13px 18px; border: 0; border-radius: 10px; outline-color: var(--yellow); }
.lead-form .button, .form-note { grid-column: 1 / -1; }
.lead-form .button { border-radius: 10px; }
.form-note { margin: 0; color: white; font-size: .75rem; }
.section--purple .eyebrow--light, .cta-band .eyebrow--light, .contact__panel .eyebrow--light { color: white !important; }

.contact-strip { padding: 58px 0; background: var(--purple-dark); }
.contact-strip__inner, .final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-strip h2 { max-width: 720px; margin-bottom: 0; color: white; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.proof-band { padding: 94px 0; background: white; text-align: center; }
.proof-band h2 { max-width: 780px; margin-inline: auto; }
.proof-band__items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 42px 0 0; padding: 0; list-style: none; }
.proof-band__items li { display: grid; min-height: 92px; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; color: var(--purple-dark); font-weight: 600; }
.final-cta { padding: 92px 0; background: var(--yellow); }
.final-cta__inner > div { max-width: 760px; }
.final-cta__inner h2 { margin-bottom: 14px; }
.final-cta__inner p:not(.eyebrow) { margin-bottom: 0; color: var(--ink); }
.final-cta__inner .button { flex: 0 0 auto; }

.site-footer { padding: 80px 0 26px; background: white; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 70px; }
.site-footer__brand img { width: 180px; margin-bottom: 30px; }
.site-footer__brand h2 { font-size: 1.7rem; }
.site-footer h3 { font-size: 1rem; }
.site-footer__top > div:not(:first-child) { display: flex; flex-direction: column; gap: 13px; }
.site-footer__top a { color: var(--muted); font-size: .92rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
}

@layer responsive {
@media (max-width: 980px) {
  .site-header__inner { min-height: 100px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 86px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; border-radius: 20px; background: white; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .split, .faq__layout, .contact__panel { grid-template-columns: 1fr; }
  .split { gap: 55px; }
  .photo-collage { min-height: 560px; }
  .service-grid, .review-grid, .article-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .faq__layout { gap: 30px; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .careers__panel, .contact-strip__inner, .final-cta__inner { align-items: flex-start; flex-direction: column; }
  .proof-band__items { grid-template-columns: repeat(3, 1fr); }
  .site-footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 75px 0; }
  .brand { width: 145px; }
  .hero { min-height: 670px; }
  .hero__content { padding-block: 60px; }
  .hero__image { background-position: 36% center; }
  .button-row, .button-row .button { width: 100%; }
  .photo-collage { min-height: 420px; }
  .service-grid, .process-grid, .review-grid, .article-grid, .principle-grid { grid-template-columns: 1fr; }
  .service-card, .process-card { min-height: 0; }
  .split--strategy > img { min-height: 360px; }
  .cta-band { padding: 60px 0; }
  .contact { padding-bottom: 0; }
  .contact__panel { width: 100%; padding: 50px 22px; border-radius: 28px 28px 0 0; }
  .lead-form { grid-template-columns: 1fr; }
  .careers__panel { padding: 42px 24px; }
  .proof-band__items { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
}
