@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  font-family: Inter, system-ui, sans-serif;
  color: #271747;
  background: #f7f6ff;
  --ink: #2d1c52;
  --accent: #5141ca;
  --muted: #625873;
  --line: #e5e0f2;
  --lavender: #eeecff;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3 { font-family: Nunito, Inter, sans-serif; font-weight: 800; line-height: 1.08; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #d64363; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell { width: min(100%, 1200px); margin-inline: auto; padding-inline: 28px; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 20; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; }
.topbar { position: relative; z-index: 1; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 160px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 33px; color: #554a71; font-size: .95rem; font-weight: 700; }
.site-nav > a, .services-menu > summary { padding-block: 12px; }
.site-nav a:hover, .site-nav a[aria-current="page"], .services-menu > summary:hover, .services-menu[data-current] > summary { color: var(--accent); }
.services-menu { position: relative; }
.services-menu summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.services-menu summary::-webkit-details-marker { display: none; }
.services-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.services-menu[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.service-links { position: absolute; top: 100%; left: -15px; min-width: 180px; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); background: white; border-radius: 16px; box-shadow: 0 16px 40px #2d1c5220; }
.service-links a { padding: 14px 16px; border-radius: 9px; }
.service-links a:hover, .service-links a[aria-current="page"] { background: var(--lavender); }
.menu-button { display: none; }
.button, .header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; min-height: 53px; padding: 0 23px; border-radius: 999px; border: 0; color: white; background: var(--ink); font-weight: 700; box-shadow: 0 10px 22px #28194c1f; transition: background .2s, transform .2s; }
.header-cta { min-height: 43px; font-size: .91rem; white-space: nowrap; }
.button:hover, .header-cta:hover { background: var(--accent); transform: translateY(-2px); }
.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-wrap {
  background:
    radial-gradient(circle at 84% 25%, #dcd8ff 0, transparent 34%),
    radial-gradient(circle at 10% 79%, #ffe8ed 0, transparent 31%),
    #f7f6ff;
  position: relative;
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#9187bd .8px, transparent .8px);
  background-size: 22px 22px; opacity: .28;
}
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 576px; padding-block: 46px 76px; }
.hero h1, .page-hero h1 { font-size: clamp(3.05rem, 6.4vw, 5.65rem); letter-spacing: -.068em; }
h1 em { color: #564cdb; font-style: normal; }
.hero-copy { color: var(--muted); font-size: 1.18rem; max-width: 530px; margin-top: 21px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 27px; }
.kicker { display: inline-block; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 700; margin-bottom: 13px; }
.visual { position: relative; min-height: 455px; display: grid; place-items: center; }
.visual-halo, .orbit { position: absolute; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; }
.visual-halo { background: linear-gradient(145deg, #e8e5ff, #f5e9ff); border: 1px solid #ded9ff; box-shadow: inset 0 0 0 34px #ffffff45; }
.orbit { width: min(87%, 386px); border: 1px dashed #6257d34d; }
.product-card {
  position: relative; width: min(88%, 412px); padding: 21px; border-radius: 27px; border: 1px solid #e9e6fb; background: white;
  box-shadow: 0 30px 70px #372b8029; transform: rotate(-3deg); animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-9px) rotate(-2deg); } }
.card-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #ebe6fb; border-radius: 14px; background: #f6f4ff; padding: 13px 14px; margin-block: 0 5px; color: var(--accent); font-size: .91rem; font-weight: 700; }
.preview-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #f0edf8; }
.preview-row:nth-last-of-type(2) { border: 0; }
.preview-row strong { display: block; font-size: .91rem; }
.preview-row small { display: block; color: var(--muted); margin-top: 3px; }
.tile { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #eeecff; color: #554ad4; }
.tile svg { width: 22px; height: 22px; }
.tile.pink { background: #ffe9ec; color: #ae3e59; }
.tile.gold { background: #fff3dc; color: #875a09; }
.float-badge { position: absolute; bottom: -16px; right: -12px; padding: 10px 14px; border: 1px solid #eee9fb; border-radius: 14px; background: white; box-shadow: 0 15px 35px #372b8022; font-size: .83rem; font-weight: 700; transform: rotate(5deg); }
.float-badge span { color: #c94d67; margin-right: 4px; }

.trust-strip { background: var(--ink); color: #efe8fb; }
.trust-inner { min-height: 90px; padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px 26px; flex-wrap: wrap; }
.trust-inner span { color: #ffa4ae; margin-right: 6px; }
.section { padding-block: 76px; }
.section-tint { background: var(--lavender); }
.section-intro { text-align: center; max-width: 665px; margin: 0 auto 37px; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.054em; }
.section-intro p, .split-copy p { margin-top: 12px; color: var(--muted); font-size: 1.07rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.feature { background: white; border: 1px solid var(--line); border-radius: 25px; padding: 29px; box-shadow: 0 9px 25px #33237309; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.feature .tile { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 4px; }
#services .feature > .tile, #services .feature > h3, #services .feature > .text-link { align-self: center; }
.centered-feature-headings .feature > .tile, .centered-feature-headings .feature > h3 { align-self: center; }
.centered-feature-headings .feature > h3 { text-align: center; }
.feature h3, .work-card h2 { font-size: 1.55rem; letter-spacing: -.03em; }
.feature p, .work-card p, .form-note { color: var(--muted); }
.feature .text-link { margin-top: auto; padding-top: 5px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 55px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 15px; padding: 17px 19px; border-radius: 18px; background: white; border: 1px solid var(--line); }
.steps h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.steps p { color: var(--muted); font-size: .92rem; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 56px; border-radius: 34px; background: radial-gradient(circle at 100% 0, #655ff0, transparent 50%), #514ad4; color: white; }
.cta-panel p { margin-top: 10px; color: #f0eeff; font-size: 1.05rem; }
.cta-panel .button { background: white; color: var(--ink); flex-shrink: 0; }
.cta-panel .button:hover { background: #fff0f1; }

.page-hero { position: relative; padding-block: 60px 67px; text-align: center; }
.page-hero h1 { font-size: clamp(3rem, 6.1vw, 5rem); max-width: 900px; margin-inline: auto; }
.page-hero .hero-copy { margin-inline: auto; max-width: 650px; }
.work-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 26px; }
.work-visual { min-height: 220px; display: grid; place-items: center; border-radius: 18px; background: radial-gradient(circle at 80% 0, #e0d9ff, transparent 80%), #f4efff; }
.work-visual img { width: min(65%, 255px); height: auto; }
.work-copy { padding: 14px; }
.work-copy p { margin-top: 12px; max-width: 48ch; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { padding: 18px; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: 0 9px 25px #33237309; }
.project-image { position: relative; aspect-ratio: 1.9; overflow: hidden; border-radius: 12px; }
.project-image img { position: absolute; bottom: 0; width: 100%; height: 112%; object-fit: cover; object-position: bottom; }
.project-image-uncropped img { top: 0; bottom: auto; height: 102%; object-position: top; }
.project-card h2 { padding: 18px 6px 5px; font-size: 1.4rem; letter-spacing: -.03em; }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 6px 5px; }
.project-heading h2 { padding: 0; }
.project-link { flex: none; color: var(--accent); font-size: 1.4rem; font-weight: 700; }
.project-link:hover { color: var(--ink); }
.contact-wrap { max-width: 780px; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 26px; padding: clamp(21px, 5vw, 42px); display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form label { display: grid; gap: 7px; font-size: .92rem; font-weight: 700; }
.contact-form label span { color: var(--muted); font-weight: 400; }
.contact-form :is(input, select, textarea) { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #c9c1df; border-radius: 12px; color: var(--ink); background: #fdfcff; }
.contact-form textarea { resize: vertical; }
.form-note { font-size: .9rem; }
.form-status { color: var(--accent); font-weight: 700; }
.thank-you-dialog { width: min(90%, 460px); padding: 36px; border: 1px solid var(--line); border-radius: 26px; color: var(--ink); box-shadow: 0 30px 70px #372b8033; }
.thank-you-dialog::backdrop { background: #27174780; }
.thank-you-dialog h2 { font-size: 2.2rem; }
.thank-you-dialog p { margin-block: 14px 24px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 24px; font-size: .9rem; }
.footer .brand img { width: 125px; }
.scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: white; box-shadow: 0 10px 22px #28194c3b; transition: background .2s, transform .2s; }
.scroll-top:hover { background: var(--accent); transform: translateY(-2px); }

@media (max-width: 900px) {
  .site-nav { gap: 23px; }
  .hero { gap: 21px; min-height: 490px; }
  .visual { min-height: 370px; }
  .feature { padding: 23px; }
}
@media (max-width: 730px) {
  .shell { padding-inline: 20px; }
  .topbar { min-height: 73px; }
  .brand img { width: 139px; }
  .header-cta { display: none; }
  .js .menu-button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); }
  .site-nav { gap: 10px; flex-wrap: wrap; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { position: absolute; top: calc(100% - 1px); left: 20px; right: 20px; display: grid; gap: 4px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px #2d1c5220; }
  .site-nav > a, .services-menu > summary { padding: 14px 16px; border-radius: 9px; }
  .site-nav > a:hover, .site-nav > a[aria-current="page"],
  .services-menu > summary:hover, .services-menu[data-current] > summary {
    background: var(--lavender);
    color: var(--accent);
  }
  .site-nav > a[inert] { filter: blur(2px); opacity: .5; user-select: none; }
  .mobile-menu-open main, .mobile-menu-open footer, .mobile-menu-open .site-header .brand {
    filter: blur(2px);
  }
  .menu-backdrop { position: fixed; inset: 0; z-index: 4; background: rgba(39, 23, 71, .12); }
  .mobile-menu-open .topbar::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 73px;
    background: rgba(39, 23, 71, .12);
    pointer-events: none;
  }
  .mobile-menu-open .site-header .menu-button,
  .mobile-menu-open .site-header .site-nav { position: relative; z-index: 1; }
  .mobile-menu-open .site-header .site-nav.is-open { position: absolute; }
  .service-links { position: static; box-shadow: none; margin-bottom: 5px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 27px; padding-block: 34px 42px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); text-align: center; }
  .visual { min-height: clamp(340px, 74vw, 435px); margin-block: 12px; }
  .visual-halo { width: min(86%, 380px); }
  .orbit { width: min(74%, 325px); }
  .product-card { width: min(80%, 360px); }
  .trust-inner { justify-content: center; text-align: center; }
  .section { padding-block: 55px; }
  .feature-grid, .split, .work-card { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .split, .work-card { gap: 25px; }
  .split-copy { text-align: center; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 34px 27px; }
  .page-hero { padding-block: 41px 49px; }
}
@media (max-width: 420px) {
  .form-grid { grid-template-columns: 1fr; }
  .product-card { padding: 14px; }
  .preview-row { padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.contact-form label .field-title { color: inherit; font-weight: 700; }
.field-title small { color: var(--muted); font-weight: 400; font-size: inherit; }
.form-grid label { align-content: start; min-width: 0; }

/* Keep the header and hero on one continuous background. */
.hero-wrap {
  background-attachment: fixed;
}
.hero-wrap::before {
  background-attachment: fixed;
}
.site-header .brand img { width: 205px; }
.footer .brand img { width: 155px; }
.site-nav > * + * { position: relative; }
.site-nav > * + *::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(85, 74, 113, .22);
  transform: translateY(-50%);
}
.project-placeholder { gap: 12px; }
.project-placeholder h2 { font-size: 1.35rem; letter-spacing: -.03em; }
.project-preview {
  width: 100%;
  min-height: 170px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #eeecff, #f9eaf2);
  color: #b1a7e5;
  font-size: 2rem;
}
@media (max-width: 900px) {
  .site-nav > * + *::before { left: -12px; }
}
@media (max-width: 730px) {
  .site-header .brand img { width: 180px; }
  .site-nav > * + *::before { display: none; }
}
