/* LYNC Repairs holding page. The approved homepage identity (Revision 2): its colours, the
   signature mark and its self-hosted Archivo and JetBrains Mono (SIL Open Font License 1.1, the
   same files as packages/ui/fonts). No scripts, no third parties; one fade-in, none with reduced
   motion. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2');
}

:root {
  --bg: #0a0b0a;
  --paper: #eeefe8;
  --mist: #c8ccc1;
  --fog: #959b90;
  --line: #2a2e29;
  --edge: #5e645b;
  --lime: #c8f03c;
  --display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

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

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--edge);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.3s;
}
a:hover {
  text-decoration-color: var(--lime);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.hold {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 48px) var(--gut) 48px;
  animation: rise 0.9s var(--out) both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sig {
  display: block;
  width: clamp(92px, 16vw, 132px);
  aspect-ratio: 360 / 207;
  background: url(/sig.webp) center / contain no-repeat;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 8px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  color: var(--mist);
}

.place {
  margin: clamp(40px, 8vh, 88px) 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

h1 {
  margin: 14px 0 0;
  max-width: 13ch;
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: clamp(52px, 11vw, 148px);
  line-height: 0.86;
  letter-spacing: -0.005em;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  margin: clamp(36px, 7vh, 72px) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}
.contact dd {
  margin: 8px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.foot {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding: 0 var(--gut) calc(env(safe-area-inset-bottom, 0px) + 24px);
  color: var(--fog);
  font-size: 13px;
  line-height: 1.55;
}
.foot .in {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.foot p {
  margin: 0;
  max-width: 68ch;
}
.foot p + p {
  margin-top: 8px;
}
.foot .copy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

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