:root{
  --fg: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.86);
  --radius: 22px;
  --shadow: 0 22px 70px rgba(0,0,0,.18);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: #0c0a09;
  overflow-x: hidden;

  font:16px/1.6 Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  letter-spacing:.2px;
}

.bg-video{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-video video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
}

body.reduced-motion{
  background-image: url("../assets/bg-plaster.jpg");
  background-repeat: repeat;
  background-size: 1400px auto;
  background-position: center;
  background-attachment: fixed;
}

body.reduced-motion .bg-video{
  display: none;
}

.wrap{
  position: relative;
  z-index: 1;
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding: 92px 26px;
  max-width: 1060px;
  margin: 0 auto;
}

.hero{
  position: relative;
  border-radius: var(--radius);
  padding: 30px;
  overflow:hidden;
  color: var(--fg);

  background: rgba(255,255,255,0.00);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow);

  backdrop-filter: blur(1.25px) saturate(1.05);
  -webkit-backdrop-filter: blur(1.25px) saturate(1.05);
}

.media{
  border-radius: calc(var(--radius) - 6px);
  overflow:hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;

  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

#heroVid{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: contrast(1.05) saturate(1.03);
}

/* minimal veil */
.text{
  position: relative;
  max-width: 62ch;
}

.text::before{
  content:"";
  position:absolute;
  inset:-12px -12px -14px -12px;
  border-radius: 16px;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.08));
  opacity: .36;
}

.text > *{ position: relative; z-index: 1; }
.text > * { margin: 0 0 14px; }
.text > *:last-child { margin-bottom: 0; }

.motto{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:baseline;
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
}

.latin{
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255,245,235,.98);
}

.gloss{
  font-size: 13px;
  color: rgba(255,235,220,.78);
  letter-spacing: .01em;
  font-weight: 500;
}

.mission{
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  color: rgba(255,255,255,.90);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
  max-width: 58ch;
}

.cta{
  margin-top: 2px;
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 16px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,245,235,.98);
  text-decoration:none;
  background: rgba(0,0,0,0.10);

  backdrop-filter: blur(1.25px) saturate(1.05);
  -webkit-backdrop-filter: blur(1.25px) saturate(1.05);

  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.14);
  border-color: rgba(255,255,255,0.32);
}

.footer{
  margin-top: 18px;
  color: rgba(60,35,15,.78);
  font-size: 13px;
  padding: 10px 2px;
  text-shadow: 0 1px 0 rgba(255,255,255,.30);
}

@media (max-width: 640px){
  .wrap{ padding: 60px 16px; }
  .hero{ padding: 22px; }
  .media{ margin-bottom: 16px; }
  .text::before{ opacity: .46; }
  .mission{ font-size: 18px; }
}

@media (prefers-reduced-motion: reduce){
  body{
    background-image: url("../assets/bg-plaster.jpg");
    background-repeat: repeat;
    background-size: 1400px auto;
    background-position: center;
    background-attachment: fixed;
  }

  .bg-video{
    display: none;
  }
}
