
* {
  --body-font: "Manrope", Helvetica, Arial, sans-serif;
  --body-font-size: 17px;
  --body-font-color: #505050;
  --body-font-color-dark: rgba(255, 255, 255, .6);
  --body-font-weight: 300;

  --heading-font: "Cormorant Garamond", Helvetica, Arial, sans-serif;  
  --heading-font-weight: 500;
  --heading-font-color: #223035;
  --heading-text-transform: none;

  --alt-font-1: "Cormorant Garamond";
  
  --h1-font-size: 64px;
  --h1-font-weight: var(--heading-font-weight);
  --h1-letter-spacing: 0;
  --h1-line-height: 1.2em;
  --h1-margin-bottom: 20px;

  --h2-font: var(--heading-font-weight);
  --h2-font-size: 52px;
  --h2-font-weight: var(--heading-font-weight);
  --h2-letter-spacing: 0;
  --h2-line-height: 1.2em;
  --h2-margin-bottom: 20px;

  --h3-font-size: 24px;
  --h3-font-weight: var(--heading-font-weight);
  --h3-letter-spacing: 0;
  --h3-line-height: 1.5em;
  --h3-margin-bottom: 10px;

  --h4-font-size: 20px;
  --h4-font-weight: var(--heading-font-weight);
  --h4-letter-spacing: 0;
  --h4-line-height: 1.6em;
  --h4-margin-bottom: 10px;

  --h5-font-size: 14px;
  --h5-font-weight: var(--heading-font-weight);
  --h5-letter-spacing: 0;
  --h5-line-height: 1.6em;
  --h5-margin-bottom: 10px;

  --mainmenu-font-size: 16px;
  --mainmenu-font-weight: 500;
  --mainmenu-letter-spacing: 0;
  --mainmenu-text-transform: none;

  --logo-width: 60px;

  --border-default: solid 1px rgba(30, 30, 30, 1);
  --bg-color-even: #E8E8E8;
  --bg-color-odd: #F4F4F4;
  --bg-light: #F8F9FA;
  --bg-dark-1: #000000;
  --bg-dark-2: #111111;
  --bg-dark-3: #1e1e1e;  
  --bg-dark-1-rgb: 0, 0, 0;
  --bg-grey: #eeeeee;
  --bg-gradient-1: 0deg, rgba(var(--primary-color-rgb), .1) 0%, rgba(var(--secondary-color-rgb), .2) 100%;
  --swiper-theme-color: var(--secondary-color);
  --rounded-1: 6px;
  --button-rounded: 3px;
  --border-color:#bbbbbb;
  --container-max-width:1240px;
}

/* ---------------------------------------------------------------
   White logo on dark surfaces (header + footer).
   The source logo asset is dark; brightness(0)+invert(1) renders
   it as solid white. Replace with a real white asset when one
   ships (see pending.md).
--------------------------------------------------------------- */
header #logo .logo-main,
header #logo .logo-mobile,
footer .logo-white {
    filter: brightness(0) invert(1);
}
/* When the header gets its scrolled state it keeps its dark green
   background, so we keep the scrolled logo white as well. */
header.header-light #logo .logo-scroll,
header #logo .logo-scroll {
    filter: brightness(0) invert(1);
}

/* ---------------------------------------------------------------
   Equal-height tiles on the homepage "Featured Projects" row.
   Acropolis (portrait) and Horizon (landscape) source images
   have very different aspect ratios; constrain both to a fixed
   tile height with object-fit: cover so the cards line up.
--------------------------------------------------------------- */
.project-card-tile {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ece6dc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(34, 28, 22, .08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.project-card-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(34, 28, 22, .15);
    border-color: var(--primary-color, #B07E50);
}
.project-card-tile .project-card-media {
    position: relative;
    overflow: hidden;
    display: block;
}
.project-card-tile .project-card-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.project-card-tile:hover .project-card-img {
    transform: scale(1.04);
}
@media (max-width: 991px) {
    .project-card-tile .project-card-img { height: 380px; }
}
@media (max-width: 575px) {
    .project-card-tile .project-card-img { height: 300px; }
}

/* Title label sits on the photo, bottom-left, as a solid pill.
   Forced solid (no opacity / no transform inheritance) so the
   theme's .hover scaling never bleeds the photo over the chip. */
.project-card-tile .project-card-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    padding: 10px 22px;
    background-color: #B07E50;
    background-color: var(--primary-color, #B07E50);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .08em;
    border-radius: 4px;
    border: 2px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
    text-transform: uppercase;
    opacity: 1 !important;
    pointer-events: none;
    transition: none;
}
.project-card-tile:hover .project-card-label {
    opacity: 1 !important;
}

/* Description / button row beneath the image. */
.project-card-tile .project-card-body {
    padding: 28px 26px 30px;
}
.project-card-tile .project-card-body h3 {
    font-size: 1.6rem;
    margin-bottom: .5rem;
}
.project-card-tile .project-card-body p {
    color: #555;
    margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------
   Minimal sticky header.
   Theme already toggles `header.smaller` once the user scrolls past
   0px (see designesia.js). We override the sticky look to be slim
   and unobtrusive: thin bar, soft translucent background, smaller
   logo, smooth slide-in.
--------------------------------------------------------------- */
header {
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
header.smaller {
    background: rgba(20, 30, 35, .82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    border: none;
}
header.smaller .container,
header.smaller .header-inner {
    padding-top: 0;
    padding-bottom: 0;
}
header.smaller #mainmenu a {
    padding-top: 14px;
    padding-bottom: 14px;
}
header.smaller div#logo {
    transform: scale(.85);
    transform-origin: left center;
}
header.smaller div#logo img {
    max-height: 42px;
    width: auto;
}
header.smaller .btn-main {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
}

/* ---------------------------------------------------------------
   Contact / Schedule a Visit tab toggle.
--------------------------------------------------------------- */
.contact-tabs {
    display: inline-flex;
    gap: 6px;
    background: #f1ede6;
    padding: 6px;
    border-radius: 999px;
    margin-bottom: 30px;
}
.contact-tabs .tab-btn {
    border: 0;
    background: transparent;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    color: #6b6b6b;
    cursor: pointer;
    transition: all .25s ease;
}
.contact-tabs .tab-btn.active {
    background: var(--primary-color, #b08a5b);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.contact-pane { display: none; }
.contact-pane.active { display: block; }
