/* VY Studios LLC — vy-studios.com
   Shared stylesheet. No external font or script dependencies. */

:root {
  --white:   #ffffff;
  --surface: #f7f8fa;
  --line:    #e3e7ed;
  --line-2:  #eef1f5;
  --ink:     #101828;
  --body:    #47536b;
  --muted:   #5c6880;
  --brand:   #1a4fd6;
  --brand-d: #143da8;
  --dark:    #0e1526;
  --dark-2:  #1d2740;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 4px 16px -6px rgba(16, 24, 40, 0.14);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(20px, 5vw, 32px);
  --wide: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); text-decoration: underline; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 20;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.brand:hover { text-decoration: none; color: var(--ink); }

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 15px;
}

.site-nav a { color: var(--body); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); color: #fff; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #cfd6e2; color: var(--ink); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- generic section ---------- */

.section { padding: clamp(52px, 7vw, 84px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.section-head { max-width: 720px; margin-bottom: 40px; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}

.section h2 {
  font-size: clamp(25px, 3.3vw, 33px);
  line-height: 1.22;
  margin: 0 0 14px;
}

.h2-sm { font-size: 24px; margin: 0 0 14px; }

.section-head p { margin: 0; font-size: 17px; color: var(--body); }

/* ---------- hero ---------- */

.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 68px); }

.hero h1 {
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.13;
  margin: 0 0 20px;
  max-width: 17em;
}

.hero .lead {
  font-size: clamp(17px, 1.9vw, 19.5px);
  line-height: 1.6;
  max-width: 46em;
  margin: 0;
}

.hero-note {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fact { background: #fff; padding: 20px 22px; }
.fact dt { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 5px; }
.fact dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 16px; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.card h3 { font-size: 17.5px; margin: 0 0 9px; }
.card p { margin: 0; font-size: 15.5px; }
.card p + p { margin-top: 10px; }

.card-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #eaf0fe;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- registry table ---------- */

.registry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  background: #fff;
}

.registry > div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-2);
}
.registry > div:last-child { border-bottom: 0; }
.registry > div:nth-child(odd) { background: #fbfcfd; }

.registry dt { color: var(--muted); font-size: 14.5px; }
.registry dd { margin: 0; color: var(--ink); font-size: 15.5px; }

/* ---------- long-form documents ---------- */

.doc { max-width: 46em; }

.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.18; margin: 0 0 12px; }

.doc-meta {
  font-size: 14.5px;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 30px;
}

.doc h2 { font-size: 21px; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 34px;
}
.toc p { margin: 0 0 10px; font-weight: 600; color: var(--ink); font-size: 15px; }
.toc ol { margin: 0; padding-left: 20px; font-size: 15.5px; }
.toc li { margin-bottom: 5px; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.callout p { margin: 0; font-size: 16px; }
.callout p + p { margin-top: 10px; }

/* ---------- contact block ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.contact-card p { margin: 0; font-size: 16px; color: var(--ink); }
.contact-card .sub { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta {
  background: var(--dark);
  border-radius: 14px;
  padding: clamp(32px, 5vw, 52px);
  color: #c8d2e4;
}
.cta h2 { color: #fff; font-size: clamp(23px, 3vw, 30px); margin: 0 0 12px; }
.cta p { margin: 0; max-width: 44em; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); box-shadow: none; }
.cta .btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark);
  color: #93a1bb;
  padding: 54px 0 30px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--dark-2);
}

.footer-about p { margin: 14px 0 0; font-size: 14.5px; max-width: 30em; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--dark); }

.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #93a1bb; font-size: 14.5px; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #7d8aa6;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .grid-3, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { background: #fff; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .registry > div { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 14px 18px; }
  .site-nav { gap: 18px; font-size: 14.5px; }
  .header-inner { min-height: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
