/*
 * Bimmate concept v5.20
 * Publicatiebasis, redactionele FAQ's en één rustig materiaalrecept voor
 * donkere panelen. Dit bestand staat bewust na v516.css.
 */

.v516-page {
  --v520-panel-border: rgba(255, 255, 255, .14);
  --v520-panel-highlight: rgba(255, 255, 255, .13);
}

/*
 * Translucent ink: de crèmekleur schemert door het paneel heen. De zachte
 * lichtval en asymmetrische binnenranden geven een glasmateriaal zonder blur
 * of buitenschaduw. Zo ontstaat onder het brede paneel geen rechte grijze band.
 */
.v516-page :is(
  .scroll-story,
  .home-services,
  .scan-story,
  .detail-hero--ink,
  .editorial-section--ink,
  .portfolio-section--ink,
  .matterport-detail,
  .matterport-showcase,
  .detail-cta--ink,
  .legal-contact,
  .page-section--ink,
  .tool-catalog,
  .page-cta:not(:has(.page-cta__grid--light))
)::before {
  background:
    radial-gradient(135% 115% at 7% -8%, rgba(255, 255, 255, .105) 0%, transparent 42%),
    linear-gradient(126deg, rgba(130, 153, 194, .045) 0%, rgba(255, 255, 255, .014) 36%, transparent 58%),
    linear-gradient(180deg, rgba(27, 27, 40, .84) 0%, rgba(22, 22, 34, .865) 52%, rgba(17, 17, 28, .88) 100%);
  border: 1px solid var(--v520-panel-border);
  box-shadow:
    inset 0 1px 0 var(--v520-panel-highlight),
    inset 1px 0 0 rgba(255, 255, 255, .055);
}

.v516-home .scroll-story__sticky {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .075);
}

.v516-product .product-tagline {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: rgba(255, 250, 246, .62);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}

/*
 * V5.25.12 — hetzelfde rustige materiaal als de overige donkere panelen.
 * De aparte glas- en displaylaag is verwijderd; de bestaande vierkante
 * mediaweergave uit styles.css/v516.css blijft leidend.
 */
body.v516-page.v516-home .home-services::before {
  background: var(--v516-ink);
  border-color: rgba(255, 250, 246, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.v516-home .home-services .service-image {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--v516-ink);
  box-shadow: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.v516-home .home-services .service-image::before,
.v516-home .home-services .service-image::after {
  content: none;
  display: none;
}

.v516-home .home-services .service-image img {
  padding: 0;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
  transform: none;
  transition: none;
}

.v516-home .home-services .service-card:hover .service-image,
.v516-home .home-services .service-card:hover .service-image img,
.v516-home .home-services .service-card:hover .service-image--scan img {
  box-shadow: none;
  transform: none;
}

/*
 * Eén rustig technisch lijnspoor sluit de hero af. De diagonale baan blijft
 * over de volle breedte zichtbaar; de dienstenregel staat er los boven.
 */
.v516-home .hero-lines {
  bottom: -260px;
}

.v516-home .hero-lines .line-field path {
  stroke-width: 1.9;
}

.v516-home .line-flow path {
  fill: none;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-dasharray: .055 .945;
  stroke-dashoffset: 1;
  opacity: .92;
  vector-effect: non-scaling-stroke;
  animation: v524-route-flow 9s linear infinite;
}

.v516-home .line-color--blue { stroke: var(--blue); }
.v516-home .line-color--rose { stroke: var(--rose); }
.v516-home .line-color--gold { stroke: var(--gold); }

.v516-home .line-flow path:nth-child(2) { animation-delay: -.45s; }
.v516-home .line-flow path:nth-child(3) { animation-delay: -.9s; }

.v516-home .hero-service-line {
  bottom: 112px;
  background: transparent;
}

.v516-home .trust-strip {
  overflow: hidden;
}

.v516-home .home-services > .shell {
  position: relative;
  z-index: 2;
}

.v516-home .service-route {
  position: absolute;
  z-index: 0;
  inset: 1px var(--v516-panel-gutter);
  overflow: hidden;
  border-radius: var(--v516-panel-radius);
  pointer-events: none;
}

.v516-home .service-route svg {
  width: 100%;
  height: 100%;
}

.v516-home .service-route .line-field path {
  fill: none;
  stroke-width: 1.55;
  opacity: .38;
  vector-effect: non-scaling-stroke;
}

.v516-home .service-route .line-flow path {
  stroke-width: 2.8;
  stroke-dasharray: .038 .962;
  opacity: .76;
  animation-duration: 12s;
}

@keyframes v524-route-flow {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) and (max-width: 1180px) {
  .v516-home .service-route {
    display: none;
  }
}

/* Het volledige tooloverzicht hoort bij hetzelfde materiaal, niet als full-bleed vlak. */
.v516-page .tool-catalog {
  position: relative;
  isolation: isolate;
  margin-block: var(--v516-panel-gap);
  background: transparent !important;
  color: var(--v516-cream);
}
.v516-page .tool-catalog::before {
  content: "";
  display: block !important;
  position: absolute;
  z-index: -1;
  inset: 0 var(--v516-panel-gutter);
  border-radius: var(--v516-panel-radius);
  pointer-events: none;
}
.v516-page .tool-catalog .compact-heading > p {
  color: rgba(255, 250, 246, .62);
}

/* Praktische feiten: redactioneel raster, geen losse kaartjes. */
.v520-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--v516-rule);
  border-bottom: 1px solid var(--v516-rule);
}

.v520-fact {
  min-height: 220px;
  padding: 38px clamp(24px, 3vw, 46px);
  border-right: 1px solid var(--v516-rule);
}

.v520-fact:nth-child(3n) { border-right: 0; }
.v520-fact:nth-child(n + 4) { border-top: 1px solid var(--v516-rule); }
.v520-fact > span {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.v520-fact h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.08;
}
.v520-fact p {
  max-width: 34ch;
  margin: 0;
  color: rgba(28, 28, 38, .64);
  line-height: 1.65;
}

/* FAQ als rustige inhoudslijst met native details/summary. */
.v520-faq__list {
  border-bottom: 1px solid var(--v516-rule);
}
.v520-faq__list details {
  border-top: 1px solid var(--v516-rule);
}
.v520-faq__list summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: baseline;
  gap: 18px;
  padding: 25px 0;
  cursor: pointer;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}
.v520-faq__list summary::-webkit-details-marker { display: none; }
.v520-faq__list summary > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.v520-faq__list summary::after {
  content: "+";
  grid-column: 3;
  justify-self: end;
  color: rgba(28, 28, 38, .48);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.v520-faq__list details[open] summary::after { content: "−"; }
.v520-faq__list details > p {
  max-width: 58rem;
  margin: -5px 0 27px;
  padding-left: 64px;
  color: rgba(28, 28, 38, .66);
  line-height: 1.72;
}
.v520-faq__list summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 7px;
}

/* Contact heeft nu drie gelijkwaardige, directe routes. */
.v516-contact .contact-options__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.v516-contact .contact-option h2 {
  overflow-wrap: normal;
  word-break: normal;
}

/* Privacy: smallere leesregel en heldere update-notitie. */
.v520-privacy-copy,
.v520-privacy-document { max-width: 54rem; }
.v520-privacy-copy .legal-article p + p,
.v520-privacy-document .legal-article p + p { margin-top: 14px; }
.v520-privacy-copy a,
.v520-privacy-document a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.privacy-updated,
.v520-updated {
  margin: 0 0 42px;
  color: rgba(28, 28, 38, .54);
  font-size: 13px;
}
.v520-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin: 28px 0 0;
  border-top: 1px solid var(--v516-rule);
}
.v520-contact-list > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--v516-rule);
}
.v520-contact-list dt {
  margin-bottom: 4px;
  color: rgba(28, 28, 38, .52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v520-contact-list dd { margin: 0; }
.v520-inline-button,
.footer-bottom button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.v520-inline-button:focus-visible,
.footer-bottom button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .v520-fact-grid,
  .v516-contact .contact-options__grid {
    grid-template-columns: 1fr;
  }
  .v520-fact {
    min-height: 0;
    padding: 30px 0;
    border-top: 1px solid var(--v516-rule);
    border-right: 0;
  }
  .v520-fact:first-child { border-top: 0; }
}

@media (max-width: 640px) {
  .v520-faq__list summary {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 12px;
  }
  .v520-faq__list details > p { padding-left: 46px; }
  .v520-contact-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .v516-home .line-flow {
    display: none;
  }

  .v520-faq__list *,
  .v520-fact-grid * {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* Transmissieberekeningen: compacte klimaatvergelijking in een eigen werkvlak. */
.climate-tool-section {
  overflow: clip;
}

.climate-tool-shell {
  position: relative;
  margin-top: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 250, 246, .13);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 38%),
    var(--v516-ink);
  box-shadow: 0 22px 54px rgba(28, 28, 38, .12);
}

.climate-tool-shell::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.climate-tool-shell__bar,
.climate-tool-shell__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255, 250, 246, .64);
}

.climate-tool-shell__bar {
  min-height: 50px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.climate-tool-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: var(--v516-cream);
}

.climate-tool-frame iframe {
  display: block;
  width: 100%;
  height: 172px;
  border: 0;
  background: var(--v516-cream);
  transition: height .45s cubic-bezier(.2, .7, .2, 1);
}

.climate-tool-shell__footer {
  min-height: 72px;
  padding: 12px 16px 4px;
}

.climate-tool-shell__footer p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 250, 246, .56);
  font-size: 13px;
  line-height: 1.55;
}

.climate-tool-shell .text-link--light {
  flex: 0 0 auto;
  color: var(--v516-cream);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .climate-tool-shell {
    margin-top: 38px;
  }

  .climate-tool-shell__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 12px;
  }
}

/*
 * Laptop-density: behoud de desktop-grid, maar haal overmatige verticale
 * ademruimte weg op schermen met weinig hoogte. Hoge desktops en de mobiele
 * vereenvoudiging blijven hierdoor ongemoeid.
 */
@media (min-width: 861px) and (max-height: 900px) {
  .v516-home .hero {
    min-height: calc(100svh - 124px);
    padding-block: 44px 96px;
  }

  .v516-home .hero-grid {
    gap: clamp(36px, 5vw, 70px);
  }

  .v516-home .hero h1 {
    font-size: clamp(52px, 4.7vw, 68px);
  }

  .v516-home .hero-lead {
    margin-top: 20px;
    font-size: clamp(16px, 1.28vw, 18px);
    line-height: 1.56;
  }

  .v516-home .hero-actions { margin-top: 24px; }
  .v516-home .hero-imprint { min-height: 430px; }
  .v516-home .hero-lines { bottom: -285px; }
  .v516-home .hero-service-line { bottom: 84px; }

  .v516-page .page-section {
    padding-block: 76px;
  }

  .v516-page .compact-heading {
    margin-bottom: 48px;
  }

  .v516-page .detail-hero {
    min-height: min(560px, calc(100svh - 160px));
    padding-block: 48px 54px;
  }

  .v516-page .detail-hero__copy h1 {
    font-size: clamp(50px, 5vw, 68px);
  }

  .v516-page .detail-hero__lead {
    margin-top: 18px;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.55;
  }

  .v516-page .detail-hero__actions {
    margin-top: 24px;
  }

  .v516-page .detail-hero--text-only {
    min-height: min(540px, calc(100svh - 160px));
  }

  .v516-page .detail-intro,
  .v516-page .editorial-section {
    padding-block: 82px;
  }

  .v516-page .editorial-head {
    margin-bottom: 48px;
  }

  .v516-page .workflow-section {
    padding-block: 84px 92px;
  }

  .v516-page .portfolio-section {
    padding-block: 88px 98px;
  }

  .v516-page .page-cta {
    padding-block: 76px;
  }
}

/* Dienstpagina's: zichtbaar bewijs zonder de redactionele rust te verliezen. */
.v516-page .service-hero__visual {
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(28, 28, 38, .11);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(28, 28, 38, .1);
}

.v516-page .service-hero__visual img {
  width: 100%;
  height: 470px;
  box-sizing: border-box;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.v516-page .service-hero__visual--diagram {
  background: #fffaf6;
}

.v516-page .service-hero__visual--diagram img {
  padding: clamp(20px, 3vw, 42px);
}

.v516-page .service-hero__visual--model {
  background: var(--media-revit-source);
}

.v516-page .service-hero__visual--model img {
  padding: clamp(18px, 2.7vw, 38px);
}

.v516-page .service-hero__visual--photo {
  background: #09090d;
}

.v516-page .service-hero__visual--photo img {
  padding: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(.98) brightness(.92);
}

.v516-page .service-hero__visual--vabi {
  background: #ededed;
}

.v516-page .service-hero__visual--vabi img {
  padding: clamp(18px, 2.7vw, 38px);
  filter: saturate(.82) contrast(.98);
}

.service-proof {
  position: relative;
  z-index: 2;
  background: var(--v516-cream);
  border-top: 1px solid var(--v516-rule);
  border-bottom: 1px solid var(--v516-rule);
}

.service-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-proof__grid > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 104px;
  padding: 22px clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--v516-rule);
}

.service-proof__grid > div:first-child {
  padding-left: 0;
}

.service-proof__grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-proof__grid strong {
  color: var(--v516-ink);
  font-family: var(--heading);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 600;
  line-height: 1.2;
}

.service-proof__grid span {
  color: rgba(28, 28, 38, .54);
  font-size: 12px;
  line-height: 1.45;
}

.service-proof__grid > .service-proof__software {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.service-proof__software > img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.service-proof__software > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

/*
 * Small supporting copy on the cream surface must remain readable at WCAG AA.
 * These values only darken text accents; spacing, hierarchy and brand surfaces
 * stay unchanged.
 */
.v516-page .detail-hero--cream,
.v516-page .fade-to-cream,
.v516-page .service-case-reservation {
  --rose: #8b5d61;
}

.v516-page .detail-hero--cream .breadcrumb {
  color: rgba(28, 28, 38, .68);
}

.v516-page .service-proof__grid span {
  color: rgba(28, 28, 38, .68);
}

.v516-page .platform-proof p,
.v516-page .capability-card p,
.v516-page .service-case-reservation p {
  color: rgba(28, 28, 38, .64);
}

.v516-page .capability-card > span,
.v516-page .v520-faq__list summary > span {
  color: #49668f;
}

.v516-page .service-process {
  padding-block: clamp(70px, 7vw, 104px);
}

.v516-page .compact-heading--process {
  margin-bottom: clamp(36px, 4vw, 54px);
}

.v516-page .capability-grid--process .capability-card {
  padding-block: clamp(28px, 3vw, 40px);
}

.v516-page .capability-grid--process .capability-card h3 {
  margin-top: 22px;
  font-size: clamp(25px, 2.25vw, 34px);
}

.v516-page .capability-grid--process .capability-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.62;
}

.button--gold {
  border-color: var(--v516-gold);
  background: var(--v516-gold);
  color: var(--v516-ink);
  box-shadow: 0 10px 24px rgba(97, 80, 35, .13);
}

.button--gold:hover {
  border-color: #c8b576;
  background: #c8b576;
  box-shadow: 0 14px 30px rgba(97, 80, 35, .2);
}

.v516-page .page-cta__grid--person {
  grid-template-columns: clamp(148px, 13vw, 188px) minmax(0, 1fr) minmax(270px, .58fr);
  align-items: center;
  gap: clamp(32px, 5vw, 74px);
}

.v516-page .page-cta__grid--person h2 {
  margin-top: 18px;
  font-size: clamp(34px, 3.45vw, 52px);
}

.page-cta__portrait {
  width: 100%;
  max-width: 188px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: .82;
  border: 1px solid rgba(28, 28, 38, .13);
  border-radius: 999px 999px 20px 20px;
  background: var(--v516-cream-deep);
}

.page-cta__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(.8) contrast(.96);
}

.page-cta__portrait--dark {
  border-color: rgba(255, 250, 246, .18);
  background: var(--v516-ink-raised);
}

@media (hover: hover) and (pointer: fine) {
  .v516-page .service-hero__visual:hover img {
    transform: scale(1.018);
  }
}

@media (max-width: 900px) {
  .service-proof__grid {
    grid-template-columns: 1fr;
  }

  .service-proof__grid > div {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--v516-rule);
  }

  .service-proof__grid > div:last-child {
    border-bottom: 0;
  }

  .v516-page .page-cta__grid--person {
    gap: 24px;
  }

  .page-cta__portrait {
    width: 132px;
  }

  .v516-page .page-cta__grid--person h2 {
    font-size: clamp(32px, 9vw, 46px);
  }
}

@media (max-width: 640px) {
  .v516-page .service-process {
    padding-block: 54px;
  }

  .v516-page .capability-grid--process .capability-card {
    padding-block: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v516-page .service-hero__visual img {
    transition: none;
  }
}

/* Contact: one recognizable person, framed by the same three technical routes. */
.v516-contact .contact-hero {
  overflow: hidden;
}

.v516-contact .contact-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .72fr);
  gap: clamp(44px, 6vw, 112px);
  align-items: center;
}

.v516-contact .contact-hero__inner {
  min-width: 0;
  max-width: none;
}

.v516-contact .contact-hero h1 {
  max-width: 880px;
  font-size: clamp(54px, 5.8vw, 100px);
  overflow-wrap: normal;
}

.v516-contact .contact-hero__inner > p:last-child {
  max-width: 650px;
}

.v516-contact .contact-hero__visual {
  position: relative;
  min-height: clamp(500px, 44vw, 640px);
  margin: 0;
  isolation: isolate;
}

.v516-contact .contact-hero__portrait {
  position: absolute;
  z-index: 2;
  inset: 28px 54px 30px 52px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(28, 28, 38, .12);
  border-radius: 30px;
  background: var(--v516-cream);
  box-shadow: 0 24px 60px rgba(28, 28, 38, .12);
}

.v516-contact .contact-hero__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.84) contrast(.97);
}

.v516-contact .contact-hero__lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.v516-contact :is(.contact-hero__line-field, .contact-hero__line-flow) path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.v516-contact .contact-hero__line-field path {
  stroke-width: 2;
  opacity: .62;
}

.v516-contact .contact-hero__line-flow path {
  stroke-width: 3.1;
  stroke-dasharray: .055 .945;
  stroke-dashoffset: 1;
  opacity: .88;
  animation: v524-route-flow 10.5s linear infinite;
}

.v516-contact .contact-hero__line-flow path:nth-child(2) {
  animation-delay: -.45s;
}

.v516-contact .contact-hero__line-flow path:nth-child(3) {
  animation-delay: -.9s;
}

.v516-contact .line-color--blue {
  stroke: var(--blue);
}

.v516-contact .line-color--rose {
  stroke: var(--rose);
}

.v516-contact .line-color--gold {
  stroke: var(--gold);
}

@media (max-width: 1100px) {
  .v516-contact .contact-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .68fr);
    gap: 36px;
  }

  .v516-contact .contact-hero h1 {
    font-size: clamp(52px, 6.5vw, 76px);
  }
}

@media (max-width: 900px) {
  .v516-contact .contact-hero__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .v516-contact .contact-hero__visual {
    width: min(100%, 470px);
    min-height: 0;
    margin: 0 auto;
    aspect-ratio: .82;
  }

  .v516-contact .contact-hero__portrait {
    inset: 22px 32px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 600px) {
  .v516-contact .contact-hero__layout {
    gap: 26px;
  }

  .v516-contact .contact-hero__visual {
    width: min(100%, 360px);
  }

  .v516-contact .contact-hero__portrait {
    inset: 18px 24px 18px;
    border-radius: 20px;
  }

  .v516-contact .contact-hero__line-field path {
    stroke-width: 1.6;
  }

  .v516-contact .contact-hero__line-flow path {
    stroke-width: 2.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v516-contact .contact-hero__line-flow path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
