/* Prime Stone Paving
   Palette: blue limestone slate, silver granite, kiln-dried jointing sand. */
:root {
  --slate: #232b31;
  --slate-2: #2f3a42;
  --slate-3: #45525c;
  --granite: #eceeec;
  --granite-2: #e1e5e3;
  --line: #cfd5d3;
  --white: #ffffff;
  --ink: #1d2428;
  --muted: #56626a;
  --sand: #d2a95e;
  --sand-2: #e2bf7c;
  --sand-deep: #9c7633;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --r-sm: 4px;
  --r-md: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--granite);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sand); color: var(--slate); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

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

h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: .95;
  letter-spacing: .002em;
}
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-sm); border: 2px solid transparent;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 16px 26px; font-size: 1.0625rem; }
.btn-sand { background: var(--sand); color: var(--slate); }
.btn-sand:hover { background: var(--sand-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(35,43,49,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(35,43,49,.6); }
.btn-slate { background: var(--sand); color: var(--slate); }
.btn-slate:hover { background: var(--sand-2); }
.btn-line { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-line:hover { background: var(--slate); color: var(--white); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(35,43,49,.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white);
}
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; color: var(--sand); }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: .85;
  display: flex; flex-direction: column;
}
.brand-name small {
  font-family: var(--body); font-weight: 600; font-size: .72rem; letter-spacing: .2em;
  color: var(--sand); margin-top: 4px; text-transform: lowercase;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.82); padding: 6px 0; }
.nav a:hover { color: var(--white); box-shadow: inset 0 -2px 0 var(--sand); }
.bar-call { min-height: 44px; padding: 10px 16px; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--slate);
  color: var(--white);
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(92px, 11vw, 150px);
}
.drive { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 92% 8%, rgba(255,236,200,.18), transparent 55%),
    linear-gradient(90deg, rgba(25,31,36,.94) 0%, rgba(25,31,36,.86) 34%, rgba(25,31,36,.42) 62%, rgba(25,31,36,.08) 100%),
    linear-gradient(0deg, rgba(25,31,36,.55), transparent 30%);
}
.hero-inner { position: relative; }
.hero-area {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: var(--sand-2);
  margin-bottom: 22px;
}
.hero-area svg { width: 18px; height: 18px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: .86;
  letter-spacing: -.004em;
  max-width: 9.5ch;
  text-wrap: balance;
}
.hero-lede {
  margin-top: 28px; max-width: 34em;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55;
  color: rgba(255,255,255,.86);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  text-decoration: none; color: rgba(255,255,255,.86); font-size: .975rem;
}
.hero-rating b { color: var(--white); }
.stars { display: inline-flex; gap: 2px; color: var(--sand); vertical-align: -3px; }
.stars svg { width: 18px; height: 18px; }

/* Kerb line at the foot of the hero: a run of granite kerb stones */
.kerb {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(35,43,49,.55) 118px 120px),
    linear-gradient(180deg, #c9cecc 0%, #b4bab8 55%, #9aa19f 100%);
  box-shadow: 0 -6px 18px rgba(0,0,0,.35);
}
.kerb::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
}

/* Block-laying animation (hero) */
.js .drive .blk { opacity: 0; transform-box: fill-box; transform-origin: center; }
.drive.is-laying .blk { animation: lay .5s cubic-bezier(.2,.7,.2,1) forwards; }
.drive.is-laid .blk { opacity: 1; animation: none; }
@keyframes lay {
  from { opacity: 0; transform: translateY(-6px) scale(1.06); }
  to { opacity: 1; transform: none; }
}

/* Promise strip */
.promise { background: var(--white); border-bottom: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise-grid p {
  padding: 30px 28px 30px 0; color: var(--muted); font-size: .975rem; line-height: 1.5;
}
.promise-grid p + p { padding-left: 28px; border-left: 1px solid var(--line); }
.promise-grid b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

/* Section heads */
.head-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.head-row p { color: var(--muted); max-width: 36em; font-size: 1.0625rem; }

/* Work gallery */
.work { padding: var(--sec) 0; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.shot {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 4 / 3.2; background: var(--slate-2);
}
.shot-wide { grid-column: span 2; aspect-ratio: auto; }
.shot-pano { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
.shot > svg, .shot > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot > img { object-fit: cover; }
.shot.no-photo > img { display: none; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 18px 16px;
  background: linear-gradient(0deg, rgba(20,25,29,.82), transparent);
  color: var(--white); font-weight: 600; font-size: .95rem;
}
.shot.no-photo::after {
  content: "Your photo goes here";
  position: absolute; top: 14px; right: 14px;
  padding: 6px 10px 6px 30px; border-radius: 999px;
  background: rgba(20,25,29,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z' fill='none' stroke='%23e2bf7c' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='13' r='3.5' fill='none' stroke='%23e2bf7c' stroke-width='1.8'/%3E%3C/svg%3E") 9px 50% / 15px no-repeat;
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600;
}

/* Services */
.services { padding: var(--sec) 0; background: var(--white); }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
.svc {
  display: grid; grid-template-columns: 104px 1fr; gap: 24px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.swatch {
  width: 104px; height: 104px; border-radius: var(--r-sm);
  background: var(--slate-2);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.svc h3 { font-family: var(--display); font-size: 1.75rem; font-weight: 800; line-height: 1; margin: 4px 0 10px; }
.svc p { color: var(--muted); font-size: 1rem; }

/* Steps (a real sequence, so it is numbered) */
.steps { padding: var(--sec) 0; background: var(--granite-2); }
.steps h2 { margin-bottom: clamp(36px, 5vw, 56px); }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step-list li { counter-increment: step; position: relative; }
.step-list li > * { padding-right: 28px; }
.step-list li::before {
  content: counter(step);
  display: block; font-family: var(--display); font-weight: 900;
  font-size: 4rem; line-height: 1; color: var(--sand-deep);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 3px solid var(--slate);
}
.step-list h3 { margin-bottom: 8px; }
.step-list p { color: var(--muted); font-size: .98rem; }

/* Family */
.family { padding: var(--sec) 0; background: var(--slate); color: var(--white); position: relative; overflow: hidden; }
.family-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.family-copy h2 { max-width: 11ch; }
.family-copy p { margin-top: 22px; color: rgba(255,255,255,.8); max-width: 34em; }
.family-copy .btn { margin-top: 32px; }
.lineage { position: relative; }
.lineage li {
  position: relative; padding: 26px 0 26px 28px;
  border-left: 3px solid var(--slate-3);
}
.lineage li::before {
  content: ""; position: absolute; left: -9px; top: 36px;
  width: 15px; height: 15px; border-radius: 2px; background: var(--slate); border: 3px solid var(--sand);
}
.lineage li:last-child { border-left-color: var(--sand); }
.lineage li:last-child::before { background: var(--sand); }
.gen { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--sand-2); }
.lineage p { margin-top: 6px; color: rgba(255,255,255,.78); max-width: 26em; }

/* Reviews */
.reviews { padding: var(--sec) 0; }
.score {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px;
}
.score .g { width: 56px; height: 56px; padding: 12px; background: var(--white); border-radius: 50%; box-shadow: 0 1px 0 var(--line); }
.score p { margin-top: 8px; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  margin: 0; padding: 26px; background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.quote p { font-size: 1.05rem; line-height: 1.55; }
.quote footer { margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.quote.is-sample { background: transparent; border: 2px dashed #b9c1be; }
.quote.is-sample p { color: var(--muted); }

/* Areas */
.areas { padding: 0 0 var(--sec); }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.areas-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); padding-top: var(--sec); }
.areas-grid > div > p { margin-top: 20px; color: var(--muted); max-width: 30em; }
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.area-cols h3 {
  font-family: var(--display); font-size: 2rem; line-height: 1; padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 3px solid var(--slate);
}
.area-cols li { padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

/* Quote form */
.quote-sec { padding: var(--sec) 0; background: var(--slate-2); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.quote-copy p { margin-top: 20px; color: rgba(255,255,255,.82); max-width: 30em; }
.quote-phone {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 32px;
  text-decoration: none; color: rgba(255,255,255,.82);
}
.quote-phone svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--sand); color: var(--slate); }
.quote-phone b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--white); margin-top: 2px; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--slate); padding: clamp(22px, 3.4vw, 36px); border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.08);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.9); }
.field label span { font-weight: 400; color: rgba(255,255,255,.55); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--granite); border: 2px solid transparent; border-radius: var(--r-sm);
  padding: 12px 14px; min-height: 50px; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); background: var(--white); }
.field input[aria-invalid="true"] { border-color: #e0806b; }
.form-error { grid-column: 1 / -1; color: #f2b3a4; font-weight: 600; font-size: .95rem; }

/* Footer */
.foot { background: #1b2126; color: rgba(255,255,255,.75); padding: 48px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand b { display: block; color: var(--white); font-family: var(--display); font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; color: var(--white); font-weight: 600; }
.foot-grid a:hover { color: var(--sand-2); }
.foot-small { font-size: .875rem; color: rgba(255,255,255,.5); }

/* Mobile contact dock */
.dock { display: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .bar-call { margin-left: auto; }
  .step-list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step-list li:nth-child(3)::before { margin-left: 0; padding-left: 0; }
  .family-grid, .quote-grid, .areas-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bar { min-height: 60px; }
  .brand-name { font-size: 1.4rem; }
  .bar-call span { display: none; }
  .bar-call { padding: 10px 12px; }
  .hero { min-height: 0; padding: 56px 0 96px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(25,31,36,.62) 0%, rgba(25,31,36,.86) 55%, rgba(25,31,36,.94) 100%);
  }
  .hero-cta .btn { flex: 1 1 100%; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid p { padding: 20px 0; }
  .promise-grid p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .head-row { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shot-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .shot figcaption { font-size: .85rem; padding: 36px 12px 12px; }
  .shot.no-photo::after { content: "Your photo"; top: 10px; right: 10px; font-size: .7rem; }
  .svc-list { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 76px 1fr; gap: 18px; padding: 22px 0; }
  .swatch { width: 76px; height: 76px; }
  .svc h3 { font-size: 1.5rem; }
  .step-list { grid-template-columns: 1fr; }
  .step-list li + li::before { margin-left: 0; padding-left: 0; }
  .step-list li::before { font-size: 3rem; }
  .score { grid-template-columns: auto 1fr; }
  .score .btn { grid-column: 1 / -1; }
  .area-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--slate); border-top: 1px solid rgba(255,255,255,.1);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: var(--r-sm); text-decoration: none; font-weight: 700; font-size: .95rem;
    color: var(--white); background: var(--slate-2);
  }
  .dock a:first-child { background: var(--sand); color: var(--slate); }
  .dock svg { width: 18px; height: 18px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 3rem; }
  .area-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .drive .blk { opacity: 1; }
  .drive.is-laying .blk { animation: none; opacity: 1; }
  .btn { transition: none; }
}
