/* =========================================================
   Conestoga Advisory Group — site styles
   Brand: Forest #1F3D2E · Cream #F5F1E8 · Charcoal #2B2B2B
          Warm taupe #7A756B · Sage #8C9B87
   Fonts: Playfair Display (headings) · Lato (body)
   ========================================================= */

:root {
  --forest: #1F3D2E;
  --forest-deep: #173026;
  --cream: #F5F1E8;
  --cream-soft: #FBF8F2;
  --charcoal: #2B2B2B;
  --taupe: #7A756B;
  --sage: #8C9B87;
  --sage-soft: #DCE3D8;
  --line: #E4DED1;
  --white: #FFFFFF;
  --up: #2E6B47;
  --down: #A4462F;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(31, 61, 46, .06), 0 8px 24px rgba(31, 61, 46, .08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--forest); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-secondary:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: var(--white); color: var(--forest); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.center { justify-content: center; }
.muted-inline { font-weight: 400; opacity: .75; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .94); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 210px; height: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: var(--charcoal); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:hover { color: var(--forest); }
.site-nav a.btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 18px;
}
.eyebrow-light { color: var(--sage-soft); }
.lead { font-size: 1.2rem; color: #474540; max-width: 36em; }

.hero-card {
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  border-top: 4px solid var(--forest); padding: 24px;
}
.hc-head { display: flex; justify-content: flex-start; gap: 10px; align-items: center; margin-bottom: 16px; padding-right: 64px; }
.hc-label { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); font-weight: 600; }
.hc-tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.hc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hc-kpis div { background: var(--cream-soft); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; }
.hc-kpis .k { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.hc-kpis .v { font-family: var(--serif); font-size: 1.55rem; color: var(--forest); font-weight: 700; line-height: 1.2; }
.hc-kpis .d { font-size: .8rem; }
.up { color: var(--up); } .down { color: var(--down); }
.hc-note { margin-top: 14px; border-left: 3px solid var(--sage); padding: 4px 0 4px 14px; }
.hc-note-title { font-size: .78rem; font-weight: 700; color: var(--forest); text-transform: uppercase; letter-spacing: .08em; }
.hc-note p { margin: 4px 0 0; font-size: .92rem; color: #4a4843; line-height: 1.5; }

.trust-strip {
  list-style: none; margin: 56px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: .92rem; font-weight: 700; color: var(--forest);
}
.trust-strip li { display: flex; align-items: center; gap: 8px; }
.trust-strip li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-green { background: var(--forest); color: var(--cream); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: #4d4b46; }
.subhead { margin-top: 64px; font-size: 1.5rem; }

/* Home 2 */
.question-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.question-grid li {
  font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.4; color: var(--forest);
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.change-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.change-row { display: grid; grid-template-columns: 1fr 1.3fr; }
.change-row span { padding: 16px 22px; border-top: 1px solid var(--line); }
.change-row span:first-child { color: var(--taupe); }
.change-row span:last-child { color: var(--forest); font-weight: 700; background: var(--cream-soft); position: relative; padding-left: 44px; }
.change-row span:last-child::before { content: "\2192"; position: absolute; left: 20px; color: var(--sage); }
.change-head span { border-top: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--taupe) !important; }
.change-head span:last-child { padding-left: 22px; }
.change-head span:last-child::before { content: none; }

/* Home 3 */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.why-copy p { color: #E6E1D5; font-size: 1.08rem; }
.why-copy .who { background: rgba(255,255,255,.07); border-left: 3px solid var(--sage); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.why-copy .who strong { color: var(--white); }
.small-light { font-size: .95rem !important; color: #C9D2C5 !important; }
.compare-card { background: var(--white); border-radius: 14px; padding: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.compare { width: 100%; border-collapse: collapse; color: var(--charcoal); font-size: .97rem; }
.compare th, .compare td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--serif); font-size: 1.05rem; color: var(--forest); font-weight: 600; }
.compare thead th:last-child, .compare td:last-child { background: var(--cream-soft); }
.compare td:last-child { color: var(--forest); font-weight: 700; }
.compare tbody th { font-weight: 700; color: var(--forest); width: 24%; }
.compare td:nth-child(2) { color: var(--taupe); }

.why-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.approach { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(4, auto); gap: 0 24px; }
.approach-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; border-radius: 14px; padding: 28px 30px 12px; }
.approach-card h3 { font-size: 1.3rem; margin: 0 0 8px; padding-bottom: 16px; }
.approach-basic { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.approach-basic h3 { color: #C9D2C5 !important; border-bottom: 1px solid rgba(255,255,255,.14); }
.approach-basic p { color: #C9D2C5; }
.approach-cag { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.approach-cag h3 { color: var(--forest) !important; border-bottom: 2px solid var(--sage); }
.approach-cag p { color: var(--forest); font-weight: 700; }
.ap-item { padding: 14px 0; }
.ap-item + .ap-item { border-top: 1px solid rgba(140,155,135,.25); }
.ap-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; }
.ap-item p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.why-foot { margin: 28px 0 0; text-align: center; }

/* Home 4 */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier { background: var(--white); border-radius: 14px; padding: 32px 28px; border: 1px solid var(--line); position: relative; }
.tier h3 { font-size: 1.6rem; margin-bottom: 6px; }
.tier-tag { font-style: italic; color: var(--taupe); min-height: 3.2em; }
.tier dl { margin: 18px 0 0; }
.tier dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--sage); margin-top: 16px; }
.tier dd { margin: 4px 0 0; }
.tier-featured { background: var(--forest); border-color: var(--forest); box-shadow: 0 14px 34px rgba(31,61,46,.28); color: #E6E1D5; }
.tier-featured h3 { color: var(--white); }
.tier-featured .tier-tag { color: #C9D2C5; }
.tier-featured dt { color: #B9C7B4; }
.tier-featured dd { color: var(--white); }
@media (min-width: 981px) { .tier-featured { transform: translateY(-12px); } }
.badge { position: absolute; top: -13px; left: 28px; background: var(--sage); color: var(--forest-deep); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tiers + .btn-row { margin-top: 40px; }
.projects-line { text-align: center; margin: 32px auto 0; max-width: 720px; color: #4d4b46; }
.projects-line a { font-weight: 700; white-space: nowrap; }

/* Home 5 */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sample { margin: 0; }
.sample-img { background: var(--cream); border-radius: 12px; padding: 16px; height: 260px; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); }
.sample-img img { width: auto; max-width: 100%; max-height: 100%; margin: 0 auto; border-radius: 6px; box-shadow: var(--shadow); background: #fff; }
.sample figcaption { padding: 16px 4px 0; color: #4d4b46; font-size: .97rem; }
.sample figcaption strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--forest); margin-bottom: 4px; }
.pill { display: table; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: var(--sage-soft); padding: 2px 8px; border-radius: 999px; margin: 0 0 6px; }
.sample-note { margin-top: 18px; font-size: .85rem; color: var(--taupe); font-style: italic; }

/* Home 6 */
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.headshot { margin: 0; position: sticky; top: 110px; }
.headshot img, .headshot-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.headshot-placeholder {
  display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--sage-soft), var(--sage));
  font-family: var(--serif); font-size: 4.5rem; color: var(--white);
}
.headshot figcaption { margin-top: 16px; display: flex; flex-direction: column; }
.headshot figcaption strong { font-family: var(--serif); font-size: 1.25rem; color: var(--forest); }
.headshot figcaption span { color: var(--taupe); }
.creds { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 700; color: var(--forest); }
.promise { margin: 8px 0 0; padding: 18px 22px; border-left: 4px solid var(--forest); background: var(--white); font-family: var(--serif); font-size: 1.2rem; color: var(--forest); border-radius: 0 10px 10px 0; }

/* Home 7 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding-top: 8px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 64px; right: -12px; height: 1px; background: var(--line); }
.step-n { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--forest); align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; border: 1px solid var(--line); margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: #4d4b46; font-size: .97rem; }
.note-line { margin: 28px 0 0; color: #4d4b46; }
.note-line + .note-line { margin-top: 10px; }
.note-line a { font-weight: 700; }

/* Home 8 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy p { color: #E6E1D5; font-size: 1.08rem; }
.contact-copy .btn { margin-top: 8px; }
.direct { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 6px; color: #C9D2C5; }
.direct a { color: var(--cream); }
.contact-form { background: var(--white); color: var(--charcoal); border-radius: 14px; padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.contact-form h3 { color: var(--forest) !important; }
.contact-form label { display: block; font-size: .85rem; font-weight: 700; color: var(--forest); margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--charcoal);
  border: 1px solid #D6CFBF; border-radius: 8px; padding: 11px 12px; background: var(--cream-soft);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--sage); border-color: var(--sage); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--up); font-weight: 700; }
.form-status.err { color: var(--down); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #C9D2C5; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { background: var(--cream); border-radius: 10px; padding: 10px 14px; width: 170px; }
.footer-tag { margin-top: 14px; font-family: var(--serif); color: var(--cream); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; font-size: .82rem; color: #9FAE9B; }
.footer-legal p { margin: 0; }
.footer-legal p:last-child { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .why-top { grid-template-columns: 1fr; gap: 8px; }
  .hero-grid, .why-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .tiers, .samples { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .tier-tag { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .headshot { position: static; max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--cream-soft); border-bottom: 1px solid var(--line);
    display: none; padding: 12px 24px 24px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 32px; }
  .brand img { width: 170px; }
  .btn-row .btn { width: 100%; }
  .trust-strip { flex-direction: column; margin-top: 40px; }
  .change-row { grid-template-columns: 1fr; }
  .change-row span:first-child { padding-bottom: 4px; }
  .change-row span:last-child { border-top: 0; }
  .change-head { display: none; }
  .compare thead { display: none; }
  .compare tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { display: block; border: 0; padding: 4px 16px; width: auto !important; }
  .compare td:nth-child(2)::before { content: "Traditional: "; font-weight: 700; }
  .compare td:last-child { background: none; }
  .compare td:last-child::before { content: "Conestoga: "; }
  .steps { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; }
  .approach-card { grid-row: auto; grid-template-rows: none; display: block; padding: 22px 20px 8px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* =========================================================
   Historic Lancaster details
   ========================================================= */
:root {
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12'%3E%3Cg stroke='%238C9B87' stroke-width='1.2' fill='none'%3E%3Cline x1='0' y1='6' x2='48' y2='6'/%3E%3Cline x1='72' y1='6' x2='120' y2='6'/%3E%3Cpath d='M60 1 L65 6 L60 11 L55 6 Z' fill='%238C9B87'/%3E%3Ccircle cx='51' cy='6' r='1.4' fill='%238C9B87'/%3E%3Ccircle cx='69' cy='6' r='1.4' fill='%238C9B87'/%3E%3C/g%3E%3C/svg%3E");
}

/* Aged-paper texture on cream areas */
.hero, .section-cream { background-color: var(--cream); background-image: var(--paper); }

/* Engraved ornament under section headlines */
h2.orn::after { content: ""; display: block; width: 120px; height: 12px; margin-top: 18px; background: var(--orn) no-repeat; }
.section-head.center h2.orn::after { margin-left: auto; margin-right: auto; }
.section-green h2.orn::after { opacity: .9; filter: brightness(1.35); }

/* Hero: seal + skyline + street-level trust band */
.hero { padding-bottom: 0; }
.hero-visual { position: relative; }
.seal { position: absolute; width: 128px; height: 128px; right: -52px; top: -58px; z-index: 2; transform: rotate(10deg); filter: drop-shadow(0 4px 10px rgba(31,61,46,.18)); }
.seal-bg { fill: var(--cream); stroke: var(--forest); stroke-width: 2; }
.seal-ring { fill: none; stroke: var(--sage); stroke-width: 1; }
.seal-text { font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: 1px; fill: var(--forest); }
.seal-small { font-family: var(--serif); font-size: 9px; letter-spacing: 2px; fill: var(--taupe); }
.skyline { height: 170px; background-repeat: repeat-x; background-position: center bottom; background-size: auto 100%; }
.skyline-light { background-image: url("../assets/img/skyline-light.svg"); margin-top: 24px; }
.skyline-dark { background-image: url("../assets/img/skyline-dark.svg"); height: 130px; margin: 0 0 40px; }
.trust-band { background: var(--forest); }
.trust-band .trust-strip { margin: 0; padding: 18px 0; border-top: 0; color: var(--cream); }
.trust-band .trust-strip li::before { width: 7px; height: 7px; border-radius: 0; transform: rotate(45deg); background: var(--sage); }

/* Engraved double-rule frames on cards */
.tier { box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--line); }
.tier-featured { box-shadow: inset 0 0 0 6px var(--forest), inset 0 0 0 7px rgba(185,199,180,.45), 0 14px 34px rgba(31,61,46,.28); }
.approach-cag { box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--sage-soft), 0 10px 30px rgba(0,0,0,.18); }
.contact-form { box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--line), 0 10px 30px rgba(0,0,0,.18); }
.headshot img { box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--taupe), var(--shadow); }

/* Question cards read like letterpress quotes */
.question-grid li { background-image: var(--paper); position: relative; padding-top: 34px; }
.question-grid li::before { content: "\201C"; position: absolute; top: 2px; left: 16px; font-size: 2.6rem; line-height: 1; color: var(--sage); font-style: normal; }

/* Roman-numeral steps */
.step-n { font-size: 1.05rem; letter-spacing: .04em; background: var(--cream) var(--paper); box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 4px var(--sage); border: 0; width: 52px; height: 52px; }
.steps li:not(:last-child)::after { top: 33px; left: 70px; border-top: 1px dashed var(--sage); background: none; height: 0; }

/* Footer sits under the dark skyline */
.site-footer { padding-top: 0; overflow: hidden; }

@media (max-width: 980px) {
  .seal { left: auto; right: -10px; bottom: auto; top: -46px; width: 104px; height: 104px; }
}
@media (max-width: 640px) {
  .skyline { height: 110px; }
  .skyline-dark { height: 90px; margin: 0 0 28px; }
  .seal { width: 88px; height: 88px; top: -38px; right: -4px; }
  .trust-band .trust-strip { padding: 20px 0; }
}

/* ===== Brick + quilt variant ===== */
:root {
  --brick: #8E4B3B;
  --brick-soft: #EBDDD3;
  --quilt-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cpolygon points='75.0,75.0 107.4,75.0 130.4,98.0 97.9,97.9' fill='rgba%28245,241,232,.025%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 97.9,97.9 98.0,130.4 75.0,107.4' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 75.0,107.4 52.0,130.4 52.1,97.9' fill='rgba%28245,241,232,.025%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 52.1,97.9 19.6,98.0 42.6,75.0' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 42.6,75.0 19.6,52.0 52.1,52.1' fill='rgba%28245,241,232,.025%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 52.1,52.1 52.0,19.6 75.0,42.6' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 75.0,42.6 98.0,19.6 97.9,52.1' fill='rgba%28245,241,232,.025%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='75.0,75.0 97.9,52.1 130.4,52.0 107.4,75.0' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='0,-9 9,0 0,9 -9,0' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='150,-9 159,0 150,9 141,0' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='0,141 9,150 0,159 -9,150' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3Cpolygon points='150,141 159,150 150,159 141,150' fill='rgba%28142,75,59,.09%29' stroke='rgba%28245,241,232,.045%29' stroke-width='1'/%3E%3C/svg%3E");
  --quilt-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cpolygon points='70.0,70.0 101.8,70.0 124.3,92.5 92.5,92.5' fill='rgba%28140,155,135,.10%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 92.5,92.5 92.5,124.3 70.0,101.8' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 70.0,101.8 47.5,124.3 47.5,92.5' fill='rgba%28140,155,135,.10%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 47.5,92.5 15.7,92.5 38.2,70.0' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 38.2,70.0 15.7,47.5 47.5,47.5' fill='rgba%28140,155,135,.10%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 47.5,47.5 47.5,15.7 70.0,38.2' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 70.0,38.2 92.5,15.7 92.5,47.5' fill='rgba%28140,155,135,.10%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='70.0,70.0 92.5,47.5 124.3,47.5 101.8,70.0' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='0,-10 10,0 0,10 -10,0' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='140,-10 150,0 140,10 130,0' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='0,130 10,140 0,150 -10,140' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3Cpolygon points='140,130 150,140 140,150 130,140' fill='rgba%28142,75,59,.08%29' stroke='rgba%28140,155,135,.18%29' stroke-width='1'/%3E%3C/svg%3E");
  --quilt-strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14'%3E%3Crect width='96' height='14' fill='%231F3D2E'/%3E%3Cpolygon points='12,1 18,7 12,13 6,7' fill='%238C9B87'/%3E%3Cpolygon points='36,1 42,7 36,13 30,7' fill='%238E4B3B'/%3E%3Cpolygon points='60,1 66,7 60,13 54,7' fill='%238C9B87'/%3E%3Cpolygon points='84,1 90,7 84,13 78,7' fill='%23B9A58E'/%3E%3Cline x1='0' y1='0.5' x2='96' y2='0.5' stroke='%238C9B87' stroke-width='1'/%3E%3Cline x1='0' y1='13.5' x2='96' y2='13.5' stroke='%238C9B87' stroke-width='1'/%3E%3C/svg%3E");
}
:root {
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12'%3E%3Cg stroke='%238C9B87' stroke-width='1.2' fill='none'%3E%3Cline x1='0' y1='6' x2='48' y2='6'/%3E%3Cline x1='72' y1='6' x2='120' y2='6'/%3E%3Cpath d='M60 1 L65 6 L60 11 L55 6 Z' fill='%238E4B3B' stroke='%238E4B3B'/%3E%3Ccircle cx='51' cy='6' r='1.4' fill='%238C9B87'/%3E%3Ccircle cx='69' cy='6' r='1.4' fill='%238C9B87'/%3E%3C/g%3E%3C/svg%3E");
}
.eyebrow { color: var(--brick); }
.eyebrow-light { color: #D9A794; }
.section-green { background-image: var(--quilt-dark); background-size: 150px 150px; }
.trust-band::after, .site-footer::before { content: ""; display: block; height: 14px; background: var(--quilt-strip) repeat-x; background-size: auto 14px; }
.trust-band .trust-strip li::before { background: #C98B76; }
.seal-bg { stroke: var(--brick); stroke-width: 2.5; }
.seal-text { fill: var(--brick); }
.badge { background: var(--brick); color: var(--cream); }
.question-grid li::before { color: var(--brick); }
.step-n { box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 4px var(--brick); color: var(--brick); }
.steps li:not(:last-child)::after { border-top-color: #C9A898; }
.change-row span:last-child::before { color: var(--brick); }
.hc-note { border-left-color: var(--brick); }
.why-copy .who { border-left-color: #C98B76; }

/* ===== Lancaster photo backdrops ===== */
#why {
  background-color: var(--forest);
  background-image: linear-gradient(rgba(31,61,46,.90), rgba(31,61,46,.93)), url("../assets/img/lancaster-covered-bridge.jpg");
  background-size: cover; background-position: center 55%;
}
#contact {
  background-color: var(--forest);
  background-image: linear-gradient(100deg, rgba(31,61,46,.94) 0%, rgba(31,61,46,.86) 55%, rgba(31,61,46,.80) 100%), url("../assets/img/lancaster-central-market.jpg");
  background-size: cover; background-position: center 35%;
}
.site-footer { background-image: var(--quilt-dark); background-size: 150px 150px; }
.seal { display: none; }
.hc-head { padding-right: 0; }
.photo-credit { margin: 18px 0 0; font-size: .75rem; color: rgba(245,241,232,.55); }

.footer-logo { background: none; padding: 0; border-radius: 0; width: 180px; height: auto; }

/* =========================================================
   Subpages
   ========================================================= */
.site-nav a[aria-current="page"] { color: var(--forest); box-shadow: 0 2px 0 var(--brick); }
.page-hero { background-color: var(--cream); background-image: var(--paper); padding: 72px 0 0; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 16em; }
.page-hero .lead { max-width: 40em; }
.skyline-short { height: 120px; margin-top: 32px; }
.quilt-rule { height: 14px; background: var(--quilt-strip) repeat-x; background-size: auto 14px; }
.container.narrow { max-width: 820px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* CTA band */
.cta-band { background-color: var(--forest); background-image: linear-gradient(100deg, rgba(31,61,46,.94), rgba(31,61,46,.84)), url("../assets/img/lancaster-central-market.jpg"); background-size: cover; background-position: center 35%; padding: 80px 0; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-band p { color: #E6E1D5; font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-link { color: var(--cream); }

/* Services */
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.decision { background: var(--cream-soft); background-image: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--brick); }
.decision h3 { font-size: 1.2rem; margin-bottom: 6px; }
.decision p { margin: 0; color: #4d4b46; }
.tiers-detail { align-items: start; }
.tier-detail .tier-tag { min-height: 0; }
.tier-desc { color: #4d4b46; }
.tier-featured .tier-desc { color: #E6E1D5; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; background: var(--brick); transform: rotate(45deg); }
.tier-featured .checks li { color: var(--white); }
.tier-featured .checks li::before { background: #D9A794; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); background: var(--cream-soft); }
.cmp-table tbody th { font-weight: 700; color: var(--forest); width: 32%; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .col-growth { background: rgba(31,61,46,.06); }
.cmp-table thead .col-growth { background: var(--forest); color: var(--white); }
.yes { color: var(--forest); font-weight: 700; font-size: 1.1rem; }
.no { color: #B8B1A2; }
.price-card { background: var(--white); border-radius: 14px; padding: 28px 30px; box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--line), var(--shadow); }
.price-card h3 { font-size: 1.25rem; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.addon { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); }
.addon h3 { font-size: 1.15rem; margin-bottom: 6px; }
.addon p { color: #4d4b46; margin-bottom: 10px; }
.addon-for { font-size: .85rem; color: var(--taupe); font-style: italic; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; background: var(--white); box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px var(--line); }
.project-n { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; font-family: var(--serif); font-weight: 700; color: var(--brick); box-shadow: inset 0 0 0 1px var(--brick); margin-bottom: 14px; font-size: .95rem; }
.project h3 { font-size: 1.15rem; margin-bottom: 6px; }
.project p { margin: 0; color: #4d4b46; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.industry { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--cream-soft); background-image: var(--paper); border-top: 4px solid var(--forest); }
.industry h3 { font-size: 1.45rem; display: flex; flex-direction: column; }
.ind-sub { font-family: var(--sans); font-size: .85rem; color: var(--taupe); font-weight: 400; margin-top: 2px; }
.ind-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brick); margin: 14px 0 4px; }
.ind-challenge { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--forest); margin: 0; }
.tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; color: var(--forest); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.25rem; color: var(--forest); position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--sans); font-size: 1.6rem; color: var(--brick); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: #4d4b46; max-width: 44em; }

/* Quiz */
.quiz, .quiz-result { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: inset 0 0 0 7px var(--white), inset 0 0 0 8px var(--line), var(--shadow); }
.quiz-progress { height: 6px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--forest); transition: width .3s; }
.quiz-step { margin: 14px 0 4px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brick); }
.quiz-q { border: 0; padding: 0; margin: 0; }
.quiz-q legend { padding: 0; }
.quiz-q h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 22px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-opt { text-align: left; font: inherit; font-size: 1.05rem; color: var(--charcoal); background: var(--cream-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--forest); background: #fff; }
.quiz-opt.selected { border-color: var(--forest); background: var(--forest); color: var(--white); }
.quiz-nav { margin-top: 22px; }
.res-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--taupe); }
.res-extras { margin: 18px 0; display: grid; gap: 10px; }
.res-extra { display: flex; flex-direction: column; background: var(--cream-soft); border-left: 3px solid var(--brick); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.res-extra strong { color: var(--forest); }
.res-extra span { color: #4d4b46; font-size: .95rem; }
.quiz-lead { margin-top: 32px; box-shadow: none !important; border: 1px solid var(--line); }
.form-note { color: #4d4b46; margin-top: -6px; }
.link-btn { margin-top: 18px; background: none; border: 0; color: var(--forest); text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }

/* Privacy */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }

@media (max-width: 980px) {
  .two-col, .cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .decision-grid, .project-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 48px; }
  .skyline-short { height: 90px; }
  .decision-grid, .project-grid { grid-template-columns: 1fr; }
  .quiz, .quiz-result { padding: 26px 20px; }
}
