[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--orange-light);
  outline-offset: 3px;
}

.mobile-menu nav:not([hidden]) { z-index: 30; }

.activity-image-note { color: var(--muted); font-size: .8rem; margin: 1rem 0 0; }
/* Home expertise: larger work photographs and a clear path into each service. */
.expertise-section .section-heading { margin-bottom: clamp(30px, 4vw, 54px); }
.expertise-section .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.expertise-section .expertise-card {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.expertise-card-media { position: relative; min-height: 100%; overflow: hidden; background: #d7d9d1; }
.expertise-card-mosaic { display: grid; width: 100%; height: 100%; min-height: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; overflow: hidden; background: var(--paper); }
.expertise-card-mosaic img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.expertise-card-mosaic img:first-child { grid-row: 1 / span 2; }
.expertise-section .expertise-card-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: none;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.expertise-section .expertise-card:nth-child(1) img { object-position: 63% center; }
.expertise-section .expertise-card:nth-child(2) img { object-position: 53% center; }
.expertise-section .expertise-card:nth-child(3) img { object-position: center 48%; }
.expertise-section .expertise-card:nth-child(4) img { object-position: 42% center; }
.expertise-section .expertise-card .card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  margin: 0;
  padding: 8px 10px;
  background: #16211bdf;
  color: #fff;
}
.expertise-card-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.5vw, 38px); }
.expertise-card-category { color: var(--orange-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.expertise-section .expertise-card h3 { margin: 18px 0 12px; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.15; }
.expertise-section .expertise-card p { margin: 0 0 26px; color: var(--muted); }
.expertise-section .expertise-card .card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 18px;
  margin-top: auto;
  padding: 0 0 5px;
  border-bottom: 1px solid currentColor;
  color: var(--orange-dark);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.expertise-section .expertise-card .card-link span { font-size: 1.25rem; line-height: 1; }
.expertise-section .expertise-card .card-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
@media (max-width: 1199px) {
  .expertise-section .expertise-grid { grid-template-columns: 1fr; }
  .expertise-section .expertise-card { grid-template-columns: minmax(0, 43%) minmax(0, 57%); min-height: 300px; }
}
@media (max-width: 600px) {
  .expertise-section .expertise-card { display: flex; min-height: 0; }
  .expertise-card-media { height: clamp(220px, 62vw, 330px); min-height: 0; }
  .expertise-section .expertise-card-photo { height: 100%; }
  .expertise-card-copy { padding: 25px 24px 28px; }
}

/* The old dedicated-expertise layout is superseded by the shared catalog pages. */
.service-checks-title { margin: 0 0 16px; font-size: 1.15rem; }

/* The inquiry journey follows the form: clear inputs, optional files, then a reference. */
.process-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(44px, 8vw, 130px); align-items: start; }
.process-intro { padding-top: 10px; }
.process-intro h2 { max-width: 13ch; margin: 18px 0 20px; font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.process-intro p { max-width: 48ch; margin: 0 0 30px; color: var(--muted); }
.process-intro .button { display: inline-flex; }
.process-grid { list-style: none; margin: 0; padding: 0; border-top: 1px solid #b9c0b7; }
.process-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 25px 0 27px; border-bottom: 1px solid #b9c0b7; }
.process-number { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange-dark); font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.process-step h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 1.6vw, 1.55rem); }
.process-step p { max-width: 50ch; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }
@media (max-width: 900px) {
  .process-layout { grid-template-columns: 1fr; gap: 38px; }
  .process-intro h2 { max-width: 16ch; }
}
@media (max-width: 600px) {
  .process-step { grid-template-columns: 48px minmax(0, 1fr); gap: 13px; padding: 22px 0; }
  .process-number { width: 39px; height: 39px; font-size: .72rem; }
}

/* Product catalogue: verified manufacturer and retailer photographs. */
.products-intro { padding-bottom: 24px; }
.products-intro h2 { max-width: 16ch; }
.products-index { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 26px; }
.products-index a { gap: 10px; min-width: 0; padding: 11px 14px; font-size: .72rem; transition: border-color .2s, color .2s; }
.products-index a:hover, .products-index a:focus-visible { border-color: var(--orange); color: var(--orange-dark); }
.products-index a span:first-child { color: var(--orange-dark); font-size: .7rem; letter-spacing: .08em; }
.products-section .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.products-section .product-card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 90px; }
.products-section .product-card-media { flex: none; min-height: 0; height: clamp(190px, 19vw, 260px); background: #e6e8e1; }
.products-section .product-card-media--pack img { width: auto; height: auto; max-width: calc(100% - 48px); max-height: clamp(150px, 16vw, 210px); padding: 0; object-fit: contain; }
.products-section .product-card-media img { transition: transform .35s ease; }
@media (hover: hover) {
  .expertise-card .card-link span { transition: transform .2s ease; }
  .expertise-card:hover .card-link span,
  .expertise-card:focus-within .card-link span { transform: translate(2px, -2px); }
}
.products-section .product-card-media > span { left: 18px; top: 16px; color: var(--orange-dark); }
.product-card-media > small { position: absolute; right: 18px; bottom: 16px; color: #4e5950; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.products-section .product-card-content { flex: 1; min-height: 0; padding: clamp(18px, 2vw, 24px); }
.products-section .product-card h2 { margin: 16px 0 10px; font-size: clamp(1.12rem, 1.4vw, 1.5rem); line-height: 1.18; }
.products-section .product-card p { margin: 0; }
.product-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; padding-top: 14px; margin-top: auto; }
.products-section .product-source { font-size: .82rem; }
.products-section .product-link { margin: 0; padding: 0; font-size: .86rem; font-weight: 800; }
.products-section .product-link:hover, .products-section .product-link:focus-visible { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 4px; }
.products-section .product-disclosure { max-width: 100%; margin: 27px 0 0; align-items: flex-start; line-height: 1.65; }
.product-disclosure p { margin: 0; }
.product-basin-note { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 36px; padding: clamp(28px, 4vw, 48px); border-left: 4px solid var(--orange); background: #e9ebe5; }
.product-basin-note h2 { max-width: 20ch; margin: 15px 0 12px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.product-basin-note p { max-width: 65ch; margin: 0; color: var(--muted); }
.product-basin-note .text-link { flex: none; margin-bottom: 4px; }
@media (max-width: 900px) {
  .product-basin-note { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 1100px) {
  .products-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .products-section .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .products-section .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .products-section .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .products-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-section .product-card-media { height: 260px; }
  .products-index a { max-width: 220px; }
}
.convoyage-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.convoyage-overview h2 { margin: .8rem 0 1.2rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.08; }
.convoyage-overview p { max-width: 42rem; }
.convoyage-main-photo,
.convoyage-gallery figure { margin: 0; }
.convoyage-main-photo img,
.convoyage-gallery img { display: block; width: 100%; object-fit: cover; }
.convoyage-main-photo img { aspect-ratio: 1.25 / 1; }
.convoyage-gallery img { aspect-ratio: 1.5 / 1; }
.convoyage-overview figcaption,
.convoyage-gallery figcaption,
.convoyage-gallery-note { color: var(--muted); font-size: .8rem; line-height: 1.5; margin-top: .6rem; }
.convoyage-details { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.convoyage-details li { display: flex; gap: 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.convoyage-details li span { color: var(--orange-dark); font-weight: 800; }
.convoyage-gallery-section { background: var(--paper); }
.convoyage-gallery-section h2 { margin: .8rem 0 2rem; font-size: clamp(1.8rem, 3vw, 3rem); }
.convoyage-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.convoyage-inquiry { background: var(--surface); }
.service-extra { margin: 34px 0 0; }
.service-extra img { display: block; width: 100%; object-fit: cover; background: #e8eae5; }
.service-extra--roof img { height: clamp(400px, 48vw, 620px); object-position: center 62%; }
.service-extra--bridge img { aspect-ratio: 4 / 3; }
.service-extra--pool img { aspect-ratio: 4 / 5; object-position: center 45%; }
.service-extra--basin img { aspect-ratio: 3 / 2; }
.service-extra figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.service-extra a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.service-extra a:hover { color: var(--orange-dark); }
.service-caution { margin: 25px 0 34px; padding: 17px 20px; border-left: 3px solid var(--orange); background: var(--paper-alt); color: var(--ink); font-size: .92rem; line-height: 1.65; }

.visual-gallery { overflow: hidden; background: var(--dark); color: #fff; }
.visual-gallery .section-label { color: var(--orange-light); }
.visual-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.visual-gallery-heading h2 { margin: 16px 0 12px; }
.visual-gallery-heading p { max-width: 48ch; margin: 0; color: #d9e0d8; }
.visual-gallery-controls { display: flex; gap: 8px; flex: none; }
.visual-gallery-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #79857b;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.visual-gallery-controls button:hover,
.visual-gallery-controls button:focus-visible { background: var(--orange-dark); border-color: var(--orange-dark); }
.visual-gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #b8c2b8 transparent;
  padding: 0 0 20px;
}
.visual-gallery-card { flex: 0 0 clamp(290px, 38vw, 510px); min-width: 0; margin: 0; scroll-snap-align: start; background: #2a322c; }
.visual-gallery-card img { display: block; width: 100%; height: clamp(290px, 27vw, 370px); object-fit: contain; background: #f1f0eb; }
.visual-gallery-card figcaption { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px 20px 20px; }
.visual-gallery-card figcaption span { grid-column: 2; grid-row: 1; color: var(--orange-light); font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.visual-gallery-card figcaption strong { grid-column: 1; grid-row: 1; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.3; }
.visual-gallery-card figcaption small { grid-column: 1 / -1; color: #bfc9bf; font-size: .79rem; }
.visual-gallery-note { margin: 19px 0 0; color: #c8d1c7; font-size: .83rem; }

/* A fine membrane trace crosses the photographic hero without hiding the work. */
.hero-seal-trace {
  position: absolute;
  z-index: 0;
  right: max(-5vw, -60px);
  bottom: 42px;
  width: min(47vw, 650px);
  height: auto;
  pointer-events: none;
  opacity: .72;
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 20%));
}
.hero-seal-trace path {
  stroke: var(--orange-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 750;
  stroke-dashoffset: 750;
  animation: trace-seal 1.8s cubic-bezier(.25,.7,.25,1) forwards;
}
.hero-seal-trace path:nth-child(2) { animation-delay: .2s; opacity: .7; }
.hero-seal-trace path:nth-child(3) { animation-delay: .4s; opacity: .45; }
@keyframes trace-seal { to { stroke-dashoffset: 0; } }
.hero-content, .hero-bottom { position: relative; z-index: 1; }

/* Water approaches the traced seal and disappears before reaching the copy. */
.hero { overflow: hidden; }
.hero-water {
  position: absolute;
  z-index: 0;
  inset: 0 0 16% auto;
  width: min(52%, 760px);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.hero-water i {
  position: absolute;
  top: -14%;
  left: var(--drop-x);
  width: 2px;
  height: clamp(48px, 8vw, 100px);
  border-radius: 100%;
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / 4%) 20%, rgb(241 240 233 / 70%) 90%, #fff);
  box-shadow: 0 0 12px rgb(241 240 233 / 42%);
  opacity: 0;
  transform: rotate(13deg);
  animation: water-fall var(--drop-time) linear var(--drop-delay) infinite;
}
.hero-water i:nth-child(1) { --drop-x: 16%; --drop-time: 5.2s; --drop-delay: -2.1s; }
.hero-water i:nth-child(2) { --drop-x: 31%; --drop-time: 6.3s; --drop-delay: -4.7s; }
.hero-water i:nth-child(3) { --drop-x: 48%; --drop-time: 5.7s; --drop-delay: -1.3s; }
.hero-water i:nth-child(4) { --drop-x: 63%; --drop-time: 6.8s; --drop-delay: -5.5s; }
.hero-water i:nth-child(5) { --drop-x: 78%; --drop-time: 5.5s; --drop-delay: -3.8s; }
.hero-water i:nth-child(6) { --drop-x: 91%; --drop-time: 6.1s; --drop-delay: -.6s; }
@keyframes water-fall {
  0% { translate: 0 0; opacity: 0; }
  12% { opacity: .65; }
  68% { opacity: .65; }
  82%, 100% { translate: -10vw 58vh; opacity: 0; }
}

/* The same fine seam appears when a service card is selected. */
.expertise-card::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgb(223 104 31 / 65%), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
@media (hover: hover) {
  .expertise-card:hover::before { transform: scaleY(1); }
}
.expertise-card:focus-within::before { transform: scaleY(1); }

.cta-section { position: relative; isolation: isolate; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(68vw, 980px);
  aspect-ratio: 1;
  right: -20%;
  top: -135%;
  border: 1px solid rgb(255 172 112 / 18%);
  border-radius: 48% 52% 62% 38%;
  box-shadow: 0 0 0 35px rgb(255 172 112 / 5%), 0 0 0 72px rgb(255 172 112 / 4%), 0 0 0 112px rgb(255 172 112 / 3%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.cta-inner { position: relative; }

/* The same motion language carries through every route. */
.site-header { isolation: isolate; overflow: visible; }
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  animation: header-seal .9s cubic-bezier(.2, .8, .2, 1) .15s both;
  pointer-events: none;
}
@keyframes header-seal { to { transform: scaleX(1); } }

.hero-copy,
.inner-hero .container,
.not-found {
  animation: page-arrive .8s cubic-bezier(.2, .75, .2, 1) both;
}
@keyframes page-arrive {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.button,
.mobile-project-link { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .button:not(:disabled):hover,
  .mobile-project-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgb(22 28 23 / 12%); }
  .button:not(:disabled):active,
  .mobile-project-link:active { transform: translateY(0); box-shadow: none; }
}
.button:focus-visible,
.mobile-project-link:focus-visible { box-shadow: 0 0 0 5px rgb(223 104 31 / 20%); }

.text-link,
.product-link,
.footer-contact-link { background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat; background-size: 0 1px; background-position: 0 100%; transition: background-size .35s ease, color .2s ease; }
@media (hover: hover) {
  .text-link:hover,
  .product-link:hover,
  .footer-contact-link:hover { background-size: 100% 1px; }
}
.text-link:focus-visible,
.product-link:focus-visible,
.footer-contact-link:focus-visible { background-size: 100% 1px; }

.field input,
.field select,
.field textarea { transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease; }
.field:focus-within label { color: var(--orange-dark); transition: color .22s ease; }
.field input:focus,
.field select:focus,
.field textarea:focus { background-color: #fffdf9; box-shadow: 0 0 0 3px rgb(223 104 31 / 16%); }
.form-steps li { transition: border-color .3s ease, color .3s ease; }
.form-fields { animation: page-arrive .5s ease-out both; }
.form-success,
.contact-success,
.form-error { animation: page-arrive .5s ease-out both; }

.form-whatsapp-transfer { display: grid; gap: 12px; margin: 24px 0; padding: 18px; border-left: 3px solid #17845d; background: #eef6f1; }
.form-whatsapp-transfer > p { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 700; }
.form-whatsapp-links { display: flex; flex-wrap: wrap; gap: 10px; }
.whatsapp-transfer-link { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 13px; background: #176b4d; color: #fff; font-size: .8rem; font-weight: 800; transition: background-color .2s ease, transform .2s ease; }
.whatsapp-transfer-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (hover: hover) {
  .whatsapp-transfer-link:hover { transform: translateY(-2px); background: #10583e; }
}
.form-whatsapp-transfer small { color: var(--muted); line-height: 1.55; }

.mobile-menu nav:not([hidden]) { animation: menu-unfold .24s ease-out both; transform-origin: top right; }
@keyframes menu-unfold {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


.convoyage-gallery img,
.convoyage-main-photo img,
.service-photo { transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .4s ease; }
@media (hover: hover) {
  .convoyage-gallery figure:hover img,
  .convoyage-main-photo:hover img,
  .service-photo:hover { filter: saturate(1.08); }
}
.convoyage-gallery figure,
.convoyage-main-photo { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section > .container,
    .editorial-page > .container,
    .products-section > .container,
    .footer-top {
      animation: surface-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}
@keyframes surface-reveal {
  from { opacity: .65; }
  to { opacity: 1; }
}

/* Quiet contour lines recall the edge detail of an installed membrane. */
.inner-hero::after {
  content: '';
  position: absolute;
  right: -9%;
  bottom: -26%;
  width: min(50vw, 690px);
  aspect-ratio: 1;
  border: 1px solid rgb(223 104 31 / 15%);
  border-radius: 47% 53% 60% 40%;
  box-shadow: 0 0 0 32px rgb(223 104 31 / 5%), 0 0 0 65px rgb(223 104 31 / 4%);
  transform: rotate(-24deg);
  pointer-events: none;
}
.inner-hero .container { z-index: 1; }
.editorial-page-cta { margin-top: 2.2rem; }
.convoyage-breadcrumb { margin-bottom: 0; padding-top: 1.25rem; }

/* One restrained interaction system spans every page and content family. */
.expertise-card, .editorial-panel, .product-card, .case-card, .sector-showcase-card {
  position: relative;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.expertise-card::after, .editorial-panel::after, .product-card::after, .case-card::after, .sector-showcase-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  pointer-events: none;
}
.editorial-panel, .product-card { position: relative; }
@media (hover: hover) {
  .expertise-card:hover, .editorial-panel:hover, .product-card:hover, .case-card:hover, .sector-showcase-card:hover {
    box-shadow: 0 16px 32px rgb(24 31 25 / 10%);
    border-color: #c7cec5;
  }
  .expertise-card:hover::after, .editorial-panel:hover::after, .product-card:hover::after, .case-card:hover::after, .sector-showcase-card:hover::after { transform: scaleX(1); }
}
.expertise-card:focus-within::after, .editorial-panel:focus-within::after, .product-card:focus-within::after, .case-card:focus-within::after, .sector-showcase-card:focus-within::after { transform: scaleX(1); }
.card-link span, .sector-showcase-body strong { transition: transform .2s ease; }
.expertise-card-media img, .case-card-image img, .visual-gallery-card img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  .expertise-card:hover .card-link span, .sector-showcase-card:hover .sector-showcase-body strong { transform: translateX(4px); }
}
.expertise-card:focus-within .card-link span, .sector-showcase-card:focus-within .sector-showcase-body strong { transform: translateX(4px); }
.form-steps li.current { border-color: var(--orange); }
.site-footer { border-top: 3px solid var(--orange); }

/* A user-triggered cutaway shows how water follows a sloped membrane to an outlet. */
.waterproofing-demo {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff 0%, #f0f1ec 100%);
}
.water-demo-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.water-demo-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--orange-dark);
  color: var(--orange-dark);
  font-size: .83rem;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.water-demo-button .water-demo-reset { display: none; }
.water-demo-toggle:checked + .water-demo-button .water-demo-start { display: none; }
.water-demo-toggle:checked + .water-demo-button .water-demo-reset { display: inline; }
.water-demo-toggle:focus-visible + .water-demo-button { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (hover: hover) {
  .water-demo-button:hover { transform: translateY(-2px); background: var(--orange-dark); color: #fff; }
}
.water-demo-visual { margin-top: 14px; overflow: hidden; background: #e8eceb; }
.water-demo-visual svg { display: block; width: 100%; height: auto; }
.water-demo-ground { fill: #b8b9af; }
.water-demo-ground-line { fill: none; stroke: #a1a397; stroke-width: 1.2; opacity: .72; }
.water-demo-membrane { fill: none; stroke: #303b36; stroke-width: 12; stroke-linecap: round; }
.water-demo-seal { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.water-demo-drain { fill: none; stroke: #303b36; stroke-width: 5; stroke-linecap: square; stroke-linejoin: round; }
.water-demo-flow { fill: none; stroke: #2789a8; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.water-demo-toggle:checked ~ .water-demo-visual .water-demo-flow { animation: water-path 2.4s cubic-bezier(.25, .65, .25, 1) both; }
.water-demo-rain { fill: none; stroke: #2789a8; stroke-width: 3; stroke-linecap: round; opacity: 0; }
.water-demo-toggle:checked ~ .water-demo-visual .water-demo-rain { animation: rain-mark .8s ease-out both; }
.water-demo-visual text { fill: #4d554f; font: 800 12px var(--font-body); letter-spacing: .09em; }
.water-demo-visual .water-demo-slope-label { fill: var(--orange-dark); }
@keyframes water-path { to { stroke-dashoffset: 0; } }
@keyframes rain-mark { 25% { opacity: .8; } 100% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
  .water-demo-toggle:checked ~ .water-demo-visual .water-demo-flow { animation: none; stroke-dashoffset: 0; }
  .water-demo-rain { display: none; }
}

/* Private access uses the same mineral surfaces and restrained accent as public forms. */
.login-section { min-height: 65vh; background: var(--paper); }
.login-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.login-intro { padding-top: clamp(12px, 3vw, 42px); }
.login-intro h1 { max-width: 11ch; margin: 18px 0 23px; font-size: clamp(3rem, 5vw, 5.5rem); }
.login-intro p { max-width: 51ch; margin-bottom: 28px; }
.login-panel { min-width: 0; padding: clamp(28px, 4vw, 58px); border: 1px solid var(--line); background: var(--surface); }
.login-panel h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 2.5vw, 2.5rem); }
.login-form { display: grid; gap: 20px; }
.login-form p { margin-bottom: 4px; }
.login-form .button { justify-self: start; }
.login-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.login-panel-heading .text-link { flex: none; }
.login-help { margin: 8px 0 22px; }
.login-requests { display: grid; gap: 0; max-height: 550px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.login-requests li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.login-requests strong { color: var(--ink); font-size: .82rem; letter-spacing: .03em; overflow-wrap: anywhere; }
.login-requests span { color: var(--ink); font-weight: 700; }
.login-requests small { color: var(--muted); }
.login-empty { padding: 24px; background: var(--paper-alt); }
@media (max-width: 900px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-intro { padding-top: 0; }
  .login-intro h1 { max-width: 17ch; }
}
@media (max-width: 1240px) {
  .mobile-menu { display: flex; align-items: center; gap: 8px; }
  .mobile-project-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 10px;
    background: var(--orange-dark);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .mobile-project-link:hover { background: var(--orange-deep); }
}
@media (max-width: 700px) {
  .convoyage-overview-grid,
  .convoyage-gallery { grid-template-columns: 1fr; }
  .service-extra--roof img { height: min(115vw, 540px); }
  .visual-gallery-heading { align-items: start; flex-direction: column; }
  .visual-gallery-card { flex-basis: min(82vw, 390px); }
  .visual-gallery-card img { height: 280px; }
  .hero-seal-trace { width: 75vw; right: -30vw; bottom: 30px; opacity: .36; }
  .hero-water { width: 65%; opacity: .45; }
  .cta-section::before { width: 110vw; right: -75%; top: -40%; }
  .inner-hero::after { width: 65vw; right: -35%; opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-water { display: none; }
  .hero-seal-trace path { stroke-dashoffset: 0; }
  .visual-gallery-track { scroll-behavior: auto; }
}

/* Product discovery and area-based purchasing */
.commerce-intro { padding: clamp(56px,7vw,100px) 0; background: var(--dark); color: white; }
.commerce-intro h1 { max-width: 1050px; font-size: clamp(2.6rem,5.6vw,5.7rem); margin: 24px 0; }
.commerce-intro p { max-width: 760px; font-size: 1.15rem; color: #e0e6df; }
.commerce-promises { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 32px; font-size: .9rem; }
.commerce-promises span { padding-top: 12px; border-top: 2px solid var(--orange); }
.catalog-tools { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.catalog-tools .field { margin: 0; }
.catalog-results { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding: 20px 0 8px; }
.catalog-results p { margin: 0 auto 0 0; font-weight: 700; }
.catalog-results a { text-decoration: underline; }
.commerce-reset { background: transparent; border: 1px solid var(--line); padding: 9px 16px; color: var(--ink); }
.commerce-note { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 20px 0; }
.products-section .product-card .commerce-price { font-size: .9rem; color: var(--orange-dark); font-weight: 700; margin-top: 18px; }
.commerce-empty { padding: 48px 24px; border: 1px solid var(--line); }
.commerce-empty h2 { font-size: 2rem; }
.commerce-breadcrumb { margin-bottom: 40px; font-size: .95rem; overflow-wrap: anywhere; }
.commerce-breadcrumb a { text-decoration: underline; }
.commerce-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,70px); align-items: start; }
.commerce-detail h1 { font-size: clamp(2.2rem,4.5vw,4.5rem); margin: 24px 0; overflow-wrap: anywhere; }
.commerce-product-image { background: #e6e8e1; padding: 32px; }
.commerce-product-image img { object-fit: contain; width: 100%; height: 350px; }
.commerce-product-image p { margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.commerce-price-panel { padding: 24px; border-left: 3px solid var(--orange); background: white; margin: 28px 0; }
.commerce-price-panel strong { font-size: 1.4rem; }
.commerce-price-panel p { margin: 8px 0 0; }
.commerce-calculator { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px,4vw,52px); margin-top: 64px; }
.commerce-calculator h2 { font-size: clamp(2rem,4vw,3.4rem); margin: 20px 0; }
.commerce-calculator .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.commerce-simulation { margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.commerce-simulation summary { cursor: pointer; font-weight: 700; color: var(--orange-dark); padding: 8px 0; }
.commerce-simulation > p { margin-top: 20px; }
.commerce-estimate { background: var(--dark); color: white; padding: clamp(20px,3vw,32px); margin: 24px 0 0; }
.commerce-estimate dl { margin: 20px 0; }
.commerce-estimate dl > div { display: flex; gap: 24px; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #536056; }
.commerce-estimate dd { text-align: right; margin: 0; font-weight: 700; flex-shrink: 0; }
.commerce-estimate p { font-size: .9rem; margin-bottom: 0; color: #d9e2da; }
.commerce-total { font-size: 1.2rem; }
.commerce-quote-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 700px) {
  .catalog-tools, .commerce-detail, .commerce-calculator .field-row { grid-template-columns: 1fr; }
  .commerce-product-image img { height: 240px; }
  .commerce-estimate dl > div { flex-direction: column; gap: 6px; }
  .commerce-estimate dd { text-align: left; }
  .commerce-quote-actions .button { width: 100%; text-align: center; white-space: normal; }
}

.commerce-cart-link { white-space: nowrap; padding: 10px 12px; border: 1px solid var(--orange); font-size: .9rem; font-weight: 700; }
.cart-add { margin: 28px 0; padding: clamp(20px,3vw,32px); border: 1px solid var(--line); border-left: 3px solid var(--orange); background: var(--paper); }
.cart-add h3 { font-size: 1.5rem; }
.cart-add .button { margin-right: 24px; }
.cart-add > p[role="status"] { margin: 16px 0 0; }
.cart-page > h1 { font-size: clamp(2.5rem,5vw,5rem); margin: 22px 0; }
.cart-page > p { max-width: 74ch; }
.cart-lines { margin: 32px 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.cart-line h2 { margin: 8px 0 16px; font-size: clamp(1.3rem,2vw,1.9rem); overflow-wrap: anywhere; }
.cart-line p { margin: 8px 0; }
.cart-line > div:last-child { display: flex; flex-direction: column; align-items: end; gap: 20px; }
.cart-page fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cart-page fieldset > .button { margin-top: 24px; }
button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 700px) {
 .cart-line { grid-template-columns: minmax(0,1fr); }
 .cart-line > div:last-child { align-items: start; }
 .cart-add .button { width: 100%; margin: 0 0 20px; white-space: normal; }
 .mobile-menu .commerce-cart-link { font-size: .8rem; padding: 8px; }
 .mobile-project-link { display: none; }
}
.shop-entry { background: white; }
.shop-search { padding: 24px; background: var(--paper); margin: 28px 0; }
.shop-search label { display: block; font-weight: 700; margin-bottom: 12px; }
.shop-search > div { display: flex; gap: 12px; }
.shop-search input { min-width: 0; flex: 1; padding: 14px; border: 1px solid var(--line); background: white; }
.shop-families { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.shop-families > a { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.shop-families img { object-fit: contain; height: 160px; width: 100%; background: var(--paper); }
.shop-families strong { font-size: 1.15rem; }
.shop-families span { color: var(--orange-dark); }
.shop-trade { margin-top: 36px; padding: 28px; display: flex; align-items: center; gap: 32px; background: var(--paper); }
.shop-trade > div { flex: 1; }
.shop-trade h3 { font-size: 1.5rem; }
.shop-trade p { margin: 0; }
@media (max-width: 700px) {
 .shop-families { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .shop-families > a { padding: 14px; }
 .shop-families img { height: 110px; }
 .shop-search > div, .shop-trade { flex-direction: column; align-items: stretch; }
}

.cart-page .commerce-calculator .field-row { margin-bottom: 20px; }
