/* Volcano Developments — design system
   Brand: navy #003553, steel #4f7c99, sand/sage neutrals, sunset gold accent
   pulled from the Mt. St. Helens hero photograph. */

/* Self-hosted variable fonts — latin subset, ~70KB for both families.
   swap keeps text visible during load rather than flashing invisible. */
@font-face {
  font-family: "Urbanist";
  src: url("/assets/fonts/Urbanist-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-var.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy:      #003553;
  --navy-deep: #002438;
  --navy-mid:  #082f53;
  --steel:     #4f7c99;
  --sand:      #e8e8de;
  --sand-warm: #c4c3aa;
  --sage:      #a5a37d;
  --gold:      #ec7a3c;
  --gold-lift: #efb14a;
  --paper:     #ffffff;
  --ink:       #16222d;
  --ink-soft:  #47555f;
  --ink-faint: #6f7c87;
  --rule:      #dcdcd2;

  --sans: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shell: 1160px;
  --shadow: 0 1px 2px rgba(0,32,52,.05), 0 18px 44px -22px rgba(0,32,52,.4);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 2px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

h1, h2, h3, h4 { font-family: var(--sans); margin: 0; text-wrap: balance; line-height: 1.13; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.2rem); font-weight: 750; letter-spacing: -.021em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.011em; }
h4 { font-size: 1.02rem; font-weight: 700; }
p  { margin: 0; }

.vd-shell { max-width: var(--shell); margin: 0 auto; padding: 0 1.5rem; }
.vd-eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 750;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.vd-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.vd-skip { position: absolute; left: -9999px; background: var(--gold); color: #21160c; padding: .6rem 1rem; z-index: 100; }
.vd-skip:focus { left: 0; top: 0; }

/* ---------- header ---------- */
.vd-top { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); }
.vd-top .vd-shell { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; flex-wrap: wrap; }
.vd-brand img { height: 40px; width: auto; }
.vd-nav { display: flex; gap: .2rem; margin-left: auto; flex-wrap: wrap; }
.vd-nav a {
  font-family: var(--sans); font-size: .88rem; font-weight: 620;
  color: rgba(255,255,255,.85); text-decoration: none; padding: .5rem .72rem; border-radius: 4px;
}
.vd-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.vd-call {
  font-family: var(--sans); font-weight: 750; font-size: .9rem; background: var(--gold);
  color: #21160c; padding: .6rem 1.05rem; border-radius: 4px; text-decoration: none; white-space: nowrap;
}
.vd-call:hover { background: var(--gold-lift); color: #21160c; }

/* ---------- hero ---------- */
.vd-hero { position: relative; color: #fff; overflow: hidden; }
.vd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,36,56,.94) 0%, rgba(0,36,56,.8) 48%, rgba(0,36,56,.42) 100%),
    linear-gradient(to top, rgba(0,36,56,.8), rgba(0,36,56,0) 60%);
}
.vd-hero-inner {
  position: relative; padding-top: 3.5rem; padding-bottom: 3.75rem;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 3rem; align-items: start;
}
.vd-hero-copy { display: flex; flex-direction: column; gap: 1.1rem; padding-top: .75rem; }
.vd-hero h1 { color: #fff; }
.vd-hero .vd-lede { color: rgba(255,255,255,.9); font-size: 1.14rem; }
.vd-hero-short .vd-hero-inner { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; max-width: 52rem; }
.vd-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--sans); font-size: .88rem; font-weight: 640; margin-top: .2rem; }
.vd-trust span { display: flex; align-items: center; gap: .45rem; }
.tick { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold-lift); }

/* ---------- bands ---------- */
.vd-band { padding: 4rem 0; }
.vd-band-sand { background: var(--sand); }
.vd-band-navy { background: var(--navy); color: #fff; }
.vd-band-navy h2 { color: #fff; }
.vd-band-navy .vd-lede { color: rgba(255,255,255,.86); }
.vd-sec-head { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2.1rem; max-width: 62rem; }

/* ---------- two-path chooser ---------- */
.vd-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.vd-path {
  display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: 1.5rem 1.6rem; transition: transform .18s, box-shadow .18s;
}
.vd-path:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.vd-path p { color: var(--ink-soft); font-size: .96rem; }
.vd-go { font-family: var(--sans); font-weight: 750; font-size: .89rem; color: var(--gold); margin-top: .2rem; }

/* ---------- steps ---------- */
.vd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.vd-step { display: flex; flex-direction: column; gap: .6rem; }
.vd-step-n {
  font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .11em;
  text-transform: uppercase; color: var(--gold); border-top: 3px solid var(--gold); padding-top: .7rem;
}
.vd-step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- cards ---------- */
.vd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vd-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 1.3rem 1.4rem; }
.vd-card h3 { font-size: 1.03rem; margin-bottom: .4rem; }
.vd-card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- comparison ---------- */
.vd-cmp-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.vd-cmp { border-collapse: collapse; width: 100%; min-width: 660px; }
.vd-cmp th {
  font-family: var(--sans); font-size: .84rem; font-weight: 750; text-align: left;
  padding: .95rem 1.1rem; border-bottom: 2px solid var(--rule);
}
.vd-cmp th.us { color: var(--navy); background: rgba(236,122,60,.1); border-bottom-color: var(--gold); }
.vd-cmp td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--rule); font-size: .93rem; color: var(--ink-soft); vertical-align: top; }
.vd-cmp td.us { background: rgba(236,122,60,.055); color: var(--ink); font-weight: 560; }
.vd-cmp td:first-child { font-family: var(--sans); font-weight: 700; color: var(--ink); white-space: nowrap; }
.vd-cmp tr:last-child td { border-bottom: none; }

/* ---------- prose ---------- */
.vd-prose { display: flex; flex-direction: column; gap: 1.15rem; max-width: 68ch; }
.vd-prose p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.75; }
.vd-prose-narrow { max-width: 66ch; }

/* ---------- faq ---------- */
.vd-faq { max-width: 74ch; }
.vd-faq details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.vd-faq summary {
  font-family: var(--sans); font-weight: 700; font-size: 1.03rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.vd-faq summary::-webkit-details-marker { display: none; }
.vd-faq summary::after { content: "+"; color: var(--gold); font-weight: 800; }
.vd-faq details[open] summary::after { content: "\2013"; }
.vd-faq p { margin-top: .65rem; color: var(--ink-soft); font-size: .97rem; }

/* ---------- link grid ---------- */
.vd-linkgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem 1.3rem; }
.vd-linkgrid a {
  padding: .35rem 0; font-size: .94rem; text-decoration: underline;
  text-decoration-color: rgba(79,124,153,.35); text-underline-offset: 3px;
}
.vd-band-navy .vd-linkgrid a { color: rgba(255,255,255,.85); }
.vd-band-navy .vd-linkgrid a:hover { color: var(--gold-lift); }

/* ---------- cta ---------- */
.vd-cta { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; max-width: 56rem; }
.vd-cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .3rem; }
.vd-btn {
  font-family: var(--sans); font-weight: 760; font-size: .98rem; background: var(--gold);
  color: #21160c; padding: .8rem 1.4rem; border-radius: 4px; text-decoration: none; display: inline-block;
}
.vd-btn:hover { background: var(--gold-lift); color: #21160c; }
.vd-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.vd-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- lead form ---------- */
.vd-lead {
  display: flex; flex-direction: column; gap: .8rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 8px;
  padding: 1.6rem; box-shadow: var(--shadow); color: var(--ink); scroll-margin-top: 90px;
}
.vd-hero-form .vd-lead { box-shadow: 0 20px 54px -20px rgba(0,20,32,.8); }
.vd-lead-head { display: flex; flex-direction: column; gap: .15rem; }
.vd-lead-head h3 { font-size: 1.28rem; }
.vd-lead-head p { font-size: .88rem; color: var(--ink-faint); }
.vd-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.vd-field label {
  display: block; font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .28rem;
}
.vd-field input, .vd-field select {
  width: 100%; font-family: var(--body); font-size: .97rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: .62rem .76rem;
}
.vd-field input:focus, .vd-field select:focus { border-color: var(--steel); outline: 2px solid var(--steel); outline-offset: 1px; }
.vd-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.vd-submit {
  font-family: var(--sans); font-size: 1.02rem; font-weight: 780; background: var(--gold);
  color: #21160c; border: 0; border-radius: 4px; padding: .85rem 1rem; cursor: pointer;
}
.vd-submit:hover { background: var(--gold-lift); }
.vd-submit[disabled] { opacity: .6; cursor: progress; }
.vd-note { font-size: .8rem; color: var(--ink-faint); }
.vd-lookup, .vd-result { font-size: .89rem; border-radius: 4px; padding: .6rem .75rem; }
.vd-lookup[hidden], .vd-result:empty { display: none; }
.vd-lookup { background: #e6efe9; color: #24614a; border: 1px solid #bcd8c8; }
.vd-lookup.vd-miss { background: #f7f0dd; color: #7a5a15; border-color: #e3d2a8; }
.vd-result { background: var(--navy); color: #fff; }
.vd-result.vd-err { background: #f4e2de; color: #8f3325; }
.vd-form-block { max-width: 38rem; }

/* ---------- footer ---------- */
.vd-foot { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 3.25rem 0 1.8rem; font-size: .92rem; }
.vd-foot-cols { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem; }
.vd-foot img { height: 38px; width: auto; margin-bottom: .9rem; }
.vd-foot h4 { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: .7rem; }
.vd-foot ul { list-style: none; padding: 0; margin: 0; }
.vd-foot li { margin-bottom: .35rem; }
.vd-foot a { color: rgba(255,255,255,.72); text-decoration: none; }
.vd-foot a:hover { color: var(--gold-lift); }
.vd-foot p { margin-bottom: .7rem; }
.vd-colophon { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.1rem; font-size: .82rem; color: rgba(255,255,255,.55); }

@media (max-width: 980px) {
  .vd-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vd-hero-copy { padding-top: 0; }
  .vd-linkgrid { grid-template-columns: repeat(2, 1fr); }
  .vd-foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .vd-steps, .vd-cards, .vd-paths { grid-template-columns: 1fr; gap: 1.3rem; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .vd-band { padding: 3rem 0; }
  .vd-row { grid-template-columns: 1fr; }
  .vd-nav { margin-left: 0; width: 100%; }
  .vd-top .vd-shell { min-height: 0; padding-top: .6rem; padding-bottom: .6rem; }
  .vd-foot-cols { grid-template-columns: 1fr; }
  .vd-linkgrid { grid-template-columns: 1fr; }
}

/* ---------- icons ---------- */
.vd-ico { width: 26px; height: 26px; color: var(--gold); margin-bottom: .35rem; }
.vd-card .vd-ico { color: var(--steel); }

/* ---------- paths inside the hero ---------- */
.vd-hero .vd-paths { margin-top: 2.4rem; padding-bottom: .5rem; }
.vd-hero .vd-path {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  border-left: 1px solid rgba(255,255,255,.24); border-top: 3px solid var(--gold);
  backdrop-filter: blur(8px); color: #fff;
}
.vd-hero .vd-path:hover { background: rgba(255,255,255,.17); border-color: var(--gold); color: #fff; }
.vd-hero .vd-path p { color: rgba(255,255,255,.84); }
.vd-hero .vd-path .vd-ico { color: var(--gold-lift); }
.vd-hero .vd-go { color: var(--gold-lift); }

/* ---------- long-form article body ---------- */
.vd-article { max-width: 70ch; display: flex; flex-direction: column; gap: 2.1rem; }
.vd-sec { display: flex; flex-direction: column; gap: .85rem; }
.vd-sec h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.vd-sec h3 { font-size: 1.14rem; }
.vd-sec p { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.75; }
.vd-sec ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.vd-sec li { color: var(--ink-soft); font-size: 1rem; }
.vd-sec li::marker { color: var(--gold); }

/* ---------- breadcrumbs ---------- */
.vd-crumbs { background: var(--sand); border-bottom: 1px solid var(--rule); font-size: .84rem; }
.vd-crumbs ol {
  list-style: none; margin: 0; padding: .7rem 0; display: flex; flex-wrap: wrap;
  gap: .15rem .5rem; align-items: center;
}
.vd-crumbs li { display: flex; align-items: center; gap: .5rem; color: var(--ink-faint); }
.vd-crumbs li:not(:last-child)::after { content: "›"; color: var(--sage); }
.vd-crumbs a { color: var(--ink-soft); text-decoration: none; }
.vd-crumbs a:hover { color: var(--gold); text-decoration: underline; }
.vd-crumbs li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- mobile menu (no JS: native disclosure) ---------- */
.vd-menu { display: none; margin-left: auto; position: relative; }
.vd-menu summary {
  list-style: none; cursor: pointer; width: 42px; height: 38px; border-radius: 4px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  align-items: center; border: 1px solid rgba(255,255,255,.3);
}
.vd-menu summary::-webkit-details-marker { display: none; }
.vd-menu summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.vd-menu nav {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 15rem; z-index: 60;
  background: var(--navy); border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  padding: .5rem; display: flex; flex-direction: column;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7);
}
.vd-menu nav a {
  font-family: var(--sans); font-weight: 620; font-size: .95rem; color: rgba(255,255,255,.88);
  text-decoration: none; padding: .6rem .7rem; border-radius: 4px;
}
.vd-menu nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 860px) {
  .vd-nav { display: none; }
  .vd-menu { display: block; }
  .vd-call { margin-left: auto; }
}
