   Buck Creek Communities — home.css
   Sections that only appear on the portfolio homepage.
   Loaded after site.css. Uses tokens from site.css; defines no new colors.
   ========================================================================== */

/* Value props ------------------------------------------------------------- */
/* Four equal claims, so they read as a set: same card, same rhythm, left
   aligned inside a centered section so the icon and the text share an edge. */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
  text-align: left;
}
.value {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  background: var(--cream);
  border: 1px solid var(--line-warm);
  border-radius: var(--r-md);
  transition: transform var(--ease), box-shadow var(--ease);
}
.value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.value .icon-tile {
  --icon-bg: rgba(213, 173, 92, .22);
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  font-size: 21px;
  box-shadow: none;
}
.value h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.15;
  color: var(--navy);
  /* A short gold rule under the heading ties the card to the brand without
     adding another block of colour. */
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  /* The rule sits under the words, not the whole card. */
  align-self: start;
}
.value p { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Locations --------------------------------------------------------------- */
.locations-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}
.locations-head p { max-width: 570px; color: var(--on-dark-mut); font-size: 17px; }

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.location-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 410px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #24445a;
  isolation: isolate;
}
/* Scrim sits above the photo, below the text — otherwise headlines drop out
   against light areas of a property photo. */
.location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 25, 37, .95) 0%,
    rgba(8, 25, 37, .88) 38%,
    rgba(8, 25, 37, .35) 68%,
    rgba(8, 25, 37, .05) 100%
  );
}

/* Properties with real photography. As Big Spring and Fort Stockton photos
   arrive, add them here and drop the placeholder gradient below. */
.location-card--windmill { background: var(--bc-park-aerial-900) center / cover; }
.location-card--tye      { background: var(--bc-tye-sites) center / cover; }
.location-card--buck     { background: var(--bc-bc-sites) center / cover; }
.location-card--patriot  { background: var(--bc-patriot-site) center / cover; }

/* Placeholder treatments — tinted so the grid reads as distinct places
   rather than identical empty cards. */
/* Big Spring and Fort Stockton land here when their pages are built:
   .location-card--spring   { background: radial-gradient(circle at 78% 22%, rgba(91, 126, 102, .7), transparent 30%), linear-gradient(145deg, #31576d, #132f42); }
   .location-card--stockton { background: radial-gradient(circle at 75% 20%, rgba(180, 93, 50, .65), transparent 30%), linear-gradient(145deg, #3d4f5d, #142c3d); } */

.location-card .topo {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  background: repeating-radial-gradient(ellipse at 110% 50%, transparent 0 28px, rgba(255, 255, 255, .4) 29px 30px);
}

.location-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
}
.location-city {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold-soft);
}
.location-body h3 { font-family: var(--font-display); font-size: 31px; margin-top: 8px; }
.location-body p { margin: 10px 0 22px; color: #d0dce2; font-size: 14px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}
.card-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.featured-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Site types -------------------------------------------------------------- */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
  text-align: left;
}
.type-card {
  background: var(--white);
  border: 1px solid var(--line-warm);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.type-card img { height: 280px; width: 100%; object-fit: cover; }
.type-body { padding: 28px; }
.type-body p { margin: 13px 0 24px; color: var(--muted); }
.tag {
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rust);
}

/* Corporate housing ------------------------------------------------------- */
.corporate { padding: 0; background: var(--navy); color: var(--on-dark); }
.corp-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 610px;
}
.corp-image {
  background:
    linear-gradient(90deg, transparent 55%, var(--navy) 100%),
    var(--bc-covered-pads) center / cover;
}
.corp-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 70px;
}
.corp-copy p { margin: 22px 0 28px; color: var(--on-dark-mut); font-size: 18px; }

.bullet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}
.bullet {
  padding: 14px 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 800;
}
.corp-copy .btn { align-self: flex-start; }

/* Mascot ------------------------------------------------------------------ */
.mascot-section { background: var(--white); overflow: hidden; }
.mascot-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.mascot-art {
  position: relative;
  min-height: 540px;
  display: grid;
  /* Bucky sits bottom-left so the bubble has the top-right corner to itself. */
  place-items: end start;
  background: radial-gradient(circle at 34% 72%, var(--cream-2) 0 25%, transparent 26%);
}
.mascot-art img {
  max-height: 500px;
  width: auto;
  filter: drop-shadow(0 24px 30px rgba(16, 43, 66, .16));
}
.speech {
  position: absolute;
  top: 0;
  right: 0;
  width: max-content;
  max-width: min(250px, 52%);
  margin: 0;
  padding: 19px 22px;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: 18px 18px 18px 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
}
/* Tail, pointing down toward him rather than sitting on top of him. */
.speech::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -9px;
  border: 10px solid transparent;
  border-top-color: var(--navy);
  border-bottom: 0;
  border-left-width: 4px;
}
.mascot-copy p { margin: 22px 0; color: var(--muted); font-size: 18px; }
.mascot-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 28px;
}
.mascot-feature { padding: 17px; background: var(--cream); border-radius: 13px; }
.mascot-feature strong { display: block; color: var(--navy); }
.mascot-feature span { font-size: 13px; color: var(--muted); }

/* Portfolio map ----------------------------------------------------------- */
.map-section { background: var(--cream); }
.map-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  background: var(--white);
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(16, 43, 66, .09);
}
.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
}
.map-copy p { margin: 20px 0 28px; color: var(--muted); font-size: 17px; }

/* The map is finished artwork — pins, addresses, and the interstate shields
   are baked in, so the old CSS-drawn version and its pin coordinates are gone. */
.portfolio-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1000px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .corp-wrap,
  .mascot-wrap,
  .map-wrap { grid-template-columns: 1fr; }
  .corp-image {
    min-height: 460px;
    background: linear-gradient(0deg, var(--navy), transparent 35%), var(--bc-covered-pads) center / cover;
  }
}

@media (max-width: 660px) {
  .value-grid,
  .location-grid,
  .mascot-features,
  .bullet-grid { grid-template-columns: 1fr; }
  .locations-head { flex-direction: column; align-items: flex-start; }
  .corp-copy { padding: 58px 26px; }
  .mascot-art {
    min-height: 0;
    place-items: center;
    gap: 18px;
    background: radial-gradient(circle at 50% 76%, var(--cream-2) 0 27%, transparent 28%);
  }
  .mascot-art img { max-height: 420px; }
  .speech {
    position: static;
    order: -1;          /* bubble above him, so the tail still points his way */
    max-width: 100%;
    font-size: 14px;
  }
  .speech::after { left: 50%; margin-left: -7px; }
  .map-copy { padding: 42px 26px; }
  .portfolio-map { height: auto; min-height: 0; }
}


/* Card note — used where a community has no detail page yet. */
.location-card .card-note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.location-card .card-note a { color: inherit; text-decoration: underline; }
.location-card .card-note a:hover { color: var(--navy); }
