/* vishaalfoundation.org - tokens from SITE_SPEC.md section 6 */
@font-face { font-family: "Droid Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/droid-serif-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Droid Serif"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/droid-serif-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/lora-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/lora-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/lato-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/lato-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FFFFFF; --text: #333333; --muted: #555555; --accent: #3A79B8;
  --dark: #22241D; --line: #EEEEEE; --line-2: #DDDDDD; --field: #CCCCCC;
  --serif: "Droid Serif", Georgia, serif; --body: "Lora", Georgia, serif; --ui: "Lato", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #FFFFFF; --text: #333333; }
}
:root[data-theme="dark"] { --bg: #FFFFFF; --text: #333333; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); color: var(--dark); line-height: 1.25; }
h1 { font-size: 34px; font-weight: 700; margin: 0.4em 0 0.5em; }
h2 { font-size: 25px; font-weight: 700; margin: 1.6em 0 0.5em; }
h3 { font-size: 20px; font-weight: 700; margin: 1.3em 0 0.4em; }
p { margin: 0 0 1em; }
.vf-skip { position: absolute; left: -999px; }
.vf-skip:focus { left: 16px; top: 8px; background: #fff; padding: 6px 10px; z-index: 9; }

.vf-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.vf-prose { max-width: 720px; }
.vf-single { max-width: 760px; }
.vf-wide-text { max-width: 760px; margin: 2.2em auto 0; }

main { display: block; max-width: 1140px; margin: 0 auto; }
.vf-hero { width: 100vw; margin-left: calc(50% - 50vw); }

/* header */
.vf-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.vf-bar { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; }
.vf-logo { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--dark);
  text-decoration: none; }
.vf-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.vf-nav a { font-family: var(--ui); font-size: 15px; color: var(--text); text-decoration: none; }
.vf-nav a.is-active, .vf-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.vf-burger { display: none; font-family: var(--ui); font-size: 15px; background: none;
  border: 1px solid var(--line-2); padding: 6px 12px; color: var(--text); cursor: pointer; }

/* hero */
.vf-hero { position: relative; overflow: hidden; background: var(--dark); color: #FFFFFF; }
.vf-hero-home { height: 400px; }
.vf-hero-compact { height: 260px; }
.vf-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vf-hero::before { content: ""; position: absolute; inset: 0; background: rgba(34, 36, 29, 0.35); }
.vf-hero-text { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 36px; }
.vf-hero-text h1 { color: #FFFFFF; font-size: 38px; margin: 0 0 0.25em; }
.vf-hero-compact .vf-hero-text h1 { font-size: 34px; }
.vf-hero-text p { margin: 0; font-size: 17px; }

/* breadcrumbs */
.vf-crumbs { font-family: var(--ui); font-size: 14px; color: var(--muted); margin: 28px 0 8px; }
.vf-crumbs a { color: var(--muted); }
.vf-crumbs [aria-current] { color: var(--text); }
.vf-sep { margin: 0 4px; }

/* cards */
.vf-cards-wrap { margin: 48px 0 0; }
.vf-section-title { font-size: 22px; margin: 0 0 16px; }
.vf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 24px; }
.vf-card { display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  text-decoration: none; color: var(--text); background: var(--bg); }
.vf-card-img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 0; }
.vf-card-body { display: block; padding: 16px 18px 18px; }
.vf-card-title { display: block; font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.vf-card-text { display: block; font-family: var(--ui); font-size: 14px; color: var(--muted); line-height: 1.5; }
.vf-card-more { display: block; font-family: var(--ui); font-size: 14px; color: var(--accent); margin-top: 10px; }

/* two-column article */
.vf-layout { display: grid; grid-template-columns: minmax(0, 68%) minmax(0, 30%); gap: 32px;
  justify-content: space-between; }
.vf-aside { font-family: var(--ui); font-size: 15px; }
.vf-aside-title { font-family: var(--ui); font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.vf-aside ul { list-style: none; padding: 0; margin: 0 0 24px; }
.vf-aside li { margin-bottom: 8px; }
.vf-toc, .vf-related { border: 1px solid var(--line); padding: 16px 18px; }

/* service pages and form */
.vf-service h1 { margin-top: 8px; }
.vf-contact-box { max-width: 560px; margin: 24px 0 0; }
.vf-form label { display: block; font-family: var(--ui); font-size: 15px; margin-bottom: 14px; }
.vf-form input, .vf-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  background: #FFFFFF; border: 1px solid var(--field); font: inherit; color: var(--text); }
.vf-btn { display: inline-block; background: var(--accent); color: #FFFFFF; font-family: var(--ui);
  font-size: 15px; padding: 11px 22px; border: 0; text-decoration: none; cursor: pointer; }
.vf-small { font-family: var(--ui); font-size: 14px; color: var(--muted); }

/* footer */
.vf-foot { background: var(--dark); color: #FFFFFF; margin-top: 64px; padding: 48px 0 24px; font-family: var(--ui); font-size: 15px; }
.vf-foot-grid { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.vf-foot a { color: #FFFFFF; }
.vf-foot-logo { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 0 0 8px; }
.vf-foot-links { list-style: none; padding: 0; margin: 0; }
.vf-foot-links li { margin-bottom: 6px; }
.vf-copy { max-width: 1140px; margin: 32px auto 0; padding: 16px 24px 0; border-top: 1px solid #3a3d33; font-size: 13px; }

/* error pages */
.vf-error { text-align: center; padding: 64px 24px 48px; }
.vf-code { font-family: var(--serif); font-size: 72px; font-weight: 700; color: var(--accent); margin: 0; }

/* mobile */
@media (max-width: 960px) {
  .vf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-layout { grid-template-columns: 1fr; }
  .vf-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .vf-burger { display: inline-block; }
  .vf-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 12px 24px; }
  .vf-nav.is-open { display: block; }
  .vf-nav ul { flex-direction: column; gap: 14px; }
  .vf-head { position: relative; }
  .vf-hero-home { height: 380px; }
  .vf-hero-text h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .vf-cards { grid-template-columns: 1fr; }
  .vf-foot-grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  .vf-wrap, .vf-bar, .vf-foot-grid { padding-left: 16px; padding-right: 16px; }
  .vf-hero-text { padding-left: 16px; padding-right: 16px; }
  .vf-code { font-size: 60px; }
}
