/* Advance Ventures site pages (site/ in av-hq-project). Every rule is under .avs or body.avs-page,
   so pages not built by this project look exactly as before. Colors and fonts follow the existing
   pages: gold #e8a020, white text on dark glass over the sunrise, Barlow Condensed + Lato. */

@font-face { font-family: "AV Script"; font-display: swap;
  src: url("/wp-content/uploads/fonts/September-Spirit-Alt.otf") format("opentype"); }

/* The sunrise: phones ignore or zoom "fixed" page backgrounds (iOS), and a scrolling one stretches over
   the whole long page into a blur. So on phones the photo sits in a fixed layer the size of the screen. */
@media (max-width: 800px) {
  body.avs-page, body.avs-live { background-image: none !important; background-color: #3a2416; }
  body.avs-page::before, body.avs-live::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: url("/wp-content/uploads/2024/12/IMG_6433-1024x768.jpg") center 35% / cover no-repeat; }
}

.is-layout-constrained > .avs, .avs { max-width: 1120px !important; margin: 0 auto !important; padding: 0 16px 48px; box-sizing: border-box; }
.avs *, .avs *::before, .avs *::after { box-sizing: border-box; }
.avs { font-family: "Lato", system-ui, sans-serif; color: #fff; font-size: 19px; line-height: 1.65; }
.avs p { margin: 0 0 1em; color: rgba(255,255,255,.9); font-weight: 400; }
.avs strong { color: #fff; font-weight: 700; }
.avs a { color: #f3b847; }
.avs h1, .avs h2, .avs h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; color: #fff; text-transform: uppercase;
  letter-spacing: .03em; line-height: 1.08; margin: 0 0 .45em; font-weight: 800; }
.avs h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.avs h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.avs h3 { font-size: clamp(1.4rem, 3.6vw, 1.75rem); font-weight: 700; }
.avs .avs-eyebrow { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #e8a020; font-size: 1.05rem; margin: 0 0 .3em; }
.avs .avs-lead { font-size: 1.2em; color: #fff; }

/* Hero: tagline in the Advance Ventures script */
.avs-hero { text-align: center; padding: 28px 0 32px; }
.avs h1.avs-tagline, .avs-tagline { font-family: "AV Script", "Lato", cursive; font-size: clamp(2.7rem, 10.5vw, 4.6rem); line-height: 1.25; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.45); margin: 0 0 .35em; font-weight: 400; text-transform: none; letter-spacing: 0; }
.avs-hero p { font-size: 1.25em; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.55); max-width: 760px; margin: 0 auto 1.2em; }

/* "Horizon glass": no edges or stripes. Dark glass that warms toward the bottom like the sea at sunset,
   a faint sun glow in the top right, and corners rounded on one diagonal only (top left, bottom right). */
.avs-panel, .avs-card, .avs-formbox {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,168,64,.20) 0%, rgba(255,168,64,0) 55%),
    linear-gradient(172deg, rgba(14,24,36,.80) 0%, rgba(12,20,30,.74) 55%, rgba(52,28,12,.66) 100%);
  border: 0; border-radius: 30px 6px 30px 6px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.avs-panel { padding: 34px 38px; margin: 0 0 26px; }
.avs-panel > :last-child { margin-bottom: 0; }

.avs-quote { font-style: italic; font-weight: 700; color: #fff; margin: 1.4em 0 1.2em; font-size: 1.12em; position: relative; padding-left: 46px; }
.avs-quote::before { content: "\201C"; position: absolute; left: -2px; top: -.32em; font-family: Georgia, serif; font-style: normal;
  font-size: 3.6em; line-height: 1; color: #e8a020; }

/* Topic pills */
.avs-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 1.4em; padding: 0; list-style: none; }
.avs-pills li { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22); border-radius: 100px; padding: 4px 14px;
  font-size: .82em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.9); }

/* Buttons */
.avs-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 0; }
.avs-hero .avs-btns { justify-content: center; }
.avs .avs-btn, .avs-head .avs-btn { display: inline-block; background: #e8a020; color: #14140f; font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; padding: 13px 26px; border-radius: 8px; text-decoration: none;
  border: 2px solid #e8a020; min-height: 48px; }
.avs .avs-btn:hover, .avs .avs-btn:focus, .avs-head .avs-btn:hover, .avs-head .avs-btn:focus { background: #f3b847; border-color: #f3b847; }
.avs .avs-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.avs .avs-btn.ghost:hover, .avs .avs-btn.ghost:focus { border-color: #e8a020; color: #e8a020; }
.avs .avs-more { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #e8a020;
  text-decoration: none; border-bottom: 2px solid #e8a020; }
.avs .avs-more::after { content: " \2192"; }

/* Cards in a grid: 2 or 3 across on computers, one per row on phones */
.avs-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin: 0 0 24px; }
.avs-card { padding: 28px 28px 26px; display: flex; flex-direction: column; border-radius: 26px 6px 26px 6px; }
.avs-card h2, .avs-card h3 { margin-bottom: .3em; }
.avs-card p { flex: 0 0 auto; }
.avs-card .avs-btns, .avs-card .avs-push { margin-top: auto; padding-top: .6em; }
.avs-card .avs-sub { color: #e8a020; font-weight: 700; font-size: .95em; margin-bottom: .5em; }

/* Facts list inside comparison cards */
.avs-facts { margin: 0 0 1em; padding: 0; list-style: none; }
.avs-facts li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.14); }
.avs-facts b { display: block; font-size: .78em; letter-spacing: .1em; text-transform: uppercase; color: #e8a020; }

/* Ticks and steps */
.avs-ticks { margin: 0 0 1em; padding: 0; list-style: none; }
.avs-ticks li { padding-left: 30px; position: relative; margin: 0 0 .55em; }
.avs-ticks li::before { content: "\2713"; position: absolute; left: 2px; top: 0; color: #e8a020; font-weight: 700; }
.avs-steps { counter-reset: s; list-style: none; margin: 0 0 1em; padding: 0; }
.avs-steps li { counter-increment: s; position: relative; padding: 0 0 0 52px; margin: 0 0 1em; min-height: 38px; }
.avs-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: #e8a020; color: #14140f; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; }

/* Price line */
.avs-price { font-family: "Barlow Condensed", sans-serif; font-size: 1.6rem; font-weight: 700; color: #fff; margin: .2em 0 .6em; }
.avs-price small { font-family: "Lato", sans-serif; font-size: .95rem; font-weight: 400; color: rgba(255,255,255,.8); text-transform: none; }

/* FAQ */
.avs-faq details { border-top: 1px solid rgba(255,255,255,.18); padding: 4px 0; }
.avs-faq details:last-of-type { border-bottom: 1px solid rgba(255,255,255,.18); }
.avs-faq summary { cursor: pointer; list-style: none; font-weight: 700; color: #fff; padding: 14px 36px 14px 0; position: relative; font-size: 1.05em; }
.avs-faq summary::-webkit-details-marker { display: none; }
.avs-faq summary::after { content: "+"; position: absolute; right: 6px; top: 8px; color: #e8a020; font-size: 1.6em; font-weight: 400; }
.avs-faq details[open] summary::after { content: "\2212"; }
.avs-faq details p { margin: 0 0 14px; }

/* Closing call to action */
.avs-cta { text-align: center; }
.avs-cta .avs-btns { justify-content: center; }

/* Phones */
@media (max-width: 600px) {
  .avs { font-size: 17px; padding: 0 10px 36px; }
  .avs-panel { padding: 24px 20px; border-radius: 22px 5px 22px 5px; }
  .avs-card { padding: 24px 20px 22px; border-radius: 22px 5px 22px 5px; }
  .avs-hero { padding: 12px 0 22px; }
  .avs .avs-btn { width: 100%; text-align: center; }
  .avs-grid { gap: 14px; }
}

/* Contact form box (WPForms block below the Contact page text) */
.avs-formbox { max-width: 1088px !important; margin: -24px auto 48px !important; padding: 28px 36px; box-sizing: border-box; }
@media (max-width: 600px) { .avs-formbox { margin: -20px 10px 36px !important; padding: 20px 18px; } }

/* ---------- Header ---------- */
body.avs-page .site-header, body.avs-live .site-header { padding: 0 !important; margin: 0 !important; }
.avs-head { position: sticky; top: 0; z-index: 50; background: rgba(9,15,23,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.6); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
body.admin-bar .avs-head { top: 32px; }
.avs-head-in { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; }
.avs-logo img { display: block; width: 64px; height: 64px; border-radius: 14px 3px 14px 3px; }
.avs-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.avs-top { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.avs-top > li { position: relative; }
.avs-top a { display: block; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .09em; font-weight: 600;
  font-size: 1.05rem; padding: 10px 12px; }
.avs-top a:hover, .avs-top a:focus, .avs-top a[aria-current] { color: #f3b847; }
.avs-top .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.avs-sub { position: absolute; left: 0; top: 100%; min-width: 260px; list-style: none; margin: 0; padding: 10px 0; display: none;
  background: rgba(9,15,23,.95); border-radius: 18px 4px 18px 4px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.7); }
.avs-top > li:hover > .avs-sub, .avs-top > li:focus-within > .avs-sub { display: block; }
.avs-sub a { text-transform: none; letter-spacing: .02em; font-family: "Lato", sans-serif; font-weight: 400; font-size: 1rem; padding: 9px 20px; }
.avs-head .avs-head-cta { font-size: 1rem; padding: 10px 18px; min-height: 0; white-space: nowrap; }
.avs-portal { color: rgba(255,255,255,.75); font-family: "Lato", sans-serif; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.avs-portal:hover { color: #f3b847; }
.avs-menu-btn { display: none; margin-left: auto; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 14px 3px 14px 3px; font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: 1.05rem; padding: 9px 18px; cursor: pointer; }
@media (max-width: 1080px) {
  .avs-head-in { flex-wrap: wrap; padding: 8px 14px; gap: 10px; }
  .avs-logo img { width: 52px; height: 52px; }
  .avs-menu-btn { display: block; }
  .avs-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding: 6px 0 14px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .avs-nav.open { display: flex; }
  .avs-top { flex-direction: column; gap: 0; }
  .avs-top > li { border-top: 1px solid rgba(255,255,255,.1); }
  .avs-top a { padding: 13px 4px; font-size: 1.2rem; }
  .avs-sub { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .avs-top .has-sub > a::after { display: none; }
  .avs-sub a { padding: 8px 4px; font-size: 1.05rem; color: rgba(255,255,255,.85); }
  .avs-head .avs-head-cta { text-align: center; font-size: 1.15rem; padding: 13px; }
  .avs-portal { text-align: center; padding: 6px; }
}

/* ---------- Footer ---------- */
body.avs-page .site-footer, body.avs-live .site-footer { padding: 0 !important; margin: 0 !important; }
.avs-foot { background: rgba(9,15,23,.86); color: rgba(255,255,255,.82); font-family: "Lato", sans-serif; font-size: 16px; line-height: 1.6; }
.avs-foot-in { max-width: 1120px; margin: 0 auto; padding: 40px 20px 16px; display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; }
.avs-foot p { margin: 0 0 .7em; }
.avs-foot-name { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.avs-foot ul { list-style: none; margin: 0; padding: 0; }
.avs-foot li { margin: 0 0 .5em; }
.avs-foot a { color: #fff; text-decoration: none; }
.avs-foot a:hover { color: #f3b847; }
.avs-foot-copy { max-width: 1120px; margin: 0 auto !important; padding: 14px 20px 26px; font-size: .9rem; color: rgba(255,255,255,.6); }
@media (max-width: 700px) { .avs-foot-in { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; } }

/* About: headshot beside the story; above it on phones */
.avs-bio { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.avs-photo { width: 100%; height: auto; display: block; border-radius: 26px 5px 26px 5px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
@media (max-width: 760px) { .avs-bio { grid-template-columns: 1fr; gap: 20px; } .avs-photo { max-width: 260px; margin: 0 auto; } }

/* Legal pages: long reading, so calmer type and numbered sections */
.avs-legal .avs-panel { max-width: 860px; margin-left: auto; margin-right: auto; }
.avs-legal .avs-panel h2 { font-size: clamp(1.35rem, 3.4vw, 1.7rem); margin: 1.5em 0 .45em; color: #f3d9a6; }
.avs-legal .avs-panel h2:first-child { margin-top: 0; }
.avs-legal .avs-panel ul, .avs-legal .avs-panel ol { margin: 0 0 1em; padding-left: 1.3em; }
.avs-legal .avs-panel li { margin: 0 0 .45em; }
.avs-legal .avs-hero p { font-size: 1em; }
.avs-legal .avs-cta .avs-btns { gap: 10px; }

/* ---------- Site 1.2: forum start dates and the Apply form ---------- */
.avs .avs-next { font-size: 1.05em; color: #fff; }
.avs-forum-next strong { color: #f3d9a6; }
.avs-apply .avs-field { margin: 0 0 18px; }
.avs-apply label { display: block; font-weight: 700; color: #fff; margin: 0 0 6px; }
.avs-apply label small { font-weight: 400; color: rgba(255,255,255,.7); }
.avs-apply input:not([type=radio]), .avs-apply select, .avs-apply textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; color: #14140f;
  background: #fff; border: 0; border-radius: 12px 3px 12px 3px; padding: 12px 14px; min-height: 48px; }
.avs-apply textarea { min-height: 110px; }
.avs-apply input:focus, .avs-apply select:focus, .avs-apply textarea:focus { outline: 3px solid #e8a020; outline-offset: 1px; }
.avs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.avs-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.avs-apply .avs-choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; padding: 14px 16px; margin: 0;
  background: rgba(255,255,255,.08); border-radius: 18px 4px 18px 4px; }
.avs-choice:has(input:checked) { background: rgba(232,160,32,.25); }
.avs-choice input { width: 20px; height: 20px; margin-top: 4px; accent-color: #e8a020; flex: 0 0 auto; }
.avs-choice small { color: rgba(255,255,255,.8); font-size: .88em; }
.avs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.avs-apply-note { font-size: .92em; color: rgba(255,255,255,.8); }
.avs-apply-msg { margin: 12px 0 0; color: #f3d9a6; font-weight: 700; min-height: 1.2em; }
@media (max-width: 700px) { .avs-row2, .avs-choices { grid-template-columns: 1fr; } }
