/* ==========================================================================
   Les Entrepreneurs Atlas — landing page
   1:1 implementation of Figma node 7:759 (canvas width 1920px).
   Every px value below is taken directly from the Figma frame.
   ========================================================================== */

:root {
  --yellow: #fcc800;
  --gold: #f3bf09;
  --dark: #091e1f;
  --near-black: #050505;
  --ink: #262626;
  --ink-2: #303030;
  --ink-3: #0a0a0a;
  --white-2: #f6f6f6;
  --field: rgba(138, 138, 147, 0.08);
  --placeholder: #64646c;
  --link-grey: #707070;

  --f-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Outfit', 'Poppins', sans-serif;
  --f-alt: 'Montserrat', 'Poppins', sans-serif;
  --f-num: 'Phudu', 'Oswald', sans-serif;

  --t: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.global-styles,
.eapps-widget-toolbar {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t), opacity var(--t), background-color var(--t), transform var(--t);
}

h1,
h2,
h3,
p {
  margin: 0;
}

b,
strong {
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- 1920px canvas, scaled to the viewport (see script.js) ---------------- */
/* overflow-x: clip (not hidden) — hidden would blockify overflow-y to auto and
   turn .viewport into a scroll container, which breaks the sticky nav. */
.viewport {
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.page {
  width: 1920px;
  margin: 0 auto;
}

/* ==========================================================================
   Shared type + components
   ========================================================================== */

.eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow--yellow {
  color: var(--yellow);
}

.eyebrow--black {
  color: #000;
}

.eyebrow--gold {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 16px;
  height: 12px;
  line-height: 12px;
  letter-spacing: 3.2px;
  color: var(--gold);
}

.h2-sm {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
  text-transform: uppercase;
  color: var(--near-black);
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 249px;
  height: 54px;
  padding: 4px 16px;
  border: 0;
  overflow: hidden;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.45px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t), transform var(--t), box-shadow var(--t);
}

.btn--yellow {
  background: var(--yellow);
  color: #000;
}

.btn--yellow:hover {
  background: #ffd426;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(252, 200, 0, 0.35);
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: #0d2a2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(9, 30, 31, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.btn--wide {
  width: 344px;
}

.btn--submit {
  width: 169px;
  height: 47px;
  font-weight: 700;
  font-size: 16.72px;
  line-height: 24px;
  letter-spacing: -0.418px;
  text-transform: none;
}

.btn__arrow {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 23px;
  overflow: hidden;
}

.btn__arrow--dark {
  background: #000;
}

.btn__arrow--gold {
  background: var(--gold);
}

.btn__arrow--sm {
  width: 22px;
  height: 22px;
}

.btn__arrow img {
  width: 100%;
  height: 100%;
}

/* Yellow phone pill -------------------------------------------------------- */
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 10px 24px;
  background: var(--yellow);
  color: #000;
  white-space: nowrap;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.phone-btn:hover {
  background: #ffd426;
  color: #000;
}

.phone-btn img {
  width: 25.625px;
  height: 25.625px;
}

/* Ringing phone icon ------------------------------------------------------- */
/* The handset rocks like a ringer while its button is hovered or focused:
   a decaying swing, then a short rest before the next burst. ease-in-out eases
   each swing individually, so the motion reads smooth rather than jittery. */

.phone-btn:hover img,
.phone-btn:focus-visible img,
.merci-phone:hover .merci-phone__icon img,
.merci-phone:focus-visible .merci-phone__icon img {
  animation: phone-ring 1.4s ease-in-out infinite;
}

@keyframes phone-ring {

  0%,
  62%,
  100% {
    transform: rotate(0deg);
  }

  6% {
    transform: rotate(-11deg);
  }

  14% {
    transform: rotate(10deg);
  }

  22% {
    transform: rotate(-8deg);
  }

  30% {
    transform: rotate(7deg);
  }

  38% {
    transform: rotate(-5deg);
  }

  46% {
    transform: rotate(4deg);
  }

  54% {
    transform: rotate(-2deg);
  }
}

/* NEQ / RBQ ---------------------------------------------------------------- */
.creds {
  display: flex;
  gap: 35px;
  width: 469px;
}

.creds__item {
  position: relative;
  height: 28px;
  padding-left: 31.75px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--dark);
}

.creds__item img {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
}

.creds__item--neq {
  width: 254px;
}

.creds__item--rbq {
  width: 204px;
}

/* ==========================================================================
   Nav — 1920 × 109
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 109px;
  padding: 4px 0 5px 189px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid transparent;
}

.nav__inner {
  width: 1526px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  width: 204px;
  height: 68.8144px;
}

.nav__right {
  width: 861px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 41px;
}

.nav__links a {
  position: relative;
  white-space: nowrap;
  color: #000;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--t);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
}

/* ==========================================================================
   Hero — 1920 × 793
   ========================================================================== */

.hero {
  position: relative;
  height: 793px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(44.913575708854694deg, rgba(0, 0, 0, 0.51) 32.339%, rgba(102, 102, 102, 0) 67.827%);
}

.hero__glow {
  position: absolute;
  max-width: none;
}

.hero__glow--1 {
  left: -197.04px;
  top: 45.01px;
  width: 1622px;
  height: 1080px;
}

.hero__glow--2 {
  left: -1360px;
  top: -66px;
  width: 1966px;
  height: 1644px;
}

.hero__content {
  position: absolute;
  left: 199px;
  top: 220px;
  width: 831px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__eyebrow {
  white-space: nowrap;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
}

.hero__title {
  width: 927px;
  color: #fff;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
}

.hero__rule {
  display: block;
  width: 172px;
  height: 5px;
  background: var(--yellow);
}

.hero__sub {
  width: 831px;
  color: var(--white-2);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.09;
}

.hero__tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 52px;
  height: 273px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}

.hero__tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  color: var(--yellow);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 21.342px;
  line-height: 1.4;
  letter-spacing: -0.2134px;
}

.hero__tab:hover {
  background: #1a1a1a;
}

/* ==========================================================================
   About — 1920 × 874
   ========================================================================== */

.about {
  position: relative;
  height: 874px;
  background: #fff;
}

.about__inner {
  position: absolute;
  left: 201px;
  top: 58.49px;
  width: 1517px;
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.about__top {
  display: flex;
  align-items: center;
  gap: 86px;
}

.about__graphic {
  position: relative;
  flex: 0 0 auto;
  width: 332px;
  height: 316.029px;
  overflow: hidden;
  -webkit-mask-image: url(assets/about-mask.svg);
  mask-image: url(assets/about-mask.svg);
  -webkit-mask-size: 332px 316.029px;
  mask-size: 332px 316.029px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.about__graphic-img {
  position: absolute;
  max-width: none;
  object-fit: cover;
}

.about__graphic-img--1 {
  left: -33.81px;
  top: 0;
  width: 595.616px;
  height: 396.644px;
}

.about__graphic-img--2 {
  left: -14px;
  top: -0.486px;
  width: 525px;
  height: 360px;
}

.about__graphic-rot {
  position: absolute;
  left: -141px;
  top: -13.416px;
  width: 541.382px;
  height: 361.994px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__graphic-clip {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 539.992px;
  height: 359.905px;
  overflow: hidden;
  transform: rotate(-0.22deg);
}

.about__graphic-clip img {
  position: absolute;
  left: 6.81%;
  top: 0;
  width: 100.07%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.about__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.about__title {
  width: 1077px;
  color: var(--dark);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 62px;
}

.about__lead {
  width: 1048px;
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.about__bottom {
  display: flex;
  align-items: flex-end;
  gap: 37px;
}

.stat {
  flex: 0 0 auto;
  width: 440px;
  height: 327px;
  padding: 55px 40px 0;
  background: var(--yellow);
}

.stat__inner {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.stat__row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 50px;
}

.stat__num {
  display: block;
  color: var(--dark);
  text-transform: uppercase;
  font-family: var(--f-num);
  font-weight: 500;
  font-size: 72px;
  line-height: 50px;
}

.stat__num i {
  font-style: normal;
  font-weight: 900;
}

.stat__unit {
  color: var(--ink);
  font-weight: 600;
  font-size: 24px;
  line-height: 26px;
  letter-spacing: -0.0785px;
}

.stat__text {
  color: var(--ink);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.stat__badge {
  width: 269px;
  height: 50px;
}

.about__side {
  display: flex;
  align-items: flex-end;
  gap: 42px;
}

.about__copy {
  width: 542px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.about__paras p {
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.about__worker {
  position: relative;
  flex: 0 0 auto;
  width: 459px;
  height: 390px;
  overflow: hidden;
}

.about__worker img {
  position: absolute;
  left: -1.68%;
  top: 0;
  width: 135.79%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* ==========================================================================
   Services — 1920 × 771
   ========================================================================== */

.svc {
  display: flex;
  align-items: center;
  height: 771px;
  overflow: hidden;
}

.svc__visual {
  position: relative;
  flex: 0 0 auto;
  width: 919.5px;
  height: 771px;
  overflow: hidden;
}

.svc__visual-col {
  position: absolute;
  left: -2.5px;
  top: -252px;
  width: 922px;
  height: 1275px;
  overflow: hidden;
}

.svc__visual-img {
  position: absolute;
  left: -84.3px;
  top: 66px;
  width: 1090.6px;
  height: 989.8px;
  max-width: none;
}

.svc__visual-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(170.26685865604043deg, rgba(42, 110, 175, 0.62) 29.527%, rgba(30, 137, 242, 0) 54.618%);
}

.svc__visual-text {
  position: absolute;
  left: 205.5px;
  top: 306px;
  width: 678px;
  height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 39px;
}

.svc__visual-text h2 {
  width: 654px;
  height: 87px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.svc__visual-text p {
  width: 500px;
  color: var(--yellow);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.svc__panel {
  flex: 0 0 auto;
  width: 1000.5px;
  height: 771px;
  padding: 61px 0 96px 55px;
  background: var(--field);
}

.svc__body {
  width: 814px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.svc__block {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.svc__head {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.svc__head .eyebrow {
  width: 614px;
}

.svc__head .h2-sm {
  width: 647px;
  height: 47px;
}

.svc__desc {
  width: 762px;
  color: var(--ink);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.svc__list {
  width: 713px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.svc__list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.svc__list li img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.svc__list li>div {
  width: 542px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.svc__list h3 {
  color: #000;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.svc__list p {
  width: 696px;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

/* ==========================================================================
   Other services — 1920 × 1314
   ========================================================================== */

.other {
  height: 1314px;
  padding-bottom: 6px;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.other__head {
  width: 768px;
  display: flex;
  justify-content: center;
}

.other__head h2 {
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.other__grid {
  width: 1476px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.other__row--top {
  display: flex;
  gap: 24px;
  height: 603px;
}

.other__row--bottom {
  display: flex;
  gap: 24px;
  height: 361px;
}

.ocard {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ocard__media {
  position: relative;
  flex: 0 0 auto;
  height: 228px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.ocard__media--wide {
  width: 400px;
  height: 100%;
}

.ocard__bg,
.ocard__photo {
  position: absolute;
  max-width: none;
  object-fit: cover;
}

.ocard__bg {
  right: 0;
  bottom: -48px;
  width: 764px;
  height: 510px;
}

.ocard__bg--2 {
  right: auto;
  bottom: auto;
  left: 0;
  top: -161.83px;
  width: 754px;
  height: 430.87px;
}

.ocard__bg--3 {
  right: auto;
  bottom: auto;
  left: -240.37px;
  top: -33.67px;
  width: 715.7px;
  height: 401.2px;
}

.ocard__photo {
  left: 0;
  top: -49.5px;
  width: 726px;
  height: 545px;
}

.ocard__rot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ocard__rot img {
  flex: 0 0 auto;
  max-width: none;
  object-fit: cover;
}

.ocard__rot--2 {
  left: -16.91px;
  top: -59.5px;
  width: 773.093px;
  height: 374.61px;
}

.ocard__rot--2 img {
  width: 763.17px;
  height: 352.585px;
  transform: rotate(1.67deg);
}

.ocard__rot--3 {
  left: -80.14px;
  top: -17.02px;
  width: 527.277px;
  height: 403.779px;
}

.ocard__rot--3 img {
  width: 513.365px;
  height: 385.024px;
  transform: rotate(-2.12deg);
}

.ocard__icon {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ocard__body {
  flex: 1 1 0;
  min-height: 0;
  padding: 24px 16px 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.ocard__body--wide {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
}

.ocard__stack {
  display: flex;
  flex-direction: column;
}

.ocard__stack--16 {
  gap: 16px;
}

.ocard__stack--27 {
  gap: 27px;
}

.ocard__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ocard__head h3 {
  color: var(--yellow);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.ocard__head p {
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.ocard__desc-662 {
  width: 662px;
}

.ocard__desc-889 {
  width: 889px;
}

.ocard__bullets--8 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ocard__bullets--13 {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.ocard__bullet {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ocard__bullet--mid {
  align-items: center;
}

.ocard__bullet--10 {
  gap: 10px;
}

.ocard__bullet img {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.ocard__bullet span {
  width: 659px;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.ocard__bullet--mid span {
  width: auto;
  white-space: nowrap;
}

.devis {
  display: inline-flex;
  align-items: center;
}

.devis span {
  white-space: nowrap;
  color: #a3a3a3;
  text-transform: uppercase;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.7px;
  transition: color var(--t);
}

.devis img {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--t);
}

.devis:hover span {
  color: #fff;
}

.devis:hover img {
  opacity: 1;
}

/* ==========================================================================
   Gallery — 1920 × 1100
   ========================================================================== */

.gal {
  min-height: 1100px;
  padding: 96px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 67px;
}

.gal__head {
  width: 925px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gal__head h2 {
  width: 925px;
  text-align: center;
  color: var(--near-black);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.gal__desc {
  width: 1234px;
  text-align: center;
  color: var(--ink);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.gal__wrap {
  width: 1508px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gal__tabs {
  width: 1508px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gal__tab {
  flex: 0 0 auto;
  padding: 28.231px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 9.41px;
  cursor: pointer;
  color: #000;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 21.173px;
  line-height: 22.349px;
  letter-spacing: -0.5284px;
  white-space: nowrap;
  text-align: center;
  transition: color var(--t), border-color var(--t), background-color var(--t);
}

.gal__tab--tous {
  width: 109px;
}

.gal__tab--renovation {
  width: 278px;
}

.gal__tab--terrassement {
  width: 338px;
}

.gal__tab--pavage {
  width: 135px;
}

.gal__tab--drainage {
  width: 151px;
}

.gal__tab--terrasse {
  width: 216px;
}

.gal__tab--beton {
  width: 120px;
}

.gal__tab--transport {
  width: 161px;
}

.gal__tab:hover,
.gal__tab:focus-visible {
  color: var(--gold);
  outline: none;
}

.gal__tab.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  border-radius: 0;
}

/* Mobile filter — a <select> stands in for the tablist below 1024px, so it is
   hidden here and revealed (with .gal__tabs hidden) in the responsive block. */
.gal__filter {
  display: none;
  position: relative;
  width: 100%;
}

.gal__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 52px;
  padding: 0 46px 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  transition: border-color var(--t), color var(--t);
}

.gal__select:hover,
.gal__select:focus {
  outline: none;
  border-color: var(--gold);
  color: var(--gold);
}

.gal__filter img {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 14px;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

/* 4-column grid — Figma node 118:1386 */
.gal__grid {
  display: grid;
  grid-template-columns: 355.827px 355.827px 355.827px minmax(0, 1fr);
  gap: 28.231px;
  width: 1508px;
}

.gal__tile {
  position: relative;
  width: 100%;
  height: 268.193px;
  margin: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 11.763px 17.644px -3.529px rgba(0, 0, 0, 0.1), 0 4.705px 7.058px -4.705px rgba(0, 0, 0, 0.1);
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
}

.gal__tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px -4px rgba(0, 0, 0, 0.15);
}

/* Fills the tile so the crop percentages below still resolve against it. */
.gal__link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.gal__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 31, 0) url("assets/zoom-in.svg") no-repeat center / 44px 44px;
  opacity: 0;
  transition: opacity var(--t), background-color var(--t);
}

.gal__tile:hover .gal__link::after,
.gal__link:focus-visible::after {
  opacity: 1;
  background-color: rgba(9, 30, 31, 0.35);
}

.gal__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.gal__tile.is-entering {
  animation: galFadeIn 0.35s ease both;
}

@keyframes galFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Per-image crops applied inline from gallery-data.js */
.gal__img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

/* ==========================================================================
   Quote modal — Figma 71:891 (570 x 552)
   Lives outside .page, so the 1920-canvas zoom leaves it at true CSS pixels.
   ========================================================================== */

.qmodal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qmodal[hidden] {
  display: none;
}

.qmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  animation: qmFade 0.25s ease;
}

.qmodal__dialog {
  position: relative;
  width: 570px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-bottom: 8px solid #000;
  box-shadow: 0 4px 30px rgba(46, 45, 116, 0.08);
  animation: qmRise 0.25s ease;
}

.qmodal__close {
  position: absolute;
  right: 16px;
  top: 13px;
  width: 38px;
  height: 38px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 0;
  transition: opacity var(--t);
}

.qmodal__close:hover {
  opacity: 0.6;
}

.qmodal__body {
  padding: 60px 38px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}

.qmodal__title {
  color: #000;
  text-align: center;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.24px;
}

.cform--modal {
  width: 482px;
  max-width: 100%;
  height: auto;
}

@keyframes qmFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes qmRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575px) {
  .qmodal {
    padding: 12px;
  }

  .qmodal__body {
    padding: 56px 20px 24px;
  }

  .qmodal__title {
    font-size: 20px;
  }

  .cform--modal .cform__row {
    flex-direction: column;
  }
}

/* GLightbox — site accent, and it must sit above the sticky nav */
.glightbox-container {
  z-index: 999999;
}

.glightbox-container .goverlay {
  background: rgba(5, 5, 5, 0.94);
}

.glightbox-clean .gslide-media {
  box-shadow: none;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev,
.glightbox-clean .gclose {
  background-color: rgba(255, 255, 255, 0.1);
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover,
.glightbox-clean .gclose:hover {
  background-color: var(--gold);
}

.glightbox-clean .gnext:hover svg path,
.glightbox-clean .gprev:hover svg path,
.glightbox-clean .gclose:hover svg path {
  fill: var(--dark);
}

/* Caption reads as part of the dark overlay, not a white slab under the photo. */
.glightbox-clean .gslide-description {
  background: transparent;
}

.glightbox-clean .gdesc-inner {
  padding: 18px 22px 4px;
}

.glightbox-clean .gslide-title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.gal__empty {
  width: 100%;
  text-align: center;
  padding: 48px 24px;
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   CTA — 1920 × 616
   ========================================================================== */

.cta {
  position: relative;
  height: 616px;
  background: var(--gold);
  border-radius: 10px;
  overflow: hidden;
}

.cta__deco {
  position: absolute;
  inset: 0;
}

.cta__ring-wrap {
  position: absolute;
  left: 936px;
  top: -301px;
  width: 1474.056px;
  height: 1228.38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__ring-rot {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 990.915px;
  height: 944.678px;
  transform: rotate(-147.57deg) scaleY(0.98) skewX(-10.03deg);
}

.cta__ring-rot img {
  position: absolute;
  left: 24.74%;
  top: 0;
  width: 75.26%;
  height: 100%;
  max-width: none;
}

.cta__person {
  position: absolute;
  left: 989px;
  top: -219.686px;
  width: 806.248px;
  height: 1209.371px;
  display: block;
  overflow: hidden;
}

.cta__person img {
  position: absolute;
  left: 5.18%;
  top: 16.47%;
  width: 85.7%;
  height: 59.54%;
  max-width: none;
}

.cta__content {
  position: absolute;
  left: 201px;
  top: 110px;
  width: 810px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.cta__heading {
  position: relative;
  height: 148px;
}

.cta__eyebrow {
  position: absolute;
  left: 0;
  top: 0;
  width: 362px;
  color: var(--dark);
  text-transform: uppercase;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.8px;
}

.cta__title {
  position: absolute;
  left: 0;
  top: 46px;
  width: 787px;
  color: var(--dark);
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 42px;
  line-height: normal;
}

.cta__text {
  width: 810px;
  color: #000;
  font-family: var(--f-alt);
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
}

.cta__badge {
  position: absolute;
  left: 1045px;
  top: 228px;
  width: 298px;
  height: 160px;
  background: #fff;
}

.cta__badge-num {
  position: absolute;
  left: 42.4px;
  top: 35.483px;
  width: 128.4px;
  color: var(--dark);
  text-transform: uppercase;
  font-family: var(--f-num);
  font-weight: 500;
  font-size: 72px;
  line-height: 50px;
}

.cta__badge-label {
  position: absolute;
  left: 42.4px;
  top: 97.483px;
  width: 211.2px;
  color: var(--dark);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
}

/* ==========================================================================
   Why us — 1920 × 810
   ========================================================================== */

.why {
  height: 810px;
  padding-top: 75px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 67px;
}

.why__head {
  position: relative;
  width: 1520px;
  height: 120px;
}

.why__head h2 {
  position: absolute;
  left: 50%;
  top: 47.52px;
  transform: translateX(-50%);
  width: 619px;
  text-align: center;
  color: var(--near-black);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.why__grid {
  width: 1522px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 194.5px;
  gap: 24px;
}

.why__item {
  padding: 24px 24px 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform var(--t), box-shadow var(--t);
}

.why__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.why__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__icon img {
  width: 18px;
  height: 17px;
}

.why__text {
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.why__text h3 {
  height: 28px;
  white-space: nowrap;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--f-alt);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.4492px;
}

.why__text p {
  width: 257px;
  text-align: center;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.why__text .w-308 {
  width: 308px;
}

.why__text .w-331 {
  width: 331px;
}

/* ==========================================================================
   Testimonials — 1920 × 954
   ========================================================================== */

.testi {
  position: relative;
  min-height: 954px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.testi__left {
  position: relative;
  flex: 0 0 auto;
  width: 820px;
  height: 954px;
  background: #000;
}

.testi__head {
  position: absolute;
  left: 209.5px;
  top: 69px;
  width: 856px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.testi__eyebrow {
  width: 614px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.testi__head h2 {
  width: 573px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.testi__right {
  position: relative;
  flex: 0 0 auto;
  width: 1199px;
  height: 954px;
  overflow: hidden;
}

.testi__bg {
  position: absolute;
  left: -101.7px;
  top: -130px;
  width: 1466.2px;
  height: 1084.1px;
  max-width: none;
}

.testi__glow {
  position: absolute;
  left: -531.5px;
  top: -484px;
  width: 1204px;
  height: 926px;
  max-width: none;
}

/* Review card — Figma card shape is 1040.25 x 515.111, inset 11px inside the
   526.111px panel; the Elfsight widget is centred in its 484.197px flat area. */
.testi__panel {
  position: absolute;
  left: 209.5px;
  top: 300.52px;
  width: 1040.251px;
  height: 526.111px;
  z-index: 2;
}

.testi__widget {
  position: absolute;
  left: 0;
  top: 11px;
  width: 1040.25px;
  height: 515.111px;
  padding-bottom: 30.914px;
  background: url("assets/testi-card-bg.svg") no-repeat 0 0 / 100% 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding-top: 107px;
}

.testi__widget .elfsight-app-173bdbfb-5691-4e40-aeed-61f8064023b6 {
  width: 100%;
}

/* Sits above the card, over the photo — Figma 259.159 x 199.234 */
.testi__quote {
  position: absolute;
  left: 1043.5px;
  top: 221px;
  width: 259.159px;
  height: 199.234px;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Contact — 1920 × 604
   ========================================================================== */

.contact {
  height: 604px;
  padding: 97px 320px 13px;
  background: #fff;
}

.contact__row {
  width: 1280px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact__left {
  flex: 0 0 auto;
  width: 653px;
  height: 455px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.contact__left .h2-sm {
  width: 546px;
}

.contact__text {
  width: 606px;
}

.contact__text p {
  color: var(--ink);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.contact__sep {
  flex: 0 0 auto;
  width: 2px;
  height: 455px;
  background: rgba(0, 0, 0, 0.1);
}

.contact__right {
  flex: 0 0 auto;
  width: 579px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__form-title {
  width: 579px;
  height: 36px;
  text-align: center;
  color: #000;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.24px;
}

.cform {
  width: 549px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.cform__row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cform__field {
  flex: 0 0 auto;
  width: 100%;
  height: 44px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--field);
  color: #161519;
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.28px;
  transition: border-color var(--t), background-color var(--t);
}

.cform__row .cform__field {
  flex: 1 1 0;
  min-width: 0;
}

.cform__field::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.cform__field:focus {
  outline: none;
  background: #fff;
  border-color: var(--yellow);
}

.cform__field.is-invalid {
  border-color: #dc3545;
}

.cform__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.cform__row .cform__group {
  flex: 1 1 0;
  width: auto;
}

.cform__error {
  display: block;
  min-height: 0;
  color: #dc3545;
  font-family: var(--f-ui);
  font-size: 13px;
  line-height: 1.3;
}

.cform__error:empty {
  display: none;
}

.cform__resp {
  width: 100%;
  margin: 0;
  text-align: center;
  color: #dc3545;
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.4;
}

.cform__resp:empty {
  display: none;
}

.cform__select {
  position: relative;
  width: 100%;
  display: flex;
}

.cform__select select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--placeholder);
}

.cform__select select:valid {
  color: #161519;
}

.cform__select img {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 14px;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.cform__textarea {
  height: 120px;
  padding-top: 12px;
  resize: none;
}

.cform__actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Footer — 1920 × 211
   ========================================================================== */

.foot {
  height: 211px;
  padding: 48px 320px 24px;
  background: #000;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.foot__top {
  width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot__logo img {
  width: 165px;
  height: 55.659px;
}

.foot__nav-wrap {
  width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot__nav {
  display: flex;
  align-items: center;
  gap: 41px;
}

.foot__nav a {
  white-space: nowrap;
  color: #fff;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.0785px;
}

.foot__nav a:hover {
  color: var(--yellow);
}

.foot__rule {
  flex: 0 0 auto;
  display: block;
  width: 1264.199px;
  height: 1px;
  background: #fff;
}

.foot__bottom {
  width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot__agency {
  width: 98.992px;
  height: 32px;
}

.foot__copy {
  color: #fff;
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

/* ==========================================================================
   Merci page — Figma 82:1013 (1920 x 1026)
   https://www.figma.com/design/yPZ67pqT52R37FLFQ95kdP/...?node-id=82-1013
   ========================================================================== */

.page--merci {
  position: relative;
  width: 1920px;
  height: 1026px;
  overflow: hidden;
  background: #000;
}

/* bg_merci - 1920 x 919, full bleed from the top edge */
.merci-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 919px;
  z-index: 0;
  overflow: hidden;
}

.merci-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Frame 2147238388 - x:559 y:342, 801 x 392, 65% black scrim over the photo */
.merci-content {
  position: absolute;
  left: 559px;
  top: 342px;
  width: 801px;
  height: 392px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.merci-content__title {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 64px;
  line-height: 90px;
  letter-spacing: -0.62px;
  text-transform: uppercase;
  color: var(--yellow);
}

.merci-content__message {
  width: 781px;
  margin-top: 16px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 45px;
  letter-spacing: -0.15px;
  color: #fff;
}

/* Group 23 - phone CTA 397 x 69: yellow icon tile + hairline-framed number */
.merci-phone {
  display: flex;
  align-items: stretch;
  width: 397px;
  height: 69px;
  margin-top: 47px;
  border: 3px solid var(--yellow);
  color: #fff;
  transition: background-color var(--t), transform var(--t);
}

.merci-phone:hover {
  background: rgba(252, 200, 0, 0.12);
}

.merci-phone:active {
  transform: translateY(1px);
}

.merci-phone__icon {
  flex: 0 0 auto;
  width: 64px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.merci-phone__icon img {
  width: 33.5px;
  height: 36px;
  margin: 0 3px 3px 0;
}

.merci-phone__number {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 21px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.07px;
  white-space: nowrap;
}

/* Footer - 82:1039 @ y:919, 107px tall black band */
.merci-foot {
  position: absolute;
  left: 0;
  top: 919px;
  width: 100%;
  height: 107px;
  z-index: 2;
  background: #000;
  display: flex;
  align-items: center;
  padding: 0 202px 0 192px;
}

.merci-foot__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.merci-foot__agency {
  width: 98.992px;
  height: 32px;
}

.merci-foot__copy {
  color: #fff;
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.1504px;
}

/* ==========================================================================
   Responsive — below 1024px the 1920 canvas is abandoned for a fluid layout
   ========================================================================== */

@media (max-width: 1023px) {
  .page {
    width: 100%;
    zoom: 1 !important;
  }

  /* Fluid merci: the photo fills the screen, the scrim panel floats on it. */
  .page--merci {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 48px 20px 0;
  }

  .merci-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .merci-content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 801px;
    height: auto;
    margin: auto auto 48px;
    padding: 40px 24px;
  }

  .merci-content__title {
    font-size: 44px;
    line-height: 1.2;
  }

  .merci-content__message {
    width: 100%;
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.5;
  }

  .merci-phone {
    width: 100%;
    max-width: 340px;
    height: 60px;
    margin-top: 32px;
    border-width: 2px;
  }

  .merci-phone__icon {
    width: 56px;
  }

  .merci-phone__icon img {
    width: 26px;
    height: 28px;
  }

  .merci-phone__number {
    font-size: 26px;
  }

  .merci-foot {
    position: relative;
    top: auto;
    height: auto;
    padding: 24px 20px;
    margin: auto -20px 0;
  }

  .merci-foot__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* --- generic unwinding of the fixed desktop canvas --- */
  .hero,
  .about,
  .svc,
  .other,
  .why,
  .testi,
  .contact,
  .foot,
  .cta {
    height: auto;
  }

  /* Nav */
  .nav {
    height: auto;
    padding: 14px 20px;
  }

  .nav__inner {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav__logo img {
    width: 160px;
    height: auto;
  }

  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid var(--dark);
    cursor: pointer;
  }

  .nav__toggle span {
    display: block;
    height: 2px;
    background: var(--dark);
  }

  .nav__right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t);
  }

  .nav__right.is-open {
    max-height: 420px;
    padding-top: 16px;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .phone-btn {
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: 560px;
    display: flex;
    align-items: center;
  }

  .hero__grad {
    background: linear-gradient(100deg, rgba(0, 0, 0, 0.72) 10%, rgba(0, 0, 0, 0.35) 90%);
  }

  .hero__glow {
    display: none;
  }

  .hero__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding: 72px 20px;
    gap: 24px;
  }

  .hero__title {
    width: 100%;
    font-size: 34px;
  }

  .hero__sub {
    width: 100%;
    font-size: 18px;
  }

  .hero__tab {
    display: none;
  }

  /* About */
  .about {
    padding: 56px 20px;
  }

  .about__inner {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    gap: 32px;
  }

  .about__top {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .about__intro {
    order: -1;
    width: 100%;
  }

  .about__graphic {
    order: 0;
  }

  .about__title {
    width: 100%;
    font-size: 32px;
    line-height: 1.2;
  }

  .about__lead {
    width: 100%;
  }

  .about__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .stat {
    width: 100%;
    height: auto;
    padding: 32px 28px;
  }

  .stat__inner {
    width: 100%;
  }

  .stat__text {
    font-size: 20px;
  }

  .about__side {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .about__copy {
    width: 100%;
    gap: 24px;
  }

  .about__worker {
    width: 100%;
    height: 260px;
  }

  .about__worker img {
    position: static;
    width: 100%;
    height: 100%;
  }

  .creds {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .creds__item,
  .creds__item--neq,
  .creds__item--rbq {
    width: auto;
  }

  /* Services */
  .svc {
    flex-direction: column;
  }

  .svc__visual {
    width: 100%;
    height: 380px;
  }

  .svc__visual-grad {
    background: linear-gradient(155deg, rgba(20, 62, 105, 0.82) 5%, rgba(30, 137, 242, 0.2) 95%);
  }

  .svc__visual-col {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;
  }

  .svc__visual-img {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .svc__visual-text {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;
    padding: 32px 20px;
    gap: 16px;
  }

  .svc__visual-text h2 {
    width: 100%;
    height: auto;
    font-size: 24px;
  }

  .svc__visual-text p {
    width: 100%;
  }

  .svc__panel {
    width: 100%;
    height: auto;
    padding: 48px 20px;
  }

  .svc__body {
    width: 100%;
  }

  .svc__head .eyebrow,
  .svc__head .h2-sm {
    width: 100%;
    height: auto;
  }

  .svc__desc,
  .svc__list,
  .svc__list li>div,
  .svc__list p {
    width: 100%;
  }

  /* Other services */
  .other {
    padding: 56px 20px;
    gap: 40px;
  }

  .other__head {
    width: 100%;
  }

  .other__head h2 {
    white-space: normal;
    text-align: center;
    font-size: 26px;
  }

  .other__grid {
    width: 100%;
  }

  .other__row--top,
  .other__row--bottom {
    flex-direction: column;
    height: auto;
  }

  .ocard,
  .ocard__body--wide {
    height: auto;
  }

  .ocard__body,
  .ocard__body--wide {
    flex: 0 0 auto;
    overflow: visible;
  }

  .ocard__media,
  .ocard__media--wide {
    width: 100%;
    height: 228px;
  }

  .ocard__bg,
  .ocard__photo,
  .ocard__rot {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
  }

  .ocard__rot img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .ocard__desc-662,
  .ocard__desc-889,
  .ocard__bullet span,
  .ocard__bullet--mid span {
    width: 100%;
    white-space: normal;
  }

  /* Gallery */
  .gal {
    height: auto;
    padding: 56px 20px;
    gap: 32px;
  }

  .gal__head,
  .gal__head h2,
  .gal__desc,
  .gal__wrap,
  .gal__tabs,
  .gal__grid {
    width: 100%;
  }

  .gal__head h2 {
    font-size: 26px;
    width: 100%;
  }

  .gal__desc {
    width: 100%;
  }

  /* the tablist does not fit a phone; the select carries the same filters */
  .gal__tabs {
    display: none;
  }

  .gal__filter {
    display: flex;
  }

  .gal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gal__tile {
    height: auto;
    aspect-ratio: 356 / 268;
  }

  .gal__img {
    left: 50% !important;
    top: 50% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
  }

  /* CTA */
  .cta {
    border-radius: 0;
    padding: 48px 20px;
  }

  .cta__deco {
    display: none;
  }

  .cta__content {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    gap: 24px;
  }

  .cta__heading {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cta__eyebrow,
  .cta__title {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .cta__title {
    font-size: 28px;
  }

  .cta__text {
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
  }

  .cta__badge {
    position: static;
    left: auto;
    top: auto;
    width: 240px;
    height: auto;
    padding: 20px 24px;
    margin-top: 28px;
  }

  .cta__badge-num,
  .cta__badge-label {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }

  .cta__badge-num {
    font-size: 56px;
    line-height: 1;
  }

  /* Why us */
  .why {
    padding: 56px 20px;
    gap: 32px;
  }

  .why__head {
    width: 100%;
    height: auto;
  }

  .why__head h2 {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    font-size: 26px;
  }

  .why__grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
  }

  .why__item {
    padding: 16px 8px 0;
  }

  .why__text {
    height: auto;
  }

  .why__text h3 {
    height: auto;
    white-space: normal;
  }

  .why__text p,
  .why__text .w-308,
  .why__text .w-331 {
    width: 100%;
  }

  /* Testimonials */
  .testi {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .testi__left {
    width: 100%;
    height: auto;
    padding: 48px 20px;
  }

  .testi__head {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .testi__eyebrow {
    width: 100%;
  }

  .testi__head h2 {
    width: 100%;
    font-size: 26px;
  }

  .testi__right {
    width: 100%;
    height: 260px;
  }

  .testi__bg {
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .testi__glow,
  .testi__quote {
    display: none;
  }

  .testi__panel {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 24px 20px 48px;
    background: transparent;
  }

  .testi__widget {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 320px;
    padding-bottom: 0;
    background: #fff;
  }

  /* Contact */
  .contact {
    padding: 56px 20px;
  }

  .contact__row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .contact__left {
    width: 100%;
    height: auto;
  }

  .contact__left .h2-sm,
  .contact__text {
    width: 100%;
  }

  .contact__left .h2-sm {
    font-size: 26px;
  }

  .contact__text p {
    font-size: 17px;
  }

  .contact__left .phone-btn {
    width: 100%;
    justify-content: center;
  }

  .contact__sep {
    display: none;
  }

  /* height:36px is the desktop one-line box; let it wrap and breathe here */
  .contact__right {
    width: 100%;
    gap: 16px;
  }

  .contact__form-title {
    width: 100%;
    height: auto;
    font-size: 20px;
  }

  .cform {
    width: 100%;
    height: auto;
  }

  .cform__row {
    flex-direction: column;
    gap: 14px;
  }

  /* Footer */
  .foot {
    padding: 40px 20px 24px;
  }

  .foot__top {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .foot__nav-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .foot__nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .foot__rule {
    width: 100%;
  }

  .foot__bottom {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .hero__title {
    font-size: 28px;
  }

  .gal__grid {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn--wide,
  .btn--submit {
    width: 100%;
  }

  .cta__badge {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}