:root{
  --bg:     #0C2E49;
  --mango:  #FEB37A;
  --text:   #F8F6F7;
  --slate:  #3D586D;
}

*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body{
  position: relative;
  font-family: 'Mono Sans', 'Gill Sans', 'Trebuchet MS', Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('assets/img/Pattern_Outline_OffWhite.png');
  background-repeat: repeat;
  background-position: 0 0;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 28%, rgba(0,0,0,0) 58%),
    linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(0,0,0,0.10));
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ───────────────────────────────────────── */

.site-wrap{
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 32px 80px;
}

.hero{
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

/* ── Logo ─────────────────────────────────────────── */

.logo-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.logo-wrap img{
  display: block;
  width: min(720px, 82vw);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.22));
}

/* ── Tagline ──────────────────────────────────────── */

.tagline{
  margin: 0;
  color: var(--mango);
  font-size: clamp(10px, 0.95vw, 13px);
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  line-height: 1.5;
  opacity: 0.90;
}

/* ── Corner Contact ───────────────────────────────── */

.corner-contact{
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.corner-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--mango);
  transition: transform 0.2s ease, color 0.2s ease;
}

.corner-btn svg{
  width: 17px;
  height: 17px;
}

.corner-btn:hover{
  transform: translateY(-1px);
}

/* ── Scroll Fade-in ───────────────────────────────── */

.fade-in{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}

/* ── Services ─────────────────────────────────────── */

.services-wrap{
  width: 100%;
  max-width: 1100px;
  margin-top: 64px;
  text-align: center;
}

.services-label{
  margin: 0 0 32px;
  color: var(--text);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.60;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(254, 179, 122, 0.15);
  background: rgba(254, 179, 122, 0.15);
}

.service-card{
  padding: 32px 26px;
  background: var(--bg);
  text-align: left;
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover{
  background: rgba(61, 88, 109, 0.55);
}

.service-title{
  margin: 0 0 14px;
  color: var(--mango);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
}

.service-desc{
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  opacity: 0.78;
  flex: 1;
}

.service-pdf{
  display: inline-block;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(254, 179, 122, 0.18);
  color: var(--mango);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.service-pdf:hover{
  opacity: 1;
}

/* ── CTA ──────────────────────────────────────────── */

.cta-wrap{
  margin: 52px auto 0;
  display: flex;
  justify-content: center;
}

.cta-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 13px 24px;
  border: 1px solid rgba(254, 179, 122, 0.50);
  background: transparent;
  color: var(--mango);
  text-decoration: none;
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.cta-button:hover{
  background: rgba(254, 179, 122, 0.08);
  border-color: rgba(254, 179, 122, 0.85);
  transform: translateY(-1px);
}

.cta-button:active{
  transform: translateY(0);
}

/* ── Team ─────────────────────────────────────────── */

.team-wrap{
  width: 100%;
  max-width: 1100px;
  margin-top: 64px;
  text-align: center;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 240px);
  gap: 1px;
  background: rgba(254, 179, 122, 0.30);
  justify-content: center;
}

.team-card{
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.team-card:focus-visible{
  outline: 1px solid rgba(254, 179, 122, 0.5);
  outline-offset: -1px;
}

.team-card:hover{
  background: rgba(61, 88, 109, 0.55);
}


.team-img-wrap{
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.team-img-wrap img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrap img{
  transform: scale(1.03);
}

.team-info{
  padding: 16px 20px;
  border-top: 1px solid rgba(254, 179, 122, 0.15);
}

.team-name{
  display: block;
  color: var(--text);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.team-title{
  display: block;
  margin-top: 4px;
  color: var(--mango);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ── Team Modal ───────────────────────────────────── */

.team-modal{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 46, 73, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.team-modal.open{
  opacity: 1;
  pointer-events: all;
}

.team-modal-inner{
  position: relative;
  text-align: center;
  padding: 48px 40px;
  border: 1px solid rgba(254, 179, 122, 0.20);
  max-width: 480px;
  width: 90%;
}

.team-modal-close{
  position: absolute;
  top: 12px;
  left: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.team-modal-close:hover{
  color: #fff;
}

.team-modal-name{
  margin: 0 0 16px;
  color: var(--mango);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-modal-title{
  margin: 0 0 16px;
  color: var(--text);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.team-modal-linkedin{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  background: #0A66C2;
  color: #fff !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.team-modal-linkedin:hover{
  background: #004182;
}

.team-modal-bio{
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.7;
  opacity: 0.75;
}

/* ── Markets ──────────────────────────────────────── */

.markets-wrap{
  width: 100%;
  max-width: 1100px;
  margin-top: 64px;
  text-align: center;
}

.markets-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(254, 179, 122, 0.25);
  text-align: left;
}

.market-region{
  padding: 16px 20px;
  background: var(--bg);
  transition: background 0.25s ease;
}

.market-region:hover{
  background: rgba(61, 88, 109, 0.55);
}

.market-title{
  margin: 0 0 8px;
  color: var(--mango);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.market-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}

.market-list li{
  color: var(--text);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.72;
}

.market-list li:not(:last-child)::after{
  content: " ·";
  opacity: 0.45;
  margin-left: 2px;
}

/* ── Listings ─────────────────────────────────────── */

.listings-wrap{
  width: 100%;
  max-width: 1100px;
  margin-top: 64px;
  text-align: center;
}

.listings-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.listing-card{
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  outline: 2px solid #FEB37A;
}

.listing-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(254, 179, 122, 0);
  transition: background 0.35s ease;
  pointer-events: none;
}

.listing-card:hover::after{
  background: rgba(254, 179, 122, 0.30);
}

.listing-card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.listing-card:hover img{
  transform: scale(1.025);
}

/* ── Footer Icon ──────────────────────────────────── */

.icon-wrap{
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.icon-circle{
  width: 52px;
  height: 52px;
}

/* ── Address ──────────────────────────────────────── */

.site-address{
  margin-top: 18px;
  font-style: normal;
  color: var(--text);
  font-family: inherit;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.32;
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 900px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid{
    grid-template-columns: repeat(2, 240px);
  }

  .markets-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .listings-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .team-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px){
  .corner-contact{
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    background: rgba(12, 46, 73, 0.97);
    border-top: 1px solid rgba(254, 179, 122, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .corner-btn{
    width: 50%;
    height: 52px;
    border-right: 1px solid rgba(254, 179, 122, 0.12);
  }

  .corner-btn:last-child{
    border-right: none;
  }

  .corner-btn svg{
    width: 20px;
    height: 20px;
  }

  .site-wrap{
    padding: 48px 20px 100px;
  }


  .logo-wrap{
    margin-bottom: 14px;
  }

  .logo-wrap img{
    width: min(92vw, 520px);
  }

  .tagline{
    font-size: 9px;
    letter-spacing: 0.14em;
    padding: 0 4px;
  }

  .services-wrap{
    margin-top: 48px;
  }

  .services-label{
    margin-bottom: 24px;
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  .services-grid{
    grid-template-columns: 1fr;
  }

  .service-card{
    padding: 24px 20px;
  }

  .markets-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .listings-wrap{
    margin-top: 48px;
  }

  .listings-grid{
    grid-template-columns: 1fr;
  }

  .listing-card img{
    object-position: center;
  }

  .cta-wrap{
    margin-top: 40px;
  }

  .cta-button{
    width: 100%;
    max-width: 280px;
    min-width: 0;
  }
}
