:root {
  --warm-white: #faf7f2;
  --paper: #fffdf9;
  --forest: #205536;
  --forest-dark: #173e29;
  --brick: #a3402e;
  --brick-dark: #7f2e20;
  --ink: #282a26;
  --muted: #696b65;
  --rule: #cec8bd;
  --heading: "Zilla Slab", Georgia, serif;
  --body: "Source Sans 3", Arial, sans-serif;
  --shell: 1160px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --space: clamp(4.5rem, 8vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden;
  overflow-x: clip; /* avoid body becoming a scroll container (Safari scroll clamp) */ background: var(--warm-white); color: var(--ink); font-family: var(--body); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; }
::selection { background: var(--forest); color: var(--paper); }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter); }
.section { width: min(100%, var(--shell)); margin-inline: auto; padding: var(--space) var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .65rem 1rem; background: var(--forest); color: var(--paper); font-weight: 700; }
.skip-link:focus { transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 960px; margin-bottom: 1.5rem; font-size: clamp(3rem, 8.5vw, 7rem); color: var(--forest-dark); }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.5rem, 6vw, 5rem); color: var(--forest-dark); }
.site-header { background: var(--warm-white); }
.header-main { display: grid; gap: .9rem; justify-items: center; padding-block: 1.25rem; text-align: center; }
.header-main > p { margin: 0; color: var(--brick); font-family: var(--heading); font-size: .9rem; font-weight: 600; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font-family: var(--heading); font-size: 2rem; }
.brand span:last-child { display: grid; text-align: left; }
.brand strong { color: var(--forest-dark); font-family: var(--heading); font-size: clamp(1.8rem, 7vw, 2.75rem); line-height: .9; }
.brand small { margin-top: .35rem; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.header-phone { line-height: 1.1; text-decoration: none; }
.header-phone small { display: block; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.header-phone strong { color: var(--brick); font-family: var(--heading); font-size: 1.35rem; }
nav { display: flex; justify-content: center; gap: .6rem 1.4rem; flex-wrap: wrap; padding-block: .85rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
nav a { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.hero { max-width: 1280px; text-align: center; }
.hero-heading { max-width: 980px; margin-inline: auto; }
.kicker { margin-bottom: 1rem; color: var(--brick); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kicker-light { color: #f1c5b9; }
.hero-heading > p:not(.kicker) { max-width: 690px; margin-inline: auto; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; border: 0; border-radius: 99px; padding: .85rem 1.5rem; background: var(--forest); color: var(--paper); font-weight: 700; text-align: center; text-decoration: none; }
.call-link { color: var(--brick-dark); font-family: var(--heading); font-size: 1.2rem; font-weight: 600; text-underline-offset: .3em; }
.hero-card { position: relative; margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2.5rem; }
.hero-image { overflow: hidden; border-radius: clamp(1rem, 3vw, 2.5rem); box-shadow: 0 20px 50px rgb(49 42 31 / 15%); }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; min-height: 320px; object-fit: cover; object-position: 42% 52%; }
.hero-image p { margin: 0; padding: .9rem 1rem; background: var(--paper); color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.heritage-badge { position: absolute; z-index: 2; top: 0; left: 50%; display: grid; min-width: 190px; min-height: 78px; transform: translateX(-50%); border: 5px solid var(--warm-white); border-radius: 1rem; place-content: center; background: var(--brick); color: var(--paper); line-height: 1.15; text-align: center; box-shadow: 0 8px 24px rgb(75 37 27 / 18%); }
.heritage-badge span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.heritage-badge strong { font-family: var(--heading); font-size: 1.25rem; }
.story-section { padding-block: var(--space); background: var(--forest); color: var(--paper); }
.story-grid { display: grid; gap: 1.25rem; align-items: stretch; }
.story-copy, .story-photo { min-height: 430px; border-radius: 1rem; }
.story-copy { display: grid; align-content: center; padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid rgb(255 255 255 / 30%); }
.story-copy h2 { color: var(--paper); font-size: clamp(2.25rem, 5vw, 4.5rem); }
.story-copy p:not(.kicker) { color: #e4eee7; }
.story-copy .signature { margin: .75rem 0 0; color: #f1c5b9; font-family: var(--heading); font-size: 1.25rem; }
.story-photo { overflow: hidden; }
.story-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: 58% 48%; }
.center-heading { max-width: 800px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.center-heading > p:last-child { max-width: 620px; margin-inline: auto; color: var(--muted); }
.service-columns { display: grid; gap: 0; max-width: 900px; margin-inline: auto; border-top: 1px solid var(--rule); }
.service-columns ul { margin: 0; padding: 0; list-style: none; }
.service-columns li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: .75rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.service-columns li > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--forest); color: var(--paper); font-weight: 700; }
.service-columns strong, .service-columns small { display: block; }
.service-columns strong { color: var(--forest-dark); font-family: var(--heading); font-size: 1.2rem; }
.service-columns small { color: var(--muted); font-size: .84rem; }
.stats-section { padding-block: 3rem; background: var(--brick); color: var(--paper); }
.stats-grid { display: grid; gap: 2.25rem; text-align: center; }
.stat-number { display: block; font-family: var(--heading); font-size: clamp(3.2rem, 8vw, 6rem); font-weight: 600; line-height: 1; }
.stats-grid p { margin: .4rem 0 0; color: #f7ddd5; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.testimonial-grid { display: grid; gap: 1.25rem; align-items: stretch; }
blockquote { display: flex; min-width: 0; flex-direction: column; margin: 0; padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--paper); }
.stars { color: var(--brick); letter-spacing: .15em; }
blockquote > p { flex: 1; color: #464843; font-family: var(--heading); font-size: clamp(1.15rem, 2.3vw, 1.45rem); line-height: 1.45; }
blockquote footer { padding-top: 1.2rem; border-top: 1px solid var(--rule); }
blockquote footer strong, blockquote footer span { display: block; }
blockquote footer strong { color: var(--forest-dark); }
blockquote footer span { color: var(--muted); font-size: .76rem; }
.price-section { padding-block: var(--space); background: var(--forest-dark); color: var(--paper); }
.price-wrap { display: grid; gap: 2.5rem; align-items: center; }
.price-wrap h2 { color: var(--paper); }
.price-wrap > div > p:not(.kicker) { max-width: 480px; color: #dbe7df; }
.price-list { margin: 0; padding: 0; list-style: none; }
.price-list li { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto; gap: .55rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.price-list span { min-width: 0; }
.price-list i { min-width: 0; border-bottom: 2px dotted rgb(255 255 255 / 45%); }
.price-list strong { color: #f1c5b9; font-family: var(--heading); white-space: nowrap; }
.contact-section form { max-width: 900px; margin-inline: auto; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--paper); box-shadow: 0 16px 40px rgb(49 42 31 / 8%); }
.form-grid { display: grid; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .35rem; color: var(--forest-dark); font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #aca69c; border-radius: .45rem; padding: .8rem; background: var(--warm-white); color: var(--ink); }
textarea { resize: vertical; }
form .button { width: 100%; margin-top: 1rem; }
.form-status { margin: 1rem 0 0; padding: .8rem; border-left: 4px solid var(--forest); background: #edf3ee; }
.site-footer { padding-block: clamp(3.5rem, 7vw, 6rem); background: #112e1e; color: var(--paper); text-align: center; }
.site-footer p { margin-bottom: .4rem; color: #dbe7df; }
.footer-phone { display: block; margin: .5rem 0 1rem; color: #f1c5b9; font-family: var(--heading); font-size: clamp(3rem, 10vw, 7rem); font-weight: 600; line-height: 1; overflow-wrap: anywhere; text-decoration-thickness: 3px; text-underline-offset: .15em; }
.site-footer small { display: block; margin-top: 1.5rem; opacity: .7; }

@media (min-width: 720px) {
  .header-main { grid-template-columns: 1fr auto 1fr; align-items: center; text-align: left; }
  .header-main > p { justify-self: start; }
  .header-phone { justify-self: end; text-align: right; }
  .heritage-badge { left: clamp(2rem, 6vw, 5rem); transform: none; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-columns ul:first-child { padding-right: 2rem; border-right: 1px solid var(--rule); }
  .service-columns ul:last-child { padding-left: 2rem; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 920px) {
  .price-wrap { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
}

@media (max-width: 460px) {
  .price-list li { grid-template-columns: 1fr auto; }
  .price-list i { display: none; }
  .price-list span { font-size: .9rem; }
  .price-list strong { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Standard: back-to-top button with scroll-progress ring */
.btt-button {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(17, 17, 17, 0.85); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btt-button.btt-visible { opacity: 1; visibility: visible; transform: none; }
.btt-button:focus-visible { outline: 3px solid #a3402e; outline-offset: 3px; }
.btt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.btt-ring circle { fill: none; stroke-width: 3; }
.btt-ring-track { stroke: rgba(255, 255, 255, 0.22); }
.btt-ring-fill { stroke: #a3402e; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; stroke-linecap: round; }
.btt-arrow { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .btt-button { transition: none; } }
