/* ==========================================================================
   Global Capability
   ========================================================================== */

/* ---------- Hero ---------- */
.gl-hero { position: relative; height: 640px; overflow: hidden; }
.gl-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gl-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, .15) 30%, rgba(20, 16, 12, .6) 100%);
}
.gl-hero__body {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 56px;
  color: var(--cream);
}
.gl-hero__kicker { font-size: 12px; letter-spacing: .26em; font-weight: 600; opacity: .9; margin-bottom: 16px; }
.gl-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.1;
  max-width: 760px;
}
.gl-hero__lede { margin-top: 18px; font-size: 16px; line-height: 1.7; opacity: .92; max-width: 640px; }
.gl-hero__actions { margin-top: 30px; }

/* ---------- Capability strip ---------- */
.gl-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule);
  border-top: none;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 600;
}
.gl-strip__cell {
  padding: 20px 22px;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 11px;
}
.gl-strip__cell:last-child { border-right: none; }

/* ---------- Process ---------- */
.gl-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  border-top: 1px solid rgba(29, 28, 25, .16);
}
.gl-step {
  padding: 0 14px 8px;
  transition: transform .3s ease;
}
.gl-step:hover { transform: translateY(-4px); }

.gl-step__badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
  background: var(--cream);
  color: var(--terra);
}
.gl-step--last .gl-step__badge { background: var(--terra); border-color: var(--terra); color: var(--cream); }

.gl-step__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gl-step__num {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--terra);
  font-weight: 600;
  margin-top: 14px;
}
.gl-step__label { display: block; font-size: 12.5px; font-weight: 600; margin-top: 5px; line-height: 1.5; }

/* ---------- Styling capability ---------- */
.gl-styling { padding-bottom: var(--section-y-sm); align-items: center; }
.gl-styling__img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; display: block; }

.gl-free .spec__row { padding: 13px 0; border-top-color: rgba(29, 28, 25, .12); }
.gl-free .spec__row:last-child { border-bottom-color: rgba(29, 28, 25, .12); }
.gl-free__tag { color: var(--muted); font-size: 12px; flex-shrink: 0; }
.chip--sm { padding: 8px 13px; font-size: 10.5px; letter-spacing: .14em; color: var(--brown); border-color: rgba(29, 28, 25, .25); }

/* ---------- Quality control ---------- */
.gl-qc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.gl-qc__row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid rgba(245, 242, 234, .2);
  font-size: 13px;
}
.gl-qc__row:nth-last-child(-n+2) { border-bottom: 1px solid rgba(245, 242, 234, .2); }
.gl-qc__tick { color: var(--terra-pale); flex-shrink: 0; }

.gl-qc-images { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gl-qc-images img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gl-qc-images__offset { margin-top: 36px; }

/* ---------- Service tiers ---------- */
.gl-tiers { gap: 24px; }
.gl-tier { border: 1px solid rgba(29, 28, 25, .16); padding: 30px 28px; background: var(--cream); }
.gl-tier--l3 { background: var(--cream-warm); }
.gl-tier__badge {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: .18em;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 2px;
  border: 1px solid var(--rule-strong);
  color: var(--brown);
}
.gl-tier--l3 .gl-tier__badge { background: #626A55; border-color: #626A55; color: var(--cream); }
.gl-tier--l2 .gl-tier__badge { background: var(--terra); border-color: var(--terra); color: var(--cream); }
.gl-tier__name { font-family: var(--serif); font-size: 22px; margin-top: 18px; }
.gl-tier__desc { font-size: 13px; color: var(--muted-dark); line-height: 1.75; margin-top: 8px; }
.gl-tiers__note { margin-top: 26px; font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* ---------- Globe ---------- */
.gl-globe-band { background: var(--ink-deep); color: var(--cream); overflow: hidden; }
.gl-globe {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.gl-globe__stats { margin-top: 38px; gap: 48px; }
.gl-globe__stats .stat__num { font-size: 34px; }
.gl-globe__stats .stat__label { font-size: 11px; color: var(--muted); }
.gl-globe__canvas { width: 100%; height: 560px; display: block; }

/* ---------- Location checker ---------- */
.gl-check-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.gl-check { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }

.gl-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 36px;
}
.gl-form[hidden] { display: none; }
.gl-form__field { display: block; }
.gl-form__field input {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 2px;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  width: 100%;
  border-radius: 0;
}
.gl-form__field input:focus { outline: none; border-bottom-color: var(--terra); }
.gl-form__field input:user-invalid { border-bottom-color: #9c4a35; }

.gl-form__submit { grid-column: 1 / 3; width: 100%; padding: 17px 10px; font-size: 12.5px; letter-spacing: .14em; }

.gl-cta__actions { justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .gl-hero { height: 540px; }
  .gl-process { grid-template-columns: repeat(5, 1fr); }
  .gl-step { padding-bottom: 28px; }
  /* Rows after the first need their own top rule, since the grid's is gone */
  .gl-step:nth-child(n+6) { border-top: 1px solid rgba(29, 28, 25, .16); padding-top: 0; }
  .gl-globe { gap: 40px; }
  .gl-globe__canvas { height: 460px; }
  .gl-check { gap: 44px; }
}

@media (max-width: 1023px) {
  .gl-hero { height: 460px; }
  .gl-strip { grid-template-columns: repeat(2, 1fr); }
  .gl-strip__cell:nth-child(2n) { border-right: none; }
  .gl-strip__cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .gl-strip__cell:last-child { grid-column: 1 / -1; }

  .gl-process { grid-template-columns: repeat(3, 1fr); }
  .gl-step:nth-child(n+4) { border-top: 1px solid rgba(29, 28, 25, .16); }

  .gl-styling__img { aspect-ratio: 3 / 2; order: -1; }
  .gl-qc-images { gap: 12px; }
  .gl-qc-images__offset { margin-top: 20px; }
  .gl-globe { grid-template-columns: 1fr; }
  .gl-globe__canvas { height: 400px; }
  .gl-check { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .gl-hero { height: 380px; }
  .gl-hero__body { bottom: 28px; }
  .gl-hero__lede { font-size: 14.5px; margin-top: 14px; }

  .gl-strip { grid-template-columns: 1fr; font-size: 10.5px; }
  .gl-strip__cell { border-right: none; padding: 15px 18px; }
  .gl-strip__cell:not(:first-child) { border-top: 1px solid var(--rule); }

  .gl-process { grid-template-columns: repeat(2, 1fr); }
  .gl-step:nth-child(n+3) { border-top: 1px solid rgba(29, 28, 25, .16); }
  .gl-step__badge { width: 40px; height: 40px; margin-top: -21px; }
  .gl-step__icon { width: 17px; height: 17px; }
  .gl-step__label { font-size: 12px; }

  .gl-qc { grid-template-columns: 1fr; gap: 0; }
  .gl-qc__row:nth-last-child(-n+2) { border-bottom: none; }
  .gl-qc__row:last-child { border-bottom: 1px solid rgba(245, 242, 234, .2); }
  .gl-qc-images__offset { margin-top: 0; }

  .gl-globe__canvas { height: 300px; }
  .gl-globe__stats { gap: 24px 32px; }

  .gl-form { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .gl-form__wide, .gl-form__submit { grid-column: 1 / 2; }
  .gl-done { padding: 40px 24px; }
  .gl-faq-wrap { padding-top: 56px; }
}
