/* DLTA — base stylesheet
   Section and component styling lives inline in the HTML, so it can be edited
   per element without hunting through this file. What stays here: the reset,
   link colours, the hero background image, and the small-screen adjustments
   that have to override inline values. */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: #0A6AB5; }
a:hover { color: #08507F; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1BB589;
  outline-offset: 2px;
}

input:focus, select:focus, textarea:focus { border-color: #0A6AB5; }

/* Anchor targets clear the top of the viewport */
section[id] { scroll-margin-top: 24px; }

/* Hero background — slide 1 cover art */
.dlta-hero {
  background-image: url(assets/cover-bg.png);
  background-size: cover;
  background-position: center right;
  background-color: #0B1A2B;
}

/* ---- Small screens -------------------------------------------------------
   The layout itself reflows on its own: every row is a wrapping flexbox.
   These rules only pull back the type and the horizontal gutters, which are
   set inline and so need !important to be overridden. */

@media (max-width: 900px) {
  h1 { font-size: 36px !important; line-height: 1.14 !important; }
  h2 { font-size: 28px !important; line-height: 1.2 !important; }
  section > div,
  header > div,
  footer > div {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .dlta-hero { background-position: 72% center; }
}

@media (max-width: 560px) {
  h1 { font-size: 30px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 15px !important; }
}

@media print {
  header, footer { background: #FFFFFF !important; }
  a { text-decoration: underline; }
}
