:root {
  --ink: #07090f;
  --navy: #0c1220;
  --navy-2: #101827;
  --blue: #1677ff;
  --bright: #38bdf8;
  --white: #ffffff;
  --muted: #a7b0c0;
  --line: #202a3a;
  --soft: #151d2b;
  --success: #4ade80;
  --radius: 20px;
  --wrap: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }
img { max-width: 100%; display: block; }
p { color: var(--muted); line-height: 1.75; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: "Manrope", sans-serif; }
.app { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 85% 8%, rgba(22,119,255,.09), transparent 26%), var(--ink); }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow { color: var(--bright); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow i { width: 6px; height: 6px; background: var(--bright); border-radius: 50%; box-shadow: 0 0 12px var(--bright); }
em { color: var(--blue); font-style: normal; }
.btn { border: 1px solid transparent; border-radius: 100px; min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; cursor: pointer; transition: .25s ease; }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 10px 30px rgba(22,119,255,.2); }
.btn-primary:hover { background: #2b86ff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(22,119,255,.36); }
.btn-secondary { background: rgba(255,255,255,.035); color: white; border-color: var(--line); }
.btn-secondary:hover { border-color: var(--bright); background: rgba(56,189,248,.07); }
.btn-ghost { padding: 0; min-height: auto; color: var(--bright); }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.nav-shell { position: sticky; top: 0; z-index: 50; padding-top: 14px; }
.nav { min-height: 70px; padding: 10px 12px 10px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(7,9,15,.78); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.logo { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; cursor: pointer; font: 800 16px/1 "Manrope"; letter-spacing: -.03em; padding: 0; }
.logo small { display: block; font-size: 7px; letter-spacing: .28em; color: var(--muted); margin-top: 5px; }
.logo-mark { width: 35px; height: 35px; border-radius: 10px; background: linear-gradient(145deg, var(--blue), #4cc9ff); display: grid; place-items: center; font: 800 18px "Manrope"; box-shadow: 0 0 20px rgba(22,119,255,.25); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links button, .login-link { border: 0; background: none; padding: 8px 0; color: var(--muted); font-size: 13px; cursor: pointer; position: relative; }
.nav-links button:hover, .nav-links button.active, .login-link:hover { color: white; }
.nav-links button.active:after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bright); position: absolute; bottom: 0; left: calc(50% - 2px); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { min-height: 44px; padding-inline: 18px; font-size: 13px; }
.cart-button, .menu-button { border: 0; background: none; cursor: pointer; position: relative; padding: 8px; }
.cart-button span { position: absolute; right: 0; top: 1px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); font-size: 9px; }
.menu-button, .mobile-only { display: none; }

.hero { min-height: 780px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; padding-block: 85px 95px; }
.hero h1 { font-size: clamp(50px, 5.4vw, 78px); line-height: 1.06; letter-spacing: -.035em; word-spacing: .08em; margin: 24px 0 28px; max-width: 780px; }
.hero-copy > p { font-size: 17px; max-width: 620px; }
.hero .button-row { margin-top: 34px; }
.hero-proof { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; max-width: 500px; }
.hero-proof p { margin: 0; font-size: 12px; line-height: 1.5; }
.hero-proof strong { color: white; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--navy-2); color: var(--bright); font-size: 9px; margin-right: -9px; }
.hero-visual { position: relative; height: 570px; display: grid; place-items: center; perspective: 1000px; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 410px; height: 410px; background: radial-gradient(circle at 35% 30%, rgba(56,189,248,.9), rgba(22,119,255,.22) 45%, transparent 70%); opacity: .3; }
.orb-two { width: 250px; height: 250px; border: 1px solid rgba(56,189,248,.25); box-shadow: inset 0 0 60px rgba(22,119,255,.2), 0 0 60px rgba(22,119,255,.12); right: -30px; top: 40px; }
.monitor { width: 500px; max-width: 100%; padding: 8px; background: #101621; border: 1px solid #2b3749; border-radius: 18px; transform: rotateY(-7deg) rotateX(3deg); box-shadow: 30px 50px 90px rgba(0,0,0,.55), 0 0 55px rgba(22,119,255,.14); position: relative; z-index: 2; }
.monitor-top { height: 30px; display: flex; align-items: center; gap: 5px; padding-left: 10px; }
.monitor-top span { width: 6px; height: 6px; border-radius: 50%; background: #344053; }
.monitor-screen { height: 370px; border-radius: 11px; overflow: hidden; position: relative; }
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.45) hue-rotate(5deg); }
.screen-overlay { position: absolute; inset: 0; padding: 32px; background: linear-gradient(90deg, rgba(4,10,22,.9), transparent); }
.screen-overlay span { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; color: var(--bright); }
.screen-overlay strong { display: block; font: 700 40px/1.02 "Manrope"; letter-spacing: -.05em; margin-top: 70px; }
.phone-mock { width: 136px; height: 285px; position: absolute; z-index: 4; right: -15px; bottom: 15px; border-radius: 24px; border: 5px solid #182235; background: linear-gradient(160deg, #0e1e40, #05070b); padding: 20px 14px; box-shadow: 10px 30px 50px rgba(0,0,0,.55); }
.phone-mock div { width: 35px; height: 4px; background: #2c3748; border-radius: 10px; margin: -10px auto 55px; }
.phone-mock span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue); font-weight: 800; }
.phone-mock strong { display: block; font: 700 22px/1.1 "Manrope"; margin-top: 28px; }
.floating-pill { position: absolute; z-index: 5; top: 82px; left: -25px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(56,189,248,.3); border-radius: 100px; background: rgba(12,18,32,.85); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: 11px; color: var(--bright); }
.floating-pill span { color: white; }
.trust-strip { border-block: 1px solid var(--line); background: rgba(12,18,32,.52); }
.trust-strip > div { height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.trust-strip span { color: #596476; font-size: 9px; letter-spacing: .15em; }
.trust-strip strong { color: #7f8999; font: 600 17px "Manrope"; }

.intro-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 150px; align-items: end; }
.intro-section h2, .section-head h2, .final-cta h2 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.055em; margin: 20px 0 0; }
.intro-section > div:last-child { max-width: 500px; }
.intro-section p { font-size: 17px; }
.text-link { margin-top: 18px; border: 0; border-bottom: 1px solid #3b4658; background: none; padding: 0 0 8px; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.centered { text-align: center; margin-inline: auto; }
.section-head p { font-size: 16px; max-width: 600px; margin-top: 20px; }
.services-preview { padding-block: 50px 140px; }
.service-list { border-top: 1px solid var(--line); margin-bottom: 30px; }
.service-row { width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 27px 10px; display: grid; grid-template-columns: 50px 58px 1fr auto; align-items: center; gap: 16px; cursor: pointer; transition: .25s; }
.service-row:hover { background: linear-gradient(90deg, rgba(22,119,255,.1), transparent); padding-inline: 20px; }
.service-index { color: #5b6678; font-size: 10px; }
.service-icon { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--bright); background: var(--navy); flex: none; }
.service-row strong { display: block; font: 600 20px "Manrope"; margin-bottom: 5px; }
.service-row small { display: block; color: var(--muted); max-width: 660px; }
.work-preview { background: var(--navy); padding-block: 130px; border-block: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 24px; margin-bottom: 50px; }
.project-card.featured { grid-column: span 2; }
.project-image { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.project-card .project-image { height: 350px; }
.project-card.featured .project-image { height: 570px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) brightness(.74); transition: transform .6s ease, filter .4s; }
.project-card:hover img, .portfolio-card:hover img { transform: scale(1.035); filter: saturate(1) brightness(.82); }
.project-image > span { position: absolute; top: 16px; left: 16px; padding: 7px 11px; border-radius: 100px; background: rgba(7,9,15,.7); backdrop-filter: blur(8px); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #d0d7e2; }
.project-meta { display: flex; justify-content: space-between; align-items: end; padding: 17px 4px 0; }
.project-meta small, .portfolio-card > small { color: var(--bright); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }
.project-meta h3 { font-size: 22px; margin: 5px 0 0; }
.project-meta button { width: 43px; height: 43px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; cursor: pointer; }

.process { padding-block: 140px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-grid article { padding: 30px 26px 10px 0; border-right: 1px solid var(--line); min-height: 220px; }
.process-grid article:not(:first-child) { padding-left: 26px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--bright); font-size: 10px; }
.process-grid h3 { font-size: 20px; margin: 55px 0 10px; }
.process-grid p { font-size: 13px; line-height: 1.6; }
.testimonial { padding-block: 90px 130px; text-align: center; max-width: 930px; }
.quote { font: 80px/1 Georgia; color: var(--blue); }
.testimonial blockquote { font: 500 clamp(25px, 3vw, 42px)/1.35 "Manrope"; letter-spacing: -.03em; margin: 0; }
.testimonial p { font-size: 12px; margin-top: 30px; }
.testimonial p strong { color: white; }
.faq { padding-block: 110px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq article { border-top: 1px solid var(--line); }
.faq article:last-child { border-bottom: 1px solid var(--line); }
.faq article > button { width: 100%; border: 0; background: none; padding: 25px 0; display: grid; grid-template-columns: 45px 1fr auto; align-items: center; text-align: left; cursor: pointer; }
.faq article button span { color: #5b6678; font-size: 9px; }
.faq article button strong { font: 500 16px "Manrope"; }
.faq article button i { color: var(--bright); font-style: normal; font-size: 22px; }
.faq article p { padding: 0 30px 25px 45px; margin: 0; font-size: 14px; }
.final-cta { position: relative; padding: 130px 30px; text-align: center; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; margin-block: 60px 130px; background: linear-gradient(145deg, rgba(22,119,255,.09), rgba(12,18,32,.75)); }
.final-cta .cta-glow { width: 500px; height: 500px; position: absolute; left: calc(50% - 250px); bottom: -380px; border-radius: 50%; background: var(--blue); filter: blur(80px); opacity: .32; }
.final-cta > *:not(.cta-glow) { position: relative; }
.final-cta p { max-width: 610px; margin: 24px auto 30px; }

.page-intro { padding-block: 130px 90px; border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(46px, 6vw, 82px); line-height: 1.02; letter-spacing: -.06em; max-width: 930px; margin: 26px 0; }
.page-intro p { max-width: 660px; font-size: 17px; }
.service-grid { padding-block: 90px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(12,18,32,.7)); transition: .3s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(56,189,248,.55); box-shadow: 0 18px 50px rgba(0,0,0,.25), 0 0 30px rgba(22,119,255,.08); }
.service-card-top { display: flex; justify-content: space-between; align-items: start; }
.service-card-top > span { width: 50px; height: 50px; display: grid; place-items: center; color: var(--bright); border-radius: 14px; background: rgba(22,119,255,.12); }
.service-card-top small { color: var(--muted); }
.service-card h3 { font-size: 24px; margin: 30px 0 12px; }
.service-card ul, .modal ul { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 10px; color: #c4ccd8; font-size: 13px; }
.service-card li, .modal li { display: flex; gap: 9px; align-items: center; }
.service-card li svg, .modal li svg { color: var(--bright); }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; }
.price-note { font-size: 12px; margin-top: -60px; margin-bottom: 100px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(1,3,7,.78); backdrop-filter: blur(12px); display: grid; place-items: center; padding: 20px; animation: fade .2s ease; }
.modal { width: min(640px, 100%); max-height: 90vh; overflow-y: auto; border: 1px solid #2b3d55; border-radius: 24px; background: var(--navy); padding: 44px; box-shadow: 0 30px 90px #000; position: relative; }
.modal-close { position: absolute; right: 22px; top: 22px; border: 0; background: none; cursor: pointer; color: var(--muted); }
.modal > .eyebrow { margin: 18px 0 8px 15px; }
.modal h2 { font-size: 36px; margin: 15px 0; }
.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0; }
.modal-cols div { padding: 18px; background: var(--ink); border-radius: 12px; border: 1px solid var(--line); }
.modal-cols small, .modal-cols strong { display: block; }
.modal-cols small { color: var(--muted); margin-bottom: 8px; }
.modal-cols strong { font-size: 14px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 50px; }
.filters button { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.filters button.active { background: var(--blue); color: white; border-color: var(--blue); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 65px 24px; padding-bottom: 130px; }
.portfolio-card .project-image { height: 420px; margin-bottom: 20px; }
.portfolio-card:nth-child(3n) { grid-column: span 2; }
.portfolio-card:nth-child(3n) .project-image { height: 560px; }
.portfolio-card .project-image button { position: absolute; inset: auto 18px 18px auto; border: 0; border-radius: 100px; padding: 12px 17px; color: white; background: var(--blue); display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(8px); transition: .25s; }
.portfolio-card:hover .project-image button { opacity: 1; transform: none; }
.portfolio-card h3 { margin: 7px 0 6px; font-size: 25px; }
.portfolio-card p { margin: 0; font-size: 14px; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 130px; align-items: center; }
.about-image { height: 600px; border-radius: var(--radius); overflow: hidden; position: relative; }
.about-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.65) saturate(.7); }
.about-image span { position: absolute; bottom: 20px; left: 20px; padding: 10px 14px; border-radius: 100px; background: rgba(7,9,15,.78); font-size: 11px; }
.values { padding-block: 100px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.value-grid article { border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.value-grid span { color: var(--bright); font-size: 10px; }
.value-grid h3 { margin: 55px 0 8px; }
.team { padding-block: 120px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-placeholder { height: 390px; border-radius: 18px; background: linear-gradient(145deg, #152036, #090d15); border: 1px solid var(--line); display: grid; place-items: center; color: #59657a; position: relative; }
.team-placeholder span { position: absolute; top: 20px; left: 20px; font-size: 10px; }
.team-grid h3 { margin: 17px 0 3px; }
.team-grid p { margin: 0; }

.form-layout { display: grid; grid-template-columns: 300px 1fr; gap: 90px; padding-block: 90px 140px; }
.form-layout aside { position: sticky; top: 120px; align-self: start; }
.form-layout aside h3 { font-size: 26px; margin-top: 20px; }
.progress { margin-top: 45px; }
.progress > div { display: flex; gap: 14px; min-height: 60px; position: relative; color: #667184; }
.progress > div:not(:last-child):before { content: ""; position: absolute; left: 15px; top: 33px; height: 27px; width: 1px; background: var(--line); }
.progress > div > span { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.progress > div p { margin: 6px 0; color: inherit; }
.progress > div.active { color: white; }
.progress > div.active > span { border-color: var(--blue); background: var(--blue); }
.project-form, .contact-form { border: 1px solid var(--line); border-radius: 22px; padding: 46px; background: rgba(12,18,32,.58); }
.form-step h2 { font-size: 34px; margin-bottom: 35px; }
.form-step > h3 { margin-top: 35px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 9px; margin-bottom: 20px; color: #d9dee7; font-size: 12px; }
.field input, .field select, .field textarea, .cart-items select { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #090d15; color: white; padding: 14px 15px; transition: border .2s; }
.field input, .field select { min-height: 49px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field small { color: var(--muted); }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-card { padding: 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 12px; }
.check-card input { display: none; }
.check-card > span { width: 19px; height: 19px; border: 1px solid #3b4657; border-radius: 5px; display: grid; place-items: center; color: transparent; }
.check-card:has(input:checked) { border-color: var(--blue); color: white; background: rgba(22,119,255,.08); }
.check-card input:checked + span { background: var(--blue); border-color: var(--blue); color: white; }
.form-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.summary { padding: 25px; border-radius: 14px; background: var(--ink); border: 1px solid var(--line); display: grid; gap: 14px; margin-top: 25px; }
.summary > div { display: grid; grid-template-columns: 140px 1fr; border-top: 1px solid var(--line); padding-top: 13px; }
.summary p, .summary strong { margin: 0; font-size: 12px; }
.success-screen { min-height: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 760px; }
.success-icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.35); color: var(--success); margin-bottom: 25px; }
.success-screen h1 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -.055em; margin: 20px 0; }
.next-steps { text-align: left; width: 100%; border: 1px solid var(--line); border-radius: 15px; padding: 24px; margin: 20px 0 30px; }
.next-steps p { margin: 6px 0; }

.cart-layout { min-height: 550px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-block: 80px 140px; }
.empty-cart { grid-column: span 2; text-align: center; padding: 80px 20px; border: 1px dashed #2b3545; border-radius: 22px; }
.empty-cart > span { width: 70px; height: 70px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin: 0 auto 24px; color: var(--bright); }
.cart-items { display: grid; align-content: start; gap: 12px; }
.cart-items article { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; border: 1px solid var(--line); padding: 22px; border-radius: 16px; background: var(--navy); }
.cart-items h3 { font-size: 16px; margin: 0 0 10px; }
.cart-items select { width: auto; padding: 7px 25px 7px 10px; font-size: 11px; }
.remove { border: 0; background: none; color: #758195; cursor: pointer; }
.remove:hover { color: #ff6b7a; }
.cart-summary { border: 1px solid var(--line); border-radius: 18px; background: var(--navy); padding: 28px; align-self: start; }
.cart-summary h2 { margin: 15px 0 30px; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); margin: 15px 0; }
.cart-summary .total { padding-top: 20px; border-top: 1px solid var(--line); color: white; font-size: 14px; }
.cart-summary p { font-size: 10px; }
.cart-summary .btn { width: 100%; margin-top: 15px; }

.auth-page { min-height: calc(100vh - 100px); display: grid; grid-template-columns: 1fr 1fr; padding-top: 20px; }
.auth-art { position: relative; margin: 0 0 20px 20px; border-radius: 22px; overflow: hidden; min-height: 720px; display: flex; align-items: end; padding: 50px; }
.auth-art:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,6,12,.95), rgba(3,6,12,.15)); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); }
.auth-art .logo-mark { position: absolute; z-index: 2; top: 30px; left: 30px; }
.auth-art blockquote { position: relative; z-index: 2; font: 600 clamp(30px, 4vw, 55px)/1.15 "Manrope"; letter-spacing: -.05em; max-width: 620px; margin: 0; }
.auth-panel { display: grid; place-items: center; padding: 60px; }
.auth-panel form { width: min(450px, 100%); }
.auth-panel h1 { font-size: 42px; letter-spacing: -.05em; margin: 18px 0 10px; }
.auth-panel > form > p { margin-bottom: 30px; }
.password { position: relative; }
.password button { position: absolute; right: 10px; top: 12px; border: 0; background: none; cursor: pointer; color: var(--muted); }
.auth-options { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.auth-options button, .auth-switch button { border: 0; background: none; color: var(--bright); cursor: pointer; }
.auth-panel form > .btn { width: 100%; margin-bottom: 10px; }
.form-message { border: 1px solid rgba(56,189,248,.25); background: rgba(56,189,248,.07); color: #b8dff2; padding: 13px; border-radius: 10px; margin-top: 12px; font-size: 12px; line-height: 1.5; }
.auth-switch { text-align: center; font-size: 12px; margin-top: 20px; }

.dashboard { padding-bottom: 140px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 50px 0; }
.dash-stats article { border: 1px solid var(--line); border-radius: 15px; padding: 24px; background: var(--navy); }
.dash-stats span { color: var(--muted); font-size: 12px; }
.dash-stats strong { display: block; font: 600 36px "Manrope"; margin-top: 25px; }
.dash-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.dash-main, .profile-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--navy); }
.dash-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.dash-head h2 { margin: 10px 0 0; }
.status { background: rgba(56,189,248,.1); color: var(--bright); padding: 8px 12px; border-radius: 100px; font-size: 10px; }
.timeline { padding: 30px 0; }
.timeline > div { display: flex; gap: 15px; min-height: 75px; position: relative; opacity: .45; }
.timeline > div:not(:last-child):before { content: ""; width: 1px; height: 42px; position: absolute; top: 32px; left: 14px; background: #354155; }
.timeline > div > span { width: 29px; height: 29px; border: 1px solid #3a4658; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.timeline p { margin: 4px 0; line-height: 1.2; }
.timeline strong, .timeline small { display: block; }
.timeline small { margin-top: 7px; }
.timeline .done, .timeline .current { opacity: 1; }
.timeline .done > span { color: var(--success); border-color: var(--success); }
.timeline .current > span { background: var(--blue); border-color: var(--blue); }
.profile-card { text-align: center; }
.avatar-large { width: 75px; height: 75px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--bright)); font: 700 22px "Manrope"; margin: 0 auto 20px; }
.profile-card h3 { margin-bottom: 5px; }
.profile-card .btn { width: 100%; margin: 20px 0; }
.profile-card > button { border: 0; background: none; color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 5px; margin: auto; cursor: pointer; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; padding-block: 100px 140px; }
.contact-info dl { margin: 40px 0; }
.contact-info dl div { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 140px 1fr; }
.contact-info dt { color: var(--muted); font-size: 11px; }
.contact-info dd { margin: 0; }
.contact-info a { color: white; }

.toast { position: fixed; right: 25px; bottom: 25px; z-index: 120; display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-radius: 12px; background: #132138; border: 1px solid #2e4e72; box-shadow: 0 20px 50px #000; animation: slide .3s ease; font-size: 13px; }
.toast svg { color: var(--success); }
footer { background: #05070b; border-top: 1px solid var(--line); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 60px; padding-bottom: 70px; }
.footer-grid > div:first-child p { max-width: 340px; margin-top: 25px; font-size: 13px; }
.footer-grid h4 { font-size: 11px; text-transform: uppercase; color: #6f7a8c; letter-spacing: .12em; margin-bottom: 20px; }
.footer-grid > div:not(:first-child) > button { border: 0; background: none; display: block; padding: 6px 0; color: #c3cad5; cursor: pointer; font-size: 13px; }
.footer-grid > div:not(:first-child) p { font-size: 13px; margin: 5px 0; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: white; font-size: 10px; }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #626d7d; font-size: 10px; }
.footer-bottom a { color: inherit; margin-left: 20px; text-decoration: none; }

@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { opacity: 0; transform: translateY(10px); } }

.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.logo-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 48%, rgba(22,119,255,.15), transparent 32%),
    linear-gradient(135deg, #02040a, #07090f 54%, #03060d);
  transition: opacity 1.15s cubic-bezier(.65, 0, .2, 1) .12s;
}

.logo-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(70vw, 900px);
  height: 1px;
  top: 46%;
  left: 15%;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.6), transparent);
  box-shadow: 0 0 18px rgba(56,189,248,.5);
  opacity: 0;
  transform: rotate(-9deg) translateX(-60%);
  animation: introLightSweep 1.35s cubic-bezier(.22, 1, .36, 1) .35s forwards;
}

.intro-playing .nav > .logo {
  opacity: 0;
}

.intro-skip {
  position: absolute;
  top: clamp(20px, 4vw, 40px);
  right: clamp(20px, 4vw, 40px);
  z-index: 5;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  background: rgba(8,13,23,.48);
  backdrop-filter: blur(12px);
  color: #cbd4e2;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  animation: introFadeUp .5s ease .6s forwards;
  transition: border-color .2s, color .2s, background .2s;
}

.intro-skip:hover {
  border-color: var(--bright);
  background: rgba(22,119,255,.12);
  color: var(--white);
}

.intro-center {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(90vw, 760px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-logo-wrap {
  position: relative;
  z-index: 3;
  transform-origin: top left;
  will-change: transform, filter;
}

.intro-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 12% -18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,119,255,.42), transparent 68%);
  filter: blur(20px);
  opacity: 0;
  animation: introGlow 1.5s ease .12s forwards;
}

.intro-logo-wrap.is-flying {
  filter: drop-shadow(-18px 10px 10px rgba(22,119,255,.22));
}

.intro-logo-wrap.is-flying::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 180px;
  height: 3px;
  top: 50%;
  right: 70%;
  border-radius: 100%;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,.65));
  filter: blur(3px);
  opacity: .8;
  animation: trailPulse .55s ease-in-out infinite alternate;
}

.intro-logo {
  display: flex;
  align-items: center;
  gap: 24px;
  font: 800 38px/1 "Manrope";
  letter-spacing: -.03em;
  opacity: 0;
  transform: scale(.72);
  filter: blur(8px);
  animation: introLogoReveal 1.15s cubic-bezier(.16, 1, .3, 1) .08s forwards;
}

.intro-logo .logo-mark {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  font-size: 43px;
  box-shadow:
    0 0 30px rgba(22,119,255,.48),
    0 0 80px rgba(22,119,255,.2);
}

.intro-logo small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: .28em;
}

.intro-welcome {
  margin: 42px 0 0;
  color: var(--white);
  font: 600 clamp(12px, 1.5vw, 16px)/1.4 "Manrope";
  letter-spacing: clamp(.16em, .6vw, .35em);
  opacity: 0;
  transform: translateY(14px);
  text-shadow: 0 0 22px rgba(56,189,248,.3);
  animation: introFadeUp .75s cubic-bezier(.22, 1, .36, 1) 1s forwards;
  transition: opacity .35s, transform .35s;
}

.intro-line {
  width: min(230px, 55vw);
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, transparent, var(--bright), transparent);
  box-shadow: 0 0 12px rgba(56,189,248,.8);
  opacity: 0;
  transform: scaleX(0);
  animation: introLine 1s cubic-bezier(.22, 1, .36, 1) 1.15s forwards;
  transition: opacity .3s;
}

.intro-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, transparent 28%, rgba(22,119,255,.04) 49%, transparent 68%),
    repeating-linear-gradient(90deg, transparent 0 11vw, rgba(56,189,248,.025) 11vw calc(11vw + 1px));
  transition: opacity .8s ease;
}

.intro-atmosphere::before,
.intro-atmosphere::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(56,189,248,.08);
  border-radius: 50%;
  filter: drop-shadow(0 0 30px rgba(22,119,255,.08));
  animation: atmosphereOrbit 9s linear infinite;
}

.intro-atmosphere::before {
  left: -18vw;
  bottom: -24vw;
}

.intro-atmosphere::after {
  top: -28vw;
  right: -16vw;
  animation-direction: reverse;
  animation-duration: 12s;
}

.intro-atmosphere i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 14px 2px rgba(56,189,248,.7);
  opacity: 0;
  animation: particleFloat 2.7s ease-in-out infinite;
}

.intro-atmosphere i:nth-child(1) { left: 18%; top: 30%; animation-delay: .1s; }
.intro-atmosphere i:nth-child(2) { left: 31%; top: 72%; animation-delay: .6s; }
.intro-atmosphere i:nth-child(3) { left: 72%; top: 25%; animation-delay: 1s; }
.intro-atmosphere i:nth-child(4) { left: 82%; top: 66%; animation-delay: .35s; }
.intro-atmosphere i:nth-child(5) { left: 57%; top: 16%; animation-delay: 1.35s; }
.intro-atmosphere i:nth-child(6) { left: 13%; top: 58%; animation-delay: 1.7s; }

.logo-intro.departing::before {
  opacity: 0;
}

.logo-intro.departing::after,
.logo-intro.departing .intro-atmosphere {
  opacity: 0;
}

.logo-intro.departing .intro-welcome {
  opacity: 0;
  transform: translateY(-8px);
}

.logo-intro.departing .intro-line {
  opacity: 0;
}

@keyframes introLogoReveal {
  0% { opacity: 0; transform: scale(.72); filter: blur(8px); }
  65% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes introGlow {
  0% { opacity: 0; transform: scale(.7); }
  60% { opacity: .9; }
  100% { opacity: .52; transform: scale(1.1); }
}

@keyframes introFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introLine {
  to { opacity: .9; transform: scaleX(1); }
}

@keyframes introLightSweep {
  0% { opacity: 0; transform: rotate(-9deg) translateX(-60%); }
  35% { opacity: .85; }
  100% { opacity: 0; transform: rotate(-9deg) translateX(80%); }
}

@keyframes atmosphereOrbit {
  to { transform: rotate(360deg); }
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(.65); }
  35% { opacity: .7; }
  100% { opacity: 0; transform: translate3d(12px, -35px, 0) scale(1.2); }
}

@keyframes trailPulse {
  from { opacity: .25; transform: scaleX(.7); }
  to { opacity: .85; transform: scaleX(1); }
}

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

@media (max-width: 980px) {
  :root { --wrap: min(100% - 36px, 760px); }
  .nav-links { position: absolute; top: 77px; left: 0; right: 0; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,9,15,.98); padding: 20px; display: none; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links button { text-align: left; font-size: 16px; padding: 12px; }
  .nav-links button.active:after { display: none; }
  .menu-button, .mobile-only { display: block; }
  .login-link { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { height: 520px; }
  .monitor { width: 620px; }
  .intro-section, .about-story, .faq, .contact-layout { grid-template-columns: 1fr; gap: 55px; }
  .project-grid { gap: 35px 16px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 45px; }
  .form-layout aside { position: static; }
  .progress { display: flex; }
  .progress > div { flex: 1; }
  .progress > div:not(:last-child):before { width: calc(100% - 32px); height: 1px; top: 15px; left: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .empty-cart { grid-column: auto; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { min-height: 460px; margin-right: 20px; }
  .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: span 3; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 28px); --radius: 15px; }
  .nav-shell { padding-top: 8px; }
  .nav { min-height: 60px; border-radius: 14px; }
  .nav-cta, .nav-actions .login-link { display: none; }
  .hero { min-height: auto; padding-block: 90px 50px; gap: 30px; }
  .hero h1 { font-size: 45px; }
  .hero-copy > p { font-size: 15px; }
  .hero-visual { height: 380px; margin-inline: -10px; }
  .monitor { transform: rotateY(-3deg); }
  .monitor-screen { height: 280px; }
  .screen-overlay { padding: 20px; }
  .screen-overlay strong { font-size: 29px; margin-top: 50px; }
  .phone-mock { width: 105px; height: 225px; right: -7px; }
  .phone-mock div { margin-bottom: 38px; }
  .phone-mock strong { font-size: 16px; }
  .floating-pill { top: 25px; left: -4px; }
  .trust-strip > div { overflow: auto; justify-content: start; height: 85px; }
  .trust-strip strong { white-space: nowrap; }
  .intro-section { padding-block: 100px; gap: 35px; }
  .intro-section h2, .section-head h2, .final-cta h2 { font-size: 40px; }
  .services-preview, .work-preview, .process, .faq { padding-block: 90px; }
  .service-row { grid-template-columns: 35px 45px 1fr; padding-block: 22px; }
  .service-row > svg { display: none; }
  .service-row strong { font-size: 16px; }
  .service-row small { display: none; }
  .project-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .project-card.featured, .portfolio-card:nth-child(3n) { grid-column: auto; }
  .project-card .project-image, .project-card.featured .project-image, .portfolio-card .project-image, .portfolio-card:nth-child(3n) .project-image { height: 330px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article:not(:first-child) { border-right: 0; border-bottom: 1px solid var(--line); padding: 25px 0; min-height: 160px; }
  .process-grid h3 { margin-top: 35px; }
  .faq { gap: 20px; }
  .testimonial { padding-block: 70px; }
  .final-cta { padding: 85px 18px; margin-bottom: 90px; }
  .page-intro { padding-block: 95px 60px; }
  .page-intro h1 { font-size: 47px; }
  .service-card { padding: 24px; }
  .card-actions { flex-direction: column; }
  .modal { padding: 32px 22px; }
  .modal-cols { grid-template-columns: 1fr; }
  .about-story { padding-block: 80px; }
  .about-image { height: 430px; }
  .value-grid, .team-grid { grid-template-columns: 1fr; }
  .team-placeholder { height: 330px; }
  .project-form, .contact-form { padding: 25px 18px; }
  .field-grid, .check-grid { grid-template-columns: 1fr; }
  .progress > div p { display: none; }
  .summary > div { grid-template-columns: 1fr; gap: 4px; }
  .cart-items article { grid-template-columns: auto 1fr auto; }
  .cart-items article > strong { grid-column: 2; }
  .auth-art { display: none; }
  .auth-panel { padding: 90px 20px; }
  .auth-panel h1 { font-size: 36px; }
  .dash-stats { grid-template-columns: 1fr; }
  .dash-head { align-items: start; gap: 10px; }
  .contact-layout { padding-block: 70px 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom a { margin: 0 20px 0 0; }
}

/* Responsive hardening across every route and intermediate viewport. */
html,
body,
#root,
.app {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
section,
article,
aside,
header,
footer,
nav,
form,
div {
  min-width: 0;
}

h1,
h2,
h3,
h4,
p,
span,
strong,
small,
button,
a,
label,
dt,
dd {
  overflow-wrap: anywhere;
}

button,
.btn,
input,
select,
textarea {
  max-width: 100%;
}

input,
select,
textarea {
  min-width: 0;
}

svg {
  flex: 0 0 auto;
}

.project-image,
.monitor-screen,
.about-image,
.team-placeholder,
.auth-art {
  max-width: 100%;
}

.service-card,
.value-grid article,
.cart-items article,
.dash-main,
.profile-card,
.project-form,
.contact-form {
  overflow: hidden;
}

@media (min-width: 1280px) {
  :root {
    --wrap: min(1240px, calc(100vw - 64px));
  }

  .hero {
    gap: clamp(48px, 5vw, 88px);
  }

  .hero-visual {
    min-width: 0;
  }
}

@media (max-width: 1280px) {
  :root {
    --wrap: min(1120px, calc(100vw - 48px));
  }

  .nav-links {
    gap: clamp(14px, 1.8vw, 26px);
  }

  .hero {
    gap: clamp(30px, 4vw, 58px);
  }

  .monitor {
    width: min(100%, 500px);
  }

  .contact-layout,
  .faq,
  .form-layout,
  .about-story {
    gap: clamp(48px, 7vw, 90px);
  }
}

@media (max-width: 1024px) {
  :root {
    --wrap: min(100% - 40px, 900px);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7,9,15,.98);
    box-shadow: 0 24px 50px rgba(0,0,0,.5);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links button {
    width: 100%;
    padding: 12px;
    text-align: left;
    font-size: 16px;
  }

  .nav-links button.active:after {
    display: none;
  }

  .menu-button,
  .mobile-only {
    display: block;
  }

  .login-link {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-block: clamp(80px, 10vw, 110px) 70px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    width: min(100%, 760px);
    height: auto;
    min-height: 500px;
    margin-inline: auto;
  }

  .monitor {
    width: min(82vw, 620px);
  }

  .intro-section,
  .about-story,
  .faq,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-layout aside {
    position: static;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-summary {
    width: 100%;
  }

  .auth-page {
    grid-template-columns: minmax(0, 1fr);
  }

  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  body {
    font-size: 15px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-cta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 9.5vw, 4.2rem);
    line-height: 1.02;
  }

  .page-intro h1 {
    font-size: clamp(2.65rem, 9vw, 4.4rem);
  }

  .intro-section h2,
  .section-head h2,
  .final-cta h2 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-visual {
    min-height: 430px;
  }

  .monitor-screen {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .screen-overlay strong {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .trust-strip > div {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .trust-strip > div::-webkit-scrollbar {
    display: none;
  }

  .trust-strip strong,
  .trust-strip span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .intro-section,
  .services-preview,
  .work-preview,
  .process,
  .faq,
  .team,
  .values {
    padding-block: clamp(72px, 12vw, 100px);
  }

  .project-card .project-image,
  .project-card.featured .project-image,
  .portfolio-card .project-image,
  .portfolio-card:nth-child(3n) .project-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .project-card.featured .project-image,
  .portfolio-card:nth-child(3n) .project-image {
    aspect-ratio: 16 / 10;
  }

  .about-image {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .team-placeholder {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .process-grid article {
    min-height: 190px;
  }

  .project-form,
  .contact-form,
  .dash-main,
  .profile-card {
    padding: clamp(22px, 5vw, 36px);
  }

  .field-grid,
  .check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .progress {
    display: flex;
    width: 100%;
  }

  .progress > div {
    flex: 1 1 0;
  }

  .progress > div:not(:last-child):before {
    width: calc(100% - 32px);
    height: 1px;
    top: 15px;
    left: 32px;
  }

  .cart-items article {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .cart-items article > strong {
    grid-column: 2;
  }

  .cart-items select {
    width: min(100%, 190px);
  }

  .modal {
    width: min(100%, 640px);
    max-height: calc(100dvh - 32px);
    padding: clamp(28px, 6vw, 44px);
  }

  .auth-art {
    min-height: 420px;
  }

  .auth-panel {
    padding: clamp(70px, 12vw, 100px) clamp(20px, 7vw, 60px);
  }

  .dash-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  :root {
    --wrap: calc(100% - 24px);
    --radius: 14px;
  }

  .nav {
    padding-inline: 12px 8px;
  }

  .logo {
    flex: 0 1 auto;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .cart-button,
  .menu-button {
    padding: 7px;
  }

  .hero {
    padding-block: 74px 46px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
    letter-spacing: -.025em;
    word-spacing: .06em;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .button-row .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 330px;
    margin-inline: 0;
  }

  .monitor {
    width: 96%;
    padding: 5px;
  }

  .monitor-top {
    height: 24px;
  }

  .monitor-screen {
    aspect-ratio: 1.2 / 1;
  }

  .screen-overlay {
    padding: 16px;
  }

  .screen-overlay strong {
    margin-top: 38px;
  }

  .phone-mock {
    width: 88px;
    height: 190px;
    right: 0;
    bottom: 0;
    border-width: 4px;
    border-radius: 19px;
    padding: 16px 10px;
  }

  .phone-mock div {
    margin-bottom: 28px;
  }

  .phone-mock strong {
    margin-top: 18px;
    font-size: 14px;
  }

  .floating-pill {
    top: 18px;
    left: 0;
    max-width: calc(100% - 20px);
  }

  .page-intro {
    padding-block: 80px 52px;
  }

  .page-intro h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .service-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .service-row .service-index,
  .service-row > svg {
    display: none;
  }

  .service-row small {
    display: block;
    font-size: 12px;
    line-height: 1.5;
  }

  .service-card-top {
    gap: 14px;
  }

  .service-card-top small {
    text-align: right;
  }

  .card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .card-actions .btn {
    width: 100%;
  }

  .project-grid,
  .portfolio-grid,
  .value-grid,
  .team-grid,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid article,
  .process-grid article:not(:first-child) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .faq article > button {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .faq article p {
    padding-left: 30px;
    padding-right: 0;
  }

  .final-cta {
    padding: 76px 16px;
  }

  .modal-backdrop {
    padding: 8px;
  }

  .modal {
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
    padding: 28px 18px 22px;
  }

  .modal h2 {
    font-size: clamp(1.8rem, 9vw, 2.25rem);
  }

  .modal-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-form,
  .contact-form {
    padding: 22px 16px;
  }

  .form-step h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .form-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .form-nav .btn {
    width: 100%;
  }

  .summary > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .cart-items article {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 17px;
  }

  .cart-items article > strong {
    grid-column: 2;
  }

  .cart-summary {
    padding: 22px 18px;
  }

  .auth-art {
    display: none;
  }

  .auth-panel {
    padding: 80px 16px;
  }

  .auth-panel h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .auth-options {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .dash-head {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .contact-info dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }

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

  .footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .footer-bottom a {
    margin: 0;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .intro-logo {
    gap: 16px;
    font-size: 27px;
  }

  .intro-logo .logo-mark {
    width: 60px;
    height: 60px;
    border-radius: 17px;
    font-size: 31px;
  }

  .intro-logo small {
    margin-top: 8px;
    font-size: 12px;
  }

  .intro-welcome {
    margin-top: 32px;
    font-size: 11px;
    line-height: 1.6;
  }

  .intro-skip {
    top: 16px;
    right: 16px;
  }
}

/* Standalone HTML source adapters */
[hidden] { display: none !important; }
.site-page { display: none; }
.site-page.active-page { display: block; animation: fade .35s ease; }
.logo-image { display: block; width: 130px; max-width: 34vw; height: auto; }
.cart-button img, .menu-button img, .nav-cta img { width: 20px; height: 20px; }
.nav-cta img { width: 17px; height: 17px; }
.form-step { display: none; }
.form-step.active { display: block; animation: fade .25s ease; }
.form-nav [hidden] { display: none !important; }
.success-panel { padding: clamp(30px, 7vw, 70px) 0; text-align: center; }
.success-panel h2 { margin-top: 22px; font-size: clamp(32px, 5vw, 54px); }
.success-panel .success-icon { margin-inline: auto; }
.team-placeholder b { color: #77849a; font: 600 18px "Manrope"; }
.intro-logo-image { display: block; width: min(360px, 74vw); height: auto; filter: drop-shadow(0 0 25px rgba(22,119,255,.42)); opacity: 0; transform: scale(.72); animation: introLogoReveal 1.15s cubic-bezier(.16,1,.3,1) .08s forwards; }
.intro-active #navbar-logo { opacity: 0; }
.intro-logo-wrap { width: min(360px, 74vw); }
.intro-logo-wrap::after { inset: -20%; }
.footer-grid .logo-image { max-width: 150px; }
.portfolio-card .project-image button { color: white; }
.service-card li span, .modal li span { color: var(--bright); }

@media (max-width: 480px) {
  .logo-image { width: 112px; max-width: 38vw; }
  .intro-logo-image, .intro-logo-wrap { width: min(270px, 74vw); }
}
