/* ==========================================================================
   BrightRoute Digital — site styles
   Colors, fonts and spacing live in :root below. Change them there and the
   whole site follows.
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  /* Brand colors */
  --midnight: #050923;
  --navy: #0a1033;
  --navy-2: #121a4e;
  --ink: #0d1433;
  --body: #4a5574;
  --muted: #6b7594;
  --line: #e1e6f2;
  --cloud: #f3f6fc;
  --white: #ffffff;
  --cyan: #22c1f5;
  --blue: #2f6bff;
  --violet: #8a4dff;
  --success: #12a46b;
  --danger: #d6345b;

  --grad: linear-gradient(100deg, #22c1f5 0%, #2f6bff 50%, #8a4dff 100%);
  --grad-text: linear-gradient(92deg, #39c8ff 0%, #4a86ff 45%, #9a63ff 100%);

  /* Type */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --shadow-card: 0 1px 2px rgba(13, 20, 51, .04), 0 10px 30px -12px rgba(30, 50, 120, .16);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(47, 107, 255, .2); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1;
  border-radius: 12px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 10px 30px -8px rgba(47, 107, 255, .65), 0 0 28px -6px rgba(138, 77, 255, .55);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 14px 36px -8px rgba(47, 107, 255, .8), 0 0 36px -4px rgba(138, 77, 255, .65); }
.btn-ghost { color: var(--white); border-color: rgba(160, 175, 255, .45); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(190, 200, 255, .8); background: rgba(255, 255, 255, .07); }
.btn-outline { color: var(--ink); border-color: #c9d2ea; background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .93rem; border-radius: 10px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.circle-arrow {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: var(--blue); background: #eaf0ff; flex: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(6, 10, 38, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { color: #3fa2ff; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  position: relative; display: block; padding: 10px 14px;
  color: rgba(225, 231, 255, .82); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  border-radius: 8px; transition: color .2s ease;
}
.main-nav ul a:hover { color: var(--white); }
.main-nav ul a[aria-current="page"] { color: var(--white); }
.main-nav ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); box-shadow: 0 0 10px rgba(47, 160, 255, .9);
}
.header-cta { margin-left: 12px; }
.header-cta .btn { color: var(--white); border-color: rgba(150, 140, 255, .7); background: rgba(70, 60, 200, .12); box-shadow: 0 0 18px -6px rgba(138, 77, 255, .8); }
.site-header.menu-open { background: #060a26; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: var(--white); cursor: pointer; place-items: center; }
.nav-toggle .icon-close { display: none; }
.menu-open .nav-toggle .icon-open { display: none; }
.menu-open .nav-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .main-nav, .header-cta { display: none; }
  .menu-open .main-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); margin: 0;
    background: #060a26; padding: 18px var(--gutter) 32px; overflow-y: auto;
  }
  .menu-open .main-nav ul { flex-direction: column; gap: 2px; }
  .menu-open .main-nav ul a { font-size: 1.15rem; padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .menu-open .main-nav ul a[aria-current="page"]::after { display: none; }
  .menu-open .main-nav ul a[aria-current="page"] { color: #6cc7ff; }
  .mobile-cta { margin-top: 24px; }
  .mobile-cta .btn { width: 100%; }
}
@media (min-width: 961px) { .mobile-cta { display: none; } }

/* ---------- Dark hero (home) ---------- */
.dark-band {
  position: relative; isolation: isolate; overflow: hidden;
  color: #c8d0ef;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(70, 60, 220, .42) 0%, rgba(70, 60, 220, 0) 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(34, 193, 245, .14) 0%, rgba(34, 193, 245, 0) 70%),
    linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%);
}
.dark-band h1, .dark-band h2 { color: var(--white); }
.routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.routes .trail { fill: none; stroke-linecap: round; }
.routes .pulse { fill: none; stroke-linecap: round; stroke-dasharray: 90 2400; stroke-dashoffset: 2400; animation: travel 3.4s cubic-bezier(.45, .05, .25, 1) .5s 1 forwards; }
@keyframes travel { to { stroke-dashoffset: -60; } }

.hero { padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(72px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 56px); }
.hero h1 { font-size: clamp(2.25rem, 4.3vw, 3.45rem); line-height: 1.07; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.03rem, 1.4vw, 1.14rem); color: #c3cbea; max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 0; font-size: .9rem; color: #b8c2e6; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255, 255, 255, .16); }
.hero-checks li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-checks .icon { color: #53b6ff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .devices { width: min(100%, 560px); margin: 8px auto 0; padding-right: 10%; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-checks { gap: 10px 16px; }
  .hero-checks li { border-right: 0; margin-right: 0; padding-right: 0; }
}
/* Device mockups */
.devices { position: relative; padding: 2% 9% 7% 0; }
.laptop { position: relative; transform: perspective(2200px) rotateY(-13deg) rotateX(3deg); transform-origin: 60% 50%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.laptop-screen { background: #070a18; border-radius: 16px 16px 4px 4px; padding: 2.4% 2.4% 2.8%; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 0 0 1px #000 inset, 0 0 60px -10px rgba(80, 120, 255, .55); }
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.laptop-base { position: relative; height: 16px; margin: 0 -7%; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #e3e7f3 0%, #a6aec6 55%, #6f7791 100%); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; border-radius: 0 0 8px 8px; background: #8a92ab; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 31%;
  border-radius: 13% / 6.2%; padding: 2.6%; background: #0d1124;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 0 0 2px #05070f inset, 0 30px 60px rgba(0, 0, 0, .6), 0 0 50px -10px rgba(120, 90, 255, .7);
  transform: perspective(1600px) rotateY(-10deg);
}
.phone img { width: 100%; aspect-ratio: 390 / 844; border-radius: 11% / 5.2%; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.bg-cloud { background: var(--cloud); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4vw, 52px); }
.section-head h2 { font-size: clamp(1.75rem, 3.1vw, 2.45rem); letter-spacing: -0.025em; }
.section-head p { font-size: 1.06rem; margin: 0; }
.eyebrow { display: block; font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--blue); margin-bottom: 8px; letter-spacing: .01em; }
.dark-band .eyebrow { color: #6cc7ff; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 22px 22px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.service-card h3 { font-size: 1.12rem; margin: 18px 0 10px; }
.service-card p { font-size: .93rem; line-height: 1.6; margin-bottom: 18px; }
.service-card .card-foot { margin-top: auto; }
.icon-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; }
.icon-tile .icon { width: 28px; height: 28px; }
.tint-blue { color: #2f6bff; background: linear-gradient(140deg, #e3edff, #d3e1ff); }
.tint-violet { color: #7b44f2; background: linear-gradient(140deg, #efe6ff, #e2d4ff); }
.tint-cyan { color: #0aa5d8; background: linear-gradient(140deg, #ddf6ff, #c9eefc); }
.tint-indigo { color: #5850ec; background: linear-gradient(140deg, #e8e8ff, #d9d9ff); }
.service-card a.stretched { position: absolute; inset: 0; border-radius: inherit; }
.service-card:hover .circle-arrow { background: var(--blue); color: var(--white); }

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .services-grid { grid-template-columns: 1fr; } }

/* Value strip */
.value-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 3vw, 40px); padding: 26px 8px; border-radius: var(--radius-lg);
  color: #c4ccec;
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(120, 70, 255, .45), rgba(120, 70, 255, 0) 70%),
    radial-gradient(50% 140% at 0% 50%, rgba(34, 193, 245, .25), rgba(34, 193, 245, 0) 70%),
    linear-gradient(90deg, #0a1240, #0c0f35);
  border: 1px solid rgba(100, 130, 255, .35);
  box-shadow: 0 20px 40px -20px rgba(20, 30, 100, .6);
}
.value-strip li { display: flex; gap: 14px; align-items: flex-start; padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.value-strip li:first-child { border-left: 0; }
.value-strip .icon { width: 36px; height: 36px; color: #4fb8ff; stroke-width: 1.6; filter: drop-shadow(0 0 8px rgba(79, 184, 255, .6)); }
.value-strip li:nth-child(even) .icon { color: #a77bff; filter: drop-shadow(0 0 8px rgba(167, 123, 255, .6)); }
.value-strip h3 { color: var(--white); font-size: 1rem; margin: 0 0 4px; }
.value-strip p { font-size: .87rem; line-height: 1.5; margin: 0; }
@media (max-width: 1000px) {
  .value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .value-strip li:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .value-strip { grid-template-columns: 1fr; padding: 22px 4px; }
  .value-strip li { border-left: 0; padding: 4px 18px; }
}

/* Work cards (shared by home + work page) */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.work-card[hidden] { display: none; }
.work-shot { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; display: grid; place-items: center; }
.work-shot > img { width: 100%; height: 100%; object-fit: cover; }
.work-body { display: flex; align-items: center; gap: 12px; padding: 16px 18px 18px; }
.work-body h3 { font-size: 1.08rem; margin: 0 0 2px; }
.work-body p { font-size: .87rem; margin: 0; color: var(--muted); }
.work-body .circle-arrow { margin-left: auto; }
.work-card button.stretched { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.work-card:hover .circle-arrow { background: var(--blue); color: var(--white); transform: translateX(2px); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: .74rem; font-weight: 500; letter-spacing: .01em;
  padding: 4px 10px; border-radius: 99px; line-height: 1.3;
}
.work-shot .tag { position: absolute; bottom: 12px; left: 12px; z-index: 1; color: var(--white); background: rgba(8, 12, 40, .62); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.tag-live { color: #0a7d51 !important; background: #dcf7ea !important; border-color: transparent !important; }
.tag-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18, 183, 106, .2); }

/* Framed shots: CSS browser + phone frames around a screen image */
.frame-scene { position: absolute; inset: 0; display: grid; place-items: center; }
.scene-blue { background: radial-gradient(70% 90% at 70% 20%, #4a3fd0 0%, rgba(74, 63, 208, 0) 60%), linear-gradient(160deg, #0d1546, #070b25); }
.scene-violet { background: radial-gradient(70% 80% at 30% 20%, #7a3fe0 0%, rgba(122, 63, 224, 0) 60%), linear-gradient(160deg, #1a0f4a, #0a0828); }
.scene-teal { background: radial-gradient(70% 80% at 80% 80%, #138bb5 0%, rgba(19, 139, 181, 0) 60%), linear-gradient(160deg, #0a2a4a, #06122a); }
.scene-warm { background: radial-gradient(70% 80% at 20% 10%, #f6c27a 0%, rgba(246, 194, 122, 0) 60%), linear-gradient(160deg, #6b3c1f, #2c170d); }
.scene-blush { background: radial-gradient(70% 80% at 80% 15%, #f3cdbd 0%, rgba(243, 205, 189, 0) 60%), linear-gradient(160deg, #8a5a48, #3a241c); }
.browser { width: 84%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .55); transform: translateY(8%); }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 18px; padding: 0 9px; background: #e9ecf4; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c3c9d8; }
.browser-bar i:nth-child(1) { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #ffc145; } .browser-bar i:nth-child(3) { background: #3ccf6e; }
.browser img { width: 100%; aspect-ratio: 16 / 10; }
.mini-phone { width: 30%; border-radius: 14% / 6.5%; padding: 2%; background: #0b0e1d; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6), 0 0 40px -10px rgba(120, 140, 255, .7); transform: translateY(14%); }
.mini-phone img { width: 100%; aspect-ratio: 390 / 844; border-radius: 12% / 5.5%; }
.mini-phone.second { position: absolute; transform: translate(62%, 22%) rotate(6deg); width: 26%; opacity: .95; }
.mini-phone.first-offset { transform: translate(-28%, 12%) rotate(-4deg); }

/* Process */
.process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 36px; }
.process-head h2 { margin: 0; font-size: clamp(1.75rem, 3.1vw, 2.45rem); }
.process-head p { margin: 0; max-width: 30em; justify-self: end; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.process li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding-right: 26px; }
.process li:not(:last-child)::after {
  content: ""; position: absolute; right: 2px; top: 18px; width: 10px; height: 10px;
  border-top: 2px solid #b6c0dc; border-right: 2px solid #b6c0dc; transform: rotate(45deg);
}
.process h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.process h3 small { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); display: block; margin-bottom: 2px; letter-spacing: 0; }
.process p { font-size: .9rem; line-height: 1.55; margin: 0; }
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .process li:nth-child(2)::after { display: none; }
  .process-head { grid-template-columns: 1fr; }
  .process-head p { justify-self: start; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .process li::after { display: none; } }

/* About card */
.about-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(24px, 3.5vw, 40px) clamp(22px, 4vw, 48px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f7f9ff); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.about-mark { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #1b2670, #070b28 70%); box-shadow: 0 0 0 6px #edf1ff, 0 14px 30px -10px rgba(40, 60, 160, .55); }
.about-mark img { width: 58px; height: 58px; }
.about-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 10px; }
.about-card p { margin: 0; max-width: 46em; }
.about-facts { display: grid; gap: 10px; padding-left: clamp(18px, 3vw, 36px); border-left: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.about-facts li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.about-facts .icon { color: var(--blue); }
@media (max-width: 900px) {
  .about-card { grid-template-columns: 1fr; text-align: left; }
  .about-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .about-facts li { white-space: normal; }
}

/* Price strip */
.price-strip {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: clamp(18px, 3vw, 36px); align-items: center;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 4vw, 48px); border-radius: var(--radius-lg); color: #c9d1f0;
  background:
    radial-gradient(50% 160% at 0% 50%, rgba(34, 193, 245, .28), rgba(34, 193, 245, 0) 70%),
    radial-gradient(50% 160% at 100% 50%, rgba(138, 77, 255, .5), rgba(138, 77, 255, 0) 70%),
    linear-gradient(90deg, #0a1446, #0c0d34);
  border: 1px solid rgba(110, 130, 255, .4);
}
.price-strip .stack { width: 64px; height: 64px; stroke: url(#gradStroke); stroke-width: 1.5; filter: drop-shadow(0 0 12px rgba(120, 140, 255, .8)); }
.price-figure { padding-left: clamp(18px, 3vw, 36px); border-left: 1px solid rgba(255, 255, 255, .16); }
.price-figure span { display: block; color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.price-figure strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; }
.price-strip p { margin: 0; max-width: 30em; }
@media (max-width: 900px) {
  .price-strip { grid-template-columns: auto 1fr; }
  .price-strip p, .price-strip .btn { grid-column: 1 / -1; }
  .price-strip .btn { justify-self: start; }
}

/* Final CTA */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 9vw, 112px) 0 clamp(80px, 10vw, 120px); background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%); }
.cta-final h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
.cta-final p { font-size: 1.08rem; max-width: 36em; margin: 0 auto 28px; }
.cta-final .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-final .waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; z-index: 0; pointer-events: none; }
.cta-final .container { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(64px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; color: #c3cbea; max-width: 38em; margin: 0; }

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  font-family: var(--font-display); font-weight: 500; font-size: .93rem;
  min-height: 42px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  color: var(--ink); background: var(--white); border: 1px solid #cfd7ec;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover { border-color: var(--blue); }
.filter-btn[aria-pressed="true"] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.work-note { margin-top: 28px; font-size: .9rem; color: var(--muted); }

dialog.project {
  width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px;
  background: var(--white); color: var(--body); box-shadow: 0 40px 80px -20px rgba(5, 9, 35, .6); overflow: auto;
}
dialog.project::backdrop { background: rgba(5, 9, 35, .7); backdrop-filter: blur(4px); }
dialog.project[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.project-shot { position: relative; aspect-ratio: 16 / 9; }
.project-content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 28px clamp(20px, 4vw, 40px) 36px; }
.project-content h2 { font-size: 1.7rem; margin-bottom: 6px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-meta .tag { color: var(--ink); background: var(--cloud); border: 1px solid var(--line); }
.project-content h3 { font-size: .98rem; margin: 0 0 10px; }
.check-list li { display: flex; gap: 10px; margin-bottom: 8px; font-size: .94rem; line-height: 1.5; }
.check-list .icon { color: var(--blue); margin-top: 2px; }
.project-side { padding: 20px; border-radius: var(--radius); background: var(--cloud); align-self: start; }
.project-side .btn { width: 100%; margin-top: 8px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--white);
  background: rgba(5, 9, 35, .6); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
}
@media (max-width: 720px) { .project-content { grid-template-columns: 1fr; } }

/* ---------- Pricing page ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.plan.featured { border: 1.5px solid transparent; background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; box-shadow: 0 20px 50px -20px rgba(47, 107, 255, .45); }
.plan .ribbon { position: absolute; top: -13px; left: 26px; color: var(--white); background: var(--grad); }
.plan h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan .plan-for { font-size: .92rem; min-height: 3.1em; }
.plan .plan-price { font-family: var(--font-display); color: var(--ink); margin: 6px 0 20px; }
.plan .plan-price strong { font-size: 2.4rem; letter-spacing: -0.03em; font-weight: 700; }
.plan .plan-price span { font-size: .95rem; color: var(--muted); margin-right: 4px; }
.plan .check-list { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 26px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--cloud); border: 1px solid var(--line); }
.addon h3 { font-size: 1.1rem; margin-bottom: 4px; }
.addon p { margin: 0; font-size: .95rem; }
@media (max-width: 720px) { .addon { grid-template-columns: 1fr; } }

.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.faq details p { padding: 0 4px 20px; margin: 0; max-width: 44em; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-aside h2 { font-size: 1.45rem; }
.next-steps { counter-reset: n; margin: 18px 0 30px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 46px; margin-bottom: 18px; }
.next-steps li::before {
  content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--white); background: var(--grad);
}
.next-steps strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.next-steps span { font-size: .93rem; }
.contact-lines li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.contact-lines .icon { color: var(--blue); }
.contact-lines a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-lines a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { order: 2; } }

.form-card { padding: clamp(22px, 3.5vw, 36px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 40, 120, .35); }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 6px; border-radius: 14px; background: var(--cloud); border: 1px solid var(--line); margin-bottom: 26px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 6px 8px; border-radius: 10px; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: .93rem; color: var(--body); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.segmented input:checked + span { color: var(--white); background: var(--navy); box-shadow: 0 6px 16px -6px rgba(10, 16, 51, .6); }
.segmented input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 480px) { .segmented span { font-size: .84rem; } .segmented .icon { display: none; } }

.form-intro { margin: -8px 0 22px; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field > label, .field > legend { display: block; margin-bottom: 7px; font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbfcff; border: 1.5px solid #d3daec; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
textarea.input { min-height: 140px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%234a5574' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:hover { border-color: #b8c3e0; }
.input:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(214, 52, 91, .1); }
.field-error { display: block; margin-top: 6px; font-size: .85rem; color: var(--danger); font-weight: 500; }
.field-hint { display: block; margin-top: 6px; font-size: .84rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px;
  font-size: .9rem; font-weight: 500; color: var(--ink); background: var(--white); border: 1.5px solid #d3daec; transition: all .15s ease;
}
.chips input:checked + span { color: var(--blue); border-color: var(--blue); background: #eef3ff; }
.chips input:checked + span::before { content: "✓"; font-weight: 700; }
.chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-wrap { margin: 6px 0 18px; min-height: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .btn { min-width: 200px; }
.form-fine { font-size: .84rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.is-error { display: block; color: #8d1534; background: #fdecf0; border: 1px solid #f6c3d0; }
.form-status.is-info { display: block; color: #1f3d8a; background: #eef3ff; border: 1px solid #cddbff; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-panel { text-align: center; padding: clamp(24px, 4vw, 40px) 8px; }
.success-panel .badge { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--grad); box-shadow: 0 14px 30px -10px rgba(47, 107, 255, .7); }
.success-panel .badge .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.success-panel h2 { font-size: 1.6rem; }
.success-panel p { max-width: 30em; margin: 0 auto 22px; }
[data-show-for] { display: none; }
[data-show-for].is-visible { display: block; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose li { list-style: disc; margin: 0 0 .5em 1.2em; }

/* ---------- Footer ---------- */
.site-footer { color: #aeb7da; background: linear-gradient(180deg, #070b2b, #050820); padding: 40px 0 22px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand { display: flex; align-items: center; gap: 14px; padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, .12); }
.footer-brand small { display: block; font-size: .82rem; color: #8f9ac4; margin-top: 4px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: .94rem; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact a { color: #dbe1fb; text-decoration: none; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-social { margin-left: auto; display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #dbe1fb; border: 1px solid rgba(255, 255, 255, .14); }
.footer-social a:hover { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; font-size: .84rem; color: #7f8ab4; }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a { color: #a9b3da; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 760px) {
  .footer-brand { border-right: 0; padding-right: 0; }
  .footer-social { margin-left: 0; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; letter-spacing: -0.05em; margin-bottom: 10px; }
.notfound p { color: #c3cbea; max-width: 30em; margin: 0 auto 28px; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

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

/* ---------- Small additions ---------- */
#process { padding-bottom: clamp(40px, 5vw, 64px); }
.work-card .stretched-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.project-shot { overflow: hidden; border-radius: 22px 22px 0 0; aspect-ratio: 2 / 1; }
.project-shot > img { object-position: center 40%; }
dialog.project:focus { outline: none; }
.project-shot .mini-phone { width: 22%; transform: translateY(8%); }
.project-shot .browser { width: 78%; transform: translateY(10%); }
[data-label-for][hidden] { display: none; }
