/* D-DIN Regular and Bold
   Copyright 2017 Datto, Inc. Reserved Font Name D-DIN.
   Licensed under the SIL Open Font License 1.1. See fonts/OFL.txt. */

@font-face {
  font-family: "D-DIN";
  src: url("fonts/D-DIN.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN";
  src: url("fonts/D-DIN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F2F1ED;
  --ink: #181818;
  --muted: #62625E;
  --line: #D4D3CD;
  --hover: #E7E6E0;
  --accent: #FF4D00;
  --pad-x: clamp(1.25rem, 4.5vw, 6rem);
  --pad-y: clamp(0.75rem, 2.6vh, 2.75rem);
  --pad-y: clamp(0.75rem, 2.6svh, 2.75rem);
  --logo-h: clamp(5.25rem, 34vh, 36rem);
  --logo-h: clamp(5.25rem, 34svh, 36rem);
  --mark: 2.2945;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "D-DIN", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.5;
  padding-top: max(var(--pad-y), env(safe-area-inset-top));
  padding-right: max(var(--pad-x), env(safe-area-inset-right));
  padding-bottom: max(var(--pad-y), env(safe-area-inset-bottom));
  padding-left: max(var(--pad-x), env(safe-area-inset-left));
}

h1,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: max(var(--pad-x), env(safe-area-inset-left));
  top: max(var(--pad-y), env(safe-area-inset-top));
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  transform: translateY(-200%);
  z-index: 2;
}

.skip:focus {
  transform: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.plate {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  max-width: 100%;
  margin: 0 0 clamp(0.5rem, 1.5vh, 1rem);
  color: var(--muted);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plate-rule {
  display: block;
  width: clamp(2.5rem, 6vw, 6.5rem);
  height: 1px;
  background: var(--line);
  flex: none;
}

main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

main:focus,
main:focus-visible {
  outline: none;
}

.lockup {
  width: min(92%, calc(var(--logo-h) * var(--mark)));
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 100%;
  margin-bottom: clamp(1rem, 0.55rem + 1.15vw, 1.75rem);
  line-height: 0;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.part {
  transform-box: view-box;
  transform-origin: 0 0;
}

.name {
  max-width: 100%;
  font-weight: 700;
  font-size: min(4.5rem, max(1.875rem, 0.55rem + 1.65vw + 0.45vh), 14.5vw);
  font-size: min(4.5rem, max(1.875rem, 0.55rem + 1.65vw + 0.45svh), 14.5vw);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

@supports (font-size: 1cqi) {
  .lockup {
    container-type: inline-size;
  }

  .name {
    font-size: min(4.5rem, max(1.875rem, 6.2cqi), 14.5vw);
  }
}

.status {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55em;
  max-width: 100%;
  margin-top: clamp(0.625rem, 0.35rem + 0.55vw, 1rem);
  color: var(--muted);
  font-size: min(1.125rem, max(0.875rem, 0.8rem + 0.25vw), 4.6vw);
  font-weight: 400;
  line-height: 1.5;
}

.pip {
  width: 0.4em;
  height: 0.4em;
  margin-top: 0.42em;
  background: var(--accent);
  flex: none;
}

.social-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: clamp(1.25rem, 0.75rem + 1.15vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-wrap:not(:has(.social-btn)) {
  display: none;
}

.sample-note {
  max-width: 100%;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
}

.social-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: max(44px, clamp(2.75rem, 2.2vw, 3.25rem));
  height: max(44px, clamp(2.75rem, 2.2vw, 3.25rem));
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  transition: background-color 150ms linear, color 150ms linear, border-color 150ms linear;
}

.social-btn[aria-disabled="true"] {
  cursor: default;
}

.social-btn svg {
  width: var(--icon-size, 1.15rem);
  height: var(--icon-size, 1.15rem);
  display: block;
  fill: currentColor;
}

.social-btn:hover,
.social-btn:active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.footer {
  width: 100%;
  margin-top: clamp(1.25rem, 3vh, 2.5rem);
  color: var(--muted);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.18em;
}

.footer a:hover {
  color: var(--ink);
  background: var(--hover);
  text-decoration-color: var(--ink);
}

.company {
  width: min(100%, 36rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
  text-align: left;
}

.company-mark {
  display: block;
  width: min(100%, 11rem);
  line-height: 0;
}

.company-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.company h1 {
  font-size: min(3rem, max(1.875rem, 0.8rem + 1.8vw), 12vw);
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.company p,
.company address {
  max-width: 100%;
  font-size: min(1.125rem, max(0.875rem, 0.8rem + 0.3vw));
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.company .quiet {
  color: var(--muted);
}

.company a:not(.social-btn):not(.company-mark) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.18em;
}

.company a:not(.social-btn):not(.company-mark):hover {
  background: var(--hover);
  text-decoration-color: var(--ink);
}

.company .social-wrap {
  align-items: flex-start;
  margin-top: 0.25rem;
}

.company .social {
  justify-content: flex-start;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.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;
}

.is-assembling .part {
  animation-name: assemble;
  animation-duration: var(--dur);
  animation-delay: var(--delay);
  animation-timing-function: var(--ease);
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.is-assembling .reveal {
  animation: reveal-in 250ms cubic-bezier(0.2, 0, 0, 1) 1000ms both;
}

@keyframes assemble {
  from {
    transform: translate(var(--tx), var(--ty));
  }
  to {
    transform: translate(0px, 0px);
  }
}

@keyframes reveal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 40rem), (max-height: 36rem) {
  .plate {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-assembling .part,
  .is-assembling .reveal {
    animation: none;
  }
}

@media (forced-colors: active) {
  .pip {
    background: CanvasText;
  }

  .social-btn {
    border-color: CanvasText;
  }

  .social-btn:hover,
  .social-btn:active {
    background: CanvasText;
    color: Canvas;
    forced-color-adjust: none;
  }
}
