/* HERITWIN placeholder — base layer.
   Everything else is inline on the markup, as authored in the design.
   Scoped to body.heritwin-placeholder so the rest of the install is untouched. */

body.heritwin-placeholder {
  margin: 0;
  background: oklch(0.968 0.006 80);
  color: oklch(0.245 0.012 70);
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.heritwin-placeholder *,
body.heritwin-placeholder *::before,
body.heritwin-placeholder *::after {
  box-sizing: border-box;
}

body.heritwin-placeholder a {
  color: oklch(0.47 0.065 210);
  text-decoration: none;
  text-underline-offset: 3px;
}

body.heritwin-placeholder a:hover {
  color: oklch(0.36 0.075 210);
  text-decoration: underline;
}

body.heritwin-placeholder a:focus-visible {
  outline: 2px solid oklch(0.47 0.065 210);
  outline-offset: 3px;
}

/* The design carries its own section rhythm and page gutter. Elementor's
   container defaults (boxed width, padding, flex gap) would double it up. */
body.heritwin-placeholder .e-con,
body.heritwin-placeholder .e-con-inner,
body.heritwin-placeholder .elementor-widget-wrap {
  max-width: none;
  padding: 0;
  margin: 0;
  --gap: 0px;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
}

body.heritwin-placeholder .elementor-widget,
body.heritwin-placeholder .elementor-widget-html,
body.heritwin-placeholder .elementor-widget-container {
  width: 100%;
  margin: 0;
}

/* Astra colours headings #1e293b by default. The design has no colour on its
   headings at all — they inherit ink from the section they sit in, which is what
   keeps the h3s legible inside the dark footer. Give that inheritance back.
   Anything carrying an inline colour in the design still wins over this. */
body.heritwin-placeholder h1,
body.heritwin-placeholder h2,
body.heritwin-placeholder h3,
body.heritwin-placeholder h4,
body.heritwin-placeholder h5,
body.heritwin-placeholder h6,
body.heritwin-placeholder p,
body.heritwin-placeholder dt,
body.heritwin-placeholder dd,
body.heritwin-placeholder li,
body.heritwin-placeholder figcaption {
  color: inherit;
}

body.heritwin-placeholder img {
  max-width: 100%;
  height: auto;
}

/* Astra's scroll-to-top pill is bright blue and off-palette. */
body.heritwin-placeholder #ast-scroll-top {
  display: none !important;
}

/* Pilot photo credits: muted, monospace, links only underlined on hover. */
body.heritwin-placeholder .hw-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: oklch(0.80 0.010 78);
  text-underline-offset: 2px;
}

body.heritwin-placeholder .hw-credit a:hover {
  color: oklch(0.47 0.065 210);
  text-decoration-color: currentColor;
}

/* Skip link for keyboard users — the page has no theme header to tab past,
   but the nav is five anchors deep before the hero. */
body.heritwin-placeholder .hw-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: oklch(0.245 0.012 70);
  color: oklch(0.93 0.006 80);
  font-size: 13px;
}

body.heritwin-placeholder .hw-skip:focus {
  left: 0;
}

@media print {
  body.heritwin-placeholder nav,
  body.heritwin-placeholder .hw-skip {
    display: none;
  }
}
