{{ $card[1] }}
{{ $card[2] }}
{{ $card[3] }}
diff --git a/resources/css/app.css b/resources/css/app.css index 805e90b..c45095b 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -4,22 +4,22 @@ @theme { --color-ink: #07131f; --color-acid: #c7f36b; --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif; } @layer base { html { scroll-behavior: smooth; } body { font-family: var(--font-sans); } ::selection { background:#c7f36b; color:#07131f; } } @layer components { -.container-wide { @apply mx-auto w-full max-w-[1320px] px-6 md:px-10 xl:px-14; } -.section-padding { @apply py-24 md:py-32; } -.heading-2 { @apply max-w-[650px] text-[clamp(2.6rem,4.5vw,4.6rem)] font-semibold tracking-[-.055em] leading-[1.12]; } -.section-heading { @apply flex flex-col justify-between gap-8 md:flex-row md:items-end; } +.container-wide { @apply mx-auto w-full max-w-[1320px] px-4 sm:px-6 md:px-10 xl:px-14; } +.section-padding { @apply py-16 sm:py-20 lg:py-28; } +.heading-2 { @apply max-w-[650px] text-[clamp(2rem,4.8vw,4.6rem)] font-semibold tracking-[-.055em] leading-[1.12]; } +.section-heading { @apply flex flex-col justify-between gap-5 lg:flex-row lg:items-end; } .eyebrow { @apply inline-flex items-center gap-3 text-[11px] font-bold uppercase tracking-[.25em] text-acid; } .status-dot { @apply size-2 rounded-full bg-acid shadow-[0_0_16px_#c7f36b]; } -.button-acid { @apply inline-flex items-center justify-center gap-9 rounded-full bg-acid px-7 py-4 text-[13px] font-bold text-ink transition hover:bg-white; } +.button-acid { @apply inline-flex items-center justify-center gap-4 rounded-full bg-acid px-6 sm:gap-7 py-4 text-[13px] font-bold text-ink transition hover:bg-white; } .button-outline { @apply items-center gap-5 rounded-full border border-white/25 px-6 py-3.5 text-xs font-bold transition hover:border-acid hover:text-acid; } .brand-mark { @apply flex size-10 items-center justify-center rounded-xl bg-white/10 text-xl font-extrabold; } .nav-link { @apply transition hover:text-acid; } -.mini-panel { @apply flex flex-col gap-3 rounded-xl bg-white/5 px-3 py-4 text-[10px] text-slate-300; } -.service-card { @apply min-h-72 rounded-2xl border border-white/10 bg-white/[.025] p-8 transition duration-300 hover:-translate-y-1 hover:border-acid/40 hover:bg-white/[.055]; } +.mini-panel { @apply flex flex-col gap-3 rounded-xl bg-white/5 px-1.5 py-3 text-center text-[10px] sm:px-3 sm:text-left text-slate-300; } +.service-card { @apply rounded-2xl border border-white/10 bg-white/[.025] p-5 sm:p-7 lg:min-h-72 transition duration-300 hover:-translate-y-1 hover:border-acid/40 hover:bg-white/[.055]; } .work-card { @apply overflow-hidden rounded-[24px] border border-white/10 bg-[#0a1622]; } -.work-visual { @apply flex h-72 items-center justify-center overflow-hidden p-8; } +.work-visual { @apply flex h-60 items-center justify-center overflow-hidden p-5 sm:h-72 sm:p-8; } .field-label { @apply mb-2 block text-xs font-semibold text-slate-300; } -.field-input { @apply block w-full rounded-xl border border-white/15 bg-[#0b1926] px-4 py-3.5 text-sm text-white outline-none transition focus:border-acid; } +.field-input { @apply block w-full rounded-xl border border-white/15 bg-[#0b1926] px-4 py-3.5 text-base text-white outline-none transition focus:border-acid; } .field-error { @apply mt-2 text-xs text-red-300; } .admin-input { @apply block w-full rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm text-slate-900 outline-none focus:border-teal-500; } .admin-label { @apply mb-2 block text-xs font-semibold uppercase tracking-wider text-slate-500; } @@ -40,27 +40,32 @@ body { background:#07131f; } .service-card { background:linear-gradient(145deg,rgba(26,72,85,.5),rgba(11,28,42,.85)); box-shadow:inset 0 1px rgba(255,255,255,.06),0 18px 55px rgba(0,0,0,.12); } .service-card:hover { box-shadow:inset 0 1px rgba(199,243,107,.20),0 22px 60px rgba(0,0,0,.25); } .page-hero { background:radial-gradient(ellipse 48% 48% at 75% 40%,rgba(18,123,132,.27),transparent 83%),linear-gradient(125deg,#081827,#07131f); } -.page-title { font-size:clamp(3.4rem,6.2vw,6.3rem);font-weight:650;line-height:1.05;letter-spacing:-.068em;max-width:850px; } +.page-title { font-size:clamp(2.45rem,7vw,6.3rem);font-weight:650;line-height:1.05;letter-spacing:-.068em;max-width:850px; } .page-art { perspective:900px; } .page-art-center { transform:rotate(-3deg);box-shadow:0 34px 90px rgba(0,0,0,.46),0 0 90px rgba(40,184,195,.09); } .page-art-orbit { filter:drop-shadow(0 0 20px rgba(199,243,107,.2)); } .feature-band { background:radial-gradient(ellipse at 20% 48%,rgba(26,139,153,.24),transparent 60%),linear-gradient(130deg,#0a2634,#081521); } .feature-glass { background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.018));box-shadow:0 30px 80px rgba(0,0,0,.18); } -@media(max-width:640px){.page-floating-card{right:0;top:0}.page-title{font-size:clamp(2.9rem,12vw,4.3rem)}.page-art-center{transform:none}} +@media (max-width: 639px) { .page-art-center { transform: none; } } /* ABSDEV visual refresh: navigation and brand system. */ .site-header { box-shadow: 0 10px 40px rgba(0,0,0,.16); } .brand-emblem { display:inline-flex; align-items:center; justify-content:center; width:43px; height:43px; border-radius:13px; background:linear-gradient(135deg,#1a5060,#0d2637); border:1px solid rgba(199,243,107,.28); color:#fff; font-size:24px; font-weight:800; letter-spacing:-.08em; box-shadow:inset 0 1px rgba(255,255,255,.12),0 10px 22px rgba(0,0,0,.2); } .site-nav-link { color:#cbd5e1; font-size:13px; font-weight:650; transition:color .2s ease; } .site-nav-link:hover,.site-nav-link:focus-visible {color:#c7f36b;} -.site-header-cta { display:inline-flex; align-items:center; justify-content:center; gap:20px; min-height:43px; padding:0 23px; background:#c7f36b; border-radius:999px; color:#07131f; font-size:13px; font-weight:800; transition:background .2s,transform .2s; } -@media (max-width:639px) { .site-header-cta {display:none;} } +.site-header-cta { align-items:center; justify-content:center; gap:20px; min-height:43px; padding:0 23px; background:#c7f36b; border-radius:999px; color:#07131f; font-size:13px; font-weight:800; transition:background .2s,transform .2s; } .site-header-cta:hover { background:#e2ffab; transform:translateY(-1px); } -.site-menu-button { padding:9px 12px; border:1px solid rgba(255,255,255,.18); border-radius:10px; color:#fff; } -main > section:first-child.hero-glow {padding-top:90px;} +.site-menu-button { @apply flex min-h-11 cursor-pointer list-none items-center gap-2 rounded-xl border border-white/20 px-3 text-sm font-semibold text-white; } +.site-menu-button::-webkit-details-marker { display: none; } +.site-menu-panel { @apply absolute inset-x-0 top-full max-h-[calc(100dvh-4rem)] overflow-y-auto border-b border-white/15 bg-[#0b202d] shadow-xl; } +.site-menu-panel a { @apply flex min-h-11 items-center rounded-lg px-3 hover:bg-white/10; } +.site-header :focus-visible { outline: 2px solid #c7f36b; outline-offset: 2px; } + .hero-glow:before { content:""; pointer-events:none; position:absolute; width:400px; height:400px; right:-120px; top:10%; border-radius:50%; background:rgba(199,243,107,.055); filter:blur(60px); } .section-services .service-card {border-radius:24px;} .section-services .service-card:hover {transform:translateY(-6px);} #about {position:relative; overflow:hidden;} #about:before {content:""; pointer-events:none; position:absolute; width:420px; height:420px; left:-230px; top:0; border-radius:50%; background:rgba(25,184,196,.09); filter:blur(80px);} -@media (max-width:640px) { main > section:first-child.hero-glow {padding-top:72px;} .brand-emblem {width:39px;height:39px;} } +main [id] { scroll-margin-top: 5rem; } +@media (width >= 64rem) { main [id] { scroll-margin-top: 6rem; } } +@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } } diff --git a/resources/js/app.js b/resources/js/app.js index 8337712..6d038ad 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -1 +1,21 @@ -// +const mobileMenu = document.querySelector('.site-menu'); + +if (mobileMenu) { + const menuButton = mobileMenu.querySelector('summary'); + + mobileMenu.querySelectorAll('nav a').forEach((link) => { + link.addEventListener('click', () => { + mobileMenu.open = false; + if (link.pathname === window.location.pathname && link.hash) { + menuButton.focus({ preventScroll: true }); + } + }); + }); + + mobileMenu.addEventListener('keydown', (event) => { + if (event.key === 'Escape' && mobileMenu.open) { + mobileMenu.open = false; + menuButton.focus(); + } + }); +} diff --git a/resources/views/livewire/contact-form.blade.php b/resources/views/livewire/contact-form.blade.php index 8f0c794..ab244ef 100644 --- a/resources/views/livewire/contact-form.blade.php +++ b/resources/views/livewire/contact-form.blade.php @@ -1,3 +1,3 @@ -
{{ $page['subtitle'] }}
- +{{ $page['subtitle'] }}
+A connected set of skills, chosen and applied to meet the needs of the project—not technology for its own sake.
{{ $card[2] }}
{{ $card[3] }}
{{ $card[2] }}
{{ $card[3] }}
{{ $hero->body }}
-{{ $hero->body }}
+{{ $services->body }}
{{ $services->body }}
{{ $work->body }}
Tailored systems, reporting and workflows that solve actual problems.
End-to-end creation with design, engineering and delivery in harmony.
{{ $work->body }}
Tailored systems, reporting and workflows that solve actual problems.
End-to-end creation with design, engineering and delivery in harmony.
{{ $approach->body }}
{{ $step[2] }}
{{ $approach->body }}
{{ $step[2] }}
ABSDEV is an independent digital development studio focused on the intersection of design, technology and business. We believe the most valuable software is clear, resilient and built around real people.
ABSDEV is an independent digital development studio focused on the intersection of design, technology and business. We believe the most valuable software is clear, resilient and built around real people.
{{ $cta->body }}
{{ $cta->body }}
Have a project, a problem to solve, or simply an idea? Start the conversation and we will take it from there.
Have a project, a problem to solve, or simply an idea? Start the conversation and we will take it from there.