/* High Country Digital
   Palette: spruce (deep green-black) for structure, Blue Ridge haze for the ridgelines,
   goldenrod for every action. Anton for display type, Inter for everything else. */
@font-face { font-family: "Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 400; src: url("../fonts/inter-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("../fonts/inter-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 700; src: url("../fonts/inter-700.woff2") format("woff2"); font-display: swap; }

:root {
  --spruce: #1c2b26;
  --spruce-2: #24382f;
  --haze-1: #9fb6c6;
  --haze-2: #6c8ba1;
  --haze-3: #42627a;
  --gold: #e9a93a;
  --gold-dark: #c98b22;
  --ink: #1a1f24;
  --muted: #56616b;
  --mist: #eef2f3;
  --line: #d9e0e3;
  --white: #ffffff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--white); }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--gold); color: var(--spruce); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: 700 16px/1 var(--body); padding: 16px 30px; border-radius: 6px; transition: background-color .15s; }
.btn-gold { background: var(--gold); color: var(--spruce); box-shadow: 0 3px 0 var(--gold-dark); }
.btn-gold:hover { background: #f2b851; }
.btn-gold:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gold-dark); }
.btn-dark { background: var(--spruce); color: var(--white); padding: 12px 22px; font-size: 15px; }
.btn-dark:hover { background: var(--spruce-2); }
.btn-small { padding: 12px 22px; font-size: 15px; }

/* ---------- Masthead and nav ---------- */
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 64px; height: 40px; }
.m-back { fill: var(--haze-3); }
.m-front { fill: var(--spruce); }
.m-snow { fill: var(--gold); }
.logo-words { display: flex; flex-direction: column; line-height: .95; }
.logo-top { font: 400 30px/1 var(--display); letter-spacing: .01em; color: var(--spruce); text-transform: uppercase; }
.logo-bottom { font: 700 13px/1.4 var(--body); letter-spacing: .32em; color: var(--haze-3); text-transform: uppercase; padding-left: 2px; }
.masthead-contact { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.contact-chip { font-weight: 700; text-decoration: none; padding: 10px 18px; border: 2px solid var(--spruce); border-radius: 6px; }
.contact-chip:hover { background: var(--spruce); color: var(--white); }

.mainnav { background: var(--spruce); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 5; }
.nav-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 34px; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 18px 0; color: var(--white); font-weight: 700; font-size: 16px; text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Hero: the High Country itself ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); text-align: center;
  background: linear-gradient(180deg, #213a45 0%, #3b6075 55%, #7d9db1 100%); padding: 64px 0 230px; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font: 400 clamp(46px, 8.4vw, 104px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em;
  margin: 26px 0 18px; max-width: 20ch; text-shadow: 0 3px 0 rgba(16, 26, 23, .35); }
.hero-sub { font-size: clamp(18px, 2.1vw, 22px); max-width: 38em; margin: 0 0 30px; color: #eef4f7; }
.ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; z-index: 1; }
.r1 { fill: var(--haze-1); opacity: .55; }
.r2 { fill: var(--haze-2); }
.r3 { fill: var(--spruce); }

/* ---------- Featured sample build ---------- */
.featured { background: var(--spruce); padding: 0 0 72px; }
.browser { margin: -150px auto 0; max-width: 900px; position: relative; z-index: 3; background: var(--white);
  border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 18, 15, .45); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #e6eaec; font-size: 13px; color: var(--muted); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c7cfd3; }
.browser-bar span { margin-left: 10px; background: var(--white); border-radius: 4px; padding: 3px 12px; }
.demo { background: #f5f7f2; }
.demo-hero { background: linear-gradient(120deg, #3e6b3a, #6f9a4c); color: var(--white); padding: 44px 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: center; }
.demo-listing { background: var(--white); color: var(--ink); border-radius: 10px; padding: 16px 18px; font-size: 14px; line-height: 1.4;
  box-shadow: 0 10px 28px rgba(15, 35, 15, .35); }
.demo-listing p { margin: 0 0 4px; }
.listing-name { font-weight: 700; font-size: 17px; }
.listing-stars { color: #e7a417; letter-spacing: 1px; }
.listing-stars span { color: var(--muted); letter-spacing: 0; }
.listing-meta { color: var(--muted); }
.listing-open { color: #1e7b3c; font-weight: 600; }
.listing-actions { display: flex; gap: 8px; margin-top: 10px; }
.listing-actions span { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 0; font-weight: 600; color: #1a5fb4; font-size: 13px; }
.demo-brand { font-weight: 700; letter-spacing: .02em; opacity: .9; margin-bottom: 8px; }
.demo-head { font: 400 clamp(26px, 4vw, 40px)/1.05 var(--display); text-transform: uppercase; max-width: 18ch; margin-bottom: 18px; }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-btn { background: #ffd34d; color: #213a1e; font-weight: 700; padding: 10px 18px; border-radius: 5px; font-size: 15px; }
.demo-btn.ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .8); }
.demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 22px 40px 28px; }
.demo-cards span { height: 74px; border-radius: 6px; background: #dfe7d6; }
.featured-banner { background: var(--gold); color: var(--spruce); padding: 22px 32px; }
.featured-banner h2 { font: 400 clamp(24px, 3vw, 32px)/1.1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.featured-banner p { margin: 0; max-width: 62em; font-size: 16px; }

/* ---------- Sections ---------- */
.services, .pricing, .about, .faq { padding: 88px 0; }
.services { background: var(--white); }
.pricing { background: var(--mist); }
.section-title { font: 400 clamp(36px, 5vw, 56px)/1 var(--display); text-transform: uppercase; color: var(--spruce); margin-bottom: 10px; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 19px; color: var(--muted); max-width: 40em; margin-bottom: 40px; }

.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.service { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; }
.service:nth-child(4) { grid-column: 2 / span 2; }
.service h3 { font-size: 22px; font-weight: 700; margin: 18px 0 8px; color: var(--spruce); }
.service p { color: var(--muted); flex: 1; }
.service-art { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; position: relative; overflow: hidden; background: var(--mist); }
/* Simple drawn illustrations: no stock photos */
.art-web { background: linear-gradient(160deg, #dfe8ee, #c9d7e0); }
.art-web .win { position: absolute; inset: 14% 12% 0; background: var(--white); border-radius: 6px 6px 0 0; box-shadow: 0 -2px 0 #b9c7d1; }
.art-web .line { position: absolute; left: 20%; top: 34%; width: 46%; height: 9px; border-radius: 5px; background: var(--spruce); }
.art-web .line.short { top: 46%; width: 30%; background: var(--haze-1); }
.art-web .cta { position: absolute; left: 20%; top: 60%; width: 24%; height: 16%; border-radius: 4px; background: var(--gold); }
.art-pin { background: #e3ebe2; background-image: linear-gradient(90deg, rgba(255,255,255,.7) 2px, transparent 2px), linear-gradient(rgba(255,255,255,.7) 2px, transparent 2px); background-size: 34px 34px; }
.art-pin .pin { position: absolute; left: 30%; top: 18%; width: 46px; height: 46px; background: #d9493a; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.art-pin .pin::after { content: ""; position: absolute; inset: 15px; background: var(--white); border-radius: 50%; }
.art-pin .card { position: absolute; right: 10%; bottom: 14%; width: 42%; height: 34%; background: var(--white); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.12); border-top: 6px solid var(--gold); }
.art-seo { background: linear-gradient(180deg, #e7edf1, #d7e1e8); }
.art-seo .bar { position: absolute; bottom: 14%; width: 11%; background: var(--haze-3); border-radius: 3px 3px 0 0; }
.b1 { left: 20%; height: 22%; } .b2 { left: 36%; height: 36%; } .b3 { left: 52%; height: 50%; }
.art-seo .b4 { left: 68%; height: 68%; background: var(--gold); }
.art-care { background: linear-gradient(160deg, #e2e9e6, #cfdcd6); }
.art-care .shield { position: absolute; left: 50%; top: 50%; width: 76px; height: 88px; transform: translate(-50%, -50%);
  background: var(--spruce); clip-path: polygon(50% 0, 100% 16%, 100% 52%, 50% 100%, 0 52%, 0 16%); }
.art-care .shield::after { content: ""; position: absolute; left: 30px; top: 22px; width: 14px; height: 30px; border: solid var(--gold); border-width: 0 6px 6px 0; transform: rotate(45deg); }
.art-social { display: flex; gap: 8%; align-items: center; justify-content: center; background: #ece7df; }
.art-social .post { width: 24%; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--white); box-shadow: 0 3px 10px rgba(0,0,0,.1); border-bottom: 18px solid var(--haze-1); }
.art-social .post:nth-child(2) { border-bottom-color: var(--gold); transform: translateY(-8%); }

/* ---------- Price your website ---------- */
.builder { background: var(--spruce); color: var(--white); padding: 88px 0; background-image: radial-gradient(800px 300px at 90% 0%, rgba(108, 139, 161, .25), transparent); }
.builder-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.builder-copy p { font-size: 19px; color: #d6e0dc; max-width: 26em; }
.estimator { background: var(--white); color: var(--ink); border-radius: 10px; padding: 28px; display: grid; gap: 22px; border-top: 6px solid var(--gold); }
.estimator fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.estimator legend { font-weight: 700; font-size: 18px; color: var(--spruce); margin-bottom: 6px; padding: 0; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input { flex: 1; accent-color: var(--gold-dark); }
.range-row output { font-weight: 700; min-width: 5.5em; text-align: right; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--spruce); margin: 0; }
.price-tag { margin-left: auto; font-weight: 600; color: var(--muted); }
.total { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; align-items: end; border-top: 1px solid var(--line); padding-top: 18px; }
.total p { margin: 0; display: flex; flex-direction: column; }
.total-label { font-size: 14px; color: var(--muted); }
.total strong { font: 400 40px/1 var(--display); color: var(--spruce); }
.total .btn { grid-column: 1 / -1; margin-top: 10px; }

/* ---------- Pricing table ---------- */
.table-scroll { overflow-x: auto; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--spruce); color: var(--white); font-size: 14px; }
.price-table tbody th { color: var(--spruce); white-space: nowrap; }
.price-table td:last-child { font-weight: 700; white-space: nowrap; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.launch-note { margin-top: 22px; padding: 16px 20px; background: #fdf3df; border-left: 5px solid var(--gold); border-radius: 0 8px 8px 0; max-width: 60em; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-grid > div p { font-size: 19px; color: var(--muted); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.promises li { padding-left: 22px; border-left: 4px solid var(--gold); }
.promises h3 { font-size: 20px; color: var(--spruce); margin-bottom: 4px; }
.promises p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq details { background: var(--white); border-radius: 8px; border: 1px solid var(--line); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 18px; color: var(--spruce); list-style: none; position: relative; padding-right: 54px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--display); color: var(--gold-dark); }
.faq summary::after { transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--spruce); color: var(--white); padding: 88px 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; }
.contact-grid > div p { color: #d6e0dc; font-size: 18px; }
.contact-direct a { color: var(--gold); font-weight: 700; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--spruce-2); padding: 28px; border-radius: 10px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.quote-form .wide { grid-column: 1 / -1; }
.quote-form input, .quote-form textarea { font: 400 16px/1.4 var(--body); padding: 12px 14px; border-radius: 6px; border: 2px solid transparent; background: var(--white); color: var(--ink); }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--gold); outline: none; }
.optional { font-weight: 400; color: #b7c6c0; }
.form-note { font-size: 14px; color: #b7c6c0; margin: 0; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: 6px; background: #f8d7d3; color: #7a1d12; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #141f1b; color: #c7d2cd; padding: 56px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-size: 15px; color: var(--white); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-brand { font: 400 26px/1 var(--display); color: var(--white); text-transform: uppercase; margin-bottom: 10px; }
.copyright { margin-top: 40px; padding-top: 18px; border-top: 1px solid #2a3933; font-size: 13px; color: #8fa199; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4) { grid-column: auto; }
  .builder-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .masthead-contact .muted { display: none; }
  .logo-top { font-size: 24px; }
  .logo-mark { width: 48px; height: 30px; }
  .nav-toggle { display: block; background: none; border: 2px solid rgba(255,255,255,.6); color: var(--white); font: 700 15px var(--body); padding: 8px 14px; border-radius: 6px; margin: 10px 0; cursor: pointer; }
  .nav-links { display: none; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .hero { padding: 44px 0 170px; }
  .ridges { height: 170px; }
  .browser { margin-top: -100px; }
  .demo-hero { padding: 28px 22px; grid-template-columns: 1fr; }
  .demo-cards { padding: 16px 22px 20px; }
  .featured-banner { padding: 18px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; padding: 20px; }
  .total { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding: 12px 14px; }
}

.estimate-note { font-size: 15px !important; color: #b7c6c0 !important; border-left: 3px solid var(--gold); padding-left: 12px; }
.price-table .featured-row > * { background: #fdf3df; }
.seo-note { margin-top: 12px; max-width: 60em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.estimator fieldset[hidden] { display: none; }
