/* HyperPod static site. Palette, fonts, type scale and button style come from
   the Astra theme settings kept in the archived HTML (Common Crawl, 2026-08-17). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #ec4b46;
  --accent-2: #f59d6a;
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.75);
  --bg: #222222;
  --bg-dark: #000000;
  --line: rgba(255, 255, 255, 0.12);
  --wrap: 1200px;
}

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

html { font-size: 93.75%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .h2, .h5, .h6 {
  margin: 0 0 0.6em;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}
h2, .h2 { font-size: 3rem; line-height: 1.3; }
h3 { font-size: 1.8rem; line-height: 1.3; }
.h5 { font-size: 1.2rem; line-height: 1.2; }
.h6 { font-size: 0.9333rem; line-height: 1.25; text-transform: uppercase; letter-spacing: 2px; }

p { margin: 0 0 1em; }
strong { color: var(--white); font-weight: 600; }
a { color: var(--text); }
a:hover, a:focus-visible { color: var(--accent-2); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--white); color: var(--bg-dark);
}
.skip-link:focus { top: 8px; }

/* Button: white outline, uppercase, square corners (Astra button settings). */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  font-size: 0.9333rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.btn:hover, .btn:focus-visible { color: var(--accent); background: var(--white); }

/* Header: transparent, sits over the hero. */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.header-btn { margin: 10px; }
.mobile-menu { display: none; }

/* Sections */
section { padding: 100px 0; }
.hero { padding-top: 160px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.col-text p:last-child { margin-bottom: 0; }

/* Missing pictures: same box size as the original files, see README. */
.img-missing { border: 1px dashed rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.03); }
.img-missing.photo { aspect-ratio: 2560 / 1707; width: 100%; }
.img-missing.logo { aspect-ratio: 768 / 232; width: 100%; }

.services { padding-top: 40px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.card { padding: 40px 30px; background: var(--bg-dark); border-top: 3px solid var(--accent); }
.card .icon { width: 40px; height: 40px; fill: var(--accent); margin-bottom: 24px; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.4em; }
.card .num { color: var(--accent-2); font-weight: 600; font-size: 0.9333rem; letter-spacing: 2px; }
.card p:last-child { margin-bottom: 0; }

.counters { background: var(--bg-dark); padding: 80px 0; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counter-num { margin: 0; color: var(--white); font-size: 3rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.counter-title { margin: 0.4em 0 0; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9333rem; }

.clients .logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }

/* Footer */
.site-footer { background: var(--bg-dark); padding: 80px 0 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.contact { list-style: none; margin: 0; padding: 0; }
.contact li { margin-bottom: 0.4em; }
.copyright { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; }
.copyright p { margin: 0; font-size: 0.9rem; }

@media (max-width: 921px) {
  h2, .h2 { font-size: 2.2rem; }
  .two-col, .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  section { padding: 70px 0; }
  .hero { padding-top: 130px; }
}

@media (max-width: 544px) {
  h2, .h2 { font-size: 1.8rem; }
  .header-btn { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block; width: 22px; height: 2px; background: var(--white); position: relative;
  }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .mobile-menu[open] .menu-icon { background: transparent; }
  .mobile-menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .mobile-menu nav {
    position: absolute; right: 0; top: 48px; min-width: 240px;
    background: var(--bg-dark); border: 1px solid var(--line);
  }
  .mobile-menu ul { list-style: none; margin: 0; padding: 8px 0; }
  .mobile-menu a { display: block; padding: 12px 20px; color: var(--white); text-decoration: none; }
  .cards { grid-template-columns: 1fr; }
  .clients .logos { grid-template-columns: 1fr; }
  .counter-num { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
