/* ==========================================================================
   Siemens Web Design — styles
   Colors and type are defined once below in :root. Change them there.
   ========================================================================== */

:root {
  --bg: #04060c;
  --bg-2: #070b16;
  --navy: #0a1430;
  --navy-2: #0e1d45;
  --line: rgba(150, 175, 255, 0.12);
  --line-strong: rgba(150, 175, 255, 0.22);
  --text: #eef2ff;
  --muted: #a3aecb;
  --dim: #7884a3;
  --blue: #2f7bff;
  --blue-bright: #5d9cff;
  --blue-deep: #1544c4;
  --glow: rgba(47, 123, 255, 0.45);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8.5rem);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-stretch: 115%; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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: 1rem; top: -100px; z-index: 100;
  background: var(--blue); color: #fff; padding: 0.75rem 1rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.mono { font-family: var(--mono); font-size: 0.9em; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 1rem; --pad-x: 1.5rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--pad-y) var(--pad-x);
  font: 600 0.98rem/1.2 var(--font);
  font-stretch: 105%;
  letter-spacing: 0.005em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(180deg, #3d86ff 0%, #1f63f0 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.35) inset, 0 10px 30px -10px var(--glow);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(150, 190, 255, 0.5) inset, 0 18px 40px -12px var(--glow); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(150,175,255,0.5); background: rgba(47,123,255,0.08); transform: translateY(-2px); }
.btn-sm { --pad-y: 0.7rem; --pad-x: 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 62px; height: auto; transition: transform 0.5s var(--ease); }
.brand:hover img { transform: scale(1.06); }
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
  font-weight: 800; font-stretch: 125%; letter-spacing: 0.04em; text-transform: uppercase; font-size: 1.02rem;
}
.brand-text span { font-family: var(--mono); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.32em; color: var(--blue-bright); margin-top: 0.35rem; }

.nav-menu { display: flex; align-items: center; gap: 2.25rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  position: relative; text-decoration: none; font-size: 0.93rem; font-weight: 500; color: var(--muted);
  padding: 0.4rem 0; transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--blue-bright); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 7px;
    width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-strong);
    border-radius: var(--radius); cursor: pointer; z-index: 60;
  }
  .nav-toggle-bar { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform 0.35s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }

  .nav-menu {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.5rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: radial-gradient(120% 80% at 100% 0%, rgba(21,68,196,0.35), transparent 60%), var(--bg);
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0.25rem; }
  .nav-links a { font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 700; font-stretch: 115%; color: var(--text); letter-spacing: -0.02em; }
  .nav-links a::after { display: none; }
  .nav-menu .btn { font-size: 1.05rem; padding: 1rem 1.5rem; }
  .brand { position: relative; z-index: 60; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Shared section pieces ---------- */
.section { position: relative; padding-block: var(--section); }
.section-head { max-width: 780px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.section-head h2 em, .hero-title em, .process h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #9cc2ff 0%, var(--blue-bright) 50%, #3a83ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-lede { margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 640px; }
.section-lede a { color: var(--blue-bright); }

.kicker {
  display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-bright);
}
.kicker span { color: var(--dim); }
.kicker span::after { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--line-strong); vertical-align: middle; margin-left: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(130,160,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(130,160,255,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 78% 42%, rgba(30, 90, 255, 0.32), transparent 70%),
    radial-gradient(35% 40% at 10% 90%, rgba(14, 29, 69, 0.9), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 2rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(47,123,255,0.18), 0 0 14px var(--blue); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,123,255,0.05), 0 0 20px var(--blue); } }

.hero-title { font-size: clamp(2.6rem, 5.1vw, 4.7rem); font-weight: 750; line-height: 1; letter-spacing: -0.035em; font-stretch: 108%; }
.hero-title em { display: inline; }
.hero-lede { margin-top: 2rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 33rem; line-height: 1.55; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--dim); font-family: var(--mono); letter-spacing: 0.02em; }

/* Device showcase — sized with container query units so it scales cleanly */
.hero-visual { container-type: inline-size; position: relative; }
.devices {
  position: relative; width: 100%; aspect-ratio: 1 / 0.78;
  transform-style: preserve-3d; transition: transform 0.6s var(--ease);
  will-change: transform;
}
.laptop { position: absolute; left: 0; top: 6%; width: 88%; }
.laptop-screen {
  position: relative; aspect-ratio: 16 / 10;
  background: #0b0f1c; border: 1.4cqw solid #121827; border-bottom-width: 2.4cqw;
  border-radius: 1.6cqw 1.6cqw 0 0;
  box-shadow: 0 0 0 1px rgba(150,175,255,0.18), 0 40px 90px -20px rgba(0,0,0,0.9), 0 0 120px -30px var(--glow);
  overflow: hidden;
}
.laptop-base {
  height: 2.2cqw; margin: 0 -6%;
  background: linear-gradient(180deg, #2a3146 0%, #141a2a 60%, #0a0e18 100%);
  border-radius: 0 0 2cqw 2cqw;
  box-shadow: 0 24px 40px -14px rgba(0,0,0,0.9);
  position: relative;
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); background: #0a0e18; border-radius: 0 0 1cqw 1cqw; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 19;
  background: #0c1120; border: 1.1cqw solid #161d30; border-radius: 4.4cqw;
  box-shadow: 0 0 0 1px rgba(150,175,255,0.25), -20px 40px 60px -10px rgba(0,0,0,0.85), 0 0 80px -20px var(--glow);
  overflow: hidden;
  transform: translateZ(40px);
}
.phone-screen { position: absolute; inset: 0; border-radius: 3.2cqw; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 1.4cqw; left: 50%; width: 30%; height: 1.8cqw; transform: translateX(-50%); background: #000; border-radius: 1cqw; z-index: 2; }
.device-tag {
  position: absolute; left: 4%; bottom: 2%;
  font-family: var(--mono); font-size: max(10px, 1.6cqw); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
  display: flex; align-items: center; gap: 0.6em;
}
.device-tag::before { content: ""; width: 2.5em; height: 1px; background: var(--line-strong); }

/* The mini website shown inside the devices */
.mock-site { position: absolute; inset: 0; background: #f4f1ea; color: #12151d; font-family: var(--font); overflow: hidden; }
.ms-bar { height: 3.4cqw; background: #e3dfd5; display: flex; align-items: center; gap: 0.7cqw; padding: 0 1.4cqw; }
.ms-bar i { width: 0.9cqw; height: 0.9cqw; border-radius: 50%; background: #c6c0b2; }
.ms-bar span { margin-left: 2cqw; flex: 0 0 40%; height: 1.9cqw; border-radius: 1cqw; background: #f4f1ea; font-size: 1.1cqw; color: #7c7869; display: flex; align-items: center; padding-left: 1.2cqw; font-family: var(--mono); }
.ms-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.8cqw 3cqw; border-bottom: 1px solid #e0dbcf; }
.ms-nav b { font-weight: 800; font-stretch: 125%; font-size: 1.5cqw; letter-spacing: 0.06em; display: flex; flex-direction: column; line-height: 1; }
.ms-nav b span { font-weight: 500; font-size: 0.75cqw; letter-spacing: 0.4em; color: #1d5ee0; margin-top: 0.3cqw; }
.ms-links { display: flex; gap: 1.6cqw; }
.ms-links i { width: 4cqw; height: 0.7cqw; background: #cfc9bb; border-radius: 1px; }
.ms-cta { background: #12151d; color: #fff; font-size: 1.05cqw; font-weight: 600; padding: 0.9cqw 1.6cqw; border-radius: 0.3cqw; }
.ms-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; padding: 2.6cqw 3cqw 2.2cqw; align-items: center; }
.ms-hero-copy small { display: block; font-size: 0.95cqw; text-transform: uppercase; letter-spacing: 0.2em; color: #1d5ee0; font-weight: 600; margin-bottom: 1.2cqw; }
.ms-hero-copy strong { display: block; font-size: 3.5cqw; line-height: 1; font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; margin-bottom: 1.6cqw; }
.ms-line { display: block; height: 0.75cqw; background: #d7d1c4; border-radius: 1px; margin-bottom: 0.8cqw; width: 90%; }
.ms-line.short { width: 62%; }
.ms-btns { display: flex; gap: 1cqw; margin-top: 1.8cqw; }
.ms-btns em { font-style: normal; font-size: 1.05cqw; font-weight: 600; padding: 1cqw 1.7cqw; background: #1d5ee0; color: #fff; border-radius: 0.3cqw; }
.ms-btns em.alt { background: transparent; color: #12151d; box-shadow: inset 0 0 0 1px #12151d; }
.ms-photo {
  position: relative; aspect-ratio: 4/2.7; border-radius: 0.5cqw; overflow: hidden;
  background:
    radial-gradient(70% 60% at 70% 30%, rgba(255,214,150,0.65), transparent 60%),
    linear-gradient(160deg, #2c3d5c 0%, #15203a 45%, #0a1020 100%);
}
.ms-photo span {
  position: absolute; inset: auto 0 0 0; height: 55%;
  background:
    linear-gradient(180deg, transparent, rgba(10,16,32,0.7)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 6%, transparent 6% 14%);
  clip-path: polygon(0 40%, 18% 20%, 34% 38%, 52% 10%, 70% 30%, 86% 14%, 100% 30%, 100% 100%, 0 100%);
}
.ms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 3cqw; }
.ms-row div { background: #fff; padding: 1.4cqw; border-radius: 0.4cqw; box-shadow: 0 1px 0 #e0dbcf; }
.ms-row i { display: block; width: 2.4cqw; height: 2.4cqw; border-radius: 0.3cqw; background: #1d5ee0; margin-bottom: 1.2cqw; opacity: 0.85; }
.ms-row span { display: block; height: 0.7cqw; background: #12151d; width: 70%; margin-bottom: 0.7cqw; border-radius: 1px; }
.ms-row span.s { background: #d7d1c4; width: 90%; }

.mock-site.mobile { padding-top: 4cqw; }
.mock-site.mobile .ms-nav { padding: 1.8cqw 2.2cqw; }
.mock-site.mobile .ms-nav b { font-size: 1.5cqw; }
.mock-site.mobile .ms-nav b span { font-size: 0.7cqw; }
.ms-burger { display: grid; gap: 0.5cqw; }
.ms-burger i { width: 2.4cqw; height: 0.3cqw; background: #12151d; }
.mock-site.mobile .ms-photo { margin: 1.8cqw 2.2cqw 0; aspect-ratio: 4/3.4; }
.mock-site.mobile .ms-hero-copy { padding: 2.2cqw 2.2cqw 0; }
.mock-site.mobile .ms-hero-copy small { font-size: 0.85cqw; margin-bottom: 0.9cqw; }
.mock-site.mobile .ms-hero-copy strong { font-size: 2.6cqw; margin-bottom: 1.4cqw; }
.mock-site.mobile .ms-line { height: 0.6cqw; }
.ms-call { display: block; margin: 1.3cqw 2.2cqw 0; text-align: center; font-size: 1.1cqw; font-weight: 600; padding: 1.2cqw; background: #1d5ee0; color: #fff; border-radius: 0.4cqw; }
.ms-call.alt { background: transparent; color: #12151d; box-shadow: inset 0 0 0 1px #12151d; margin-top: 0.9cqw; }

/* ---------- Facts / key selling points ---------- */
.facts { position: relative; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(10,20,48,0.35), rgba(4,6,12,0)); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.fact { position: relative; padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2.5vw, 2.25rem); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.fact dd { margin: 0.9rem 0 0.9rem; }
.fact-num {
  display: inline-block; font-size: clamp(2.6rem, 4.8vw, 4.1rem); font-weight: 750; font-stretch: 120%; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 30%, #9dbdff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact-num small { font-size: 0.55em; letter-spacing: 0; }
.fact p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 17rem; }
.fact::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue);
  box-shadow: 0 0 14px var(--blue); transition: width 0.6s var(--ease);
}
.fact:hover::after { width: 100%; }

/* ---------- Portfolio ---------- */
.work-list { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.work-link {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  text-decoration: none; color: inherit;
}
.work:nth-child(even) .work-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.work:nth-child(even) .work-visual { order: 2; }

.work-visual {
  container-type: inline-size;
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: 5% 7% 0;
  transition: border-color 0.4s;
}
.work-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at var(--mx, 50%) var(--my, 0%), rgba(93,156,255,0.18), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.work-link:hover .work-visual { border-color: rgba(93,156,255,0.5); }
.work-link:hover .work-visual::after { opacity: 1; }
.wv-frame {
  position: relative; height: 100%; border-radius: 0.8cqw 0.8cqw 0 0; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.9);
  transform: translateY(2cqw); transition: transform 0.7s var(--ease);
}
.work-link:hover .wv-frame { transform: translateY(0); }

/* Automotive */
.v-auto { background: radial-gradient(80% 90% at 80% 10%, #3a0d0d 0%, #0b0b0d 60%); }
.v-auto .wv-frame { background: radial-gradient(70% 70% at 75% 75%, #3b3f4a 0%, #0d0e12 65%); color: #f2f2f2; }

/* Barbershop */
.v-barber { background: radial-gradient(80% 90% at 20% 10%, #3d2a17 0%, #120d08 65%); }
.v-barber .wv-frame { background: #efe6d6; color: #1c1611; }

/* Construction */
.v-build { background: radial-gradient(80% 90% at 80% 10%, #3a2e05 0%, #0c0c0a 65%); }
.v-build .wv-frame { background: #1a1c1f; color: #f3f1ea; }

.work-meta h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.75rem 0 1rem; transition: color 0.3s; }
.work-meta > p:not(.work-label) { color: var(--muted); max-width: 26rem; }
.work-label {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-bright); padding: 0.35rem 0.6rem; border: 1px solid rgba(93,156,255,0.35);
}
.work-status {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.75rem;
  font-weight: 600; font-size: 0.95rem; color: var(--dim);
}
.work-status::before { content: ""; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
/* Live demo: status becomes a "View Live Website" button (the whole card is the link) */
.work.is-live .work-status {
  margin-top: 2rem; padding: 0.85rem 1.35rem; gap: 0.65rem;
  color: #fff; font-size: 0.95rem; font-stretch: 105%;
  background: linear-gradient(180deg, #3d86ff 0%, #1f63f0 100%);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(120, 170, 255, 0.35) inset, 0 10px 30px -10px var(--glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work.is-live .work-status::before { display: none; }
.work.is-live .work-status::after { content: "\2197"; color: #fff; transition: transform 0.35s var(--ease); }
.work.is-live .work-link:hover .work-status { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(150, 190, 255, 0.5) inset, 0 18px 40px -12px var(--glow); }
.work.is-live .work-link:hover .work-status::after { transform: translate(2px, -2px); }
.work-link:focus-visible { outline-offset: 8px; }

/* Real-screenshot thumbnail (desktop frame + phone) */
.work-visual.has-shot { padding-top: 12%; }  /* leaves room so a 16:10 screenshot fits the frame uncropped */
.work-visual.has-shot .shot-desktop { background: #0b0b0d; height: auto; aspect-ratio: 16 / 10; }
.work-visual.has-shot .shot-desktop img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.shot-phone {
  position: absolute; z-index: 2; right: 4%; bottom: -7%; width: 19%; aspect-ratio: 400 / 866;
  border: 0.7cqw solid #16181d; border-radius: 2.6cqw; overflow: hidden; background: #0b0b0d;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), -1.5cqw 2cqw 4cqw rgba(0,0,0,0.85);
  transition: transform 0.7s var(--ease);
}
.shot-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work-link:hover .shot-phone { transform: translateY(-4%); }

.work-meta > p.work-sub { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--dim); margin: -0.35rem 0 1rem; }
.work-features { margin-top: 1.5rem; max-width: 26rem; border-top: 1px solid var(--line); }
.work-features li { position: relative; padding: 0.6rem 0 0.6rem 1.4rem; border-bottom: 1px solid var(--line); font-size: 0.93rem; line-height: 1.4; color: #c4cce2; }
.work-features li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.7rem; height: 1px; background: var(--blue-bright); }
.work.is-live .work-link:hover h3 { color: var(--blue-bright); }
.work:not(.is-live) .work-link { cursor: default; }

.portfolio-foot { margin-top: clamp(4rem, 7vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1.05rem; }
.portfolio-foot a { color: var(--text); text-decoration-color: var(--blue); text-underline-offset: 4px; }
.portfolio-foot a:hover { color: var(--blue-bright); }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.plan {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  border: 1px solid var(--line-strong);
  background: rgba(7, 11, 22, 0.7);
  position: relative;
}
.plan::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(93,156,255,0.6), transparent 35%, transparent 70%, rgba(47,123,255,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 1px;
}
.plan-price {
  position: relative; padding: clamp(2rem, 4.5vw, 3.75rem);
  background: radial-gradient(90% 70% at 0% 0%, rgba(30, 90, 255, 0.28), transparent 65%), linear-gradient(180deg, #0a1430, #060a16);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.plan-name { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.price { margin-top: 1.25rem; font-size: clamp(5rem, 10vw, 8rem); font-weight: 750; font-stretch: 118%; line-height: 0.9; letter-spacing: -0.05em; display: flex; align-items: flex-start; }
.currency { font-size: 0.4em; margin-top: 0.18em; margin-right: 0.06em; color: var(--blue-bright); }
.price-sub { margin-top: 1rem; color: var(--muted); }
.pay-schedule { margin: 2.5rem 0; border-top: 1px solid var(--line); }
.pay-schedule li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pay-amt { font-weight: 700; font-stretch: 115%; font-size: 1.15rem; }
.pay-schedule li:first-child .pay-amt { color: var(--blue-bright); }
.pay-when { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.plan-price .btn { margin-top: auto; }

.plan-includes { padding: clamp(2rem, 4.5vw, 3.75rem); }
.plan-includes h3 { font-size: 1.35rem; margin-bottom: 2rem; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.checklist li { position: relative; padding: 0.95rem 0 0.95rem 1.9rem; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.4; transition: color 0.25s, padding-left 0.35s var(--ease); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.75rem; height: 0.4rem;
  border-left: 2px solid var(--blue-bright); border-bottom: 2px solid var(--blue-bright); transform: rotate(-45deg);
}
.checklist li:hover { padding-left: 2.2rem; }

.fine-print { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.fine-print h3 { font-size: 1.1rem; font-stretch: 110%; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.7rem; }
.fine-print h3::before { content: ""; width: 14px; height: 1px; background: var(--blue-bright); }
.fine-print p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 1.5rem; left: 0; right: 0; height: 1px; background: var(--line-strong);
}
.steps::after { background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright)); box-shadow: 0 0 12px var(--blue); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 0.2s linear; }
.step { position: relative; padding-top: 4.5rem; }
.step-num {
  position: absolute; top: 0; left: 0; z-index: 1;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  background: var(--bg); border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 0.85rem; color: var(--muted);
  transition: border-color 0.4s, color 0.4s, background-color 0.4s, box-shadow 0.4s;
}
.step.lit .step-num { border-color: var(--blue-bright); color: #fff; background: var(--navy); box-shadow: 0 0 24px -4px var(--glow); }
.step h3 { font-size: 1.2rem; font-stretch: 110%; margin-bottom: 0.75rem; line-height: 1.2; }
.step p { color: var(--muted); font-size: 0.97rem; line-height: 1.55; }
.step-flag {
  display: inline-block; margin-top: 1rem; padding: 0.35rem 0.6rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(47,123,255,0.18); border: 1px solid rgba(93,156,255,0.45);
}
.process-note { margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.5rem 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.process-note strong { color: var(--text); }

/* ---------- About ---------- */
.about { background: radial-gradient(60% 60% at 0% 50%, rgba(14,29,69,0.55), transparent 70%); }
.about-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.about { overflow-x: clip; }
.portrait { position: relative; margin: 0; isolation: isolate; }
.portrait::before {
  content: ""; position: absolute; inset: 8% -8% 18% -8%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(47,123,255,0.28), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.portrait-frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--navy);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.portrait:hover .portrait-frame img { transform: scale(1.015); }
.portrait-frame::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  --c: rgba(93,156,255,0.85);
  background:
    linear-gradient(var(--c), var(--c)) top left / 22px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 22px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 22px no-repeat;
}
.portrait-caption {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-strong); border-top: 0;
  background: linear-gradient(180deg, #0a1430, #060a16);
  position: relative;
}
.portrait-caption::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.portrait-name { font-size: 1.2rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; }
.portrait-title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.about-facts { margin: 1.5rem 0 0; }
.about-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); padding-top: 0.2rem; }
.about-facts dd { margin: 0; font-size: 0.98rem; }
.about-copy h2 { margin-bottom: 2.5rem; max-width: 16ch; }
.prose p { color: #c4cce2; font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.75; margin-bottom: 1.5rem; max-width: 40rem; }
.prose p:first-child { color: var(--text); font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.6; }
.signature { margin-top: 2rem; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em; color: var(--blue-bright); }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.faq-head .section-lede a { white-space: nowrap; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.6rem 3rem 1.6rem 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 600; font-stretch: 105%;
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 0.5rem; top: 50%; width: 14px; height: 1.5px; background: var(--blue-bright);
  transition: transform 0.4s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--blue-bright); }
.answer { overflow: hidden; }
.answer p { padding: 0 3rem 1.75rem 0; color: var(--muted); max-width: 44rem; }
.answer a { color: var(--blue-bright); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 85% 20%, rgba(30,90,255,0.22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(14,29,69,0.8), transparent 70%);
}
.contact-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact-copy h2 { margin-bottom: 0; }
.direct { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.direct-label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.direct-email {
  display: inline-block; margin-top: 0.75rem;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 700; font-stretch: 108%; text-decoration: none; word-break: break-all;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease), color 0.3s;
  padding-bottom: 2px;
}
.direct-email:hover { background-size: 100% 1px; color: var(--blue-bright); }
.copy-btn {
  display: block; margin-top: 0.9rem; padding: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
}
.copy-btn:hover { color: var(--text); }
.direct-meta { margin-top: 1.5rem; color: var(--dim); font-size: 0.92rem; }

.form {
  position: relative; padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(10,20,48,0.7), rgba(6,10,22,0.85));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; color: #d5dcef; }
.req { color: var(--blue-bright); }
.opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1rem;
  font: 400 1rem/1.4 var(--font); color: var(--text);
  background: rgba(4, 6, 12, 0.7); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder, .field textarea::placeholder { color: #5d6886; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(150,175,255,0.38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(47,123,255,0.22); background: rgba(4,6,12,0.95); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 2.5rem; cursor: pointer; }
.field select option { background: #0a1020; color: var(--text); }
.field-error { min-height: 0; font-size: 0.84rem; color: #ff8b8b; margin-top: 0.4rem; }
.field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.form-note { margin-top: 1.25rem; font-size: 0.86rem; color: var(--dim); line-height: 1.55; }
.form-status { margin-top: 1rem; font-size: 0.95rem; color: var(--blue-bright); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #03050a; padding-top: clamp(4rem, 7vw, 6rem); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 1.5rem; color: var(--dim); font-size: 0.92rem; max-width: 20rem; }
.footer-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.25rem; }
.footer-nav ul { display: grid; gap: 0.6rem; }
.footer-nav a, .footer-contact a:not(.btn) { color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer-nav a:hover, .footer-contact a:not(.btn):hover { color: var(--text); }
.footer-contact p { color: var(--muted); margin-bottom: 0.6rem; word-break: break-word; }
.footer-contact .btn { margin-top: 1rem; }
.footer-base { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; padding-block: 1.75rem; font-size: 0.84rem; color: var(--dim); }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 4rem); }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 720px; width: 100%; margin-top: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { top: 0; bottom: 0; left: 1.5rem; right: auto; width: 1px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .step { padding: 0 0 2.75rem 5rem; }
  .step:last-child { padding-bottom: 0; }
  .step p { max-width: 34rem; }
}

@media (max-width: 900px) {
  .facts-list { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:nth-child(2), .fact:nth-child(4) { padding-right: 0; }
  .work-link, .work:nth-child(even) .work-link { grid-template-columns: 1fr; gap: 1.75rem; }
  .work:nth-child(even) .work-visual { order: 0; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .plan-price { border-right: 0; border-bottom: 1px solid var(--line); }
  .fine-print { grid-template-columns: 1fr; }
  .about-inner, .faq-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-side, .faq-head { position: static; }
  .about-side { display: grid; grid-template-columns: 0.8fr 1fr; gap: 2rem; align-items: end; }
  .about-facts { margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  :root { --header-h: 68px; }
  .brand img { width: 52px; }
  .brand-text { font-size: 0.92rem; }
  .hero-actions .btn { width: 100%; }
  .facts-list { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(n) { border-left: 0; padding: 1.75rem 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .checklist { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { width: 100%; white-space: normal; }
  .about-side { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
  .faq-list summary { padding-right: 2.25rem; }
  .answer p { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pay-schedule li { grid-template-columns: 3.75rem 1fr; }
  .devices { margin-bottom: 2rem; }
  .device-tag { bottom: -2rem; left: 0; }
}

@media (max-width: 360px) {
  .price { font-size: 4.25rem; }
  .plan-price, .plan-includes { padding: 1.5rem 1.25rem; }
  .brand-text { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .devices { transform: none !important; }
  .wv-frame { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-visual, .form, .hero-bg, .contact-glow { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
