/* Figtree is the body typeface of the original Shopify theme. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/figtree-400-latin.woff2") format("woff2");
}

:root {
  /* Warm off-white with a touch of beige, never pure white. */
  --color-paper: #faf7f3;
  /* Warm near-black for the email. The logo's own colour is set inside images/atelier-laf-logo.svg. */
  --color-ink: #2a2521;
  --color-ink-soft: #6a615a;
  --color-rule: rgba(42, 37, 33, 0.3);
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
  text-align: center;
}

.logo {
  display: block;
  width: clamp(220px, 36vw, 400px);
  height: auto;
}

.contact {
  color: var(--color-ink-soft);
  font-size: clamp(0.9rem, 2.6vw, 1rem);
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--color-rule);
  text-underline-offset: 0.45em;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.contact:hover,
.contact:focus-visible {
  color: var(--color-ink);
  text-decoration-color: currentColor;
}

.contact:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 0.5em;
}

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