@font-face {
  font-family: "GD Montserrat";
  src: url("../fonts/gd-montserrat-300-full.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "GD Montserrat";
  src: url("../fonts/gd-montserrat-400-full.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --gd-forest: #111416;
  --gd-forest-deep: #111416;
  --gd-leaf: #56634e;
  --gd-lime: #e2ded7;
  --gd-mist: #efeee8;
  --gd-sand: #e7dcd1;
  --gd-brown: #725c51;
  --gd-white: #fff;
  --gd-ink: #111416;
  --gd-line: rgba(17, 20, 22, .16);
  --gd-page: min(1240px, calc(100vw - 40px));
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: "GD Montserrat", "Helvetica Neue", Arial, sans-serif; font-weight: 300; }
button, input, select, textarea { font-family: inherit; }
.wp-site-blocks > * { margin-block-start: 0; }
[id] { scroll-margin-top: 140px; }
a { text-underline-offset: .2em; }
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 3px solid var(--gd-brown);
  outline-offset: 3px;
}

.gd-callbar {
  background: var(--gd-forest);
  color: var(--gd-white);
  box-sizing: border-box;
  min-height: var(--gd-callbar-height, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gd-callbar-padding-y, 3px) 20px;
}
.gd-callbar a {
  color: var(--gd-white) !important;
  border: 1px solid rgba(255,255,255,.42);
  padding: 6px 18px;
  text-decoration: none;
  font-size: .74rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.gd-callbar a:hover { background: var(--gd-sand); color: var(--gd-forest) !important; }

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 50;
}

.gd-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17,20,22,.1);
  box-shadow: 0 6px 24px rgba(17,20,22,.10);
  padding: 18px max(20px, calc((100vw - 1240px) / 2));
}
.gd-header .wp-block-site-title {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}
.gd-header .wp-block-site-title a { text-decoration: none; }
.gd-header .wp-block-site-logo img { max-height: 54px; width: auto; }
.gd-header .wp-block-site-logo:not(:empty) + .wp-block-site-title { display: none; }
.gd-header .wp-block-navigation { font-family: var(--wp--preset--font-family--display); font-size: .72rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
body.admin-bar header.wp-block-template-part { top: 32px; }

.gd-hero {
  background: var(--gd-forest);
  color: var(--gd-white);
  min-height: calc(100vh - 120px);
}
.gd-hero .wp-block-cover__video-background { filter:saturate(.82); height:100%; object-fit:cover; object-position:center 58%; width:100%; }
.gd-hero .wp-block-cover__background { pointer-events:none; }
.gd-hero .wp-block-cover__inner-container {
  width: var(--gd-page);
  padding-left: clamp(0rem, 2.5vw, 2.5rem);
}
.gd-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.gd-hero h1 { max-width: 880px; margin: .25em 0; }
.gd-hero-copy { max-width: 620px; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.gd-hero .wp-block-button.is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.7); color: #fff; }

.gd-section { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.gd-section-tight { padding-top: clamp(3rem, 5vw, 5rem); padding-bottom: clamp(3rem, 5vw, 5rem); }
.gd-section-title { max-width: 820px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.gd-kicker { color: var(--gd-brown); font-family: var(--wp--preset--font-family--display); font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.gd-lead { font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.5; }
.gd-about-image { margin: 0 0 2rem; max-height: 520px; overflow: hidden; }
.gd-about-image img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 35%; }

.gd-card-grid { align-items: stretch !important; }
.gd-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--gd-white);
  border-top: 2px solid var(--gd-brown);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.gd-card > .gd-card-gallery { box-sizing:border-box; margin:calc(-1 * clamp(1.5rem,3vw,2.4rem)) calc(-1 * clamp(1.5rem,3vw,2.4rem)) 1.7rem; max-width:none; width:calc(100% + (2 * clamp(1.5rem,3vw,2.4rem))); }
.gd-card-image { margin: calc(-1 * clamp(1.5rem, 3vw, 2.4rem)) calc(-1 * clamp(1.5rem, 3vw, 2.4rem)) 2rem; overflow: hidden; }
.gd-card-image img { display: block; width: 100%; height: 270px; object-fit: cover; }
.gd-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(17,20,22,.12); }
.gd-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.gd-card .wp-block-button__link { padding-left: 0; background: transparent; color: var(--gd-forest); border-bottom: 1px solid var(--gd-forest); }
.gd-service-detail .wp-block-column { border-top: 1px solid var(--gd-line); padding-top: 1.5rem; }
.gd-service-detail h3 { color: var(--gd-forest); }

.gd-step { border-top: 1px solid var(--gd-line); padding-top: 1.5rem; }
.gd-step-number {
  display: flex;
  color: var(--gd-brown);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 2rem;
}
.gd-step-number::after {
  content:var(--gd-step-arrow, "→");
  font-family:Arial,sans-serif;
  font-size:var(--gd-step-arrow-size, 1rem);
  margin-left:var(--gd-step-arrow-gap, .8rem);
  transform:translate(var(--gd-step-arrow-x, 0), var(--gd-step-arrow-y, 0)) rotate(var(--gd-step-arrow-rotate, 0deg));
}
.gd-step-number::after { display:none; content:none; }
.gd-step > .gd-step-index,
.gd-step > .wp-block-green-design-shape { display:inline-flex; vertical-align:middle; }
.gd-step > .wp-block-green-design-shape { margin-left:.8rem; }

/* Consecutive sections with the same background should read as one surface. */
.wp-site-blocks > .has-background + .has-background { margin-block-start: 0; }
.wp-site-blocks > .has-mist-background-color + .has-mist-background-color,
.wp-site-blocks > .has-white-background-color + .has-white-background-color,
.wp-site-blocks > .has-forest-background-color + .has-forest-background-color { border-top: 0; }
.wp-site-blocks > :where(.gd-section,.gd-section-tight,.gd-proof,.gd-contact,.gd-projects-block) { border-top:0; margin-block-start:0; }
.wp-site-blocks > :where(.gd-section,.gd-section-tight,.gd-proof,.gd-contact,.gd-projects-block)::before,
.wp-site-blocks > :where(.gd-section,.gd-section-tight,.gd-proof,.gd-contact,.gd-projects-block)::after { border-top:0; }

.wp-site-blocks p,
.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.wp-site-blocks h4,
.wp-site-blocks a { overflow-wrap:anywhere; }

.gd-project {
  min-height: 440px;
  position: relative;
  background: linear-gradient(135deg, #8ba276, #31513d);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  overflow: hidden;
}
.gd-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,32,21,.78), rgba(11,32,21,.05) 72%); z-index: 1; }
.gd-project-image { position: absolute; inset: 0; margin: 0; }
.gd-project-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.gd-project h3 { position: relative; z-index: 2; }
.gd-project-alt { background: linear-gradient(135deg, #c5bd9b, #55735d); }
.has-forest-background-color .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: rgba(255,255,255,.78);
  color: #fff !important;
}

.gd-proof { background: var(--gd-forest); color: #fff; }
.gd-proof blockquote { border: 0; margin: 0; }
.gd-proof blockquote p { font-family: var(--wp--preset--font-family--display); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.12; }

.gd-insky { border: 1px solid var(--gd-line); background: #fff; }
.gd-insky-image { height: 100%; min-height: 480px; margin: 0; overflow: hidden; }
.gd-insky-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.gd-contact { background: var(--gd-lime); color: var(--gd-forest-deep); }
.gd-contact .wp-block-button__link { background: var(--gd-forest); color: #fff !important; }
.gd-contact .gd-email-button .wp-block-button__link {
  background: var(--gd-forest-deep);
  border-color: var(--gd-forest-deep);
  color: #fff !important;
}
.gd-contact-form-shell { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: clamp(1.25rem, 2vw, 2rem); border-top: 1px solid rgba(15,36,25,.28); }
.gd-contact-form-shell > h3 { margin-bottom:.5rem; }
.gd-project-case { border-top:1px solid var(--gd-line); margin-top:clamp(3rem,7vw,6rem); padding-top:clamp(2rem,4vw,3rem); }
.gd-footer { background: var(--gd-forest-deep); color: rgba(255,255,255,.86); padding: 4rem max(20px, calc((100vw - 1240px) / 2)); }
.gd-footer a { color: #fff !important; }
.gd-legal { font-size: .78rem; color: rgba(255,255,255,.62); }

.gd-content-shell { padding-top: 5rem; padding-bottom: 6rem; }
.gd-content-shell h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.gd-projects-page h1 { max-width: 950px; }
.gd-projects-page > .wp-block-heading { margin-top: clamp(3rem, 7vw, 6rem); }
.gd-project-gallery { margin-top: 2rem; }
.gd-project-gallery figure { min-height: 320px; overflow: hidden; background: #dfe6d8; }
.gd-project-gallery img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.gd-projects-cta { margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); background: var(--gd-lime); }

.gd-instagram-link {
  display: inline-block;
  font-family: var(--wp--preset--font-family--display);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .gd-header { padding-block: 14px; gap: 1rem; }
  .gd-header .wp-block-site-title { font-size: 1.05rem; letter-spacing: .16em; white-space: nowrap; }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; background: var(--gd-mist); }
  .gd-card-grid { flex-wrap: wrap !important; }
  .gd-card-grid > .wp-block-column { flex-basis: calc(50% - 1rem) !important; }
}

@media (max-width: 640px) {
  :root { --gd-page: calc(100vw - 28px); }
  .gd-callbar { justify-content: stretch; }
  .gd-callbar a { width: 100%; text-align: center; }
  .gd-hero { min-height: 76vh; }
  .gd-hero .wp-block-cover__video-background { object-position:var(--gd-cover-mobile-x,50%) var(--gd-cover-mobile-y,55%); }
  .gd-hero .wp-block-cover__inner-container { padding-left: 0; }
  .gd-hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem) !important; }
  .gd-card-grid > .wp-block-column { flex-basis: 100% !important; }
  .gd-card { min-height: 260px; }
  .gd-card-image img { height: 230px; }
  .gd-project { min-height: 330px; }
  .gd-insky-image, .gd-insky-image img { min-height: 360px; }
}

@media (max-width: 782px) {
  body.admin-bar header.wp-block-template-part { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* 0.9.3 mobile navigation and home-page layout polish. */
@media (max-width: 960px) {
  .gd-header .wp-block-navigation__responsive-container.is-menu-open,
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    width:100%;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:.35rem !important;
    width:100%;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100%;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display:block;
    width:100%;
    padding:.75rem 0;
  }
}

@media (max-width: 640px) {
  .gd-hero .wp-block-cover__video-background { border-radius:6px !important; }
  .gd-process { display:flex !important; flex-direction:column !important; gap:0 !important; }
  .gd-process > .gd-step {
    display:grid !important;
    grid-template-columns:3.25rem minmax(0,1fr) !important;
    column-gap:1rem;
    row-gap:.35rem;
    align-items:start;
    padding-block:1.25rem;
  }
  .gd-step > .gd-step-index { grid-column:1; grid-row:1; margin:0; align-self:start; }
  .gd-step > .wp-block-green-design-shape { grid-column:1; grid-row:2 / span 3; margin:0 !important; align-self:start; justify-self:start; }
  .gd-step > .wp-block-green-design-shape.gd-shape--arrow-right,
  .gd-step > .wp-block-green-design-shape.gd-shape--arrow-long { transform:rotate(90deg); transform-origin:center; }
  .gd-step > :not(.gd-step-index):not(.wp-block-green-design-shape) { grid-column:2; margin-top:0; }
}

/* 0.9.4 mobile refinement: dropdown navigation, process layout and contact gutters. */
@media (max-width: 960px) {
  .gd-header { position:relative; }
  .gd-header .wp-block-navigation { position:relative; margin-left:auto; }
  .gd-header .wp-block-navigation__responsive-container-open { margin-left:auto; }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open {
    position:absolute !important;
    inset:calc(100% + 10px) 0 auto auto !important;
    width:min(320px,calc(100vw - 28px)) !important;
    height:auto !important;
    min-height:0 !important;
    max-height:calc(100dvh - 120px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    box-sizing:border-box;
    padding:1rem 1.15rem 1.15rem !important;
    background:rgba(239,238,232,.98) !important;
    border:1px solid rgba(17,20,22,.12);
    box-shadow:0 18px 40px rgba(17,20,22,.16);
    z-index:100;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    width:100%;
    height:auto !important;
    min-height:0 !important;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    position:static !important;
    display:flex;
    margin:0 0 .5rem auto;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    gap:0 !important;
    width:100%;
    overflow:visible !important;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width:100% !important;
    flex:none !important;
  }
  .gd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display:block !important;
    width:100%;
    box-sizing:border-box;
    padding:.8rem .15rem !important;
    white-space:normal !important;
    border-bottom:1px solid rgba(17,20,22,.10);
    text-align:left;
  }
}

@media (max-width: 640px) {
  /* Keep process steps simple on phones: number at left, copy at right. */
  .gd-step {
    display:grid !important;
    grid-template-columns:2.6rem minmax(0,1fr) !important;
    column-gap:.8rem !important;
    row-gap:.25rem !important;
    align-items:center !important;
    padding-block:1.15rem !important;
  }
  .gd-step > .gd-step-index,
  .gd-step > .gd-step-number {
    grid-column:1 !important;
    grid-row:1 / -1 !important;
    align-self:center !important;
    justify-self:center !important;
    margin:0 !important;
    min-width:0;
  }
  .gd-step > .wp-block-green-design-shape,
  .gd-step > .gd-shape { display:none !important; }
  .gd-step > :not(.gd-step-index):not(.gd-step-number):not(.wp-block-green-design-shape):not(.gd-shape) {
    grid-column:2 !important;
    margin-top:0;
    margin-bottom:.45rem;
  }

  /* Pradekime/contact section gets a small page-edge gutter; the form itself does not double it. */
  .gd-contact {
    box-sizing:border-box;
    width:auto !important;
    max-width:calc(100% - 20px) !important;
    margin-left:10px !important;
    margin-right:10px !important;
  }
  .gd-contact .gd-review-form {
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}

/* Final 0.9.4 phone process alignment: number is vertically centered beside the whole text group. */
@media (max-width:640px){
 .gd-step{
   display:block!important;
   position:relative!important;
   padding:1.15rem 0 1.15rem 3.35rem!important;
   min-height:3.25rem;
 }
 .gd-step>.gd-step-index,.gd-step>.gd-step-number{
   position:absolute!important;
   left:0!important;
   top:50%!important;
   transform:translateY(-50%)!important;
   width:2.55rem!important;
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   margin:0!important;
 }
 .gd-step>.wp-block-green-design-shape,.gd-step>.gd-shape{display:none!important}
 .gd-step>:not(.gd-step-index):not(.gd-step-number):not(.wp-block-green-design-shape):not(.gd-shape){margin-top:0}
}
