/* Ashcrest Solutions — site styles. Colour tokens on :root. */
:root {
  --primary: #A4472C;        /* clay */
  --primary-deep: #7F3521;   /* hover */
  --cream: #F7F1EA;          /* tinted panels and the CTA band */
  --cream-rule: #E4D6C8;
  --ink: #2B2522;            /* warm charcoal text */
  --charcoal: #2E2623;       /* reasons band */
  --on-charcoal: #F3EBE2;
  --muted: #6B5F58;
  --rule: #DCD2C8;
  --paper: #FFFFFF;
  --foot: #FBF8F4;
  --head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Albert Sans", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; margin-bottom: .35em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

/* masthead: full-width clay band */
.top { background: var(--primary); color: #fff; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-family: var(--head); font-size: 1.45rem; line-height: 1; white-space: nowrap; }
.brand .mk { width: 30px; height: 30px; flex: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; }
.top nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.top nav a:hover { border-bottom-color: #fff; color: #fff; }

/* buttons: square corners */
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border: 1.5px solid var(--primary); line-height: 1.2; }
.btn:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--primary); }
.alt { font-weight: 600; }

/* hero: two columns on white */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.hero h1 { margin-bottom: .45em; }
.lead { font-size: 1.18rem; max-width: 34em; }
.acts { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 1.6em; }
.panel { background: var(--cream); padding: 32px 34px 18px; }
.panel h2 { font-size: 1.3rem; margin-bottom: 1em; padding-bottom: .6em; border-bottom: 1px solid var(--cream-rule); }
.promises { list-style: none; padding: 0; margin: 0; }
.promises li { position: relative; padding-left: 26px; margin-bottom: 1.1em; }
.promises li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--primary); }
.promises strong { display: block; font-weight: 600; }

/* overview: pull line beside two paragraphs */
.overview { padding: 64px 0; border-top: 1px solid var(--rule); }
.overview .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px 64px; align-items: start; }
.overview h2 { grid-column: 1 / -1; margin-bottom: .1em; }
.pull { font-family: var(--head); font-size: 1.65rem; line-height: 1.3; color: var(--primary); border-top: 3px solid var(--primary); border-bottom: 3px solid var(--primary); padding: 22px 0; margin: .3em 0 0; }

/* services: three text columns with vertical hairlines */
.services { padding: 64px 0; border-top: 1px solid var(--rule); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.svc article { padding: 0 32px 30px; }
.svc article:nth-child(3n+1) { padding-left: 0; }
.svc article:nth-child(3n+3) { padding-right: 0; }
.svc article:nth-child(3n+2), .svc article:nth-child(3n+3) { border-left: 1px solid var(--rule); }
.svc article:nth-child(n+4) { padding-top: 30px; }
.svc p { margin: 0; }

/* reasons: 2 x 2 on warm charcoal */
.why { background: var(--charcoal); color: var(--on-charcoal); padding: 64px 0; }
.why h2, .why h3 { color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; margin-top: 28px; }
.grid2 p { margin: 0; }

/* steps: five cells with thick clay top borders */
.process { padding: 64px 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 6px solid var(--primary); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font-family: var(--head); font-size: 3.2rem; line-height: 1; color: var(--primary); margin-bottom: .3em; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; font-size: .98rem; }

/* CTA band: cream with clay text */
.cta { background: var(--cream); padding: 64px 0; }
.cta h2 { color: var(--primary); max-width: 22em; }
.cta p { max-width: 40em; }

/* footer: light, clay top rule */
footer { background: var(--foot); border-top: 4px solid var(--primary); padding: 48px 0 32px; font-size: .95rem; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
footer h2 { font-family: var(--body); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9em; color: var(--muted); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .5em; }
footer a { color: var(--ink); }
footer a:hover { color: var(--primary); }
footer .brand { color: var(--primary); margin-bottom: .8em; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .88rem; }
.legal p { margin-bottom: .6em; }

/* inner pages */
.page { padding: 64px 0 72px; }
.page .wrap { max-width: 800px; }
.when { color: var(--muted); margin-top: -.5em; }
.page h2 { font-size: 1.5rem; margin-top: 1.8em; }
.page ul li { margin-bottom: .5em; }
.contact { margin: 1.5em 0 2.2em; padding: 24px 28px 14px; background: var(--cream); }
.contact > div { display: grid; grid-template-columns: 230px 1fr; gap: 6px 24px; margin-bottom: 10px; }
.contact dt { font-weight: 600; }
.contact dd { margin: 0; }

@media (max-width: 900px) {
  h1 { font-size: 2.7rem; }
  .hero .wrap, .overview .wrap { grid-template-columns: 1fr; gap: 36px; }
  .overview h2 { grid-column: auto; }
  .svc { grid-template-columns: 1fr; }
  .svc article { padding: 22px 0 !important; border-left: 0 !important; border-top: 1px solid var(--rule); }
  .svc article:first-child { border-top: 0; padding-top: 0 !important; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .bar { gap: 10px 16px; padding-top: 14px; padding-bottom: 12px; }
  .brand { font-size: 1.2rem; gap: 9px; }
  .brand .mk { width: 26px; height: 26px; }
  .top nav { flex-basis: 100%; order: 3; margin-left: 0; gap: 2px 16px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .35); }
  .top .btn { margin-left: auto; padding: 8px 13px; font-size: .95rem; }
  .hero { padding: 44px 0 40px; }
  .lead { font-size: 1.08rem; }
  .grid2, .steps, .fgrid { grid-template-columns: 1fr; }
  .panel { padding: 24px 22px 10px; }
  .pull { font-size: 1.35rem; }
  .overview, .services, .why, .process, .cta { padding: 48px 0; }
  .contact { padding: 18px 20px 8px; }
  .contact > div { grid-template-columns: 1fr; gap: 2px; margin-bottom: 14px; }
}
