:root {
  --glbs-shelby-black: #252727;
  --glbs-shelby-charcoal: #343434;
  --glbs-shelby-brass: #b4873f;
  --glbs-shelby-brass-dark: #9b6d2d;
  --glbs-shelby-muted: #6f6a63;
  --glbs-shelby-cream: #fcfbf8;
  --glbs-shelby-warm: #f6f1e9;
  --glbs-shelby-line: #e2d6c6;
  --glbs-shelby-max: 1120px;
}

.glbs-shelby-page {
  background: var(--glbs-shelby-cream);
  color: var(--glbs-shelby-black);
  overflow: hidden;
}

.glbs-shelby-page,
.glbs-shelby-page * {
  box-sizing: border-box;
}

/* Kadence sometimes keeps page blocks inside theme containers. This helps alignfull actually behave. */
.entry-content > .glbs-shelby-page.alignfull,
.wp-site-blocks .glbs-shelby-page.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.glbs-shelby-page .alignwide {
  max-width: var(--glbs-shelby-max);
  margin-left: auto !important;
  margin-right: auto !important;
}

.glbs-hero {
  width: 100%;
  background: var(--glbs-shelby-cream);
  border-top: 1px solid rgba(0,0,0,0.03);
}

.glbs-hero-columns {
  min-height: 560px;
  margin: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.glbs-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 92px) clamp(28px, 6vw, 72px) clamp(48px, 7vw, 92px) max(28px, calc((100vw - var(--glbs-shelby-max)) / 2));
  background: linear-gradient(90deg, var(--glbs-shelby-cream) 0%, rgba(252,251,248,0.98) 70%, rgba(252,251,248,0.86) 100%);
  z-index: 2;
}

.glbs-hero-image-column {
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

.glbs-hero-image,
.glbs-hero-image img {
  width: 100%;
  height: 100% !important;
  min-height: 560px;
  display: block;
  margin: 0 !important;
}

.glbs-hero-image img {
  object-fit: cover;
  object-position: center;
}

.glbs-hero-title {
  margin: 0 0 26px !important;
  color: var(--glbs-shelby-black);
  line-height: 0.98 !important;
  font-size: clamp(42px, 5.8vw, 70px) !important;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.glbs-hero-title::after,
.glbs-section-title::before,
.glbs-section-title::after {
  content: "";
  display: inline-block;
  width: 84px;
  height: 1px;
  background: var(--glbs-shelby-brass);
  vertical-align: middle;
}

.glbs-hero-title::after {
  display: block;
  margin-top: 22px;
}

.glbs-hero-text {
  max-width: 300px;
  color: var(--glbs-shelby-black);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px !important;
}

.glbs-buttons {
  gap: 12px !important;
}

.glbs-button-primary .wp-block-button__link,
.glbs-button-secondary .wp-block-button__link {
  border-radius: 0 !important;
  padding: 13px 25px !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  border: 1px solid var(--glbs-shelby-brass) !important;
}

.glbs-button-primary .wp-block-button__link {
  background: var(--glbs-shelby-brass) !important;
  color: #fff !important;
}

.glbs-button-secondary .wp-block-button__link {
  background: transparent !important;
  color: var(--glbs-shelby-brass-dark) !important;
}

.glbs-trust-strip {
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  transform: translateY(-24px);
  background: rgba(252, 251, 248, 0.96);
  box-shadow: 0 14px 35px rgba(0,0,0,0.07);
  padding: 24px 42px;
  position: relative;
  z-index: 4;
}

.glbs-trust-columns {
  margin: 0 !important;
  gap: 0 !important;
}

.glbs-trust-columns .wp-block-column:not(:last-child) {
  border-right: 1px solid var(--glbs-shelby-line);
}

.glbs-trust-item {
  margin: 0 !important;
  text-align: center;
  color: var(--glbs-shelby-black);
  font-size: 16px;
  line-height: 1.35;
}

.glbs-section {
  padding: 20px 24px 34px;
}

.glbs-section-title {
  color: var(--glbs-shelby-black);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 500;
  margin: 0 auto 28px !important;
}

.glbs-section-title::before,
.glbs-section-title::after {
  width: 44px;
  margin: 0 22px;
}

.glbs-card-grid {
  gap: 14px !important;
  margin-bottom: 0 !important;
}

.glbs-project-image,
.glbs-material-image {
  margin: 0 !important;
  width: 100%;
  overflow: hidden;
}

.glbs-project-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.glbs-material-card {
  border: 1px solid var(--glbs-shelby-line);
  background: #fff;
  padding: 8px 8px 18px;
}

.glbs-material-image img {
  display: block;
  width: 100%;
  aspect-ratio: 2.45 / 1;
  object-fit: cover;
}

.glbs-card-title {
  margin: 14px 0 2px !important;
  color: var(--glbs-shelby-black);
  font-size: 19px !important;
  font-weight: 500;
}

.glbs-card-copy {
  margin: 0 0 8px !important;
  color: var(--glbs-shelby-muted);
  font-size: 14px;
  line-height: 1.35;
}

.glbs-card-link {
  color: var(--glbs-shelby-brass-dark);
  font-size: 13px;
  margin: 4px 0 0 !important;
}

.glbs-about-appointment {
  padding-top: 26px;
  padding-bottom: 0;
  background: linear-gradient(90deg, #fff 0%, var(--glbs-shelby-cream) 100%);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.glbs-about-columns {
  gap: 44px !important;
  align-items: stretch !important;
}

.glbs-about-copy,
.glbs-appointment-copy {
  padding: 22px 20px 42px;
}

.glbs-about-copy {
  border-right: 1px solid var(--glbs-shelby-line);
}

.glbs-about-copy p,
.glbs-appointment-copy p {
  color: var(--glbs-shelby-black);
  line-height: 1.55;
}

.glbs-small {
  font-size: 14px;
  color: var(--glbs-shelby-muted) !important;
  margin-top: -18px !important;
}

.glbs-form-placeholder {
  background: transparent;
  max-width: 520px;
  margin: 0 auto 14px !important;
}

.glbs-form-placeholder p {
  margin: 8px 0 !important;
  padding: 9px 12px;
  border: 1px solid var(--glbs-shelby-line);
  color: var(--glbs-shelby-muted);
  font-size: 13px;
  background: rgba(255,255,255,0.72);
}

.glbs-form-placeholder p:last-child {
  min-height: 70px;
}

.glbs-form-note {
  font-size: 12px;
  color: var(--glbs-shelby-muted) !important;
  margin-top: 8px !important;
}

@media (max-width: 900px) {
  .glbs-hero-columns {
    min-height: auto;
  }
  .glbs-hero-copy {
    padding: 52px 26px 36px;
  }
  .glbs-hero-image-column,
  .glbs-hero-image,
  .glbs-hero-image img {
    min-height: 320px;
  }
  .glbs-trust-strip {
    transform: none;
    margin: 0 18px 30px !important;
    padding: 22px;
  }
  .glbs-trust-columns .wp-block-column:not(:last-child),
  .glbs-about-copy {
    border-right: 0;
    border-bottom: 1px solid var(--glbs-shelby-line);
  }
  .glbs-card-grid {
    gap: 22px !important;
  }
  .glbs-section-title::before,
  .glbs-section-title::after {
    width: 26px;
    margin: 0 12px;
  }
}
