/* Dusty Jacket studio site. Colours and type come from the brand kit (the-low/brand-kit). */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #0f0d0c;
  --tan: #a8743a;
  --bone: #eee8dd;
  --bone-soft: rgb(238 232 221 / 0.62);
  --name: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--night); color: var(--bone); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font: 1rem/1.5 var(--text);
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

p { margin: 0; }

h1 { margin: 0 0 2rem; line-height: 0; }
h1 img, h1 .lockup { width: min(26rem, 82vw); height: auto; }

/* Barlow Condensed Bold, capitals, letter-spaced, as the kit says. */
.line, .soon {
  font-family: var(--name);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.line { font-size: clamp(1rem, 3.6vw, 1.25rem); color: var(--bone); }
/* Tan meets contrast only as large bold type: this label is 20 px bold. */
.soon { margin-top: 3rem; font-size: 1.25rem; color: var(--tan); }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 2rem;
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--bone-soft);
}
footer a {
  display: inline-block;
  padding-block: 0.75rem;
  color: var(--bone-soft);
  text-decoration: underline;
  text-decoration-color: var(--tan);
  text-underline-offset: 0.25em;
}
footer a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 4px; border-radius: 2px; }
.line { text-wrap: balance; }
.keep { white-space: nowrap; }
