/* Beckett Construction: refreshed static site */
:root {
  --gold: #b68429;
  --gold-dark: #8f6519;
  --gold-soft: #f4ead6;
  --ink: #1f1c18;
  --text: #3a352e;
  --muted: #6d655a;
  --paper: #faf7f1;
  --line: #e6dccb;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--paper);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--ink); font-weight: normal; letter-spacing: .01em; }
a { color: var(--gold-dark); }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.masthead { background: #fff; border-bottom: 4px solid var(--gold); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo img { width: 260px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.menu a {
  display: block; padding: 9px 14px; border-radius: 6px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.menu a:hover { background: var(--gold-soft); color: var(--ink); }
.menu a.active { color: var(--gold-dark); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.menu a.quote-link { background: var(--gold); color: #fff; margin-left: 6px; }
.menu a.quote-link:hover { background: var(--gold-dark); }
.menu a.quote-link.active { box-shadow: none; border-radius: 6px; background: var(--gold-dark); color: #fff; }

main.wrap { padding-top: 34px; padding-bottom: 56px; }

/* buttons */
.btn { display: inline-block; background: var(--gold); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 6px; border: 2px solid var(--gold); }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); }

/* home hero */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.carousel { position: relative; aspect-ratio: 16 / 7; min-height: 340px; }
.carousel .item { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.carousel .item.active { opacity: 1; }
.carousel img { width: 100%; height: 100%; object-fit: cover; }
.hero-text {
  position: absolute; inset: auto 0 0 0; padding: 120px 40px 34px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,0) 100%);
}
.hero-text h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 8px; max-width: 980px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-text p { margin: 0 0 18px; font-size: 18px; max-width: 600px; }
.hero-text .btns { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }

/* standards */
.standards { margin: 44px 0; text-align: center; }
.standards h2, .work h2 { font-size: 30px; margin: 0 0 20px; }
.standards ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.standards li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 12px 14px 40px; text-align: left; position: relative; font-weight: 500; color: var(--ink);
}
.standards li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* tiles + albums */
.work { text-align: center; }
.tiles, .albums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; text-align: left; }
.tiles a, .albums a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s;
}
.tiles a:hover, .albums a:hover, .tiles a:focus-visible, .albums a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.tiles img, .albums img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tiles span { display: block; padding: 12px 16px; font-weight: 600; }
.albums .t { display: block; padding: 12px 16px 0; font-weight: 600; font-size: 17px; }
.albums .n { display: block; padding: 0 16px 12px; font-size: 14px; color: var(--muted); }

/* inner pages */
.content h1 { font-size: 36px; line-height: 1.2; margin: 0 0 8px; }
.content h1 + * { margin-top: 0; }
.content > p { max-width: 720px; font-size: 17px; }
.content .lede { color: var(--muted); margin-bottom: 24px; }
.content .back { margin-bottom: 20px; }
.content .back a { text-decoration: none; font-weight: 600; }
.content > .thumbs, .content > .albums { margin-top: 24px; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.thumbs a { display: block; border-radius: 8px; overflow: hidden; background: #000; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .15s, transform .3s; }
.thumbs a:hover img, .thumbs a:focus-visible img { opacity: .85; transform: scale(1.04); }

/* lightbox */
#lb { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
#lb::backdrop { background: rgba(15,12,8,.92); }
#lb img { max-width: 92vw; max-height: 88vh; border-radius: 6px; cursor: pointer; }
.lb-btn { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 38px; line-height: 1; width: 52px; height: 52px; border-radius: 26px; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 14px; right: 14px; font-size: 30px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* testimonials */
.testimony {
  max-width: 820px; margin: 0 0 20px; display: flex; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 20px;
}
.testimony blockquote { margin: 0; flex: 1; font: italic 20px/1.5 Georgia, serif; color: var(--ink); }
.testimony video { width: 240px; max-width: 100%; height: auto; background: #000; border-radius: 6px; flex: none; }
.content h1 + .testimony { margin-top: 24px; }

/* free quote */
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.quote h2 { font-size: 22px; margin: 0 0 14px; }
.quote h2:not(:first-child) { margin-top: 22px; }
.quote fieldset { border: 0; margin: 0; padding: 0; }
.quote legend { font-weight: 600; margin-bottom: 6px; padding: 0; color: var(--ink); }
.quote .row { margin-bottom: 12px; }
.quote .row label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.quote input[type=text], .quote input[type=email], .quote input[type=tel] {
  width: 100%; font: inherit; padding: 9px 12px; border: 1px solid #cfc3ad; border-radius: 6px; background: #fff;
}
.quote input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.quote .opt { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.quote .opt input { accent-color: var(--gold); width: 17px; height: 17px; margin: 0; }
.quote fieldset:first-of-type { columns: 2; column-gap: 16px; }
.quote button { font: inherit; font-weight: 600; color: #fff; background: var(--gold); border: 0; border-radius: 6px; padding: 12px 26px; cursor: pointer; }
.quote button:hover { background: var(--gold-dark); }
.quote .note { font-size: 14px; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* footer */
.site-foot { background: var(--ink); color: #d9d1c3; text-align: center; padding: 38px 0 34px; border-top: 4px solid var(--gold); }
.site-foot p { margin: 4px 0; }
.site-foot a { color: #e9c77f; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .cta-line { font: 26px/1.3 Georgia, serif; color: #fff; margin-bottom: 8px; }
.site-foot .small { font-size: 14px; color: #a89f90; margin-top: 14px; }

/* responsive */
@media (max-width: 900px) {
  .masthead .wrap { flex-direction: column; gap: 10px; }
  .menu { justify-content: center; }
  .standards ul { grid-template-columns: repeat(2, 1fr); }
  .quote { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  main.wrap { padding-top: 20px; }
  .logo img { width: 220px; }
  .menu a { padding: 8px 9px; font-size: 14px; }
  .menu a.quote-link { margin-left: 0; }
  .carousel { min-height: 420px; }
  .hero-text { padding: 60px 20px 22px; }
  .standards ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .standards li { padding: 10px 8px 10px 32px; font-size: 14px; }
  .standards li::before { left: 9px; }
  .tiles, .albums { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiles span, .albums .t { padding: 8px 10px; font-size: 14px; }
  .albums .n { padding: 0 10px 8px; }
  .thumbs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .testimony { flex-direction: column; align-items: stretch; }
  .testimony video { width: 100%; }
  .site-foot .cta-line { font-size: 21px; }
  .quote { padding: 18px; }
  .quote fieldset:first-of-type { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .carousel .item, .tiles a, .albums a, .thumbs img { transition: none; } }

/* ---------- gold theme: original Beckett gold texture, refreshed layout ---------- */
body { background: #bf8b2c url(assets/img/background.jpg) repeat; color: #2a241b; }
.masthead { background: transparent; box-shadow: none; border-bottom: 1px solid rgba(0,0,0,.18); }
.menu a { color: #1f1c18; }
.menu a:hover { background: rgba(255,255,255,.28); }
.menu a.active { color: #1f1c18; box-shadow: inset 0 -3px 0 #1f1c18; }
.menu a.quote-link, .menu a.quote-link.active { background: #1f1c18; color: #f1d58e; box-shadow: none; border-radius: 6px; }
.menu a.quote-link:hover { background: #000; color: #fff; }
a { color: #4a2f05; }
a:hover { color: #000; }
.content .back a { color: #1f1c18; }
.content .lede, .albums .n { color: #4a3d2a; }
.content .lede { color: #2a241b; }
.standards li, .tiles a, .albums a, .testimony, .quote { border-color: rgba(0,0,0,.12); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.standards li::before { background-color: #1f1c18; }
.albums .n { color: #6d655a; }
.quote .note { color: #4a3d2a; }
.quote .note a { color: #8f6519; }
.quote button { background: #1f1c18; }
.quote button:hover { background: #000; }
.hero { box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.site-foot { border-top: 0; }

/* free quote (no form) */
.quote-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; align-items: start; }
.quote-simple .intro { font: 24px/1.4 Georgia, serif; margin: 0 0 24px; color: var(--ink); }
.quote-simple .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
.btn.big { font-size: 19px; padding: 15px 28px; background: #1f1c18; border-color: #1f1c18; color: #f1d58e; }
.btn.big:hover { background: #000; color: #fff; }
.btn.big.alt { background: transparent; color: #1f1c18; }
.btn.big.alt:hover { background: #1f1c18; color: #f1d58e; }
.quote-simple .mention { border-left: 3px solid #1f1c18; padding-left: 24px; }
.quote-simple h2 { font-size: 24px; margin: 0 0 12px; }
.quote-simple ul { margin: 0; padding-left: 20px; color: var(--ink); }
.quote-simple li { margin-bottom: 10px; }
@media (max-width: 760px) { .quote-simple { grid-template-columns: 1fr; gap: 28px; } .quote-simple .actions .btn { width: 100%; text-align: center; } }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
.quote-simple { margin-top: 24px; }
.content h1 + .quote-simple { margin-top: 24px; }
.content h1 + .about { margin-top: 18px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about p { font-size: 18px; color: var(--ink); margin: 0 0 16px; }
.about img { border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 24px; } }
