:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #f7f6f5;
  background: #08080a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --red: #ff3441;
  --page-gutter: clamp(1.5rem, 6.5vw, 7.5rem);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 20rem;
}

::selection { background: #c51b30; color: white; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgb(5 6 8 / 10%) 0%, rgb(5 6 8 / 2%) 56%, transparent 75%), url("assets/GauntletRedBG.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-shell {
  width: min(100%, 120rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.25rem;
}

.technology-menu { position: relative; z-index: 1; }

.technology-menu summary,
.technology-menu a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #655055;
  border-radius: 0.25rem;
  background: #171316;
  color: inherit;
  font-size: 1rem;
}

.technology-menu summary {
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
}

.technology-menu summary::-webkit-details-marker { display: none; }

.technology-menu summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-0.1rem) rotate(45deg);
}

.technology-menu[open] summary::after {
  transform: translateY(0.1rem) rotate(225deg);
}

.technology-menu a {
  position: absolute;
  inset-block-start: calc(100% + 0.375rem);
  inset-inline-end: 0;
  white-space: nowrap;
  text-decoration: none;
}

.technology-menu summary:hover,
.technology-menu a:hover { border-color: var(--red); }

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 7rem) 3.5rem;
}

.hero-content { width: min(100%, 54rem); }

.brand-mark {
  position: relative;
  width: clamp(5.75rem, 8vw, 8rem);
  aspect-ratio: 1079 / 978;
  overflow: hidden;
  margin-bottom: 2.125rem;
}

.brand-mark img {
  position: absolute;
  width: 142.354%;
  max-width: none;
  height: auto;
  left: -11.677%;
  top: -2.761%;
}

h1 { margin: 0; font-weight: 650; }

.brand-name {
  display: block;
  font-size: clamp(3.25rem, 7.1vw, 7.75rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
  white-space: nowrap;
}

.brand-red { color: var(--red); }

.brand-descriptor {
  display: block;
  margin-top: 1.125rem;
  color: #e7e1e1;
  font-size: clamp(1rem, 1.7vw, 1.625rem);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.byline {
  max-width: 35rem;
  margin: 2.375rem 0 0;
  color: #cecbcf;
  font-size: clamp(1.125rem, 1.55vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

.contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 2.375rem;
}

a { -webkit-tap-highlight-color: rgb(255 52 65 / 25%); }

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid #fd3d48;
  border-radius: 0.25rem;
  background: #ca172b;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.contact-button svg { width: 1.25rem; height: 1.25rem; flex: none; }

.contact-button:hover { background: #e02034; border-color: #ff737b; }
.contact-button:active { background: #a91324; }

.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #d1c9cd;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 0.3em;
  transition: color 160ms ease;
}

.email-link:hover { color: white; text-decoration: underline; }

a:focus-visible,
.technology-menu summary:focus-visible { outline: 2px solid white; outline-offset: 5px; border-radius: 0.25rem; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.375rem 1.625rem;
  border-top: 1px solid rgb(235 219 224 / 15%);
  color: #aca2a8;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.domain { letter-spacing: 0.08em; }

@media (min-width: 112rem) {
  .hero-content { margin-left: 1rem; }
}

@media (max-width: 47.99rem) {
  :root { --page-gutter: clamp(1.5rem, 6vw, 3rem); }

  .backdrop {
    background-image: linear-gradient(90deg, rgb(5 6 8 / 60%), rgb(5 6 8 / 30%)), url("assets/GauntletRedBG.webp");
    background-position: 68% center;
  }

  .hero { padding-block: 3.5rem 4rem; }
  .brand-mark { width: 6rem; margin-bottom: 2.25rem; }
  .brand-name { font-size: clamp(2.625rem, 9vw, 4.125rem); }
  .brand-descriptor { margin-top: 0.875rem; font-size: 1rem; letter-spacing: 0.3em; }
  .byline { max-width: 28rem; margin-top: 1.875rem; font-size: 1.125rem; }
  .contact { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 2rem; }
  .contact-button { min-width: 10rem; }
  .site-footer { flex-wrap: wrap; gap: 0.375rem 1.5rem; padding-block: 1.25rem; }
}

@media (max-width: 22rem) {
  .brand-name { font-size: 2.375rem; }
  .brand-descriptor { letter-spacing: 0.24em; }
  .email-link { font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
