/* GRS only. Loaded solely from GRS design pages. */

html[data-company="grs"] body.design-summit .summit-hero-grid,
html[data-company="grs"] body.design-ironclad .ic-canvas {
  min-height: 70svh;
  height: auto;
}
html[data-company="grs"] body.design-summit .summit-hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-top: clamp(28px, 4vh, 56px);
  padding-bottom: clamp(108px, 14vh, 150px);
}
html[data-company="grs"] body.design-ironclad .ic-canvas {
  height: 70svh;
}
html[data-company="grs"] body.design-ironclad .ic-masthead {
  top: calc(var(--ic-nav-height, 88px) + 28px);
  bottom: 28px;
  transform: none;
  align-items: center;
  align-content: center;
}
html[data-company="grs"] body.design-horizon .hz-hero {
  min-height: 70svh;
}

/* Proof card: rating, stars, seal, and a real quote. */
html[data-company="grs"] .verified-proof {
  max-width: 920px;
  margin: 14px auto 16px;
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: #ffffff;
  color: #272727;
  border: 1px solid #c5d7e8;
  box-shadow: 0 16px 40px #0000002e;
  text-align: left;
}
html[data-company="grs"] body.design-summit .summit-intro .verified-proof {
  background: #ffffff;
  color: #272727;
}
html[data-company="grs"] .grs-proof {
  display: grid;
  grid-template-columns: minmax(200px, 230px) minmax(200px, 230px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
html[data-company="grs"] .grs-score {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #272727;
  color: #fff;
  text-decoration: none;
  overflow: visible;
}
html[data-company="grs"] .grs-score img,
html[data-company="grs"] .hero-trust img,
html[data-company="grs"] .hz-credentials img,
html[data-company="grs"] .ic-facts img,
html[data-company="grs"] .grs-trust-band img {
  width: auto;
  height: 68px;
  max-width: none;
  max-height: none;
  flex: none;
  object-fit: contain;
  background: transparent;
  display: block;
}
html[data-company="grs"] .hero-trust a,
html[data-company="grs"] .hz-credentials .hero-trust > a,
html[data-company="grs"] .ic-facts .hero-trust > a,
html[data-company="grs"] .grs-trust-band a {
  overflow: visible;
  align-items: center;
  height: auto;
}
html[data-company="grs"] .grs-rating-num {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.9;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: #b6d8f5;
}
html[data-company="grs"] .grs-stars {
  display: block;
  color: #b6d8f5;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.2;
}
html[data-company="grs"] .grs-rating-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650;
  color: #f5f7fa;
}
html[data-company="grs"] body.design-summit .summit-intro .verified-proof blockquote,
html[data-company="grs"] body.design-horizon .hz-lead .verified-proof blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #272727;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.35;
  font-weight: 700;
}
html[data-company="grs"] body.design-summit .summit-intro .verified-proof .proof-attribution,
html[data-company="grs"] body.design-summit .summit-intro .verified-proof .proof-attribution a,
html[data-company="grs"] body.design-horizon .hz-lead .verified-proof .proof-attribution,
html[data-company="grs"] body.design-horizon .hz-lead .verified-proof .proof-attribution a {
  color: #4e4e4e;
  font-size: 13px;
  font-weight: 700;
}
html[data-company="grs"] body.design-summit .summit-intro .proof-date,
html[data-company="grs"] body.design-horizon .hz-lead .proof-date,
html[data-company="grs"] body.design-ironclad .ic-proof .proof-date {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Ironclad proof sits in the dark canvas: charcoal glass, blue numerals, white type. */
html[data-company="grs"] body.design-ironclad .ic-masthead {
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
html[data-company="grs"] body.design-horizon .hz-lead .verified-proof,
html[data-company="grs"] body.design-ironclad .ic-proof .verified-proof {
  max-width: none;
  width: 100%;
}
html[data-company="grs"] body.design-horizon .grs-proof,
html[data-company="grs"] body.design-ironclad .grs-proof {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
html[data-company="grs"] body.design-horizon .grs-proof > :last-child,
html[data-company="grs"] body.design-ironclad .grs-proof > :last-child {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 4px;
}
html[data-company="grs"] body.design-horizon .grs-score,
html[data-company="grs"] body.design-ironclad .grs-score,
html[data-company="grs"] body.design-horizon .grs-score > span,
html[data-company="grs"] body.design-ironclad .grs-score > span {
  min-width: 0;
}
html[data-company="grs"] body.design-ironclad .ic-proof .verified-proof {
  background: #181818d6;
  color: #f6f6f6;
  border: 1px solid #0d508c80;
  border-radius: 4px;
  box-shadow: 0 18px 40px #00000066;
  backdrop-filter: blur(12px);
  padding: 16px 16px 14px;
}
html[data-company="grs"] body.design-ironclad .ic-proof .grs-score {
  background: #111111;
  border: 1px solid #0d508c55;
  border-radius: 2px;
}
html[data-company="grs"] body.design-ironclad .ic-proof .grs-rating-num {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  color: #0d508c;
  letter-spacing: 0.01em;
}
html[data-company="grs"] body.design-ironclad .ic-proof .verified-proof blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.35;
  font-weight: 650;
}
html[data-company="grs"] body.design-ironclad .ic-proof .proof-attribution,
html[data-company="grs"] body.design-ironclad .ic-proof .proof-attribution a {
  color: #b6d8f5;
  font-size: 13px;
  font-weight: 700;
}

/* Nothing in the hero smaller than 12px. */
html[data-company="grs"] body.design-summit .summit-kicker,
html[data-company="grs"] body.design-summit .summit-intro .eyebrow,
html[data-company="grs"] body.design-ironclad .ic-kicker,
html[data-company="grs"] body.design-horizon .hz-eyebrow,
html[data-company="grs"] body.design-summit .summit-intro .hero-actions :is(.btn, .button, .hero-link, .text-link),
html[data-company="grs"] body.design-horizon .hz-lead .hero-actions a,
html[data-company="grs"] body.design-ironclad .ic-introduction .hero-actions :is(.btn, .button, .hero-link, .text-link),
html[data-company="grs"] body.design-summit .summit-photo figcaption,
html[data-company="grs"] body.design-horizon .hz-enquiry :is(.eyebrow, p, label, small, button),
html[data-company="grs"] body.design-horizon .hz-materials,
html[data-company="grs"] body.design-horizon .hz-materials :is(span, b, a) {
  font-size: 13px;
}

html[data-company="grs"] .grs-trust-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  margin: 0;
  padding: 22px 6vw;
  background: #1e1e1e;
  color: #f5f7fa;
}
html[data-company="grs"] .grs-trust-band a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.35;
}
html[data-company="grs"] .grs-trust-band img {
  width: auto;
  height: 64px;
}
html[data-company="grs"] .grs-trust-band strong {
  display: block;
  color: #b6d8f5;
  font-size: clamp(18px, 1.6vw, 22px);
}
html[data-company="grs"] .grs-trust-note {
  max-width: 280px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #e1e1e1;
}

/* Type scale for Summit and Ironclad. Horizon keeps its own sizes. */
html[data-company="grs"] body.design-summit .section-heading h2,
html[data-company="grs"] body.design-ironclad .section-heading h2,
html[data-company="grs"] body.design-summit .summit-story h2,
html[data-company="grs"] body.design-ironclad .ic-section h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
}
html[data-company="grs"] body.design-summit .service-card h3,
html[data-company="grs"] body.design-ironclad .service-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}
html[data-company="grs"] body.design-summit .service-card p,
html[data-company="grs"] body.design-ironclad .service-card p,
html[data-company="grs"] body.design-summit .section p,
html[data-company="grs"] body.design-ironclad .section p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.5;
}
html[data-company="grs"] body.design-summit .eyebrow,
html[data-company="grs"] body.design-ironclad .eyebrow {
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.14em;
}
html[data-company="grs"] body.design-summit .hero-trust,
html[data-company="grs"] body.design-ironclad .ic-facts,
html[data-company="grs"] body.design-horizon .hero-trust,
html[data-company="grs"] body.design-horizon .hz-credentials {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.3;
}
html[data-company="grs"] body.design-summit .hero-trust b,
html[data-company="grs"] body.design-ironclad .ic-facts b,
html[data-company="grs"] body.design-horizon .hero-trust b {
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1;
  color: #0d508c;
}
html[data-company="grs"] footer h3,
html[data-company="grs"] footer a,
html[data-company="grs"] footer p {
  font-size: clamp(14px, 1.05vw, 16px);
}
html[data-company="grs"] body.design-summit .summit-intro h1 {
  font-size: clamp(48px, 5vw, 76px);
}
html[data-company="grs"] body.design-ironclad .ic-title h1 {
  font-size: clamp(56px, 6vw, 96px);
}
html[data-company="grs"] body.design-summit .summit-description,
html[data-company="grs"] body.design-ironclad .ic-introduction > p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
}
html[data-company="grs"] .faq-item summary,
html[data-company="grs"] body.design-summit details summary,
html[data-company="grs"] body.design-ironclad details summary {
  font-size: clamp(16px, 1.3vw, 20px);
}

@media (max-height: 860px) and (min-width: 801px) {
  html[data-company="grs"] .verified-proof { padding: 8px 10px; margin-bottom: 8px; }
  html[data-company="grs"] .grs-proof { gap: 10px; }
  html[data-company="grs"] .grs-score { min-height: 76px; padding: 6px 8px; }
  html[data-company="grs"] .grs-score img,
  html[data-company="grs"] .hero-trust img { height: 56px; }
  html[data-company="grs"] .grs-rating-num { font-size: 28px; }
  html[data-company="grs"] body.design-summit .summit-intro .verified-proof blockquote,
  html[data-company="grs"] body.design-ironclad .ic-proof .verified-proof blockquote { font-size: 14px; }
  html[data-company="grs"] body.design-summit .summit-hero-grid {
    padding-top: 12px;
    padding-bottom: 92px;
  }
  html[data-company="grs"] body.design-summit .summit-intro h1 { font-size: 42px; margin-bottom: 8px; }
  html[data-company="grs"] body.design-summit .summit-description { font-size: 13px; margin-bottom: 8px; }
  html[data-company="grs"] body.design-summit .summit-estimate { margin-top: -78px; padding: 12px 18px 10px; }
  html[data-company="grs"] body.design-ironclad .ic-title h1 { font-size: 58px; }
  html[data-company="grs"] body.design-ironclad .ic-introduction > p { display: none; }
  html[data-company="grs"] body.design-ironclad .ic-estimate { padding-block: 10px 8px; }
  html[data-company="grs"] body.design-horizon .hz-lead h1 { font-size: 44px; }
}

@media (max-width: 800px) {
  html[data-company="grs"] body.design-summit .summit-hero-grid,
  html[data-company="grs"] body.design-ironclad .ic-canvas {
    min-height: 70svh;
  }
  html[data-company="grs"] body.design-ironclad .ic-canvas { height: 70svh; }
  html[data-company="grs"] body.design-ironclad .ic-masthead {
    top: auto;
    bottom: 18px;
    transform: none;
  }
  html[data-company="grs"] .grs-proof {
    grid-template-columns: 1fr;
  }
  html[data-company="grs"] .grs-score img { height: 64px; }
  html[data-company="grs"] body.design-summit .summit-hero-grid {
    padding-bottom: 36px;
    align-items: center;
  }
  html[data-company="grs"] body.design-summit .summit-intro h1 { font-size: clamp(40px, 11vw, 52px); }
  html[data-company="grs"] body.design-ironclad .ic-title h1 { font-size: clamp(46px, 12vw, 64px); }
  html[data-company="grs"] .grs-trust-band { padding: 18px 18px 88px; align-items: flex-start; }
}

html[data-company="grs"] body.design-horizon .hz-lead .verified-proof blockquote,
html[data-company="grs"] body.design-ironclad .ic-proof .verified-proof blockquote {
  font-size: 21px;
  line-height: 1.35;
  max-width: none;
}
@media (min-width: 801px) {
  html[data-company="grs"] body.design-ironclad .ic-masthead {
    top: calc(var(--ic-nav-height, 88px) + 28px);
    bottom: 64px;
    transform: none;
    align-items: end;
    align-content: end;
  }
}

html[data-company="grs"] body.design-horizon .hz-hero .hz-widget-label,
html[data-company="grs"] body.design-horizon .hz-hero .hz-enquiry form.quote-form > p:not(.fine),
html[data-company="grs"] body.design-horizon .hz-hero .hz-enquiry form.quote-form small {
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  html[data-company="grs"] body.design-ironclad .ic-masthead {
    top: calc(var(--ic-nav-height, 75px) + 12px);
    bottom: 32px;
    gap: 10px;
    transform: none;
    justify-content: flex-end;
    align-items: stretch;
  }
  html[data-company="grs"] body.design-ironclad .ic-title h1 {
    max-width: none;
    font-size: 40px;
    line-height: 0.98;
  }
  html[data-company="grs"] body.design-ironclad .ic-kicker {
    margin-bottom: 6px;
  }
  html[data-company="grs"] body.design-ironclad .ic-introduction > p {
    display: none;
  }
  html[data-company="grs"] body.design-ironclad .ic-proof {
    padding-top: 6px;
  }
  html[data-company="grs"] body.design-ironclad .ic-proof .verified-proof {
    padding: 10px 10px 8px;
  }
  html[data-company="grs"] body.design-ironclad .grs-score {
    min-height: 0;
    padding: 6px;
    gap: 8px;
  }
  html[data-company="grs"] body.design-ironclad .grs-score img {
    height: 52px;
  }
  html[data-company="grs"] body.design-horizon .grs-score {
    gap: 6px;
    padding: 6px 8px;
    min-height: 0;
  }
  html[data-company="grs"] body.design-horizon .grs-score img {
    height: 48px;
  }
  html[data-company="grs"] body.design-horizon .grs-rating-num {
    font-size: 26px;
  }
}
