/* ---------------------------------------------------------------
   The Don't Hold Back Project — base
   Structure only. No design decisions live here yet.
   --------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--dhb-cloud-soft);
  color: var(--dhb-ink);
  font-family: var(--dhb-font-body);
  font-size: var(--dhb-step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--dhb-font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--dhb-space-sm);
  text-wrap: balance;
}

h1 { font-size: var(--dhb-step-4); }
h2 { font-size: var(--dhb-step-3); }
h3 { font-size: var(--dhb-step-2); }

p { margin: 0 0 var(--dhb-space-sm); max-width: var(--dhb-measure); }

a {
  color: var(--dhb-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--dhb-accent);
  outline-offset: 3px;
}

/* --- Skip link ------------------------------------------------- */

.dhb-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dhb-cloud);
  color: var(--dhb-ink);
  padding: var(--dhb-space-xs) var(--dhb-space-sm);
  z-index: 999;
}
.dhb-skip-link:focus {
  left: var(--dhb-space-sm);
  top: var(--dhb-space-sm);
}

/* --- Shell ----------------------------------------------------- */

.dhb-site {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
}

.dhb-main { flex: 1 0 auto; }

.dhb-wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--dhb-space-sm);
}

.dhb-wrap--narrow { max-width: 44rem; }

/* --- Header ---------------------------------------------------- */

.dhb-header {
  padding-block: var(--dhb-space-sm);
}

.dhb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dhb-space-sm);
  flex-wrap: wrap;
}

.dhb-brand {
  font-family: var(--dhb-font-display);
  font-size: var(--dhb-step-1);
  color: var(--dhb-ink);
  text-decoration: none;
}

.dhb-nav ul {
  list-style: none;
  display: flex;
  gap: var(--dhb-space-sm);
  margin: 0;
  padding: 0;
  font-size: var(--dhb-step--1);
}

.dhb-nav a {
  color: var(--dhb-ink-soft);
  text-decoration: none;
}

.dhb-nav a:hover { color: var(--dhb-accent); }

/* --- Footer ---------------------------------------------------- */

.dhb-footer {
  flex-shrink: 0;
  padding-block: var(--dhb-space-lg) var(--dhb-space-md);
  font-size: var(--dhb-step--1);
  color: var(--dhb-ink-faint);
}

.dhb-footer a { color: var(--dhb-ink-soft); }

.dhb-footer__line {
  font-family: var(--dhb-font-display);
  font-size: var(--dhb-step-1);
  color: var(--dhb-ink-soft);
  margin-bottom: var(--dhb-space-sm);
}

/* --- Content --------------------------------------------------- */

.dhb-entry { padding-block: var(--dhb-space-lg); }

.dhb-entry__title { margin-bottom: var(--dhb-space-md); }

/* --- Placeholder regions --------------------------------------
   These mark where real things arrive later. They are visible
   on purpose, so nothing is silently missing.
   --------------------------------------------------------------- */

.dhb-placeholder {
  border: 1px dashed var(--dhb-sky);
  border-radius: var(--dhb-radius);
  padding: var(--dhb-space-md);
  margin-block: var(--dhb-space-md);
  color: var(--dhb-ink-faint);
  font-size: var(--dhb-step--1);
  background: var(--dhb-cloud);
}

.dhb-placeholder strong {
  display: block;
  color: var(--dhb-ink-soft);
  font-weight: 600;
  margin-bottom: var(--dhb-space-xs);
}

/* --- Motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Small screens first-class ---------------------------------- */

@media (max-width: 40rem) {
  :root {
    --dhb-step-4: 2.369rem;
    --dhb-step-3: 1.777rem;
    --dhb-space-lg: 2.5rem;
  }
}
