/* =====================================================
   SummitStone Works — Premium Masonry & Stonework
   Static stylesheet (no build step)
   Palette: Charcoal · Stone Grey · Warm Sand · Copper Bronze
   ===================================================== */

:root {
  --charcoal: #1c1b19;
  --charcoal-soft: #2a2825;
  --charcoal-90: rgba(28, 27, 25, 0.9);
  --charcoal-70: rgba(28, 27, 25, 0.7);
  --stone: #6f6a62;
  --stone-light: #a39d93;
  --sand: #ece3d2;
  --sand-light: #f6f1e7;
  --bg: #faf7f0;
  --paper: #ffffff;
  --bronze: #a96a36;
  --bronze-dark: #8f5727;
  --bronze-light: #c5824a;
  --line: #e3dac8;
  --line-dark: rgba(255, 255, 255, 0.12);

  --ink: #211f1c;
  --ink-soft: #4f4a43;
  --ink-muted: #756f66;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(28, 27, 25, 0.06), 0 6px 18px -10px rgba(28, 27, 25, 0.18);
  --shadow-md: 0 18px 48px -24px rgba(28, 27, 25, 0.4);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--bronze-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--bronze); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--sand { background: var(--sand-light); }
.section--charcoal { background: var(--charcoal); color: var(--sand-light); }
.section--charcoal h1,
.section--charcoal h2,
.section--charcoal h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bronze);
  margin-bottom: 1rem;
}
.section--charcoal .eyebrow { color: var(--bronze-light); }

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.section--charcoal .lead { color: rgba(246, 241, 231, 0.82); }
.muted { color: var(--ink-muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-prose { max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: var(--bronze-dark); color: #fff; transform: translateY(-1px); }
.btn--dark { background: var(--charcoal); color: var(--sand-light); }
.btn--dark:hover { background: var(--charcoal-soft); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--bronze); color: var(--bronze-dark); }
.btn--ghost-light { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 38px; height: 38px;
  background: var(--charcoal);
  border-radius: var(--radius);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand__mark img { width: 26px; height: 26px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.01em; }
.brand__name span { color: var(--bronze); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--bronze-dark); }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--ink);
}
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .mobile-menu { display: block; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 24px;
  color: var(--ink-soft);
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--sand); color: var(--ink); }
.mobile-menu .btn { margin: 0.75rem 24px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(20, 19, 17, 0.92) 0%, rgba(20, 19, 17, 0.7) 45%, rgba(20, 19, 17, 0.25) 100%);
}
.hero__inner { padding: clamp(4.5rem, 11vw, 8.5rem) 0; max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero__sub { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 2rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero .eyebrow { color: var(--bronze-light); }

.page-hero {
  background: var(--charcoal);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/texture.jpg") center/cover;
  opacity: 0.12;
}
.page-hero__inner { padding: clamp(3rem, 7vw, 5rem) 0; max-width: 720px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(246, 241, 231, 0.82); font-size: 1.12rem; margin-bottom: 0; }
.breadcrumb { font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,0.78); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 5/4; object-fit: cover; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--bronze-dark);
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* media card (gallery / projects) */
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.media-card img { aspect-ratio: 5/4; object-fit: cover; width: 100%; transition: transform 0.5s var(--ease); }
.media-card:hover img { transform: scale(1.05); }
.media-card__body { padding: 1.2rem 1.4rem 1.5rem; }
.media-card__body h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.media-card__body p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 1.6rem 1.6rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--bronze); line-height: 1; }
.step h3 { font-size: 1.15rem; margin: 0.6rem 0 0.3rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.section--charcoal .step { background: var(--charcoal-soft); border-color: var(--line-dark); }
.section--charcoal .step p { color: rgba(246,241,231,0.75); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
}
.price-card--featured { border-color: var(--bronze); box-shadow: var(--shadow-md); position: relative; }
.price-card__tag {
  position: absolute; top: -12px; left: 1.9rem;
  background: var(--bronze); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.price-card__amount { font-family: var(--font-display); font-size: 2.6rem; color: var(--ink); line-height: 1; margin-bottom: 0.2rem; }
.price-card__amount small { font-size: 0.9rem; color: var(--ink-muted); font-family: var(--font-body); }
.price-card p { color: var(--ink-soft); font-size: 0.96rem; }
.price-card .btn { margin-top: auto; }
.price-note {
  margin-top: 2.2rem;
  padding: 1.3rem 1.6rem;
  background: var(--sand);
  border-left: 3px solid var(--bronze);
  border-radius: var(--radius);
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* ---------- Feature list ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--bronze);
  border-bottom: 2px solid var(--bronze);
  transform: rotate(-45deg);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--charcoal); padding: 1.8rem 1.2rem; text-align: center; }
.stat__value { font-family: var(--font-display); font-size: 2.2rem; color: var(--bronze-light); line-height: 1; }
.stat__label { font-size: 0.88rem; color: rgba(246,241,231,0.72); margin-top: 0.4rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.18rem; color: var(--ink);
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q::after {
  content: "+";
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.6rem; color: var(--bronze);
  transition: transform 0.25s var(--ease);
  line-height: 1;
}
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq__a-inner { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bronze); outline: none; box-shadow: 0 0 0 3px rgba(169,106,54,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--sand); border-left: 3px solid var(--bronze); color: var(--ink-soft); font-size: 0.95rem; }
.form-status.is-visible { display: block; }

.contact-detail { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-detail li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-detail .ic { flex-shrink: 0; width: 42px; height: 42px; background: var(--sand); border-radius: var(--radius); display: grid; place-items: center; color: var(--bronze-dark); }
.contact-detail .ic svg { width: 22px; height: 22px; }
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--ink); }
.contact-detail span, .contact-detail a { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4rem); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/texture.jpg") center/cover; opacity: 0.1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(246,241,231,0.82); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; justify-content: center; }
.trust-strip span { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.trust-strip svg { width: 18px; height: 18px; color: var(--bronze); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose .updated { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 2rem; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 0.9; color: var(--bronze); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(246,241,231,0.78); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer .brand__name { color: #fff; }
.footer-about p { font-size: 0.95rem; max-width: 32ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: rgba(246,241,231,0.78); font-size: 0.94rem; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.94rem; }
.footer-contact a { color: rgba(246,241,231,0.78); }
.footer-contact a:hover { color: var(--bronze-light); }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 2.8rem; padding: 1.4rem 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; font-size: 0.84rem; color: rgba(246,241,231,0.6); }
.footer-note { font-style: italic; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
