/* Haymorr — plain CSS, no framework. Fonts are self-hosted (SIL OFL). */

@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/lato-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-weight: 400 500; font-style: normal; font-display: swap; src: url(fonts/roboto-mono.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/courier-prime-400.woff2) format("woff2"); }

:root {
  --light-grey: #dad6cb;
  --dark-slate-blue: #563857;
  --darker-light-grey: #bfbfbf;
  --light-grey-translucent: #dad6cb33;
}

/* ---- base ---- */
* { box-sizing: border-box; }
html { height: 100%; font-family: sans-serif; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: var(--light-grey);
  background-color: transparent;
}
h1, h2, h3 { margin-bottom: 10px; }
h1 { margin-top: 20px; text-align: center; font-size: 48px; font-weight: 400; line-height: 48px; }
h2 { margin: 0; padding: 0; font-family: "Roboto Mono", sans-serif; font-size: 32px; font-weight: 500; line-height: 32px; }
h3 { margin-top: 20px; font-family: Lato, sans-serif; font-size: 21.5px; font-weight: 400; line-height: 25px; }
p { margin: 0 0 10px; }
a { color: var(--light-grey); font-weight: 500; text-decoration: underline; background-color: transparent; }
a:active, a:hover { outline: 0; }
[hidden] { display: none !important; }

/* 16px icons (mail, phone, external link) */
.icon { flex: none; width: 16px; height: 16px; margin-right: 3px; fill: currentColor; }

/* ---- urgent-support ticker (hidden, as on the live site) ---- */
.alert {
  display: none;
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  height: 25px;
  overflow: hidden;
  color: var(--light-grey);
  background-color: #000;
  font-family: "Roboto Mono", sans-serif;
  font-size: 13px;
  line-height: 13px;
}
.alertdiv { display: flex; align-items: center; height: 100%; animation: marquee 15s linear infinite; }
.alerttext { display: flex; align-items: center; margin: 0 15px; white-space: nowrap; font-weight: 400; text-decoration: none; }
.alerttext.underline:hover { text-decoration: underline; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---- nav ---- */
.nav { position: relative; height: 18vh; background-color: var(--dark-slate-blue); }
.logomenu {
  position: absolute;
  right: 50%;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 50vw;
  max-width: 600px;
  height: 100%;
  padding-left: 20px;
}
.navmenu {
  position: fixed;
  left: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  width: 50vw;
  max-width: 600px;
  height: 18vh;
  padding: 10px 20px;
}
.navlink {
  position: relative;
  display: flex;
  padding: 5px;
  font-family: "Roboto Mono", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 28px;
  text-decoration: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: color .1s;
}
.navlink:hover { color: var(--darker-light-grey); }
.navlink.blocked { align-items: center; color: #dad6cb80; cursor: not-allowed; }
.navlink.logo { padding: 10px; }
.logo { width: 120px; }

/* ---- hero ---- */
.purple { position: relative; width: 100%; min-height: 85vh; color: var(--light-grey); background-color: var(--dark-slate-blue); }
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1600px;
  height: 60vh;
  margin: 0 auto;
}
.heroheader { margin: 0 25px; }
.heroheadertext { font-size: 45px; line-height: 45px; }
.heroheadertext.hidden { display: none; }
#swaptext { text-decoration: underline; }
#swaptext > span { opacity: 0; transition: opacity .05s linear; }
#swaptext > span.on { opacity: 1; transition-duration: .1s; }
.copytext { text-align: center; font-family: Lato, sans-serif; font-size: 16px; line-height: 16px; }
.divider { height: 22vh; }

/* ---- services ---- */
.services {
  display: grid;
  grid-template:
    "servicesheader servicesheader servicesheader servicesheader"
    ". . . ."
    / 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
.heading-4 { grid-area: servicesheader; margin: 0; padding: 20px; }
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  color: #fff;
  border: 2px dashed transparent;
  transition: border-color .1s ease-out, background-color .1s ease-out;
}
.service:hover { border-color: var(--light-grey-translucent); }
.service.yellow { background-image: linear-gradient(57deg, #fcff3f33, #f7ff5633); }
.service.yellow:hover { background-color: #99943d26; }
.service.orange { background-image: linear-gradient(57deg, #ffa23f33, #ffb35633); }
.service.orange:hover { background-color: #9a673e26; }
.service.green { background-image: linear-gradient(57deg, #84ff4733, #56ffa833); }
.service.green:hover { background-color: #5c9a3d26; }
.service.blue { background-image: linear-gradient(57deg, #3f65ff33, #56e9ff33); }
.service.blue:hover { background-color: #636fa633; }
.heading-3 { margin: 0; padding: 7.5% 10% 3.25%; border-bottom: 1px solid var(--light-grey-translucent); }
.paragraph {
  margin-bottom: 0;
  padding: 3.25% 10% 7.5%;
  border-top: 1px solid var(--light-grey-translucent);
  font-family: Lato, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
}

/* ---- footer ---- */
.white { position: relative; width: 100%; color: var(--dark-slate-blue); background-color: #fff; }
.footer {
  display: grid;
  grid-template-rows: auto 2fr;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  gap: 15px 20px;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 20px;
  font-family: "Courier Prime", sans-serif;
  text-transform: uppercase;
}
.section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  color: var(--dark-slate-blue);
  white-space: nowrap;
  text-decoration: none;
}
.section.parent { height: 100%; }
.section.link { flex-direction: row; align-items: center; }
.section.link:hover { text-decoration: underline; }
.sectionheader { flex: 1; }
#contact { grid-column: span 2; justify-self: center; align-items: center; }
.section.year { grid-column: span 2; flex-direction: row; justify-content: center; margin: 0; }

/* ---- breakpoints (same as the Webflow build) ---- */
@media screen and (max-width: 991px) {
  .copytext { font-size: 3.2vw; line-height: 3.5vw; }
  .services {
    grid-template:
      "servicesheader servicesheader"
      ". ."
      ". ."
      ". ."
      / 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .navmenu { position: absolute; }
}
@media screen and (max-width: 479px) {
  .services { grid-template-rows: auto auto auto auto auto; grid-template-columns: 1fr; }
  .heroheadertext.hidden { font-size: 7vw; line-height: 7vw; }
}
