/* Codeforge Studio. Material Design 3, light theme only. */
:root {
  --p1: #4b5cf2;            /* gradient start (blue-violet) */
  --p2: #7a47f5;            /* gradient end (violet) */
  --primary: #5b4df3;
  --on-primary: #ffffff;
  --primary-container: #e9e6ff;
  --on-primary-container: #1d1470;
  --secondary-container: #eef0ff;
  --surface: #ffffff;
  --surface-1: #f7f6ff;
  --surface-2: #f0eefd;
  --on-surface: #14173a;
  --on-surface-variant: #4d5170;
  --outline: #cfcde6;
  --outline-variant: #e4e2f3;
  --navy: #0e1033;
  --navy-2: #171a4a;
  --error: #b3261e;
  --ok: #146c43;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 28px;
  --e1: 0 1px 2px rgba(20,23,58,.12), 0 1px 3px 1px rgba(20,23,58,.08);
  --e2: 0 1px 2px rgba(20,23,58,.12), 0 2px 6px 2px rgba(20,23,58,.08);
  --e-card: 0 4px 14px rgba(70,60,170,.10);
  --e-card-hover: 0 8px 22px rgba(70,60,170,.16);
  --e-float: 0 8px 20px rgba(40,34,120,.16);
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--surface); }
body { margin: 0; background: var(--surface); color: var(--on-surface); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--on-surface); margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(91,77,243,.5); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 700px) { .container { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1100px) { .container { padding-left: 40px; padding-right: 40px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- page transition between pages ---------- */
/* Browsers that support it (Chrome, Edge, Safari) keep the old page on screen and crossfade to the new one, so there is never a blank white gap.
   Others get a quick fade-in of the new page instead. */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .3s; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
html:not(.vt) #main { animation: pagein .25s ease-out; }

/* ---------- icons ---------- */
.i { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* ---------- ripple ---------- */
.rip { position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .2; transform: scale(0); animation: ripple .6s var(--ease) forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 15px/1 var(--font-head); letter-spacing: .01em; color: #fff; background: linear-gradient(135deg, var(--p1), var(--p2)); box-shadow: 0 6px 16px rgba(91,77,243,.28); cursor: pointer; overflow: hidden; isolation: isolate; transition: box-shadow .25s var(--ease), transform .25s var(--ease), background .25s; -webkit-tap-highlight-color: transparent; }
.btn::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: -1; }
.btn:hover { box-shadow: 0 10px 24px rgba(91,77,243,.38); }
.btn:hover::after { opacity: .1; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 20px; height: 20px; }
.btn[disabled] { opacity: .6; cursor: progress; box-shadow: none; }
.btn-outlined { background: transparent; color: var(--primary); border: 1px solid var(--outline); box-shadow: none; }
.btn-outlined::after { background: var(--primary); }
.btn-outlined:hover { box-shadow: none; border-color: var(--primary); }
.btn-outlined:hover::after { opacity: .08; }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); box-shadow: none; }
.btn-tonal::after { background: var(--on-primary-container); }
.btn-tonal:hover { box-shadow: var(--e1); }
.btn-tonal:hover::after { opacity: .08; }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-white::after { background: var(--primary); }
.btn-white:hover::after { opacity: .08; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.btn-ghost-light:hover { box-shadow: none; border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn-text { background: transparent; color: var(--primary); box-shadow: none; padding: 0 12px; min-height: 40px; }
.btn-text::after { background: var(--primary); }
.btn-text:hover { box-shadow: none; }
.btn-text:hover::after { opacity: .08; }
.icon-btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--on-surface); cursor: pointer; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; transition: background .2s; }
.icon-btn:hover { background: rgba(91,77,243,.08); }

/* ---------- top app bar ---------- */
.appbar { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.appbar.scrolled { box-shadow: var(--e2); border-bottom-color: var(--outline-variant); }
.appbar-in { display: flex; align-items: center; gap: 8px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.brand img { height: 42px; width: auto; }
@media (min-width: 940px) { .brand img { height: 48px; } }
.logo-chip { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 16px; background: #fff; }
.logo-chip .brand img { height: 36px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; font: 700 16px/1 var(--font-head); letter-spacing: 0; box-shadow: 0 4px 12px rgba(91,77,243,.35); }
.brand b { font-weight: 700; background: linear-gradient(90deg, var(--p1), var(--p2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: none; margin-left: auto; margin-right: 8px; gap: 4px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font: 500 15px/1 var(--font-head); color: var(--on-surface-variant); overflow: hidden; isolation: isolate; transition: color .2s, background .2s; }
.nav-links a:hover { background: rgba(91,77,243,.08); color: var(--on-surface); }
.nav-links a[aria-current="page"] { background: var(--secondary-container); color: var(--primary); font-weight: 600; }
.appbar .cta { display: none; margin-left: auto; }
.menu-btn { margin-left: -8px; }
@media (min-width: 560px) { .appbar .cta { display: inline-flex; } }
@media (min-width: 940px) {
  .menu-btn { display: none; }
  .nav-links { display: flex; }
  .appbar .cta { margin-left: 0; }
  .brand { margin-right: auto; }
  .nav-links { margin-left: 0; }
}

/* ---------- navigation drawer (phone and tablet) ---------- */
.scrim { position: fixed; top: -120px; bottom: -120px; left: 0; right: 0; z-index: 90; background: rgba(14,16,51,.5); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; touch-action: none; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(86vw, 330px); background: #fff; border-radius: 0 var(--r-xl) var(--r-xl) 0; box-shadow: var(--e-float); transform: translateX(-102%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px max(20px, env(safe-area-inset-bottom)); }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .scrim { opacity: 1; visibility: visible; }
html.menu-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 14px 12px; }
.drawer-label { padding: 14px 16px 6px; font: 600 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-variant); }
.drawer a.item { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px; border-radius: 999px; font: 500 16px/1 var(--font-head); color: var(--on-surface); overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; transition: background .2s; }
.drawer a.item:hover { background: rgba(91,77,243,.07); }
.drawer a.item[aria-current="page"] { background: var(--secondary-container); color: var(--primary); font-weight: 600; }
.drawer a.item .i { color: var(--on-surface-variant); }
.drawer a.item[aria-current="page"] .i { color: var(--primary); }
.drawer hr { border: 0; border-top: 1px solid var(--outline-variant); margin: 10px 8px; }
.drawer .drawer-cta { margin: auto 8px 4px; padding-top: 14px; }
.drawer .drawer-cta .btn { width: 100%; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); position: relative; }
.section-tint { background: var(--surface-1); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--primary-container); color: var(--on-primary-container); font: 600 12px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 52px); display: grid; gap: 14px; justify-items: start; }
.sec-head.center { margin-inline: auto; justify-items: center; text-align: center; }
h2.title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.15; }
.sub { color: var(--on-surface-variant); font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 60ch; }
.grad { color: var(--primary); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- gentle motion: opacity and transform only, runs once on load, floats softly, pauses while pinch-zooming ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-copy > *, .page-head .container > * { animation: rise .6s var(--ease) backwards; }
.hero-copy > :nth-child(2), .page-head .container > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3), .page-head .container > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4), .page-head .container > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-copy > :nth-child(6) { animation-delay: .30s; }
.hero-media .photo, .split-media .photo { animation: rise .8s .1s var(--ease) backwards; }
.float.f1 { animation: pop .6s .5s var(--ease) backwards, bob 6s 1.2s ease-in-out infinite; }
.float.f2 { animation: pop .6s .65s var(--ease) backwards, bob 7s 1.5s ease-in-out infinite; }
.hero-media .hero-phone { animation: pop .6s .4s var(--ease) backwards, bob 8s 1.1s ease-in-out infinite; }
.badge { animation: bob 7s ease-in-out infinite; }
html.zooming *, html.zooming *::before, html.zooming *::after { animation-play-state: paused !important; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); background: radial-gradient(640px 420px at 100% 0%, rgba(122,71,245,.16), transparent 70%), radial-gradient(520px 380px at 0% 100%, rgba(75,92,242,.11), transparent 70%), linear-gradient(180deg, #f4f2ff 0%, #fff 100%); }
.blob { display: none; }
.blob.b1 { width: 460px; height: 460px; right: -140px; top: -120px; background: rgba(122,71,245,.22); }
.blob.b2 { width: 380px; height: 380px; left: -140px; bottom: -120px; background: rgba(75,92,242,.16); }
.hero-grid { position: relative; display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--on-surface-variant); max-width: 52ch; }
.feat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; width: 100%; margin-top: 8px; }
.feat { display: flex; align-items: center; gap: 12px; }
.feat .tile { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 0 0 3px rgba(255,255,255,.75), var(--e1); }
.feat .txt strong { display: block; font: 600 15px/1.2 var(--font-head); }
.feat .txt span { display: block; font-size: 13px; color: var(--on-surface-variant); line-height: 1.3; }
.script { font-family: "Caveat", "Segoe Script", cursive; font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; color: var(--primary); transform: rotate(-2deg); margin-top: 4px; }
.hero-media { position: relative; }
.photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--e-float); aspect-ratio: 4 / 3; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--e-float); font: 600 14px/1.2 var(--font-head); }
.float small { display: block; font: 400 12px/1.3 var(--font-body); color: var(--on-surface-variant); }
.float .tile { width: 40px; height: 40px; border-radius: 12px; }
.float.f1 { top: 14px; right: 14px; }
.float.f2 { bottom: 14px; left: 14px; }
.hero-media .hero-phone { position: absolute; z-index: 3; left: 14px; bottom: 14px; width: 112px; }
@media (max-width: 699px) { .hero-media .hero-phone, .float.f1 { display: none; } }
@media (min-width: 700px) { .float.f2 { left: auto; right: 14px; } }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .feat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .feat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .photo { aspect-ratio: 5 / 5.2; }
  .hero-media .hero-phone { width: 140px; }
}

/* ---------- tiles (pastel icon tiles) ---------- */
.tile { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.t-lilac { background: #ede9fe; color: #5b3fd6; }
.t-pink { background: #fde8f3; color: #c2257a; }
.t-mint { background: #ddf6ea; color: #12805a; }
.t-amber { background: #fff0db; color: #b35a00; }
.t-sky { background: #e0f0ff; color: #1d6fd8; }

/* ---------- statement ---------- */
.statement { background: linear-gradient(135deg, #f3f0ff, #eaf0ff); padding-block: clamp(48px, 8vw, 88px); }
.statement p { font: 600 clamp(1.5rem, 3.4vw, 2.5rem)/1.28 var(--font-head); letter-spacing: -.015em; max-width: 24em; margin-inline: auto; text-align: center; }

/* ---------- cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--outline-variant); border-radius: var(--r-lg); box-shadow: var(--e-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
a.card:hover, .card.lift:hover { transform: translateY(-5px); box-shadow: var(--e-card-hover); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.svc { display: grid; gap: 14px; align-content: start; padding: 26px 24px; }
.svc h3 { font-size: 1.15rem; font-weight: 600; }
.svc p { color: var(--on-surface-variant); font-size: 15px; }
.svc .more { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--font-head); color: var(--primary); }
.svc .more .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.svc:hover .more .i { transform: translateX(4px); }
.svc-big { padding: clamp(24px, 3vw, 34px); gap: 16px; }
.checks { display: grid; gap: 10px; margin-top: 4px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--on-surface); }
.checks .i { width: 20px; height: 20px; color: var(--primary); margin-top: 2px; }

/* ---------- split (image + copy) ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split.flip .split-media { order: 2; } }
.split-media { position: relative; }
.split-media .photo { aspect-ratio: 4 / 3; }
.badge { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--e-float); }
.badge .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; font: 700 18px/1 var(--font-head); }
.badge .txt strong { display: block; font: 600 15px/1.2 var(--font-head); }
.badge .txt span { font-size: 13px; color: var(--on-surface-variant); }
.copy { display: grid; gap: 18px; justify-items: start; }
.copy p { color: var(--on-surface-variant); font-size: 1.04rem; max-width: 56ch; }
.copy p b { color: var(--on-surface); font-weight: 500; }
.facts { width: 100%; border: 1px solid var(--outline-variant); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.facts li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; padding: 14px 18px; font-size: 15px; }
.facts li + li { border-top: 1px solid var(--outline-variant); }
.facts li span:first-child { color: var(--on-surface-variant); }
.facts li span:last-child { font-weight: 500; }

/* ---------- device mockups ---------- */
.mock { position: relative; padding: 18px 12px 0; }
.laptop { position: relative; width: 100%; }
.laptop .lid { background: var(--navy); border-radius: 14px 14px 4px 4px; padding: 9px 9px 11px; box-shadow: 0 18px 40px rgba(30,26,100,.22); }
.laptop .lid img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; border-radius: 5px; background: #fff; }
.laptop .base { position: relative; height: 12px; width: 108%; margin-left: -4%; border-radius: 0 0 14px 14px; background: linear-gradient(#d6daec, #b7bdd8); }
.laptop .base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; margin-left: -8%; border-radius: 0 0 8px 8px; background: #a3aac9; }
.phone { position: relative; width: 100%; border: 5px solid var(--navy); border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: 0 14px 30px rgba(30,26,100,.28); }
.phone img { width: 100%; aspect-ratio: 156 / 338; object-fit: cover; object-position: top; background: #fff; }
.mock .phone { position: absolute; right: 2px; bottom: -12px; width: 21%; }
.work { display: grid; align-content: start; }
.work .mock { background: linear-gradient(160deg, #f3f0ff, #e8eeff); padding: 28px 24px 26px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.work .mock .phone { right: 14px; bottom: 14px; }
.work-body { padding: 18px 22px 22px; display: grid; gap: 6px; }
.work-body .row { gap: 8px; margin-bottom: 4px; }
.work-body h3 { font-size: 1.1rem; font-weight: 600; }
.work-body p { color: var(--on-surface-variant); font-size: 14.5px; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 8px; font: 500 12.5px/1 var(--font-head); background: var(--secondary-container); color: var(--on-primary-container); }
.chip.warn { background: #fff0db; color: #7a3d00; }

/* ---------- portfolio link card ---------- */
.plink { display: grid; gap: 22px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); color: #fff; background: radial-gradient(circle at 90% 0%, rgba(255,255,255,.18), transparent 45%), linear-gradient(135deg, var(--p1), var(--p2)); box-shadow: var(--e-float); position: relative; overflow: hidden; }
.plink h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; }
.plink p { color: rgba(255,255,255,.88); max-width: 56ch; }
.plink ul { display: flex; flex-wrap: wrap; gap: 10px; }
.plink li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font: 500 13px/1 var(--font-head); }
@media (min-width: 900px) { .plink { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; } }

/* ---------- process stepper ---------- */
.stepper { display: grid; gap: 0; counter-reset: s; position: relative; }
.stepper li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; padding-bottom: 28px; }
.stepper li:last-child { padding-bottom: 0; }
.stepper li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(var(--primary), var(--outline-variant)); }
.stepper li:last-child::before { display: none; }
.stepper .dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; font: 700 16px/1 var(--font-head); box-shadow: 0 6px 16px rgba(91,77,243,.3); }
.stepper .step-card { padding: 4px 0 0; display: grid; gap: 6px; }
.stepper small { font: 600 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.stepper h3 { font-size: 1.15rem; font-weight: 600; }
.stepper p { color: var(--on-surface-variant); font-size: 15px; max-width: 60ch; }
@media (min-width: 940px) {
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .stepper li { grid-template-columns: 1fr; gap: 16px; padding: 0; align-content: start; }
  .stepper li::before { left: 56px; right: -18px; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--primary), var(--outline-variant)); }
  .stepper .step-card { padding: 0; }
}

/* ---------- standards ---------- */
.std { padding: 24px; display: grid; gap: 12px; align-content: start; }
.std h3 { font-size: 1.25rem; font-weight: 600; }
.std p { color: var(--on-surface-variant); font-size: 15px; }

/* ---------- person ---------- */
.person { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); max-width: 820px; }
.person-top { display: flex; align-items: center; gap: 18px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--p1), var(--p2)); color: #fff; font: 700 36px/1 var(--font-head); box-shadow: 0 0 0 6px var(--primary-container); flex: none; }
.person h3 { font-size: 1.6rem; font-weight: 700; }
.role { color: var(--primary); font: 600 14px/1.3 var(--font-head); margin-top: 2px; }
.person p { color: var(--on-surface-variant); max-width: 60ch; }

/* ---------- page header (inner pages) ---------- */
.page-head { background: radial-gradient(520px 300px at 100% 0%, rgba(122,71,245,.16), transparent 70%), linear-gradient(180deg, #f1eeff 0%, #fff 100%); padding: clamp(32px, 6vw, 64px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: clip; }
.page-head .blob.b1 { width: 340px; height: 340px; right: -100px; top: -140px; }
.crumbs { display: flex; align-items: center; gap: 6px; font: 500 13px/1 var(--font-head); color: var(--on-surface-variant); margin-bottom: 16px; }
.crumbs a { color: var(--primary); }
.crumbs .i { width: 16px; height: 16px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.page-head .lead { max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-wrap { padding-block: clamp(40px, 6vw, 72px); }
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px) clamp(22px, 5vw, 64px); color: #fff; background: #1c1670 url("../img/cta-bg.jpg") center / cover no-repeat; box-shadow: var(--e-float); display: grid; gap: 22px; justify-items: start; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.12; max-width: 16em; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 52ch; font-size: 1.05rem; }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: 56px; background: var(--navy); color: rgba(255,255,255,.78); }
.footer .wave { position: absolute; left: 0; right: 0; top: -55px; height: 56px; width: 100%; display: block; }
.footer .wave path { fill: var(--navy); }
.foot-grid { display: grid; gap: 34px; padding-block: 28px 36px; }
.footer .brand { color: #fff; }
.footer .brand b { background: linear-gradient(90deg, #8fa0ff, #b394ff); -webkit-background-clip: text; background-clip: text; }
.footer p.about { margin-top: 14px; max-width: 34ch; font-size: 15px; }
.footer h4 { color: #fff; font: 600 14px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { display: grid; gap: 4px; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer ul .i { width: 18px; height: 18px; }
.soc { display: flex; gap: 10px; margin-top: 18px; }
.soc a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.soc a:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.foot-bar { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px max(22px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.6); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

/* ---------- floating action button (phone) ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 55; min-height: 56px; padding: 0 22px 0 18px; border-radius: 18px; box-shadow: var(--e-float); transform: translateY(90px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .3s; }
.fab.show { transform: none; opacity: 1; visibility: visible; }
@media (min-width: 940px) { .fab { display: none; } }

/* ---------- contact page ---------- */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; } .contact-side { position: sticky; top: 96px; } }
.contact-side { display: grid; gap: 14px; }
@media (max-width: 939px) { .contact-grid .form-card { order: -1; } }
.reach { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.reach .tile { width: 52px; height: 52px; }
.reach .txt strong { display: block; font: 600 16px/1.2 var(--font-head); }
.reach .txt span { font-size: 14px; color: var(--on-surface-variant); overflow-wrap: anywhere; }
.reach .go { margin-left: auto; color: var(--primary); }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--primary-container); color: var(--on-primary-container); font-size: 14.5px; }
.note .i { margin-top: 1px; }
.form-card { padding: clamp(18px, 4vw, 40px); border-radius: var(--r-xl); box-shadow: var(--e-float); border: 1px solid var(--outline-variant); background: #fff; }

/* ---------- enquiry form (markup and script unchanged, only the look is restyled) ---------- */
.enquiry { display: grid; gap: 26px; }
.enquiry-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.enquiry-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; }
.label { font: 600 12px/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-variant); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.field { position: relative; display: grid; gap: 6px; align-content: start; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 13px/1.2 var(--font-body); color: var(--on-surface-variant); }
.field label i { font-style: normal; color: var(--primary); }
.field input, .field select, .field textarea { width: 100%; margin: 0; padding: 15px 16px; font: 400 16px/1.4 var(--font-body); color: var(--on-surface); background: #fff; border: 1px solid var(--outline); border-radius: var(--r-sm); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z' fill='%235b4df3'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--on-surface-variant); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: 14px; color: var(--on-surface-variant); }
.form-status { min-height: 1.6em; font-size: 15px; color: var(--on-surface-variant); }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--error); }
.ts-wrap { max-width: 100%; overflow-x: auto; }
.enquiry.sent .form-grid, .enquiry.sent .form-actions, .enquiry.sent .ts-wrap { display: none; }
.thanks { display: none; gap: 12px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--primary-container); color: var(--on-primary-container); }
.thanks h3 { font-size: 1.6rem; font-weight: 700; color: var(--on-primary-container); }
.thanks p { max-width: 52ch; }
.enquiry.sent .thanks { display: grid; }
/* floating labels (Material outlined text field) where the browser supports :has */
@supports selector(:has(*)) {
  .field label { position: absolute; z-index: 1; left: 12px; top: 15px; padding: 0 4px; background: #fff; pointer-events: none; font-size: 16px; color: var(--on-surface-variant); transition: top .18s var(--ease), font-size .18s var(--ease), color .18s; }
  .field input::placeholder, .field textarea::placeholder { color: transparent; }
  .field input:focus::placeholder, .field textarea:focus::placeholder { color: #8a8ea8; }
  .field:focus-within label, .field:has(input:not(:placeholder-shown)) label, .field:has(textarea:not(:placeholder-shown)) label, .field:has(select) label { top: -9px; font-size: 12px; font-weight: 500; }
  .field:focus-within label { color: var(--primary); }
  .field:has([aria-invalid="true"]) label { color: var(--error); }
}
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .form-card { padding: 16px 14px; } }

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