/* Vellmont Digital — static site styles
   No external fonts, frameworks or requests. */

:root {
  --navy: #0f1b2d;
  --navy-2: #17263d;
  --navy-line: #2a3a52;
  --paper: #faf7f0;
  --paper-2: #f2ede2;
  --ink: #0f1b2d;
  --ink-muted: #4a5466;      /* 7.3:1 on --paper */
  --on-dark: #faf7f0;
  --on-dark-muted: #c3cad5;  /* 9.9:1 on --navy */
  --gold: #b8955a;           /* 6.1:1 on --navy; rules + CTA fill only on light */
  --gold-deep: #7d5f2b;      /* 5.5:1 on --paper, for small labels on light */
  --rule: #d9cfbd;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --section-y: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: var(--ink); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* On light backgrounds a navy ring is easier to see than gold */
.section :focus-visible,
.site-footer :focus-visible { outline-color: var(--navy); }

#main:focus { outline: none; }

/* scroll offset for sticky header */
section[id] { scroll-margin-top: 72px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.01em;
  min-height: 44px;
}
.wordmark em { font-style: italic; color: var(--gold); }
.wordmark-mark { width: 26px; height: 26px; fill: var(--gold); flex: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav a.nav-cta {
  color: var(--on-dark);
  border: 1px solid var(--gold);
  margin-left: 8px;
  padding: 0 16px;
}
.site-nav a.nav-cta:hover { background: var(--gold); color: var(--navy); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid #5d6b80;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Labels, buttons ---------- */
.label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.label-on-dark { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: #c9a86f; border-color: #c9a86f; }
.btn-outline-light { color: var(--on-dark); border-color: #5d6b80; }
.btn-outline-light:hover { border-color: var(--on-dark); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}
.text-link::after { content: "\2192"; margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--on-dark);
  padding: 88px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  max-width: 14ch;
  margin-bottom: 26px;
}
.hero .lead {
  font-size: 19px;
  color: var(--on-dark-muted);
  max-width: 58ch;
  margin: 0;
}
.hero-facts {
  margin: 0;
  border-top: 1px solid var(--gold);
}
.hero-facts > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--navy-line);
}
.hero-facts dt {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.2;
  color: var(--on-dark);
}
.hero-facts dd span {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--on-dark-muted);
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section + .section:not(.section-tint) { border-top: 0; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-intro { font-size: 18px; color: var(--ink-muted); margin: 18px 0 0; max-width: 62ch; }

/* Services: numbered editorial list, not cards */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: svc;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}
.service-list li {
  counter-increment: svc;
  padding: 28px 0 28px 64px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.service-list li::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 28px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-deep);
}
.service-list h3 { font-size: 23px; margin-bottom: 10px; }
.service-list p { color: var(--ink-muted); margin: 0; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px;
}
.plan-primary { border-top: 3px solid var(--gold); }
.plan-head { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
.plan-head h3 { font-size: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.optional {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.plan-price { margin: 12px 0 6px; }
.plan-price .amount { font-family: var(--serif); font-size: 52px; line-height: 1; }
.plan-price .unit { color: var(--ink-muted); font-size: 16px; }
.plan-note { color: var(--ink-muted); margin: 0; }
.plan-fine { font-size: 15px; color: var(--ink-muted); margin: 18px 0 0; }
.plan-cta { margin-top: 28px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 0 0 12px 26px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.note-block h3 { font-size: 21px; margin: 0 0 14px; }
.note-block h3 + p { color: var(--ink-muted); }
.note-block p + h3 { margin-top: 28px; }

.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li {
  padding: 0 0 10px 18px;
  position: relative;
  color: var(--ink-muted);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 1px;
  background: var(--gold-deep);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--gold);
}
.timeline li {
  padding: 22px 20px 22px 0;
  border-right: 1px solid var(--rule);
  margin-right: 20px;
}
.timeline li:last-child { border-right: 0; margin-right: 0; }
.timeline .day {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.timeline p { margin: 0; color: var(--ink-muted); font-size: 16px; }

.needs { margin-top: 56px; max-width: 920px; }
.needs h3 { font-size: 21px; margin-bottom: 16px; }
.two-col { columns: 2; column-gap: 48px; }
.two-col li { break-inside: avoid; }

/* Work */
.case { border: 1px solid var(--rule); background: var(--paper); }
.concept-flag {
  margin: 0;
  padding: 16px 24px;
  background: var(--navy);
  color: var(--on-dark);
  font-size: 15px;
  border-left: 4px solid var(--gold);
}
.concept-flag strong { color: var(--gold); }
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 36px;
  align-items: center;
}
.case-copy h3 { font-size: 26px; margin-bottom: 14px; }
.case-copy > p { color: var(--ink-muted); }
.case-copy .plain-list { margin-bottom: 18px; }

/* Simplified drawing of the concept page (decorative) */
.case-frame {
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(15, 27, 45, .45);
  font-family: var(--sans);
}
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: #ece6da; }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cbbfa8; }
.frame-screen { background: #f5f8fa; }
.fs-banner { background: #fff4d6; color: #6b4e00; font-size: 11px; text-align: center; padding: 4px; }
.fs-nav { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 10px 14px; border-bottom: 1px solid #dbe3ea; font-size: 13px; color: #133a60; }
.fs-nav i { font-style: normal; background: #1c4e80; color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.fs-hero { padding: 22px 14px; background: #e2ecf5; }
.fs-hero small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #227553; font-weight: 700; }
.fs-hero strong { display: block; font-size: 18px; line-height: 1.2; color: #1b2530; margin: 6px 0 12px; }
.fs-hero i { font-style: normal; display: inline-block; background: #227553; color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 11px; }
.fs-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; }
.fs-rows span { height: 34px; background: #fff; border: 1px solid #dbe3ea; border-radius: 6px; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 56px;
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--gold); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--gold-deep);
  flex: none;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 20px; max-width: 64ch; }
.faq-answer p { color: var(--ink-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact {
  background: var(--navy);
  color: var(--on-dark);
  padding: 88px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contact h2 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 20px; }
.contact .lead { color: var(--on-dark-muted); font-size: 18px; max-width: 52ch; margin-bottom: 30px; }
.contact-address { margin: 22px 0 0; color: var(--on-dark-muted); }
.contact-address a { color: var(--on-dark); text-decoration-color: var(--gold); }
.contact-include {
  border-top: 1px solid var(--gold);
  padding-top: 22px;
}
.contact-include h3 { font-size: 21px; margin-bottom: 14px; }
.contact-include ol { margin: 0; padding-left: 22px; color: var(--on-dark-muted); }
.contact-include li { padding: 4px 0; }
.contact-include li::marker { color: var(--gold); font-family: var(--serif); }

/* Footer */
.site-footer {
  background: var(--navy-2);
  color: var(--on-dark-muted);
  padding: 32px 0;
  font-size: 15px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
}
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--serif); color: var(--on-dark); font-size: 19px; }
.footer-meta { text-align: right; }
.site-footer a { color: var(--on-dark); text-decoration-color: var(--gold); display: inline-block; padding: 6px 0; }
.site-footer :focus-visible { outline-color: var(--gold); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  :root { --section-y: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
  .hero-facts dd { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--gold); }
  .timeline li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    border-right: 0;
    margin-right: 0;
    padding: 16px 0 16px 24px;
    border-bottom: 1px solid var(--rule);
  }
  .timeline .day { margin: 0; }
  .case-body { grid-template-columns: 1fr; }
  .case-frame { max-width: 520px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Collapsed nav (JS adds .js to <html>; without JS the nav stays visible) ---------- */
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-line);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    max-width: var(--wrap);
    margin: 0 auto;
  }
  .js .site-nav a { width: 100%; padding: 0 4px; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--navy-line); }
  .js .site-nav a.nav-cta { margin: 16px 0 0; justify-content: center; border: 1px solid var(--gold); }
  .site-header .header-inner { position: static; }
  /* no-JS fallback: let the links wrap under the wordmark */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --section-y: 56px; --gutter: 20px; }
  body { font-size: 16px; }
  .hero { padding: 56px 0 64px; }
  .hero .lead { font-size: 17px; }
  .hero-facts { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 36px; }
  .section-intro { font-size: 17px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li { padding-left: 48px; }
  .service-list li::before { font-size: 19px; }
  .service-list h3 { font-size: 21px; }
  .plan { padding: 26px 22px; }
  .plan-price .amount { font-size: 44px; }
  .plan-cta { width: 100%; }
  .pricing-notes { grid-template-columns: 1fr; gap: 36px; }
  .two-col { columns: 1; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 20px; }
  .concept-flag { padding: 14px 18px; }
  .case-body { padding: 24px 20px; gap: 32px; }
  .faq-list summary { font-size: 18px; }
  .contact { padding: 64px 0; }
  .contact .btn { width: 100%; }
  .footer-meta { text-align: left; }
}
