:root {
  --main: #2D71C5;
  --white: #ffffff;
  --grey: #d3dae9;
  --heading: #323232;
  --second: #231F20;
  --bg: #FAFAFA;
  --blk: #231F20;
  --lblue: #B2D4FF;
}

html {
  font-family: "inter", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3{
  font-family: "Cormorant Garamond", serif;
}

p, h4 {
  font-family: "inter", sans-serif;
}

li {
  list-style-type: none;
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background-color: var(--bg);
}

button,
input,
select,
textarea {
  outline: 0;
  font-family: "inter", sans-serif;
  padding: 0;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.col-1 {
  grid-column: span 1;
}
.col-2 {
  grid-column: span 2;
}
.col-3 {
  grid-column: span 3;
}
.col-4 {
  grid-column: span 4;
}
.col-5 {
  grid-column: span 5;
}
.col-6 {
  grid-column: span 6;
}
.col-7 {
  grid-column: span 7;
}
.col-8 {
  grid-column: span 8;
}
.col-9 {
  grid-column: span 9;
}
.col-10 {
  grid-column: span 10;
}
.col-11 {
  grid-column: span 11;
}
.col-12 {
  grid-column: span 12;
}

.a {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/Huis\ van\ Breda\ 6.jpg");
}

/* Per-page header images */
.hero_about {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/about-hero.jpg");
}

.hero_residential,
.hero_spec {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/house1.webp");
}

.hero_commercial {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/plane.webp");
}

.hero_renderings {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/colab.webp");
}

.plan_section {
    position: relative;
    background: #fafafa;
}

.plan_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/plan.jpg") center / cover no-repeat;
    opacity: 0.45;
    z-index: 0;
}

.plan_section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 250, 250, 0.9);
    z-index: 1;
}

.services_section_bck {
  padding: 5rem 0;
    position: relative;
    background: #fafafa;
}

.services_section_bck::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/huis vrey.jpg") center / cover no-repeat;
    opacity: 0.50;
    z-index: 0;
}

.services_section_bck::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 250, 250, 0.88);
    z-index: 1;
}

.plan_section > * {
    position: relative;
    z-index: 2;
}

@media only screen and (min-width: 1520px) {
  .container {
    grid-template-columns: repeat(12, 1fr);
    margin: 0 auto;
    display: grid;
    grid-gap: 36px;
    max-width: 1480px;
  }

  .slideshow_start{
    width: 1480px;
  }

  .slideshow_img{
    width: 950px;
    height: 645px;
    object-fit: cover;
  }

  .wrapper {
    width: 1480px;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .full_img_container{
    width: calc(50% + 740px);
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .back_full_image{
    width: 50%;
    height: 760px;
    position: relative;
  }

  .full_img{
    width: 115%;
    height: 760px;
    object-fit: cover;
    position: absolute;
  }

  .top_header {
    height: 70px;
    width: 1480px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    display: flex;
  }

  .main_header {
    position: relative; /* Establish a stacking context */
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 5rem 0;
  }

  .main_header_text_container {
    padding: 10rem 0;
    width: 50%;
  }

}

@media only screen and (min-width: 1360px) and (max-width: 1520px) {
  .container {
    grid-template-columns: repeat(12, 1fr);
    margin: 0 auto;
    display: grid;
    grid-gap: 36px;
    max-width: 1320px;
  }

  .wrapper {
    width: 1320px;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .top_header {
    height: 70px;
    width: 1320px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    display: flex;
  }

  .main_header {
    position: relative; /* Establish a stacking context */
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 5rem 0;
  }

  .main_header_text_container {
    padding: 10rem 0;
    width: 50%;
  }

}


@media only screen and (min-width: 1080px) {

  .cta_image{
    
    width: 70px;
    height: 70px;
    object-fit: cover;
  }

  .cta_container{
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
  }

  .input{
    width: 100%;
    padding: .5rem;
    border: none;
    border-bottom: 1px solid #898989;
    box-sizing: border-box;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--heading);
    height: 40px;
    margin: 0  0 2rem 0;
  }

  .textarea{
    height: 80px;
  }

  .input_label{
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--heading);
    margin: 0 ;
  }

  .image_cta_container{
    width: 80px;
  }

  .btn_container{
    width:430px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
  }

  .top_head_logo {
    height: 60px;
    margin: 5px 0;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  

  .dropdown_btn {
    display: block;
    list-style: none;
    padding: 1rem;
    color: var(--heading);
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
  }

  .dropdown_btn:hover {
    color: var(--blue);
    background-color: #fafafa;
    cursor: pointer;
    text-decoration: none;
  }

  .drop_down_container:hover .nav_btn {
    color: #151515;
  }

  .drop_down_container:hover .drop_down {
    color: #151515;
  }

  .drop_down_container:hover .dropdown_content {
    display: block;
  }

    .dropdown_btn:hover {
    color: var(--blue);
    cursor: pointer;
    text-decoration: none;
  }

  .drop_down_container:hover .nav_btn {
    color: #151515;
  }

  .drop_down_container:hover .drop_down {
    color: #151515;
  }

  .drop_down_container:hover .dropdown_content {
    display: block;
  }

  .dropdown_btn:hover {
    color: #151515;
  }

  .drop_downB {
    height: 10px;
  }

  .drop_down_container:hover .nav_btnB {
    color: var(--blue);
  }

  .drop_down_container:hover .drop_downB {
    fill: var(--blue);
  }

   .drop_down_container {
    position: relative;
  }

  .dropdown_content {
    display: none;
  }

  .dropdown_content {
    position: absolute;
    background-color: var(--white);
    top: 2.5rem;
    width: 230px;
    z-index: 5;
    box-shadow: 0 10px 20px 2px rgba(0, 0, 0, 0.3);
  }

  
  .nav_btn-active {
    color: var(--blue);
    font-size: 12px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    padding: 1rem;
    letter-spacing: 1.5px;
  }

  .nav_btn {
    font-size: 12px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    padding: 1rem;
    letter-spacing: 1.5px;
    color: var(--second);
  }

  .nav_btnB {
    font-size: 12px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    padding: 1rem;
    padding-left: 0;
    letter-spacing: 1.5px;
    color: var(--second);
  }

  .title{
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
    margin:0;
  }

  .heading_text{
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.5px;
    color: var(--white);
    margin:0 0 1rem 0;
  }

  .section{
    padding: 5rem 0;
  }

  .side_text_container{
    width: 35%;
  }

  .side_image_container{
    width: calc(65% - 2rem);
    height:560px;
    position: relative;
  }

  .side_image{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .side_image_crop{
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    object-fit: cover;
    margin:  0 0 2rem 2rem;
  }

  .side_image_block{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--blk);
    padding:.5rem;
  }

  /* Mirrored side block: image on the left, text on the right */
  .side_flip{
    flex-direction: row-reverse;
  }

  .side_flip .side_image_crop{
    margin:  0 2rem 2rem 0;
  }

  .side_flip .side_image_block{
    left: auto;
    right: 0;
  }

  .sub_heading{
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--heading);
    margin: 1rem 0;
  }

  .sub_heading_small_w{
    font-size: 22px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    color: var(--white);
  }

  .flx_50{
    width: calc(50% - 1rem);
  }

  .flx_50_full{
    width: 50%;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .back_img_container{
    width: 100%;
    position: relative;
    height: 950px;
  }

  .back_img{
    width: 110%;
    left: 5%;
    height: 900px;
    object-fit: cover;
    position: absolute;
    bottom: 20px;
    z-index: 0;
  }

  .side_back_image_block{
    position: absolute;
    z-index: 5;
    left: 0;
    padding:.5rem;
    bottom: 0;
    height: 40px;
    background-color: var(--blk);
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .back_block_container{
    position: relative;
    width: 100%;
  }

  .back_img_white_block{
    z-index: 6;
    box-sizing: border-box;
    width: 100%;
    left: 0;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
    padding: 3rem ;
    background-color: var(--white);
  }

  .sub_container_back_img{
    width: 70%;
    margin-left: 30%;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
  }

  .big_text{
    font-size: 86px;
    font-family: "Cormorant Garamond", serif;
    color: var(--heading);
  }

  .small_text{
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--heading);
    margin: 0 ;
  }

  .float_block_container{
    width: 50%;
    z-index: 5;
  }

  .float_block{
    background-color: var(--white);
    width: 100%;  
    box-sizing: border-box;
    padding: 3rem;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
  }

}

.bold{
  font-weight: 700;
}

.card{
    background-color: var(--white);
    width: 100%;  
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
}

.card_img{
    width: 100%;
    height: 325px;
    object-fit: cover;
}

.card_text_container{
    box-sizing: border-box;
    padding: 2rem;
}

.text_cta_container{
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    display: flex;
    gap: 0.5rem;
}

.blue_link{
  color: var(--lblue);
}

  .basic_text{
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.5px;
    color: var(--heading);
    margin: 0 ;
    text-align: justify;
  }

  


.link{
  color: var(--main);
  margin-top:1rem;
}

    .basic_text_w{
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.5px;
    color: var(--white);
    margin: 0 ;
    text-align: justify;
  }

  .sub_text_w{
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--white);
    margin: 0 ;
  }

.sml_heading{
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--heading);
  margin: 0;
}


.sm_line{
  width: 20px;
  margin: 0 10px 0 0;
  border: none;
  height: 1px;
  background-color: var(--blk);
}

.divider{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.stand{
  font-style: italic;
  color: var(--lblue);
}

.stand_p{
  font-style: italic;
  color: var(--main);
}

.heading_line{
  width: 280px;
  margin: 1rem 0;
  border: none;
  height: 1px;
  background-color: var(--white);
}


  .btn{
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    border:none;
    padding: 1rem 2rem;
    cursor: pointer;
  }

  .s_btn{
    color: var(--white);
    background: transparent;
    border: 1px solid var(--white);
  }

  .blk_btn{
    color: var(--white);
    background-color: var(--blk);
  }

  .p_btn{
    color: var(--blk);
    background-color: var(--white);
  }

  .space{
    margin: 1rem 0 0 0;
  }

  .b_btn{
    color: var(--white);
    background-color: var(--main);
  }

.slideshow{
  width: 100%;
  margin-top: 2rem;
}

.slideshow_start{
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s ease;
}

.slideshow_img{
  flex-shrink: 0;
}

.arrow_section{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.arrow_btn{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--grey);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.arrow_btn:hover{
  background-color: var(--main);
  border-color: var(--main);
}

.arrow_btn svg{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blk);
  stroke-width: 2px;
  transition: stroke 0.3s ease;
}

.arrow_btn:hover svg{
  stroke: var(--white);
}

.services_section{
  width: 100%;
  position: relative;
  z-index: 9;
}

.services_list{
  width: 100%;
  margin-top: 2.5rem;
}

.service_item{
  border-top: 1px solid var(--grey);
}

.service_item:last-child{
  border-bottom: 1px solid var(--grey);
}

.service_head{
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 0;
  cursor: pointer;
  transition: padding-bottom 0.4s ease;
}

.service_item.is-open .service_head{
  padding-bottom: 0;
}

.service_num{
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--main);
}


.service_name{
  font-size: 36px;
  font-weight: 400;
  color: var(--heading);
  margin: 0;
  transition: transform 0.4s ease;
}

.service_head:hover .service_name{
  transform: translateX(10px);
}

.small_heading{
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--heading);
    margin: 1rem 0;
}

.service_toggle{
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--grey);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.service_toggle svg{
  width: 14px;
  height: 14px;
  stroke: var(--blk);
  stroke-width: 1.4px;
  transition: stroke 0.3s ease;
}

.service_item.is-open .service_toggle{
  background-color: #293177;
  border-color: #293177;
  transform: rotate(45deg);
}

.service_item.is-open .service_toggle svg{
  stroke: var(--white);
}

.service_body{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
}

.service_item.is-open .service_body{
  grid-template-rows: 1fr;
}

.service_body_inner{
  overflow: hidden;
}

.service_text_container{
  padding:2rem 0 0 0;
  width: calc(50% - 1rem);
}

.service_text_container_full{
  padding:2rem 0 0 0;
  width: 100%;
}

.service_content{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 0 2rem 72px;
}

.service_content .basic_text{
  flex: 1 1 320px;
}

.service_image{
  width: calc(50% - 1rem);
  height: 400px;
}

.service_image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   MOTION LAYER  —  scroll reveals, micro-interactions, parallax
   All entrance states are gated behind html.anim (added by JS), so if
   JS never runs nothing is hidden.
   ===================================================================== */

html{ --ease: cubic-bezier(0.22, 1, 0.36, 1); }

/* ---- scroll progress bar ---- */
.scroll_progress{
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--main), var(--lblue));
  box-shadow: 0 0 12px rgba(45, 113, 197, 0.6);
  z-index: 100;
  will-change: width;
}

/* ---- scroll reveal base + variants ---- */
html.anim .rv{
  opacity: 0;
  will-change: transform, opacity, clip-path;
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 1s var(--ease) var(--d, 0s),
    clip-path 1s var(--ease) var(--d, 0s);
}
html.anim .rv.in{ opacity: 1; }

/* start / end pairs — the .in override carries extra specificity so it
   always wins regardless of source order */
html.anim .rv.v-up{ transform: translateY(44px); }
html.anim .rv.v-up.in{ transform: none; }

html.anim .rv.v-left{ transform: translateX(-55px); }
html.anim .rv.v-left.in{ transform: none; }

html.anim .rv.v-right{ transform: translateX(55px); }
html.anim .rv.v-right.in{ transform: none; }

html.anim .rv.v-zoom{ transform: scale(0.88); }
html.anim .rv.v-zoom.in{ transform: none; }

html.anim .rv.v-mask{
  transform: translateY(40px);
  clip-path: inset(0 0 100% 0);
}
html.anim .rv.v-mask.in{
  transform: none;
  clip-path: inset(0 0 0 0);
}

html.anim .rv.v-img{
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transform: scale(1.18);
  transition:
    clip-path 1.15s var(--ease) var(--d, 0s),
    transform 1.35s var(--ease) var(--d, 0s);
}
html.anim .rv.v-img.in{
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* animated divider line inside a revealing divider */
.sm_line{ transform-origin: left center; }
html.anim .rv.v-left .sm_line{
  transform: scaleX(0);
  transition: transform 0.8s var(--ease) 0.25s;
}
html.anim .rv.v-left.in .sm_line{ transform: scaleX(1); }

/* ---- hero entrance ---- */
@keyframes heroIn{
  from{ opacity: 0; transform: translateY(45px); filter: blur(8px); }
  to{ opacity: 1; transform: none; filter: blur(0); }
}
html.anim .main_header_text_container > *{
  opacity: 0;
  animation: heroIn 1s var(--ease) both;
}
html.anim .main_header_text_container > *:nth-child(1){ animation-delay: 0.15s; }
html.anim .main_header_text_container > *:nth-child(2){ animation-delay: 0.30s; }
html.anim .main_header_text_container > *:nth-child(3){ animation-delay: 0.45s; }
html.anim .main_header_text_container > *:nth-child(4){ animation-delay: 0.60s; }

/* ---- header slide-in ---- */
@keyframes headerIn{
  from{ opacity: 0; transform: translateY(-18px); }
  to{ opacity: 1; transform: none; }
}
html.anim .top_header{ animation: headerIn 0.8s var(--ease) both; }

/* ---- shimmering accent words ---- */
@keyframes shimmer{ to{ background-position: 200% center; } }
.stand{
  background: linear-gradient(90deg, #B2D4FF, #ffffff, #B2D4FF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
.stand_p{
  background: linear-gradient(90deg, var(--main), #6aa6ff, var(--main));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

/* ---- buttons: lift + shine sweep ---- */
.btn{
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    background-color 0.4s ease,
    color 0.4s ease,
    letter-spacing 0.4s ease;
}
.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 0.75s var(--ease);
}
.btn:hover::before{ transform: translateX(130%) skewX(-12deg); }
.btn:hover{
  transform: translateY(-3px);
  letter-spacing: 5px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.s_btn:hover{ background-color: var(--white); color: var(--blk); }

/* ---- nav underline + logo ---- */
.nav_btn, .nav_btn-active{ position: relative; }
.nav_btn::after, .nav_btn-active::after{
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 1px;
  background: var(--main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav_btn:hover::after{ transform: scaleX(1); }
.nav_btn-active::after{ transform: scaleX(1); }

.top_head_logo{ transition: transform 0.5s var(--ease); }
.top_header a:hover .top_head_logo{ transform: scale(1.06); }

/* ---- dropdown: slide + fade (replaces display toggle) ---- */
.dropdown_content{
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    visibility 0.35s;
}
.drop_down_container:hover .dropdown_content{
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown_btn{
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s var(--ease);
}
.dropdown_btn:hover{ padding-left: 1.4rem; }
.drop_downB{ transition: transform 0.35s var(--ease), fill 0.3s ease; }
.drop_down_container:hover .drop_downB{ transform: rotate(180deg); }

/* ---- cards: lift + image zoom ---- */
.card{
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
}
.card_img{ transition: transform 0.9s var(--ease); }
.card:hover .card_img{ transform: scale(1.08); }

/* ---- slideshow image hover ---- */
.slideshow_img{ transition: transform 0.6s var(--ease), filter 0.6s ease; }
.slideshow_img:hover{ transform: scale(1.03); filter: brightness(1.05); }

/* ---- arrows ---- */
.arrow_btn{ transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease); }
.arrow_btn:hover{ transform: scale(1.1); }
.arrow_btn:active{ transform: scale(0.94); }

/* ---- accordion: toggle hover + content reveal + image zoom ---- */
.service_head:hover .service_toggle{ transform: rotate(90deg); border-color: var(--main); }

.service_text_container,
.service_text_container_full,
.service_image{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.service_item.is-open .service_text_container,
.service_item.is-open .service_text_container_full{
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}
.service_item.is-open .service_image{
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}
.service_image img{ transition: transform 1.4s var(--ease); }
.service_item.is-open .service_image img{ transform: scale(1.06); }

/* ---- parallax backgrounds (desktop only) ---- */
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference){
  .plan_section::before,
  .services_section_bck::before{ background-attachment: fixed; }
  .main_header.a{ background-attachment: fixed; }
}

/* ---- reduced motion: disable everything motion-heavy ---- */
@media (prefers-reduced-motion: reduce){
  html.anim .rv,
  html.anim .rv.in{ opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.anim .rv.v-left .sm_line{ transform: none !important; }
  html.anim .main_header_text_container > *{ animation: none !important; opacity: 1 !important; }
  html.anim .top_header{ animation: none !important; }
  .stand, .stand_p{ animation: none !important; }
  .service_text_container,
  .service_text_container_full,
  .service_image{ opacity: 1 !important; transform: none !important; }
  .btn::before{ display: none; }
}
/* About hero: testimonial strip */
.hero_reviews{
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  padding-top: 1.75rem;
  margin-top: 1rem;
}

.hero_review{
  flex: 1 1 260px;
  margin: 0;
  --d: 1.2s;
}

.hero_review_text{
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--white);
}

.hero_review_stars{
  color: var(--white);
  letter-spacing: 4px;
  font-size: 16px;
}

.hero_star{
  display: inline-block;
}

@media only screen and (min-width: 1080px){
  .hero_review{ flex: 1 1 0; }
}

@keyframes reviewIn{
  from{ opacity: 0; transform: translateY(24px); }
  to{ opacity: 1; transform: none; }
}

@keyframes reviewStar{
  0%{ opacity: 0; transform: scale(0.3) rotate(-30deg); }
  70%{ opacity: 1; transform: scale(1.25); }
  100%{ opacity: 1; transform: none; }
}

@keyframes reviewLine{
  from{ transform: scaleX(0); }
  to{ transform: scaleX(1); }
}

html.anim .hero_reviews{ border-top-color: transparent; }
html.anim .hero_reviews::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: left;
  animation: reviewLine 1s ease 0.6s both;
}

html.anim .hero_review{ animation: reviewIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
html.anim .hero_review:nth-child(1){ animation-delay: 0.9s; --d: 1.4s; }
html.anim .hero_review:nth-child(2){ animation-delay: 1.1s; --d: 1.6s; }
html.anim .hero_review:nth-child(3){ animation-delay: 1.3s; --d: 1.8s; }

html.anim .hero_star{ animation: reviewStar 0.5s ease both; }
html.anim .hero_star:nth-child(1){ animation-delay: calc(var(--d) + 0s); }
html.anim .hero_star:nth-child(2){ animation-delay: calc(var(--d) + 0.08s); }
html.anim .hero_star:nth-child(3){ animation-delay: calc(var(--d) + 0.16s); }
html.anim .hero_star:nth-child(4){ animation-delay: calc(var(--d) + 0.24s); }
html.anim .hero_star:nth-child(5){ animation-delay: calc(var(--d) + 0.32s); }

@media (prefers-reduced-motion: reduce){
  html.anim .hero_reviews::before,
  html.anim .hero_review,
  html.anim .hero_star{ animation: none; }
}

/* ---------- Header images for the new pages ---------- */
.hero_contact {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/about-hero.jpg");
}

.hero_gallery {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/house1.webp");
}

.hero_projects {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/side-view.webp");
}

.hero_project_usa {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/project_usa.webp");
}

.hero_interior {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/i5.webp");
}

.hero_art_software {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/article-software.webp");
}

.hero_art_build {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/project_buyvsbuild.jpg");
}

.hero_art_firm {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/select-architect.jpg");
}

/* ---------- Gallery: three across in the 12-column container ---------- */
.gallery_item{
  overflow: hidden;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
}

.gallery_img{
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}

.gallery_item:hover .gallery_img{
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* ---------- Contact page ---------- */
.center_text{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.contact_stage{
  position: relative;
  padding-bottom: 5rem;
}

.contact_stage_bg{
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.contact_card{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  max-width: 1150px;
  margin: -260px auto 0;
  background-color: var(--white);
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
}

.contact_card_form{
  flex: 1 1 520px;
  box-sizing: border-box;
  padding: 3rem;
}

.contact_card_image{
  flex: 1 1 330px;
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.contact_card_image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact_card_image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0) 55%);
}

.contact_card_image .basic_text_w{
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  margin: 0;
}

.form_grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
  margin-top: 1.5rem;
}

.form_field{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media only screen and (min-width: 1080px){
  .form_grid{ grid-template-columns: 1fr 1fr; }
  .form_full{ grid-column: 1 / -1; }
}

/* ---------- Article pages: article left, other articles right ---------- */
.article_main,
.article_side{
  width: 100%;
  align-self: flex-start;
}

.article_side{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article_img{
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  margin: 1rem 0 2rem;
}

.article_main .small_heading{
  font-size: 24px;
  margin: 2rem 0 0.75rem;
}

.article_main .basic_text{
  margin-bottom: 1rem;
}

@media only screen and (min-width: 1080px){
  .article_main{ width: calc(66% - 2rem); }
  .article_side{ width: 30%; position: sticky; top: 2rem; }
}

/* the shorthand above resets sizing, so restore cover for the new headers */
.hero_contact,
.hero_gallery,
.hero_projects,
.hero_project_usa,
.hero_interior,
.hero_art_software,
.hero_art_build,
.hero_art_firm{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Spec page gets its own header image */
.hero_spec {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/live/small-home.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Header always above the hero (dropdown was hiding behind it) ---------- */
.top_header{
  position: relative;
  z-index: 1000;
}

.dropdown_content{
  z-index: 1001;
}

/* ---------- Slideshow: same slide size at every screen width ----------
   The 950x645 size only existed above 1520px, so on smaller screens each
   slide fell back to its own photo size and the loop maths broke. */
.slideshow_img{
  width: min(950px, 70vw);
  height: auto;
  aspect-ratio: 950 / 645;
  object-fit: cover;
  cursor: zoom-in;
}

/* clip the long track to the screen so nothing can be scrolled to sideways */
.plan_section{
  overflow: hidden;
}

/* ---------- Click-to-enlarge (lightbox) ---------- */
.zoomable{ cursor: zoom-in; }

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 12, 0.94);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open{ opacity: 1; }

.lightbox img{
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lightbox.open img{ transform: none; }

@media (prefers-reduced-motion: reduce){
  .lightbox, .lightbox img{ transition: none; }
}

/* Nothing on the page may push it wider than the screen. clip keeps
   position:sticky working and leaves section layouts untouched. */
html,
body{
  overflow-x: clip;
}


/* ---------- Contact form anchor (Get Started lands here) ---------- */
#contact-form{ scroll-margin-top: 2rem; }

/* ---------- Footer (dark) ---------- */
.site_footer{
  background-color: var(--second);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3rem;
}

.footer_inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1480px;
  margin: 0 auto;
  padding: 5rem 16px 3.5rem;
  box-sizing: border-box;
}

@media only screen and (min-width: 1080px){
  .footer_inner{
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 4rem;
    padding: 6rem 2rem 4rem;
  }
}

.footer_col{
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer_logo{
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer_text{
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.5px;
  margin: 0.75rem 0 0;
  max-width: 440px;
}

.footer_heading{
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--white);
  margin: 0 0 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer_link{
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}

.footer_link:hover{
  color: var(--white);
  transform: translateX(4px);
}

.footer_label{
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--main);
  margin-bottom: 2px;
}

.footer_socials{
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer_social{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer_social svg{
  width: 18px;
  height: 18px;
}

a.footer_social:hover{
  background-color: var(--main);
  border-color: var(--main);
  transform: translateY(-3px);
}

.footer_social.is_pending{
  opacity: 0.45;
  cursor: default;
}

.footer_bottom{
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.75rem 16px 2.25rem;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.footer_bottom p{
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer_bottom a{
  color: var(--white);
  text-decoration: none;
}

.footer_bottom a:hover{ color: var(--main); }

/* footer polish: line the bottom bar up with the columns, lighter labels on dark */
.footer_label{ color: #8db8ef; }

@media only screen and (min-width: 1080px){
  .footer_bottom{ padding: 1.75rem 2rem 2.25rem; }
}

/* Interior page header: VPD dining room with the view */
.hero_interior {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.4)),
    url("../images/vv/huis-vpd-m1-8.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =====================================================================
   RESPONSIVE LAYER
   Breakpoints follow the Vegatech site (1520 / 1360 / 1080 / 760).
   Above 1080px the original desktop rules are untouched; this only
   fills in the screen sizes the desktop CSS never covered.
   ===================================================================== */

/* mobile menu pieces are hidden on desktop */
.menu_toggle,
.mobile_nav,
.mobile_nav_backdrop{ display: none; }

/* ---------- 1360 - 1520: home contact overlap (only existed above 1520) ---------- */
@media only screen and (min-width: 1360px) and (max-width: 1519.98px) {
  .full_img_container{
    width: calc(50% + 660px);
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .back_full_image{
    width: 50%;
    height: 700px;
    position: relative;
  }

  .full_img{
    width: 115%;
    height: 700px;
    object-fit: cover;
    position: absolute;
  }
}

/* ---------- 1080 - 1360: small laptops ---------- */
@media only screen and (min-width: 1080px) and (max-width: 1359.98px) {
  .container{
    grid-template-columns: repeat(12, 1fr);
    margin: 0 auto;
    display: grid;
    grid-gap: 28px;
    width: calc(100% - 64px);
    max-width: 1240px;
  }

  .wrapper{
    width: calc(100% - 64px);
    max-width: 1240px;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .top_header{
    height: 70px;
    width: calc(100% - 64px);
    max-width: 1240px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
  }

  .main_header{
    position: relative;
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 4rem 0;
  }

  .main_header_text_container{
    padding: 8rem 0;
    width: 60%;
  }

  .title{ font-size: 4.25rem; }
  .sub_heading{ font-size: 38px; }

  .full_img_container{
    width: calc(100% - 32px);
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 0;
  }

  .back_full_image{
    width: 50%;
    height: 640px;
    position: relative;
  }

  .full_img{
    width: 115%;
    height: 640px;
    object-fit: cover;
    position: absolute;
  }

  .back_img_container{ height: 820px; }
  .back_img{ height: 780px; }
  .big_text{ font-size: 72px; }
}

/* ---------- below 1080: tablet and phone ---------- */
@media only screen and (max-width: 1079.98px) {
  .col-12ssm{ grid-column: span 12; }

  /* header: logo + menu button */
  .top_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    margin: 0 auto;
  }

  .top_head_logo{
    display: block;
    height: 46px;
    margin: 4px 0;
  }

  .main_nav{ display: none; }

  /* menu button: the brand icon (three lines, middle one offset), no box */
  .menu_toggle{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 6px;
    margin-right: -6px;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu_toggle span{
    display: block;
    width: 26px;
    height: 1.5px;
    border-radius: 2px;
    background-color: var(--second);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s ease;
  }

  .menu_toggle span:nth-child(2){
    width: 20px;
    transform: translateX(10px);
  }

  .menu_toggle:hover span:nth-child(2),
  .menu_toggle:focus-visible span:nth-child(2),
  .menu_toggle:active span:nth-child(2){
    width: 26px;
    transform: none;
  }

  .menu_toggle:hover span,
  .menu_toggle:focus-visible span{ background-color: var(--main); }

  .menu_toggle:focus-visible{
    outline: 1px solid var(--main);
    outline-offset: 2px;
  }

  /* slide-in menu */
  .mobile_nav_backdrop{
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 20, 22, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile_nav{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2001;
    width: min(360px, 86vw);
    height: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1.5rem 2rem;
    overflow-y: auto;
    background-color: var(--white);
    box-shadow: none;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.35s;
  }

  body.nav_open{ overflow: hidden; }
  body.nav_open .mobile_nav{
    transform: none;
    visibility: visible;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  body.nav_open .mobile_nav_backdrop{ opacity: 1; pointer-events: auto; }

  .mobile_nav_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grey);
  }

  .mobile_nav_logo{ height: 42px; }

  .mobile_nav_close{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--grey);
    background: transparent;
    color: var(--blk);
    cursor: pointer;
  }

  .mobile_nav_close svg{ width: 18px; height: 18px; }

  .mobile_nav_links{
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
  }

  .mobile_nav_link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.55rem 0;
    border: none;
    background: none;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--heading);
  }

  .mobile_nav_link.is-active{
    color: var(--main);
    font-style: italic;
  }

  .mobile_nav_toggle svg{
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
  }

  .mobile_nav_toggle.is-open svg{ transform: rotate(45deg); }

  .mobile_nav_sub{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .mobile_nav_toggle.is-open + .mobile_nav_sub{ max-height: 420px; }

  .mobile_nav_sublink{
    display: block;
    padding: 0.7rem 0 0.7rem 1rem;
    border-left: 1px solid var(--grey);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--heading);
  }

  .mobile_nav_sublink.is-active{
    color: var(--main);
    border-left-color: var(--main);
  }

  .mobile_nav_contact{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--grey);
  }

  .mobile_nav_contact a{
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--heading);
    text-decoration: none;
  }

  /* hero */
  .main_header{
    position: relative;
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 2rem 0 3rem;
  }

  .main_header_text_container{
    width: 100%;
    padding: 6rem 0 3rem;
  }

  .title{
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin: 0;
  }

  .heading_text{
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.5px;
    color: var(--white);
    margin: 0 0 1rem 0;
  }

  .btn_container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .hero_reviews{ gap: 1.5rem; }

  /* text + image blocks stack: text first, then the image */
  .section{ padding: 4rem 0; }

  .side_text_container{ width: 100%; }

  .side_image_container{
    position: relative;
    width: 100%;
    height: 440px;
    margin-top: 2rem;
  }

  .side_image,
  .side_image_crop{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
  }

  .side_image_block{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.5rem;
    background-color: var(--blk);
  }

  .sub_heading{
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--heading);
    margin: 1rem 0;
  }

  .sub_heading_small_w{
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--white);
    margin: 0;
  }

  .flx_50{ width: 100%; }
  .flx_50 + .flx_50{ margin-top: 1rem; }

  .flx_50_full{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  /* Victor card on the home page */
  .cta_container{
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .image_cta_container{ width: 56px; }

  .cta_image{
    display: block;
    width: 56px;
    height: 56px;
    object-fit: cover;
  }

  /* experience block: photo, white card over its bottom edge, then the stats */
  .back_img_container{
    position: relative;
    width: 100%;
    height: 460px;
  }

  .back_img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .side_back_image_block{
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    background-color: var(--blk);
  }

  .back_block_container{
    position: relative;
    width: 100%;
  }

  .back_img_white_block{
    position: relative;
    z-index: 6;
    box-sizing: border-box;
    width: calc(100% - 2rem);
    margin: -3rem auto 0;
    padding: 2.5rem;
    background-color: var(--white);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
  }

  .sub_container_back_img{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5rem 4rem;
    width: 100%;
    box-sizing: border-box;
    margin: 2rem 0 0;
    padding: 0 1rem;
  }

  .big_text{
    font-size: 64px;
    font-family: "Cormorant Garamond", serif;
    color: var(--heading);
  }

  .small_text{
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--heading);
    margin: 0;
  }

  /* home contact block: photo, then the form card over its bottom edge */
  .full_img_container{
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .back_full_image{
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
  }

  .full_img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .float_block_container{
    position: relative;
    z-index: 5;
    width: calc(100% - 2rem);
    margin: -5rem auto 0;
  }

  .float_block{
    box-sizing: border-box;
    width: 100%;
    padding: 2.5rem;
    background-color: var(--white);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
  }

  /* form fields (16px stops phones zooming in on tap) */
  .input{
    width: 100%;
    height: 44px;
    padding: 0.5rem;
    margin: 0 0 1.5rem 0;
    border: none;
    border-bottom: 1px solid #898989;
    border-radius: 0;
    box-sizing: border-box;
    background: transparent;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: var(--heading);
  }

  .textarea{ height: 96px; }

  .input_label{
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--heading);
    margin: 0;
  }

  /* services accordion */
  .service_head{
    grid-template-columns: 40px 1fr auto;
    gap: 0.75rem;
  }

  .service_name{ font-size: 28px; }
  .service_content{ padding: 0 0 2rem 0; }
  .service_text_container{ width: 100%; }

  .service_image{
    width: 100%;
    height: 320px;
    margin-top: 1.5rem;
  }

  /* cards, gallery, articles, contact page */
  .card_img{ height: 300px; }
  .gallery_img{ height: 300px; }
  .article_img{ height: 360px; }

  .contact_stage_bg{ height: 380px; }

  .contact_card{
    width: calc(100% - 2rem);
    margin: -180px auto 0;
  }

  .contact_card_image{ min-height: 300px; }
}

/* ---------- tablet 760 - 1080: 680px column ---------- */
@media only screen and (min-width: 760px) and (max-width: 1079.98px) {
  .container{
    grid-template-columns: repeat(12, 1fr);
    margin: 0 auto;
    display: grid;
    grid-gap: 24px;
    max-width: 680px;
  }

  .wrapper{
    width: 680px;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .top_header{ width: 680px; }

  /* gallery two across on tablets */
  .container > .col-12ssm:has(.gallery_item){ grid-column: span 6; }
  .gallery_img{ height: 240px; }

  .float_block_container{ max-width: 620px; }
  .contact_card{ max-width: 680px; }
}

/* ---------- phone below 760: 90% column ---------- */
@media only screen and (max-width: 759.98px) {
  .container{
    grid-template-columns: repeat(12, 1fr);
    margin: 0 auto;
    display: grid;
    grid-gap: 16px;
    width: 90%;
  }

  .wrapper{
    width: 90%;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
    margin: auto;
    align-items: center;
  }

  .top_header{
    width: 90%;
    height: 60px;
  }

  .top_head_logo{ height: 40px; }

  .section{ padding: 3rem 0; }

  .main_header_text_container{ padding: 4.5rem 0 2.5rem; }
  .title{ font-size: 11vw; }
  .heading_line{ width: 160px; }

  .btn{
    padding: 0.9rem 1.4rem;
    letter-spacing: 3px;
  }

  .sub_heading{ font-size: 8vw; }
  .small_heading{ font-size: 24px; }
  .basic_text{ text-align: left; }

  .side_image_container{
    height: 280px;
    margin-top: 1.5rem;
  }

  /* experience block: the two stats sit on their own lines with clear space */
  .back_img_container{ height: 320px; }

  .back_img_white_block{
    width: 100%;
    margin-top: -2rem;
    padding: 1.75rem;
  }

  .side_back_image_block .sub_heading_small_w{ font-size: 15px; }

  .sub_container_back_img{
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin-top: 2.25rem;
  }

  .sub_container_flex + .sub_container_flex{
    padding-top: 2rem;
    border-top: 1px solid var(--grey);
  }

  .big_text{ font-size: 54px; }
  .small_text{ letter-spacing: 3px; }

  .back_full_image{ height: 300px; }

  .float_block_container{
    width: 90%;
    margin-top: -3rem;
  }

  .float_block{ padding: 1.75rem; }

  .service_head{
    grid-template-columns: 30px 1fr auto;
    padding: 1.1rem 0;
  }

  .service_num{ font-size: 18px; }
  .service_name{ font-size: 22px; }

  .service_toggle{
    width: 32px;
    height: 32px;
  }

  .service_image{ height: 220px; }

  .card_img,
  .gallery_img{ height: 230px; }

  .card_text_container{ padding: 1.5rem; }
  .article_img{ height: 240px; }

  .slideshow_img{ width: 84vw; }

  .hero_review_text{ font-size: 16px; }

  .contact_stage_bg{ height: 300px; }

  .contact_card{
    width: 90%;
    margin-top: -120px;
  }

  .contact_card_form{
    flex-basis: 100%;
    padding: 1.75rem;
  }

  .contact_card_image{
    flex-basis: 100%;
    min-height: 240px;
  }

  .footer_inner{ padding: 3.5rem 5% 2.5rem; }
  .footer_bottom{ padding: 1.5rem 5% 2rem; }
}

/* ---------- Articles and projects written in the admin ---------- */
.article_date{
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--main);
  margin: 0 0 0.5rem;
}

.article_figure{ margin: 2rem 0; }
.article_figure .article_img{ margin: 0; }

.article_caption{
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #6b6b6b;
  margin-top: 0.6rem;
}

.article_list{
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.article_list li{
  list-style: disc;
  margin-bottom: 0.4rem;
  text-align: left;
}

.article_quote{
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 2px solid var(--main);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--heading);
}

.article_more{ padding-top: 0; }
.article_more .wrapper{ justify-content: flex-end; }

/* Location and article headers with their own photo (set inline by components/hero.php) */
.hero_location{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Contact form messages ---------- */
.form_status{
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.5px;
  border-left: 2px solid;
}

.form_status_ok{
  background: #eef6f1;
  border-color: #1f7a4d;
  color: #1f5f3e;
}

.form_status_error{
  background: #fbefee;
  border-color: #b3261e;
  color: #8c1d17;
}

/* spam trap: real visitors never see this field */
.hp_field{
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* the reCAPTCHA badge sits bottom-right; keep it clear of the content */
.grecaptcha-badge{ z-index: 50; }

/* ---------- Section headings inside the card grid (one section, tighter spacing) ---------- */
.grid_heading{ margin: 0; }
.col-12.article_more{ text-align: right; }

/* ---------- 30+ / 2,000+ on medium screens: two clear columns with a divider ---------- */
@media only screen and (min-width: 760px) and (max-width: 1519.98px){
  .sub_container_back_img{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
  }

  .sub_container_flex{ padding-right: 1.5rem; }

  .sub_container_flex + .sub_container_flex{
    padding: 0 0 0 2rem;
    border-left: 1px solid var(--grey);
  }

  .small_text{ letter-spacing: 3px; }

  /* smaller numbers that never break onto two lines ("2,000 +") */
  .big_text{
    font-size: clamp(40px, 4.2vw, 60px);
    white-space: nowrap;
  }
}

/* ---------- Phones: "Talk to Victor" card hangs half below the photo ---------- */
@media only screen and (max-width: 759.98px){
  .side_image_container{ margin-bottom: 3rem; }
  .side_image_block{ transform: translateY(50%); }
  .slideshow{ touch-action: pan-y; }
}

/* ---------- Lightbox: swipe or arrow through the set ---------- */
.lightbox_track{
  display: flex;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.lightbox_track::-webkit-scrollbar{ display: none; }

.lightbox_slide{
  flex: 0 0 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.lightbox .lightbox_slide img{ width: 100vw; height: 100%; }

.lightbox_btn{
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox_btn:hover{ background: rgba(255, 255, 255, 0.28); }
.lightbox_btn svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox_prev{ left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox_next{ right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox_close{ right: 1rem; top: 1rem; }

.lightbox_count{
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.8;
}

@media only screen and (max-width: 759.98px){
  .lightbox_btn{ width: 40px; height: 40px; }
  .lightbox_prev{ left: 0.5rem; }
  .lightbox_next{ right: 0.5rem; }
}
