/* Layout foundations for the home page and company story. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 10001; background: #fff; padding: .75rem; }
.skip:focus { top: .6rem; }
.hero { display: grid; }
.label { font-weight: 500; letter-spacing: .075em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  min-height: 52px;
  padding: .8rem 1.45rem;
  background: var(--blue);
  color: #fff;
  font: 600 1rem/1.4 var(--display);
}
.button.white { background: #fff; color: var(--link); }
.button span { font-size: 1.3rem; line-height: 1; }
.button:hover { box-shadow: 0 2px 8px #15224324; }
.work-heading { display: flex; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 1.5rem 3rem; background: var(--blue); color: white; }
.contact > .label { grid-column: 1/-1; }
.contact em { font-style: normal; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.phone { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .25em; }
.mobile-contact { display: none; }
@media (min-width: 1600px) {
  main { max-width: 1800px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .mobile-contact {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: #fff;
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-contact a { display: grid; place-items: center; min-height: 56px; padding: .8rem .5rem; text-align: center; font-size: .875rem; font-weight: 600; }
  .mobile-contact a:last-child { background: var(--blue); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
