/* Scrubwork landing placeholder — scrubwork.com.au
   Values are fixed by the design handoff; see README.md. */

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Variable.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-900: #182a2e; --ink-800: #293b40; --ink-700: #415359; --ink-600: #596d73;
  --blue-600: #006bd9; --blue-700: #0056ad; --blue-200: #bfdbfe;
  --paper: #ffffff; --apricot-50: #fff9eb; --apricot-300: #ffda94;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 24px 32px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--apricot-50) 46%, var(--apricot-300) 100%);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-600); text-decoration: none; transition: color 150ms var(--ease-out); }
a:hover { color: var(--blue-700); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--blue-200); border-radius: 4px; }

header, footer { max-width: 1280px; width: 100%; margin: 0 auto; display: flex; align-items: center; }
header { gap: 10px; }
header .mark { height: 26px; width: 26px; display: block; }
header .wordmark { height: 20px; display: block; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 72px 0;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-600);
}

h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(56px, 11vw, 112px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-700);
  text-wrap: pretty;
}

.contact { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.contact a { font-size: 17px; font-weight: 500; }
.contact .note { font-size: 15px; color: var(--ink-700); }

footer { justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-800); }

/* Entry reveal: 500ms, staggered 60ms. */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
[data-rise] { animation: rise 500ms var(--ease-out) both; }
.eyebrow { animation-delay: 0ms; }
h1       { animation-delay: 60ms; }
.lead    { animation-delay: 120ms; }
.contact { animation-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  [data-rise] { animation: none; }
}
