/* Hartham Consulting holding page. Colours and type from hartham-logo-pack/README.md. */
:root {
  --charcoal: #131518;
  --surface: #1B1E23;
  --slate: #4A505A;
  --steel: #9AA1AB;
  --mist: #ECEEF1;
  --orange: #F2A65A;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* The H pattern is a hint: faint in the top-left corner, fading diagonally into plain charcoal. */
  background:
    linear-gradient(135deg, rgba(19, 21, 24, 0.5) 0, rgba(19, 21, 24, 0.9) 260px, var(--charcoal) 480px),
    var(--charcoal) url("../img/pattern.svg") top left / 540px 360px repeat;
  color: var(--mist);
  font: 400 1rem/1.6 var(--body);
}

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--mist); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

/* Holding page card */
.holding {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid #262A31;
  border-top: 6px solid var(--orange);
  border-radius: 4px;
  padding: clamp(32px, 7vw, 56px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.card h1 { margin: 0; line-height: 0; }
.card h1 img { width: 100%; max-width: 360px; height: auto; }

.tagline {
  margin: 36px 0 0;
  font: 700 clamp(1.5rem, 4.5vw, 2rem)/1.2 var(--display);
  letter-spacing: -0.01em;
}

.contact { margin: 28px 0 0; color: var(--steel); }

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.button:hover { background: var(--mist); color: var(--charcoal); }

.email { display: block; margin-top: 12px; font-size: 0.95rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 20px 16px 28px;
  background: var(--charcoal);
  border-top: 1px solid #262A31;
  color: var(--steel);
  font-size: 0.875rem;
}
.site-footer a { color: var(--steel); }
.site-footer a:hover { color: var(--mist); }

/* Text pages: privacy notice, 404 */
.page {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 32px auto;
  padding: 0 16px;
}
.page .card { max-width: none; }
.page .logo img { width: 200px; height: auto; display: block; }
.page h1 { margin: 32px 0 8px; font: 700 2rem/1.2 var(--display); line-height: 1.2; }
.page h2 { margin: 32px 0 8px; font: 700 1.2rem/1.3 var(--display); }
.page p, .page li { color: #C9CDD3; }
.page ul { padding-left: 1.2em; }
.page li + li { margin-top: 8px; }
.page strong { color: var(--mist); }
.muted { color: var(--steel); }
