/* SafetyVoice Consulting, LLC
   Brand Standards v1.0 palette and type. October 3, 2026 layout:
   full-viewport sky hero (the one dark section), white and Ash below.
   No scripts. Motion is CSS only and respects prefers-reduced-motion. */

:root {
  --navy: #254588;
  --deep: #14264C;
  --night: #0B1430;
  --graphite: #6A6E71;
  --ink: #1E2124;
  --ash: #C3C9D1;
  --mist: #F2F4F7;
  --silver: #D5D9DF;
  --white: #FFFFFF;

  --serif: Cambria, Georgia, "Times New Roman", serif;
  --sans: Calibri, "Segoe UI", "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.12; margin: 0 0 0.5em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; letter-spacing: -0.01em; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.hidden { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid;
  grid-template-rows: auto 1fr auto; color: var(--white);
  background: var(--night); overflow: hidden; isolation: isolate;
}
.sky {
  position: absolute; inset: -6% 0 0 0; z-index: -1;
  background: var(--night) url("assets/hero.jpg") 50% 18% / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
  will-change: transform;
}
.sky::after {
  /* keeps the headline legible over any photograph that replaces hero.jpg */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,20,48,.62) 0%, rgba(11,20,48,.08) 32%),
    linear-gradient(0deg, rgba(11,20,48,.92) 0%, rgba(11,20,48,.55) 42%, rgba(11,20,48,.05) 72%);
}
@keyframes drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.08) translateY(-1.5%); } }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white);
  font-family: var(--serif); font-size: 20px; letter-spacing: .01em;
}
.brand img { width: 44px; height: 44px; filter: brightness(0) invert(1); opacity: .95; }
.brand-sub { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; opacity: .8; margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--white); text-decoration: none; font-size: 16px; opacity: .88; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav-cta {
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 9px 18px; opacity: 1 !important;
}
.nav-cta:hover { background: var(--white); color: var(--night) !important; text-decoration: none !important; }

.hero-body {
  align-self: end; padding: 12vh var(--gutter) 6vh; max-width: var(--max); width: 100%;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(46px, 7vw, 96px); font-weight: 400; color: var(--white);
  line-height: .98; letter-spacing: -0.015em; margin: 0 0 28px;
  animation: rise 1.1s .15s cubic-bezier(.2,.7,.2,1) both;
}
.hero .lede {
  font-size: clamp(18px, 1.6vw, 22px); max-width: 34em; opacity: .9; margin-bottom: 34px;
  animation: rise 1.1s .3s cubic-bezier(.2,.7,.2,1) both;
}
.pill {
  display: inline-block; background: var(--white); color: var(--night); text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 999px;
  animation: rise 1.1s .45s cubic-bezier(.2,.7,.2,1) both;
}
.pill:hover { background: var(--mist); color: var(--night); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none; font-size: 13px; letter-spacing: .06em; opacity: .75;
  animation: rise 1.1s .6s cubic-bezier(.2,.7,.2,1) both;
}
.scroll-line { width: 1px; height: 44px; background: rgba(255,255,255,.6); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--white);
  animation: fall 2.2s ease-in-out infinite;
}
@keyframes fall { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.facts {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
  background: rgba(11,20,48,.35); backdrop-filter: blur(6px);
  animation: rise 1.1s .5s cubic-bezier(.2,.7,.2,1) both;
}
.facts li { padding: 20px 22px 22px 0; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid rgba(255,255,255,.18); padding-left: 22px; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.facts span { font-size: 14px; opacity: .78; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Bands ---------- */
.band { padding: clamp(72px, 9vw, 128px) 0; }
.on-ash { background: var(--ash); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { font-size: 19px; color: var(--graphite); }

.intro .statement {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.3; color: var(--navy);
  max-width: 24em; margin-bottom: 36px;
}
.intro p:not(.statement) { font-size: 20px; max-width: 36em; }

/* Services: three columns divided by hairlines, not cards */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--silver); }
.service { padding: 36px 32px 36px 0; }
.service + .service { border-left: 1px solid var(--silver); padding-left: 32px; }
.service h3 { font-size: 24px; font-weight: 400; min-height: 2.3em; }
.service ul { margin: 18px 0 0; padding-left: 18px; }
.service li { margin-bottom: 7px; }
.service .who { color: var(--graphite); font-size: 15px; margin-top: 20px; }

/* Research */
.research-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.research .statement {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--navy);
  max-width: 20em; margin: 0 0 28px;
}
.research .source { color: var(--ink); font-size: 15px; max-width: 34em; }
.findings { display: grid; gap: 0; border-top: 1px solid rgba(30,33,36,.25); }
.finding { padding: 26px 0; border-bottom: 1px solid rgba(30,33,36,.25); display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.finding h3 { font-size: 21px; font-weight: 400; margin: 0; }
.finding p { font-size: 17px; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.creds { border-top: 1px solid var(--silver); padding-top: 24px; }
.creds img { width: 72px; margin-bottom: 20px; }
.creds ul { margin: 0; padding-left: 18px; font-size: 16px; }
.creds li { margin-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact-lines p { margin-bottom: 10px; }
.contact-email { font-size: 20px; }
.form-note { color: var(--ink); font-size: 15px; margin-top: 18px; opacity: .8; }
form { max-width: 520px; }
label { display: block; font-weight: 700; font-size: 15px; margin: 16px 0 6px; }
input, textarea, select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 11px 12px; border: 1px solid var(--silver); border-radius: 3px; background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
textarea { min-height: 140px; resize: vertical; }
.form-actions { margin-top: 18px; }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 16px; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--navy); background: var(--navy); color: var(--white);
}
.btn:hover { background: var(--deep); border-color: var(--deep); }

/* Footer */
.site-footer { border-top: 1px solid var(--silver); padding: 48px 0 56px; color: var(--graphite); font-size: 15px; }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer .fine { font-size: 14px; }
.site-footer img { width: 220px; }
.site-footer p { max-width: none; margin: 0; }
.site-footer p:first-of-type { font-family: var(--serif); font-size: 18px; color: var(--navy); }

/* Access */
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; border: 1px solid var(--navy); z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.hero :focus-visible { outline-color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .sky, .site-header, .hero h1, .hero .lede, .pill, .scroll-cue, .facts, .scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .service-list { grid-template-columns: 1fr; }
  .service { padding: 28px 0; border-bottom: 1px solid var(--silver); }
  .service + .service { border-left: 0; padding-left: 0; }
  .service h3 { min-height: 0; }
  .research-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .finding { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav { gap: 18px; }
  .nav a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
  .hero-body { padding-top: 18vh; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .scroll-cue { display: none; }
  .sky { background-position: 66% 22%; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 14px 0; }
  .facts li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-left: 0; }
}

@media print {
  .hero { min-height: 0; color: var(--ink); background: none; }
  .sky, .scroll-cue, .facts, form, .nav { display: none; }
  .hero h1, .hero .lede, .brand { color: var(--navy); animation: none; }
  .on-ash { background: none; }
  body { font-size: 11pt; color: #000; }
}
