@font-face {
  font-family: "Open Sans";
  src: url("assets/shell/open-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/shell/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/shell/poppins-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/shell/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --george-gold: #b4976d;
  --george-dark: #212122;
  --header-height: 80px;
  --content-width: 1440px;
  color-scheme: light;
  font-family: "Open Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-height); }
body { margin: 0; color: #000; background: #fff; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #68491e;
  outline-offset: 3px;
}
.g-header a:focus-visible, .g-header button:focus-visible, .g-header summary:focus-visible,
.g-footer a:focus-visible, .g-quote button:focus-visible { outline-color: #fff; }
.g-header a, .g-categories a, .g-footer a { color: inherit; text-decoration: none; }
.g-header ul, .g-categories ul, .g-footer ul { margin: 0; padding: 0; list-style: none; }
.g-skip {
  position: fixed;
  z-index: 999;
  left: 1rem;
  top: .5rem;
  padding: .6rem .9rem;
  background: white;
  color: black;
  transform: translateY(-160%);
}
.g-skip:focus { transform: none; }

.g-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: var(--george-gold);
  color: white;
}
.g-header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  padding-left: 10%;
  padding-right: 7%;
}
.g-brand { display: block; width: 21%; flex: none; }
.g-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 75px;
  object-fit: contain;
  object-position: left center;
}
.g-nav { margin-left: auto; }
.g-nav-list { display: flex; align-items: center; gap: 14px; }
.g-nav-list > li > a, .g-dropdown > summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: white;
  cursor: pointer;
  font: 600 14px/20px "Open Sans", Arial, sans-serif;
  white-space: nowrap;
}
.g-nav-list > li > a:hover, .g-dropdown[open] > summary {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.g-dropdown { position: relative; }
.g-dropdown > summary { gap: 14px; padding-right: 2px; list-style: none; }
.g-dropdown > summary::-webkit-details-marker { display: none; }
.g-dropdown > summary::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid currentColor;
  border-right: 4.5px solid transparent;
  border-left: 4.5px solid transparent;
  margin-top: 1px;
}
.g-dropdown > ul {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: -15px;
  width: max-content;
  min-width: 175px;
  max-height: min(65vh, 540px);
  overflow-y: auto;
  background: var(--george-gold);
  box-shadow: 0 4px 8px rgb(0 0 0 / .1);
}
.g-dropdown ul a {
  display: block;
  padding: 8px 16px;
  font: 400 15px/1.5 Poppins, sans-serif;
  white-space: nowrap;
}
.g-dropdown ul a:is(:hover,:focus-visible), .g-dropdown ul a[aria-current] {
  color: black;
  background: #fff;
  outline-offset: -2px;
}
.g-contact-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  border-radius: 100px;
  background: white;
  color: var(--george-gold);
  padding: 6px 20px;
  font: 400 .9rem/1 Poppins, sans-serif;
  white-space: nowrap;
}
.g-header .g-contact-button { margin-left: 43px; }
.g-contact-button:hover, .g-contact-button:focus-visible { background: transparent; color: #fff; }
.g-menu-toggle { display: none; }

.g-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 470px;
  padding: 10px;
  background: #434343 url("assets/shell/products-banner.png") left top / auto auto repeat-x;
  color: white;
  text-align: center;
}
.g-banner h1 {
  margin: 0;
  font: 600 48px/1 "Open Sans", Arial, sans-serif;
}
.g-banner p {
  margin: 0 0 14.4px;
  font: 400 16px/1.5 "Open Sans", Arial, sans-serif;
}

.g-categories {
  --visible-categories: 8;
  padding: 50px 0 20px;
  border-bottom: 1px solid #e2e2e2;
  background: white;
}
.g-category-inner {
  position: relative;
  width: min(var(--content-width), calc(100% - 100px));
  margin-inline: auto;
}
.g-rail {
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}
.g-rail::-webkit-scrollbar { display: none; }
.g-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + 10px) / var(--visible-categories) - 10px);
  gap: 10px;
}
.g-track li { min-width: 0; scroll-snap-align: start; }
.g-track a {
  display: flex;
  min-height: 125px;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 10px;
  padding: 10px 0;
  text-align: center;
  font: 500 14px/15px "Open Sans", Arial, sans-serif;
}
.g-track img { display: block; width: 80px; height: 80px; }
.g-track a[aria-current], .g-track a:hover { color: var(--george-gold); }
.g-track a:focus-visible { outline-offset: -3px; }
.g-rail-control {
  display: grid;
  place-items: center;
  position: absolute;
  top: calc(50% - 15px);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translateY(-50%);
}
.g-rail-control img { width: 25px; height: 25px; transition: filter 120ms; }
.g-rail-control:hover img, .g-rail-control:focus-visible img { filter: brightness(.65); }
.g-previous { left: -74.5px; }
.g-next { right: -74.5px; }

.g-quote { margin-top: 50px; padding: 10px 0 20px; background: var(--george-gold); }
.g-quote-inner { width: min(var(--content-width), 100%); margin-inline: auto; }
.g-project-photos { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; padding: 10px; }
.g-project-photos img { display: block; width: 100%; height: auto; }
.g-quote-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 0 40px 0 10px; }
.g-quote-row h2 { color: #f1e0c6; font: 400 20px/1.3 "Open Sans", Arial, sans-serif; margin: 0; }
.g-quote-row .g-contact-button { font: 400 16px/1 "Open Sans", Arial, sans-serif; border-radius: 18px; padding: 9px 29px; }
.g-footer {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
  gap: 40px;
  padding: 5% 13% 2%;
  color: #fafafa;
  background: var(--george-dark);
  font-family: Poppins, sans-serif;
}
.g-footer h2 { margin: 0 0 17px; color: #fcfcfc; font: 500 22px/1.2 Poppins, sans-serif; }
.g-footer-brand { display: block; width: min(334px, 100%); }
.g-footer-brand img { width: 100%; height: auto; display: block; }
.g-footer-directories { display: grid; grid-template-columns: 1fr 2.5fr; gap: 20px; margin-top: 35px; }
.g-footer-directories ul a { display: inline-block; padding-block: 4px; font: 300 14px/1.5 Poppins, sans-serif; }
.g-footer a:hover, .g-footer a[aria-current] { color: var(--george-gold); }
.g-footer-products ul { display: grid; grid-auto-flow: column; grid-template: repeat(6, auto) / repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.g-copyright { margin: 32px 0 0; color: #aaa; font: 300 16px/1.5 Poppins, sans-serif; }
.g-social { display: flex; gap: 7px; }
.g-social a { display: grid; width: 42px; height: 42px; place-items: center; }
.g-social img, .g-contact-list img { filter: invert(1); }
.g-social img { width: 25px; height: 25px; }
.g-social a:hover img { opacity: .7; }
.g-footer-contact h2:nth-of-type(2) { margin-top: 30px; }
.g-contact-list a { display: flex; align-items: baseline; gap: 8px; padding-block: 4px; overflow-wrap: anywhere; font: 500 18px/1.5 "Open Sans",Arial,sans-serif; }
.g-contact-list img { flex: none; width: 16px; height: 16px; align-self: flex-start; margin-top: 6px; }

@media (max-width: 1590px) {
  .g-previous { left: -47px; }
  .g-next { right: -47px; }
}
@media (min-width: 1025px) and (max-width: 1170px) {
  .g-header-inner { padding-left: 4%; padding-right: 4%; }
  .g-header .g-contact-button { margin-left: 20px; }
}
@media (max-width: 1024px) {
  :root { --header-height: 85px; }
  .g-header-inner { padding-inline: 5%; }
  .g-brand { width: 15%; }
  .g-brand img { height: 49px; }
  .g-nav-list { gap: 15px; }
  .g-nav-list > li > a, .g-dropdown > summary { font-size: 9px; }
  .g-dropdown ul a { font-size: 14px; }
  .g-header .g-contact-button { margin-left: 20px; padding: 8px 20px; font-size: 10px; }
  .g-categories { --visible-categories: 2; }
  .g-footer { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; padding: 8% 5%; }
  .g-footer-directories { grid-template-columns: 1fr; }
  .g-contact-list a { font-size: 16px; }
}
@media (max-width: 767px) {
  :root { --header-height: 65px; }
  .g-brand { width: 50%; margin-right: auto; }
  .g-brand img { height: 59px; }
  .g-header .g-contact-button { padding: 5px 15px; margin-left: 7px; }
  .g-menu-toggle {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #467ff7;
  }
  .g-menu-toggle span { width: 18px; height: 2px; background: currentColor; }
  .g-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .g-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .g-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .g-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    background: var(--george-gold);
    border-top: 1px solid rgb(255 255 255 / .45);
  }
  .g-menu-toggle[aria-expanded="true"] + .g-nav { display: block; }
  .g-nav-list { display: block; padding-block: 7px; }
  .g-nav-list > li > a, .g-dropdown > summary { padding-inline: 5%; font-size: 14px; }
  .g-dropdown > ul { position: static; width: auto; max-height: none; box-shadow: none; background: rgb(255 255 255 / .08); }
  .g-dropdown ul a { padding: 10px 9%; }
  .g-categories { --visible-categories: 1; }
  .g-track a { min-height: 125px; }
  .g-banner p { max-width: 100%; }
  .g-project-photos { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .g-quote-row { flex-direction: column; text-align: center; padding: 0 15px; }
  .g-footer { grid-template-columns: 1fr; }
  .g-footer-directories { grid-template-columns: minmax(0,.75fr) minmax(0,1.65fr); gap: 14px; }
  .g-footer h2 { font-size: 19px; }
  .g-footer-products ul { display: block; }
  .g-footer-brand { width: min(270px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .g-rail-control img { transition: none; }
}
