/* GMR site layout fixes, 15 Nov 2026 (task gmr1-site-spacing-audit-who-are-we-button-20261115).
   The site's TSX source is not in this repository, so these rules sit beside the built bundle and are
   hooked in through the gmr-* class names the bundle now carries. Values follow the site's own
   Tailwind scale; no colour, font or copy changes here. */

/* The fixed header is 57px tall on phones and 97px from tablet width up. */
:root { --gmr-nav-h: 57px; }
@media (min-width: 768px) { :root { --gmr-nav-h: 97px; } }

/* Home hero on phones: its text is taller than the screen, so give the Who We Are button room below
   instead of sitting on the hero's bottom edge. From tablet width up the hero centres its text. */
.gmr-hero-content { padding-bottom: 4rem; }
@media (min-width: 768px) { .gmr-hero-content { padding-bottom: 0; } }

/* Inner-page heroes (About, Services, Careers, Contact, each service page) sit under the fixed header:
   centre their title in the part a visitor can see. */
.gmr-page-hero { padding-top: var(--gmr-nav-h); }

/* Pages with no hero image (each job on the Careers page) start below the fixed header, not under it. */
.gmr-below-nav { padding-top: var(--gmr-nav-h); }

/* A section heading block that opens a section: the site's section rhythm, 64px on phones and 96px
   from tablet width up, the same as py-16 md:py-24 on every other section. */
.gmr-section-top { padding-top: 4rem; }
@media (min-width: 768px) { .gmr-section-top { padding-top: 6rem; } }

/* Footer, tablet width up: the middle column's orange rule and details line up with the left
   column's rule and details, whatever the company name's line count. The columns hand their
   children to the footer grid: row 1 the name, row 2 the rules, row 3 the details. */
@media (min-width: 768px) {
  .gmr-footer-grid { grid-template-rows: auto auto 1fr; row-gap: 0; }
  .gmr-footer-col { display: contents; }
  .gmr-footer-heading { grid-column: 1; grid-row: 1; }
  .gmr-footer-rule { grid-row: 2; margin-top: 1.5rem; margin-bottom: 1.5rem; }
  .gmr-footer-list { grid-row: 3; }
  .gmr-footer-col--left .gmr-footer-rule,
  .gmr-footer-col--left .gmr-footer-list { grid-column: 1; }
  .gmr-footer-col--mid .gmr-footer-rule,
  .gmr-footer-col--mid .gmr-footer-list { grid-column: 2; }
  .gmr-footer-logo { grid-column: 3; grid-row: 1 / span 3; }
}
