/* ==========================================================================
   VRLY Ventures LLC - vrly.io
   Static rebuild. Bootstrap 5.3 plus this file. No other dependencies.
   ========================================================================== */

:root {
  --vrly-accent:      #1a37c1;
  --vrly-accent-dark: #142b98;
  --vrly-dark:        #222222;
  --vrly-ink:         #313131;
  --vrly-muted:       #6b7280;
  --vrly-line:        #e5e7eb;
  --vrly-bg-soft:     #f7f8fa;
  --vrly-header-h:    76px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--vrly-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vrly-accent); text-underline-offset: .16em; }
a:hover { color: var(--vrly-accent-dark); }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; color: var(--vrly-ink); }

.vrly-container { max-width: 1140px; }

/* ---------- skip link ---------- */
.vrly-skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--vrly-accent); color: #fff; padding: .6rem 1rem;
}
.vrly-skip:focus { left: .5rem; top: .5rem; color: #fff; }

/* ---------- header ---------- */
.vrly-header {
  background: #fff;
  border-bottom: 1px solid var(--vrly-line);
  min-height: var(--vrly-header-h);
}
.vrly-logo img { height: 42px; width: auto; display: block; }
.vrly-header .nav-link {
  color: var(--vrly-ink);
  font-size: .95rem;
  font-weight: 500;
  padding: .5rem .9rem;
  position: relative;
}
.vrly-header .nav-link:hover { color: var(--vrly-accent); }
.vrly-header .nav-link.active { color: var(--vrly-accent); }
.vrly-header .nav-link.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem;
  height: 2px; background: var(--vrly-accent);
}
.navbar-toggler { border-color: var(--vrly-line); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(26,55,193,.2); }

/* ---------- hero ---------- */
.vrly-hero {
  position: relative;
  background-color: var(--vrly-dark);
  color: #fff;
  padding: clamp(5rem, 14vw, 9.5rem) 0;
  text-align: center;
  overflow: hidden;
}
/* Drop a photo at images/hero.jpg and it layers in automatically at 35%
   opacity over the dark base, matching the original slider treatment. */
.vrly-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.vrly-hero > * { position: relative; z-index: 1; }
.vrly-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.vrly-hero .vrly-hero-sub {
  font-size: clamp(1.02rem, 2.1vw, 1.3rem);
  max-width: 44rem;
  margin: 0 auto;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* ---------- page header (interior pages) ---------- */
.vrly-page-head {
  background: var(--vrly-bg-soft);
  border-bottom: 1px solid var(--vrly-line);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.vrly-page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }

/* ---------- sections ---------- */
.vrly-section { padding: clamp(3rem, 7vw, 5rem) 0; }
.vrly-section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.vrly-section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); margin-bottom: .85rem; }
.vrly-section-head p { color: var(--vrly-muted); font-size: 1.03rem; margin: 0; }

/* ---------- product cards ---------- */
.vrly-product {
  display: block;
  border: 1px solid var(--vrly-line);
  border-radius: .65rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  height: 100%;
  overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.vrly-product:hover {
  transform: translateY(-3px);
  border-color: var(--vrly-accent);
  box-shadow: 0 10px 30px -14px rgba(16,24,40,.28);
  color: inherit;
}
.vrly-product-media {
  aspect-ratio: 16 / 9;
  background: var(--vrly-bg-soft);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--vrly-line);
}
.vrly-product-media img { max-width: 78%; max-height: 72%; object-fit: contain; }
.vrly-product-body { padding: 1.1rem 1.15rem 1.25rem; }
.vrly-product-body h3 { font-size: 1.08rem; margin: 0 0 .4rem; }
.vrly-product-body p { color: var(--vrly-muted); font-size: .93rem; margin: 0; }

/* ---------- prose (legal + contact) ---------- */
.vrly-prose { max-width: 46rem; }
.vrly-prose h2 { font-size: 1.45rem; margin: 2.25rem 0 .9rem; }
.vrly-prose h2:first-child { margin-top: 0; }
.vrly-prose h3 { font-size: 1.12rem; margin: 1.85rem 0 .6rem; }
.vrly-prose p, .vrly-prose li { line-height: 1.72; }
.vrly-prose p { margin-bottom: 1.05rem; }
.vrly-prose ul { padding-left: 1.3rem; margin-bottom: 1.15rem; }
.vrly-prose li { margin-bottom: .5rem; }

.vrly-contact-block { margin-bottom: 1.75rem; }
.vrly-contact-label {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: var(--vrly-muted); margin-bottom: .35rem;
}
.vrly-contact-block address, .vrly-contact-block p { margin: 0; font-size: 1.05rem; line-height: 1.6; }

/* ---------- footer ---------- */
.vrly-footer {
  background: var(--vrly-dark);
  color: rgba(255,255,255,.72);
  padding: 1.5rem 0;
  font-size: .9rem;
}
.vrly-footer a { color: rgba(255,255,255,.92); text-decoration: none; }
.vrly-footer a:hover { color: #fff; text-decoration: underline; }
.vrly-footer .sep { opacity: .45; padding: 0 .45rem; }

/* ---------- scroll to top ---------- */
#vrly-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1030;
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  background: var(--vrly-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(.4rem);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 6px 20px -6px rgba(16,24,40,.5);
}
#vrly-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#vrly-top:hover { background: var(--vrly-accent-dark); }
#vrly-top svg { width: 1.15rem; height: 1.15rem; }

/* ---------- print ---------- */
@media print {
  .vrly-header, #vrly-top, .vrly-hero::before { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
