/* Blueprint Design: human-first refinement, August 2026.
   This layer deliberately preserves the existing content and IA. */

:root {
  --taste-radius: 16px;
  --taste-paper: #f7f9f9;
  --taste-surface: #eef3f4;
  --taste-ink: #172126;
  --taste-muted: #50616a;
  --taste-cyan: #0e7490;
}

body {
  background: var(--taste-paper);
  color: var(--taste-ink);
}

/* A quieter shell: one solid surface, one accent, no floating glass bubbles. */
.header {
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand,
.nav {
  border-radius: var(--taste-radius);
  border-color: rgba(23, 33, 38, .1);
  background: rgba(247, 249, 249, .94);
  box-shadow: 0 8px 30px rgba(18, 38, 45, .07);
}

.brand {
  padding: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav {
  padding: 6px;
}

.nav a,
.nav__cta,
.btn-primary,
.btn-ghost {
  border-radius: 12px;
}

.nav__cta,
.btn-primary {
  box-shadow: none;
}

/* Hero: one statement, one explanation, one decision. */
.hero {
  min-height: 680px;
  background: var(--taste-surface);
}

.hero__stage {
  min-height: 100dvh;
  padding-top: clamp(86px, 10vh, 104px);
}

.hero__stage::after {
  background: linear-gradient(90deg, rgba(247,249,249,.99) 0%, rgba(247,249,249,.96) 38%, rgba(247,249,249,.54) 58%, rgba(247,249,249,.08) 82%);
}

.hero__eyebrow {
  max-width: 10.5ch;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero__scope,
.hero__trust,
.hero__readout,
.hero__aperture {
  display: none !important;
}

.hero__sub {
  max-width: 560px;
  margin-top: 26px;
  color: #43545e;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

.hero__cta {
  margin-top: 26px;
}

.hero__scene,
.hero__layer {
  transform: none !important;
  filter: none !important;
}

.hero__drawing-plane {
  transform: translate(-50%, -50%) scale(1.025) !important;
}

.hero__layer.-glass,
.hero__layer.-cyan {
  display: none;
}

/* Remove portfolio-tech decoration and keep motion only where it explains change. */
.about__step,
.about__scrollcue,
.about__chapters,
.marquee,
.values__marquee {
  display: none !important;
}

.about__visual::before,
.about__visual::after {
  content: none !important;
}

.about {
  height: auto !important;
  padding: clamp(88px, 10vw, 136px) 0 !important;
  overflow: hidden;
}

.about::before { content: none !important; }

.about__grid {
  position: relative !important;
  top: auto !important;
  min-height: 0 !important;
  display: block !important;
}

.about__visual {
  width: 100%;
  aspect-ratio: 21 / 7;
  border-radius: var(--taste-radius);
  box-shadow: none;
}

.about__plane {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  clip-path: none !important;
  background: transparent;
  box-shadow: none;
}

.about__image,
.about__image:first-child {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  opacity: 1 !important;
  object-fit: cover;
  border-radius: var(--taste-radius);
}

.about__copy {
  width: 100%;
  max-width: none;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 42px 0 0;
}

.about__panel,
.about__panel.-active,
.about__panel.-past {
  position: relative;
  inset: auto;
  display: block;
  opacity: 1 !important;
  pointer-events: auto;
  padding: 0;
  transform: none !important;
}

.about__panel + .about__panel {
  padding-left: 32px;
  border-left: 1px solid rgba(23, 33, 38, .14);
}

.about h2 {
  max-width: 13ch;
  font-size: clamp(30px, 3vw, 46px);
}

.about p {
  margin-top: 18px;
}

.about__copy .eyebrow {
  display: none;
}

.about__panel h2 {
  margin-top: 0 !important;
}

.tool-choice {
  display: block !important;
  border-top: 1px solid rgba(23, 33, 38, .14);
}

.tool-choice article {
  display: grid;
  grid-template-columns: minmax(90px, .35fr) minmax(180px, .75fr) minmax(260px, 1.5fr);
  align-items: baseline;
  gap: 28px;
  min-height: 0 !important;
  padding: 24px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(23, 33, 38, .14) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.tool-choice article h3,
.tool-choice article p {
  margin: 0 !important;
}

.portfolio-card,
.work__media,
.founder__portrait,
.model-note,
.price,
.partner-tier,
.hosting-option {
  border-radius: var(--taste-radius) !important;
}

/* About: keep Tobias authentic and fully visible. The portrait has its own
   dark backdrop, so contain creates a deliberate editorial split instead of
   cropping the head to fit a landscape hero. */
body.page-about .hero__drawing-plane {
  background: #050606;
}

body.page-about .hero__drawing-plane > .hero__drawing-image {
  object-fit: contain !important;
  object-position: 82% center !important;
  background: #050606;
}

body.page-about .founder__portrait::after {
  content: "Riktning · Design · Utveckling";
}

body.page-about .founder__portrait img {
  object-position: center !important;
}

@media (max-width: 700px) {
  body.page-about .hero__drawing-plane > .hero__drawing-image {
    object-fit: cover !important;
    object-position: center 8% !important;
  }
}

/* The original project stack pinned three full viewports. It made normal
   scrolling feel like a broken page and inflated the work section to 3550px. */
@media (min-width: 901px) {
  .works {
    padding: clamp(88px, 9vw, 128px) 0 !important;
  }

  .works__head {
    min-height: 0 !important;
    margin-bottom: 38px !important;
  }

  .work,
  .work:nth-of-type(2),
  .work:nth-of-type(3) {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: clamp(58px, 6vw, 82px) 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
}

/* Keep the site in one light family instead of changing identity mid-scroll. */
.band,
.contact,
.workflow,
.results {
  background: #e8f1f2 !important;
  color: var(--taste-ink) !important;
}

/* The band retained the old campaign-heading settings. Keep it in the same
   typographic voice as the rest of the redesigned page. */
.band h2 {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 650 !important;
  line-height: .98 !important;
  letter-spacing: -.05em !important;
}

.band h2 em {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--taste-cyan);
}

/* The band's old dark-background accents (light cyan / white-alpha) vanish on
   the light band — restate them in the light palette. */
.band .demand-flow__step b {
  color: var(--taste-cyan);
}

.band .demand-flow__step span {
  color: var(--taste-muted);
}

.band .demand-flow {
  border-color: rgba(23, 33, 38, .16);
}

.band .demand-flow__step {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(23, 33, 38, .16);
}

.band .marquee__item {
  color: rgba(23, 33, 38, .45);
}

.band h2,
.band p,
.band .stat b,
.band .stat span,
.contact h2,
.contact p,
.contact a,
.contact h4,
.contact span,
.workflow h2,
.workflow p,
.results h2,
.results p {
  color: inherit;
}

.contact__meta,
.contact__bottom,
.band .stats,
.band .stat {
  border-color: rgba(23, 33, 38, .14) !important;
}

.contact .eyebrow,
.band .eyebrow,
.results .eyebrow {
  color: var(--taste-cyan) !important;
}

.contact__brand img {
  filter: invert(1);
}

.contact__person {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  margin-top: 28px;
}

.contact__person img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 14%;
  box-shadow: 0 0 0 5px rgba(255,255,255,.66);
}

.contact__person p {
  display: grid;
  gap: 4px;
  max-width: 28ch;
  margin: 0 !important;
}

.contact__person strong {
  color: var(--taste-ink);
  font-size: 15px;
}

.contact__person span {
  color: #50616a !important;
  font-size: 13px;
  line-height: 1.45;
}

/* The contact form originally inherited a dark-footer palette. On the new
   light surface that made labels, inputs and consent copy effectively vanish. */
.contact__action p {
  color: #354750 !important;
}

.contact .bpf-field label,
.contact .bpf-consent,
.contact .bpf-status {
  color: #354750 !important;
}

.contact .bpf-field input,
.contact .bpf-field select,
.contact .bpf-field textarea {
  border-color: #bdcdd1;
  background: rgba(255, 255, 255, .76);
  color: #172126;
}

.contact .bpf-field input::placeholder,
.contact .bpf-field textarea::placeholder {
  color: #687a82;
}

.contact .bpf-field input:focus,
.contact .bpf-field select:focus,
.contact .bpf-field textarea:focus {
  border-color: var(--taste-cyan);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, .12);
}

.contact .bpf-submit {
  border-radius: 12px;
  background: #0b3a47;
  color: #fff;
}

.contact .bpf-submit:hover {
  background: var(--taste-cyan);
}

.contact__meta p,
.contact__col p,
.contact__col h4,
.contact__col a,
.contact__bottom {
  color: #263840 !important;
}

.contact__col a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav a,
.work__more {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Less repetitive label rhythm. */
.tool-choice article > b,
.work__index,
.workflow__num,
.demand-flow__step b {
  display: none !important;
}

.wf-step__num,
.about__axis {
  display: none !important;
}

.works__head .eyebrow,
.portfolio-wall .eyebrow,
.packages__head > .eyebrow,
.values__head > .eyebrow,
.founder .eyebrow,
.contact .eyebrow,
.workflow .eyebrow,
.results .eyebrow,
.ai-compass .eyebrow {
  display: none !important;
}

body.page-pricing .packages__head > .eyebrow {
  display: inline-flex !important;
}

body.page-pricing .packages__head h1 {
  max-width: 18ch;
  margin-top: 18px;
  font-family: var(--head);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

@media (max-width: 767px) {
  :root { --gutter: 18px; }

  .header {
    width: 100%;
    min-height: 68px;
    padding: 10px 12px;
  }

  .brand {
    flex: 0 0 auto;
    width: auto;
    height: 48px;
    padding: 0;
    justify-content: flex-start;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand__mark {
    width: 25px;
    height: 34px;
  }

  .brand__name { display: none; }

  .nav {
    position: absolute;
    top: 10px;
    right: 12px;
    margin-left: auto;
    width: auto;
    max-width: calc(100vw - 92px);
    flex: 0 1 auto;
    border-radius: 14px;
  }

  .nav__cta {
    width: auto;
    max-width: 104px;
    min-height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    height: auto;
    min-height: 100dvh;
  }

  .hero__stage {
    height: auto;
    min-height: 100dvh;
    justify-content: flex-end;
    padding: 104px 18px 44px;
  }

  .hero__stage::after {
    background: linear-gradient(180deg, rgba(247,249,249,.12) 0%, rgba(247,249,249,.48) 28%, rgba(247,249,249,.96) 55%, rgba(247,249,249,1) 100%);
  }

  .hero__scene {
    inset: 0;
    height: 54%;
    bottom: auto;
  }

  .hero__drawing-plane {
    top: 50%;
    width: max(100vw, calc(54vh * 1.7768));
  }

  .hero__drawing-image {
    object-position: 64% center;
  }

  .hero__eyebrow {
    max-width: 9.5ch;
    font-size: clamp(40px, 12.5vw, 54px);
    line-height: .98;
  }

  .hero__sub {
    width: 100%;
    max-width: 34ch;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero__cta {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .hero__cta a {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    white-space: nowrap;
  }

  .about { padding-top: 72px; }

  .about__visual {
    aspect-ratio: 16 / 10;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .about__plane {
    width: 255%;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .about__image {
    scroll-snap-align: start;
  }

  .about__copy {
    display: block;
    padding-top: 30px;
  }

  .about__panel,
  .about__panel + .about__panel {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid rgba(23, 33, 38, .14);
  }

  .about__panel:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .contact__hero,
  .ai-compass__intro,
  .packages__head {
    display: block !important;
  }

  .tool-choice article {
    display: block;
    padding: 22px 0 !important;
  }

  .tool-choice article h3 {
    margin-top: 8px !important;
  }

  .tool-choice article p {
    margin-top: 8px !important;
  }

  .contact__meta {
    gap: 12px !important;
  }

  .contact__col h4 {
    margin-bottom: 8px;
  }
}

/* Consent remains clear without taking over the composition. */
.bpc-wrap {
  border-radius: var(--taste-radius) !important;
  background: rgba(20, 48, 55, .97) !important;
  box-shadow: 0 18px 50px rgba(18, 38, 45, .18) !important;
}

.bpc-actions button {
  border-radius: 10px;
}

@media (max-width: 600px) {
  .bpc-wrap {
    padding: 15px 16px !important;
  }

  .bpc-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
    margin-top: 11px !important;
  }

  .bpc-actions button {
    min-height: 38px !important;
    padding: 0 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.-in,
  .hero__eyebrow,
  .hero__sub,
  .hero__cta {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   Mobile nav — Lumina-varianten (blueprint-hub HeaderLumina):
   fullskärmsoverlay, staggade stora länkar, CTA i botten.
   Kräver /assets/blueprint-nav.js som flyttar #navLinks till
   <body> på mobil och klonar CTA:n in i menyn.
   ============================================================ */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  /* Ingen "island" runt hamburgaren — naken svart burger på sidbakgrunden */
  .nav {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Märkbart större logga på mobil */
  .brand__mark {
    width: auto;
    height: 48px;
  }

  /* Burger: tre svarta linjer, mjuk morf till X */
  .nav__burger {
    gap: 5px;
  }

  .nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--taste-ink, #141414);
  }

  .nav__burger[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__burger[aria-expanded="true"] span.nav__burger-mid {
    opacity: 0;
    transform: scaleX(.4);
  }

  .nav__burger[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Overlay */
  .nav__links {
    position: fixed;
    inset: 0;
    top: 0;
    right: 0;
    left: 0;
    z-index: 90; /* under headern (100) så pill + burger ligger kvar; display styrs av .-open */
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: calc(96px + env(safe-area-inset-top)) 26px calc(28px + env(safe-area-inset-bottom));
    background: rgba(247, 249, 249, .9);
    -webkit-backdrop-filter: blur(28px) saturate(1.25);
    backdrop-filter: blur(28px) saturate(1.25);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    /* Glow-bloben (::before) hamnar i overlayens eget koordinatsystem pga
       backdrop-filter och sticker ut 120px åt höger — klipp bort sidled-scroll. */
    overflow-x: hidden;
    overscroll-behavior: contain;
  }

  .nav__links::before {
    content: "";
    position: fixed;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(6, 182, 212, .14);
    filter: blur(80px);
    pointer-events: none;
  }

  .nav__links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 2px;
    border-radius: 0;
    border-bottom: 1px solid rgba(23, 33, 38, .1);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--taste-ink, #172126);
    opacity: 0;
    transform: translateY(14px);
  }

  .nav__links a::after {
    content: "→";
    position: static;
    display: block;
    width: auto;
    height: auto;
    background: none;
    transform: translateX(-6px);
    font-size: 20px;
    font-weight: 500;
    color: var(--taste-cyan, #0e7490);
    opacity: 0;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }

  /* Hover (desktop/pekplatta) + press-feedback (mobil): länken glider åt
     höger, blir teal och pilen seglar in. */
  .nav__links a {
    transition: color .25s var(--ease), padding-left .25s var(--ease), background-color .25s var(--ease);
  }

  .nav__links a:hover,
  .nav__links a:active {
    color: var(--taste-cyan, #0e7490);
    padding-left: 10px;
  }

  .nav__links a:active {
    background: rgba(6, 182, 212, .07);
  }

  .nav__links a:active::after,
  .nav__links a:hover::after {
    opacity: 1;
    transform: translateX(0);
  }

  .nav__links.-open {
    animation: navOverlayIn .3s var(--ease);
  }

  .nav__links.-open a {
    animation: navLinkIn .5s var(--ease) forwards;
  }

  @keyframes navOverlayIn {
    from { opacity: 0 }
    to { opacity: 1 }
  }

  .nav__links.-open a:nth-child(1) { animation-delay: .06s }
  .nav__links.-open a:nth-child(2) { animation-delay: .12s }
  .nav__links.-open a:nth-child(3) { animation-delay: .18s }
  .nav__links.-open a:nth-child(4) { animation-delay: .24s }
  .nav__links.-open a:nth-child(5) { animation-delay: .3s }
  .nav__links.-open a:nth-child(6) { animation-delay: .36s }

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

  /* Mobil-headern visar bara hamburgaren — ingen CTA-knapp i pillen.
     (Menyns fullbredds-CTA i botten tar kontakt-jobbet i stället.) */
  .nav a.nav__cta {
    display: none !important;
  }

  /* CTA i botten av menyn (klonas in av blueprint-nav.js) */
  .nav__links a.nav__mobile-cta {
    margin-top: auto;
    justify-content: center;
    gap: 10px;
    border-bottom: 0;
    border-radius: 16px;
    padding: 18px 22px;
    background: var(--taste-cyan, #0e7490);
    color: #fff;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: 0;
    text-align: center;
  }

  .nav__links a.nav__mobile-cta::after {
    content: "→";
    color: #fff;
    opacity: 1;
    position: static;
    transform: none;
  }

  .nav__links a.nav__mobile-cta:hover,
  .nav__links a.nav__mobile-cta:active {
    background: var(--blue-deep, #0b3a47);
    color: #fff;
    padding-left: 22px;
  }
}

/* Klonade mobil-CTA:n hör bara hemma i overlayn */
@media (min-width: 901px) {
  .nav__links a.nav__mobile-cta {
    display: none;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .nav__links a,
  .nav__links.-open a {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   /om på mobil: porträttet (stående 800x1220) mosades in i det
   liggande ritnings-bandet och tvättades ur av gradienten.
   Låt fotot fylla bandet naturligt och flytta ur-toningen nedåt.
   ============================================================ */
@media (max-width: 767px) {
  body.page-about .hero__scene {
    height: 56%;
  }

  body.page-about .hero__drawing-plane {
    width: 100vw;
    height: 100%;
    aspect-ratio: auto;
  }

  body.page-about .hero__drawing-plane > .hero__drawing-image {
    object-fit: cover !important;
    object-position: center 15% !important;
    filter: none;
  }

  body.page-about .hero__stage::after {
    background: linear-gradient(180deg, rgba(247,249,249,0) 0%, rgba(247,249,249,.05) 38%, rgba(247,249,249,.9) 60%, #f7f9f9 74%);
  }

  /* Fotots studiobakgrund är svart — logga/burger blir osynliga där.
     blueprint-nav.js togglar .-over-dark på headern medan den ligger
     över fotot; öppen meny (ljus overlay) vinner tillbaka mörkt. */
  body.page-about .header.-over-dark .brand__mark {
    filter: invert(1) brightness(1.4);
  }

  body.page-about .header.-over-dark .nav__burger span {
    background: #fff;
  }

  body.page-about.nav-open .header .brand__mark {
    filter: none;
  }

  body.page-about.nav-open .header .nav__burger span {
    background: var(--taste-ink, #141414);
  }
}

/* ============================================================
   Start-heron: "ritningen ritar sig själv" — blueprint-rutnät,
   tunna teal-linjer som tecknas längs banor och mjuk drivande
   glow (aceternity-beams i ljus Blueprint-tappning, ren CSS/SVG).
   Ersätter studiofotot på startsidan.
   ============================================================ */
body.home-trim .hero__scene {
  display: none !important;
}

body.home-trim .hero__stage {
  background: #f4f7f7;
}

.bp-hero-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Blueprint-rutnätet: fint 28px-raster + kraftigare 140px-linjer */
.bp-hero-anim::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(14, 116, 144, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 116, 144, .06) 1px, transparent 1px),
    linear-gradient(rgba(14, 116, 144, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 116, 144, .028) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  -webkit-mask-image: radial-gradient(120% 105% at 70% 40%, #000 35%, transparent 100%);
  mask-image: radial-gradient(120% 105% at 70% 40%, #000 35%, transparent 100%);
}

/* Mjuk cyan-glow som driver långsamt */
.bp-hero-anim::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 34% at 72% 30%, rgba(6, 182, 212, .13), transparent 70%),
    radial-gradient(30% 30% at 28% 78%, rgba(14, 116, 144, .09), transparent 70%);
  animation: bpGlowDrift 18s ease-in-out infinite alternate;
}

@keyframes bpGlowDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

.bp-hero-anim__beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Basen: den svaga "hjälplinjen" som alltid ligger kvar */
.bp-beam-base {
  stroke: rgba(14, 116, 144, .10);
  stroke-width: 1.1;
}

/* Strålen: kort gradient-segment som vandrar längs banan */
.bp-beam {
  stroke: url(#bpBeamA);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 110 890;
  animation: bpBeamTravel var(--bd, 10s) linear infinite;
  animation-delay: var(--bdel, 0s);
}

@keyframes bpBeamTravel {
  to { stroke-dashoffset: -1000; }
}

@media (prefers-reduced-motion: reduce) {
  .bp-beam { animation: none; stroke-dasharray: none; opacity: .18; }
  .bp-hero-anim::after { animation: none; }
}

/* ============================================================
   Start-heron: bevis-ramen — riktiga byggda sajter i en torr,
   tunn ram med mono-etikett. Ingen glans, ingen zoom; bara en
   lugn crossfade mellan riktiga arbeten.
   ============================================================ */
body.home-trim .bp-hero-proof {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 560px;
  margin-top: 36px;
  border: 1px solid rgba(23, 33, 38, .14);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(18, 38, 45, .08);
}

body.home-trim .bp-hero-proof__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(23, 33, 38, .1);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taste-muted, #50616a);
}

body.home-trim .bp-hero-proof__step {
  color: var(--taste-cyan, #0e7490);
}

body.home-trim .bp-hero-proof__view {
  position: relative;
  aspect-ratio: 1440 / 900;
}

body.home-trim .bp-hero-proof__view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 1.5s var(--ease, ease);
}

body.home-trim .bp-hero-proof__view img.-active {
  opacity: 1;
}

/* Mobil: ramen ligger i flödet under CTA — låt heron växa förbi 100svh */
@media (max-width: 900px) {
  body.home-trim .hero,
  body.home-trim .hero__stage {
    height: auto;
    min-height: 100svh;
  }

  body.home-trim .bp-hero-proof {
    margin-top: 30px;
  }

  /* Långa projektnamn (Alingsås Arboristtjänst) ska inte radbryta baren */
  body.home-trim .bp-hero-proof__bar {
    font-size: 10px;
    letter-spacing: .08em;
  }

  body.home-trim .bp-hero-proof__bar span {
    white-space: nowrap;
  }
}

/* Desktop: ramen till höger, texten behåller vänstersidan */
@media (min-width: 901px) {
  body.home-trim .bp-hero-proof {
    position: absolute;
    right: max(var(--gutter, 24px), calc((100% - 1360px) / 2));
    top: 50%;
    transform: translateY(-50%);
    width: min(43vw, 600px);
    margin-top: 0;
  }
}

/* ============================================================
   /synlighet: bevis-remsan "Därför just nu" — tre siffror med
   källänkar som bär argumentet för AI-sök-skiftet.
   ============================================================ */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.proof-card {
  background: #fff;
  border: 1px solid rgba(23, 33, 38, .12);
  border-radius: var(--taste-radius, 16px);
  padding: 26px;
}

.proof-card b {
  display: block;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--taste-cyan, #0e7490);
}

.proof-card p {
  margin-top: 10px;
  color: var(--taste-muted, #50616a);
  font-size: 15px;
  line-height: 1.55;
}

.proof-card a {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taste-muted, #50616a);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 33, 38, .22);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.proof-card a:hover {
  color: var(--taste-cyan, #0e7490);
  border-color: var(--taste-cyan, #0e7490);
}

@media (max-width: 900px) {
  .proof-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
  }

  .proof-card {
    padding: 22px;
  }
}
