:root {
  --site-text: rgb(50, 50, 50);
  --site-accent: #323232;
  --site-radius: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--site-text);
  line-height: 1.6;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.gradient {
  background: #fff;
}

.skip-to-content-link.visually-hidden:focus {
  position: fixed;
  z-index: 10000;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 2px var(--site-accent);
  color: var(--site-accent);
  font-weight: 700;
  text-decoration: none;
}

/* Mirror index.html logo-only header */
sticky-header.header-wrapper {
  display: block;
}

#shopify-section-header .header--logo-only {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.5rem;
  margin: 0 auto;
  max-width: 120rem;
}

#shopify-section-header .page-width {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

#shopify-section-header .header__heading-link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

#shopify-section-header .header__heading-logo {
  max-width: 64px;
  width: auto !important;
  height: auto !important;
  display: block;
}

#shopify-section-header .header-wrapper {
  border-top: none !important;
  box-shadow: none !important;
  background: #fff;
}

#shopify-section-header.section-header {
  border-top: none !important;
  border-bottom: none !important;
}

#shopify-section-header .header,
#shopify-section-header .header--logo-only {
  border: none !important;
  box-shadow: none !important;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 75ch;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.site-main h1 {
  font-size: 1.75rem;
  margin-top: 0;
  color: var(--site-accent);
}

.site-main h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--site-accent);
}

.site-main h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.site-main section {
  margin-bottom: 1.5rem;
}

.site-main ul {
  padding-left: 1.25rem;
}

.site-main a {
  color: var(--site-accent);
}

.contact-card {
  background: #fafafa;
  border-radius: var(--site-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(50, 50, 50, 0.08);
}

.contact-card p {
  margin: 0.35rem 0;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form label > br {
  line-height: 1.2;
}

.contact-form .contact-form__checkbox {
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 32rem;
  margin-top: 0.2rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(50, 50, 50, 0.25);
  border-radius: 8px;
  font: inherit;
}

.contact-form button[type="submit"] {
  margin-top: 0.2rem;
  padding: 0.75rem 1.5rem;
  background: var(--site-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  opacity: 0.92;
}

#contact-success,
#contact-error {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--site-radius);
}

#contact-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
}

#contact-error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
}

.site-footer {
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
  border-top: 1px solid rgba(50, 50, 50, 0.1);
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem 2.5rem;
  align-items: start;
  justify-items: stretch;
  padding: 0 0.25rem;
}

@media screen and (min-width: 750px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer h2 {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--site-accent);
  text-align: left;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.site-footer__list li {
  margin: 0 0 0.4rem;
  padding: 0;
}

.site-footer a {
  color: var(--site-accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__copy {
  text-align: center;
  margin: 2rem 0 0;
  color: rgba(50, 50, 50, 0.75);
}

.site-footer__contact {
  text-align: left;
}

.site-footer__contact p {
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.site-footer__contact p:last-child {
  margin-bottom: 0;
}
