/* GLMedia V3: shorter home pages, clearer proof and stronger conversion. */

.hero-content h1 {
  max-width: 1280px;
  font-size: clamp(54px, 5.4vw, 94px);
  line-height: 0.9;
}

.why-glmedia {
  color: #0a0d10;
  background: #f3f1ec;
}

.why-glmedia-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  align-items: end;
  gap: clamp(48px, 7vw, 120px);
  margin-bottom: 72px;
}

.why-glmedia-heading h2,
.home-sectors h2 {
  margin: 0;
  font-size: clamp(50px, 6.5vw, 102px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
}

.why-glmedia-heading h2 em {
  color: #315c15;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.why-glmedia-heading > div:last-child p {
  margin: 0 0 30px;
  color: rgba(10, 13, 16, 0.68);
  font-size: 17px;
  line-height: 1.65;
}

.why-glmedia-heading > div:last-child a {
  display: inline-flex;
  padding-bottom: 8px;
  border-bottom: 1px solid #315c15;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-glmedia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(10, 13, 16, 0.22);
  border-left: 1px solid rgba(10, 13, 16, 0.22);
}

.why-glmedia-grid article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 285px;
  padding: 30px;
  border-right: 1px solid rgba(10, 13, 16, 0.22);
  border-bottom: 1px solid rgba(10, 13, 16, 0.22);
  transition: color 0.25s ease, background 0.25s ease;
}

.why-glmedia-grid article:hover {
  color: #fff;
  background: #0a0d10;
}

.why-glmedia-grid article > span {
  color: #315c15;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.why-glmedia-grid article:hover > span {
  color: #b8ff39;
}

.why-glmedia-grid h3 {
  align-self: end;
  margin: 58px 0 18px;
  font-size: clamp(25px, 2.5vw, 39px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.why-glmedia-grid p {
  max-width: 390px;
  margin: 0;
  color: rgba(10, 13, 16, 0.65);
  font-size: 14px;
  line-height: 1.55;
}

.why-glmedia-grid article:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.home-sectors {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  align-items: end;
  gap: clamp(48px, 8vw, 130px);
  color: #fff;
  background: #102b44;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home-sectors h2 em {
  color: #b8ff39;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.home-sectors ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

.home-sectors li {
  min-height: 58px;
  padding: 21px 12px 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-sectors li::before {
  margin-right: 10px;
  color: #b8ff39;
  content: "+";
}

.selected-work .work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selected-work .work-card,
.selected-work .work-card.work-wide {
  grid-column: auto !important;
  min-height: 430px;
}

.home-special-formats-v3 {
  padding-top: 112px;
  padding-bottom: 118px;
  color: #fff;
  background: #070a0d;
}

.home-special-formats-v3 .section-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.home-special-formats-v3 .section-heading h2,
.home-special-formats-v3 .section-kicker {
  color: #fff;
}

.home-special-formats-v3 .section-heading h2 em {
  color: #b8ff39;
}

.home-special-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.home-special-format-card {
  position: relative;
  display: grid;
  min-height: 590px;
  overflow: hidden;
  color: #fff;
  background: #11161b;
  text-decoration: none;
  isolation: isolate;
}

.home-special-format-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(3, 6, 8, 0.04) 28%, rgba(3, 6, 8, 0.94) 100%);
}

.home-special-format-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-special-format-card:hover img,
.home-special-format-card:focus-visible img {
  transform: scale(1.035);
}

.home-special-format-card > div {
  align-self: end;
  padding: 34px;
}

.home-special-format-card span {
  color: #b8ff39;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-special-format-card h3 {
  margin: 12px 0;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.home-special-format-card p {
  max-width: 440px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.home-special-format-card strong {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-closing-v3 {
  padding: 112px 6vw 130px;
  color: #0a0d10;
  background: #eef0eb;
}

.home-closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(48px, 6vw, 104px);
  max-width: 1500px;
  margin: 0 auto;
}

.home-faq h2 {
  margin: 20px 0 50px;
  font-size: clamp(48px, 5.4vw, 88px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
}

.home-faq h2 em {
  color: #315c15;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.home-faq details {
  border-top: 1px solid rgba(10, 13, 16, 0.22);
  padding: 19px 0;
}

.home-faq details:last-child {
  border-bottom: 1px solid rgba(10, 13, 16, 0.22);
}

.home-faq summary {
  position: relative;
  padding-right: 42px;
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  position: absolute;
  top: -3px;
  right: 8px;
  content: "+";
  color: #315c15;
  font-size: 26px;
}

.home-faq details[open] summary::after {
  content: "−";
}

.home-faq details p {
  max-width: 760px;
  margin: 14px 0 2px;
  color: rgba(10, 13, 16, 0.68);
  font-size: 15px;
  line-height: 1.65;
}

.home-contact-card {
  align-self: start;
  padding: clamp(36px, 5vw, 68px);
  color: #fff;
  background: #070a0d;
  border-top: 5px solid #b8ff39;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.home-contact-card h3 {
  max-width: 680px;
  margin: 20px 0 24px;
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.home-contact-card > p:not(.section-kicker) {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.home-contact-card a:not(.button) {
  color: #b8ff39;
}

.home-contact-card .button {
  width: 100%;
  margin: 0 0 12px;
  cursor: pointer;
}

.home-contact-card .button-ghost {
  border-color: rgba(255, 255, 255, 0.46);
}

.home-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-locations address {
  display: grid;
  gap: 8px;
  margin: 0;
  font-style: normal;
}

.home-locations strong {
  color: #b8ff39;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-locations span,
.home-contact-card small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

.home-contact-card small {
  display: block;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .why-glmedia-heading,
  .home-sectors {
    grid-template-columns: 1fr;
  }

  .why-glmedia-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-special-formats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-special-format-card:last-child {
    grid-column: 1 / -1;
  }

  .home-closing-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-card {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .hero-content h1 {
    font-size: 43px;
  }

  .why-glmedia,
  .home-sectors {
    padding: 84px 22px;
  }

  .why-glmedia-heading {
    gap: 34px;
    margin-bottom: 48px;
  }

  .why-glmedia-heading h2,
  .home-sectors h2 {
    font-size: 44px;
  }

  .why-glmedia-heading > div:last-child p {
    font-size: 15px;
  }

  .why-glmedia-grid {
    grid-template-columns: 1fr;
  }

  .why-glmedia-grid article {
    min-height: 220px;
    padding: 24px 22px;
  }

  .why-glmedia-grid h3 {
    margin-top: 38px;
    font-size: 28px;
  }

  .home-sectors {
    gap: 42px;
  }

  .home-sectors ul {
    grid-template-columns: 1fr;
  }

  .home-special-formats-v3 {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .home-special-formats-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .home-special-format-card,
  .home-special-format-card:last-child {
    grid-column: auto;
    min-height: 470px;
  }

  .home-special-format-card > div {
    padding: 28px 24px;
  }

  .selected-work .work-grid {
    grid-template-columns: 1fr;
  }

  .selected-work .work-card,
  .selected-work .work-card.work-wide {
    min-height: 390px;
  }

  .home-closing-v3 {
    padding: 78px 22px 104px;
  }

  .home-faq h2 {
    margin-bottom: 38px;
    font-size: 46px;
  }

  .home-contact-card {
    padding: 34px 24px;
  }

  .home-locations {
    grid-template-columns: 1fr;
  }
}
