/* MT Plastering Ltd: colours taken from the logo */
@font-face { font-family: "Cinzel"; src: url(/assets/fonts/cinzel.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(/assets/fonts/montserrat.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --char: #3b3738;        /* logo background */
  --char-dark: #2c292a;
  --char-line: #4c4748;
  --gold: #d39c47;        /* logo gold */
  --gold-light: #f2c46f;
  --gold-dark: #b07d36;
  --gold-text: #8f5f1f;   /* gold dark enough for text on light backgrounds */
  --plaster: #f6f2ec;     /* warm off-white, like fresh skim */
  --plaster-2: #ece5da;
  --ink: #2b2829;
  --muted: #615a5c;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(44, 41, 42, .12);
  --wrap: 1180px;
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.7 var(--sans); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.small { font-size: .875rem; color: var(--muted); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--char); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.15rem; max-width: 46em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: var(--char-dark); }
.btn-gold:hover { color: var(--char-dark); filter: brightness(1.05); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--char); }
.btn-dark { background: var(--char); color: var(--white); }
.btn-dark:hover { background: var(--char-dark); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--char); color: var(--white); border-bottom: 1px solid var(--char-line); }
.header-inner { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { color: var(--white); display: block; width: 290px; flex-shrink: 0; }
.brand svg { width: 100%; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; white-space: nowrap; padding: 8px 9px; color: #e9e4e5; text-decoration: none; font-size: .9rem; font-weight: 500; border-radius: 6px; }
.site-nav ul a:hover { color: var(--gold-light); }
.site-nav ul a[aria-current="page"] { color: var(--gold-light); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header-call { padding: .7em 1.1em; white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 1281px) {
  .brand { width: 230px; }
  .site-nav { gap: 12px; }
  .site-nav ul a { padding: 8px 7px; font-size: .86rem; }
}
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 26px; height: 2px; background: var(--gold-light); position: relative; transition: .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; } .nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1280px) {
  .brand { width: 210px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--char); flex-direction: column; align-items: stretch; padding: 10px 20px 24px; border-bottom: 1px solid var(--char-line); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--char-line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: none; }
  .header-call { justify-content: center; margin-top: 8px; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--char-dark); background-image: linear-gradient(90deg, rgba(44,41,42,.94) 0%, rgba(44,41,42,.78) 45%, rgba(44,41,42,.35) 100%), var(--hero, none); background-size: cover; background-position: center; }
.hero-noimg { overflow: hidden; }
.hero-noimg::after { content: ""; position: absolute; right: -4%; bottom: -6%; width: min(56vw, 760px); aspect-ratio: 566 / 228; background: url(/assets/img/logo-icon.svg) center / contain no-repeat; opacity: .12; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: clamp(70px, 12vw, 150px) 20px; max-width: var(--wrap); }
.hero h1 { max-width: 15em; }
.hero .eyebrow { color: var(--gold-light); }
.hero .lead { color: #ebe6e7; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero { background: var(--char); color: var(--white); padding: clamp(48px, 8vw, 90px) 0 clamp(40px, 6vw, 70px); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark)); }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .lead { color: #e3dddf; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-plaster { background: var(--plaster); }
.section-dark { background: var(--char); color: var(--white); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 18px auto 0; background: var(--gold); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-4 .card-body { padding: 20px 20px 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--plaster-2); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); color: var(--ink); box-shadow: 0 16px 40px rgba(44,41,42,.18); }
.card img, .card-ph { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-ph { background: linear-gradient(135deg, var(--char), var(--char-line)); }
.card-body { padding: 22px 24px 26px; border-top: 3px solid var(--gold); flex: 1; display: flex; flex-direction: column; }
.card-row .card-body { border-top: 0; border-left: 3px solid var(--gold); }
.card-body p { color: var(--muted); flex: 1; }
.more { font-weight: 600; font-size: .9rem; color: var(--gold-text); }
.more::after { content: " \2192"; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-img.sticky { position: sticky; top: 100px; }
.why { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why li { background: var(--white); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--gold); }
.why h3 { font-size: 1.05rem; }
.why p { color: var(--muted); font-size: .95rem; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%233b3738' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.g-item { display: block; border-radius: 8px; overflow: hidden; background: var(--plaster-2); }
.g-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.chip { font: 600 .9rem var(--sans); padding: .6em 1.2em; border-radius: 999px; border: 2px solid var(--char); background: var(--white); color: var(--char); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--char); color: var(--gold-light); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(20, 18, 19, .92); }
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 6px; margin: 0 auto; }
.lightbox p { color: #eee; text-align: center; margin: 10px 0 0; }
.lb-btn { position: fixed; background: rgba(0,0,0,.5); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-bottom: 36px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--char-dark); border: 1px solid var(--char-line); }
.reviews-light .review { background: var(--plaster); border-color: var(--plaster-2); }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: .6em; }
.review .stars span { color: #8a8384; }
.review footer { font-size: .9rem; color: var(--gold-light); }
.reviews-light .review footer { color: var(--gold-text); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.member { margin: 0; display: flex; gap: 22px; align-items: flex-start; }
.member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); flex-shrink: 0; }
.member .role { color: var(--gold-text); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-top: -.4em; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.area-list li { padding-left: 22px; position: relative; font-weight: 500; }
.area-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--char-dark), var(--char)); color: var(--white); border-top: 4px solid var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 20px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; color: #ddd7d8; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: block; padding: 18px 22px; border-radius: var(--radius); background: var(--plaster); border-left: 4px solid var(--gold); text-decoration: none; color: var(--ink); }
.contact-card span { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.contact-card strong { font-weight: 600; word-break: break-word; }
a.contact-card:hover { background: var(--plaster-2); color: var(--ink); }
.form-wrap { background: var(--white); border: 1px solid var(--plaster-2); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); padding: .8em .9em; border: 1.5px solid #cfc7c9; border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold-dark); outline: 3px solid rgba(211,156,71,.3); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-weight: 500; font-size: .85rem; }
.form .btn { justify-self: start; }
.notice { padding: 18px 22px; border-radius: 8px; margin-bottom: 18px; }
.notice.success { background: #eef6ee; border-left: 4px solid #2e7d32; }
.notice.error { background: #fbeeed; border-left: 4px solid #b3261e; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--char-dark); color: #cfc9ca; padding: 60px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 30px; }
.site-footer h3 { color: var(--gold-light); font-size: 1rem; letter-spacing: .06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e9e4e5; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--char-line); margin-top: 44px; padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .cards, .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .split, .areas, .contact-grid { grid-template-columns: 1fr; }
  .split-img.sticky { position: static; }
  .contact-grid .form-wrap { order: -1; }
  .why { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .why, .row2 { grid-template-columns: 1fr; }
  .gallery-grid { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .member { flex-direction: column; align-items: center; text-align: center; }
  body { padding-bottom: 60px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--char); border-top: 2px solid var(--gold); }
  .mobile-bar a { text-align: center; padding: 16px 4px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; }
  .mobile-bar a + a { border-left: 1px solid var(--char-line); }
  .mobile-bar a:last-child { background: var(--gold); color: var(--char-dark); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
