/* Rosemark Management - static rebuild */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #222;
  color: #eee;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.43;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 100;
  top: 8px; left: 8px; padding: 12px 20px; background: #fff; color: #222;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5em;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 320px;
}

.header-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.header-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.header-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.site-branding {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding-bottom: 2em;
}
.site-branding .wrap { position: relative; }

.logo-link { display: inline-block; }
.logo-link img {
  width: auto;
  max-height: 56px;
  max-width: 220px;
}

.scroll-down {
  position: absolute;
  right: 0.75em;
  bottom: 0.25em;
  width: 32px;
  height: 32px;
  color: #fff;
  opacity: 0.75;
  transition: opacity .2s;
}
.scroll-down:hover, .scroll-down:focus { opacity: 1; }
.scroll-down svg { width: 100%; height: 100%; }

/* ---------- Content ---------- */
.site-content {
  position: relative;
  z-index: 3;
  background: #222;
}

.panel .wrap {
  padding-top: 3.5em;
  padding-bottom: 3em;
}

blockquote {
  margin: 0 0 20px;
  padding: 10px 20px;
  border-left: 5px solid #eee;
  color: #ccc;
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
}
blockquote p { margin: 0; }
blockquote b { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #333;
  margin-top: 1.5em;
  padding: 2.5em 0 3em;
  font-size: 12px;
  line-height: 1.6;
}
.site-footer address { font-style: normal; }
.site-footer p { margin: 0 0 1.75em; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 768px) {
  .wrap { padding: 0 3em; }

  /* Fixed header photo: content scrolls up over it, like the original */
  .header-media { position: fixed; height: 100vh; z-index: 0; }
  .site-branding { padding-bottom: 3em; }

  .logo-link img { max-height: 80px; max-width: 350px; }

  .scroll-down { right: 1em; bottom: 0.5em; }

  .panel .wrap { padding-top: 6em; padding-bottom: 4.5em; }

  blockquote { font-size: 17.5px; }

  .site-footer { padding: 3.5em 0 4em; }
}

@media (min-width: 1200px) {
  .wrap { padding: 0 2em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
