/* Painter and Decorations - Stoke-on-Trent */

:root {
  --paper: #efe8dc;
  --paper-2: #e4dbcc;
  --cream: #f4eee4;
  --ink: #1b1714;
  --ink-soft: #3a342e;
  --muted: #6a635a;
  --line: #d4cbb8;
  --oxide: #c24a20;
  --oxide-dark: #9d3918;
  --sap: #2f4a3c;
  --sap-deep: #24382e;
  --wa: #215c45;
  --mark: #f0e6d4;
  --header: 5.35rem;
  --max: 1140px;
  --gutter: clamp(1.15rem, 4.6vw, 4.25rem);
  --display: "Bricolage Grotesque", "Gill Sans", "Trebuchet MS", sans-serif;
  --text: "Public Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.6rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.05rem;
  line-height: 1.62;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(2.05rem, 5.4vw, 4.05rem); text-wrap: balance; }
.nobr { white-space: nowrap; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.85rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--mark);
  padding: 0.55rem 1rem;
  z-index: 200;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxide);
  margin: 0 0 0.55rem;
}

.section-head { max-width: 38rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--ink-soft); }
.section-head h2::after,
.about-copy h2::after,
.contact-copy h2::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 4.4rem;
  height: 0.38rem;
  margin-top: 0.7rem;
  background: var(--oxide);
  border-radius: 1px 10px 1px 8px;
}
.section-head-light h2,
.section-head-light p { color: var(--cream); }
.section-head-light .kicker { color: #e8b39a; }
.section-head-light h2::after { background: #e8b39a; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.7rem;
  padding: 0.45rem 1.05rem;
  border-radius: 2px;
  font-family: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-call {
  background: var(--oxide);
  color: #fff;
  border-color: var(--oxide);
}
.btn-call:hover { background: var(--oxide-dark); border-color: var(--oxide-dark); }
.btn-wa {
  background: var(--wa);
  color: #fff;
  border-color: var(--wa);
}
.btn-wa:hover { background: #184534; border-color: #184534; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(240, 230, 212, 0.55);
}
.btn-ghost:hover { background: rgba(240, 230, 212, 0.12); }
.contact .btn-ghost,
.page-hero .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--mark);
  min-height: var(--header);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.header-inner {
  width: min(1280px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}
.chips {
  display: grid;
  gap: 4px;
  width: 22px;
  flex-shrink: 0;
}
.chips i {
  display: block;
  height: 9px;
  border-radius: 1px;
}
.chips i:nth-child(1) { background: #3d5a45; }
.chips i:nth-child(2) { background: var(--oxide); }
.chips i:nth-child(3) { background: var(--mark); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong,
.brand-text span {
  font-family: var(--display);
  font-size: clamp(1.32rem, 2.8vw, 1.78rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--mark);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem 1.15rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: #d9d0c2;
  padding: 0.2rem 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; }
.nav-privacy,
.nav-cta { display: none; }

.header-actions {
  display: none;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.header-call-compact {
  flex-shrink: 0;
  min-height: 2.35rem;
  padding-inline: 0.85rem;
  margin-left: auto;
}
.header-call-full { display: none; }

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--mark);
}

@media (max-width: 959px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #14110f;
    display: none;
    padding: 0.4rem var(--gutter) 1.1rem;
    border-top: 1px solid #2c2722;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--mark);
    border-bottom: 1px solid #2c2722;
  }
  .nav-privacy,
  .nav-cta { display: list-item; }
  .nav-cta { padding: 0.45rem 0; }
  .nav-cta .btn { width: 100%; color: #fff; }
  .nav-cta a { border-bottom: 0; padding: 0; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 640px) {
  .header-actions { display: flex; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-inner { gap: 1.4rem; }
  .site-nav {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .header-call-compact { display: none; margin-left: 0; }
  .header-call-full { display: inline-flex; min-width: 9.5rem; }
}
@media (min-width: 960px) and (max-width: 1140px) {
  .site-nav a { font-size: 0.8rem; }
  .site-nav ul { gap: 0.1rem 0.8rem; }
  .header-call-full { min-width: 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--cream);
  background: #2a241e;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 62%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 13, 11, 0.78) 0%, rgba(16, 13, 11, 0.28) 52%, rgba(16, 13, 11, 0.12) 100%),
    linear-gradient(0deg, rgba(16, 13, 11, 0.72) 0%, rgba(16, 13, 11, 0.05) 48%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 5.5rem 0 6.5rem;
}
.hero-copy h1,
.hero-lead { max-width: 38rem; }
.hero-copy .kicker { color: #e8b39a; }
.hero-lead {
  font-size: 1.08rem;
  color: #ebe3d6;
  max-width: 32rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

/* Tiles */
.tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #2a241e;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}
.tile:hover img {
  transform: scale(1.06);
  filter: brightness(0.72);
}
.tile span,
.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.2rem 0.85rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(16, 13, 11, 0.82));
  pointer-events: none;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: -3.4rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 701px) {
  .strip .tile:nth-child(2) { transform: translateY(-0.85rem); }
}
@media (max-width: 700px) {
  .strip { margin-top: -1.6rem; gap: 0.45rem; }
  .strip .tile span { font-size: 0.78rem; padding: 1.4rem 0.5rem 0.5rem; }
}

/* About */
.about { padding: 5.2rem 0 4.2rem; }
.about-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}
.about-photo { margin: 0; overflow: hidden; }
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 80%;
  transition: filter 0.35s ease, transform 0.55s ease;
}
.about-photo:hover img { transform: scale(1.02); filter: brightness(0.94); }
.about-copy p { color: var(--ink-soft); }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts li {
  flex: 1 1 7.5rem;
  padding: 1.05rem 1.1rem 1.05rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.facts li:last-child { border-right: 0; padding-right: 0; }
.facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 0;
    align-items: stretch;
  }
  .about-copy {
    background: var(--paper);
    margin: 2.4rem 0 2.4rem -3.2rem;
    padding: 2.2rem 0 2.2rem 3.2rem;
    position: relative;
    z-index: 1;
  }
}

/* Services */
.services { padding: 1rem 0 4.5rem; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.svc-grid article:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 0.35rem);
  justify-self: center;
}
@media (min-width: 900px) {
  .svc-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .svc-grid article:nth-child(1) { grid-column: 1 / 3; }
  .svc-grid article:nth-child(2) { grid-column: 3 / 5; }
  .svc-grid article:nth-child(3) { grid-column: 5 / 7; }
  .svc-grid article:nth-child(4) { grid-column: 2 / 4; }
  .svc-grid article:nth-child(5) {
    grid-column: 4 / 6;
    width: auto;
    justify-self: stretch;
  }
}

/* Portfolio */
.portfolio {
  padding: 4.2rem 0 5rem;
  background: var(--cream);
}
.port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (min-width: 900px) {
  .port-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reviews */
.reviews {
  padding: 4.6rem 0 5rem;
  background: var(--sap);
  color: var(--cream);
}
.review-score {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.score-num {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
}
.score-num span {
  font-size: 0.38em;
  letter-spacing: 0;
  color: #c9d4cc;
}
.score-meta {
  margin: 0;
  color: #c9d4cc;
}
.score-meta a { color: #fff; }
.review-list {
  display: grid;
  gap: 0.9rem;
}
blockquote {
  margin: 0;
  padding: 1.35rem 1.3rem 1.2rem;
  background: rgba(12, 20, 16, 0.28);
}
blockquote p {
  font-size: 1.02rem;
  margin-bottom: 0.7rem;
}
blockquote footer {
  font-size: 0.78rem;
  color: #c9d4cc;
}
@media (min-width: 860px) {
  .review-list { grid-template-columns: 1fr 1fr; }
  .review-list blockquote:last-child { grid-column: 1 / -1; }
}
.see-more { margin: 1.6rem 0 0; }
.see-more a {
  color: #fff;
  font-weight: 600;
}

/* Contact */
.contact {
  padding: 4.8rem 0 5.2rem;
  background: var(--ink);
  color: var(--cream);
}
.contact .kicker { color: #e8b39a; }
.contact-copy h2::after { background: var(--oxide); }
.contact-copy p { color: #d9d0c2; }
.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-list {
  display: grid;
  gap: 0.95rem;
  margin: 1.4rem 0 1.6rem;
}
.contact-list li span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8b39a;
  margin-bottom: 0.15rem;
}
.contact-list a,
.contact-list p {
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: #e8b39a; }

.map-frame {
  min-height: 22rem;
  background: #2a241e;
  position: relative;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3.2rem;
    align-items: stretch;
  }
  .map-frame { min-height: 100%; }
}

/* Footer */
.site-footer {
  background: #120f0d;
  color: #cfc4b0;
  padding: 2.4rem 0 1.4rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 1.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #2c2722;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mark);
  margin: 0 0 0.25rem;
}
.footer-area { margin: 0; }
.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-contact a,
.footer-links a { text-decoration: none; }
.footer-contact a:hover,
.footer-links a:hover { color: #fff; }
.footer-base { padding-top: 1rem; }
.footer-base p { margin: 0; font-size: 0.82rem; color: #8a8276; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* Privacy */
.page-hero {
  padding: 4.2rem 0 2.2rem;
  background: var(--ink);
  color: var(--cream);
}
.page-hero .kicker { color: #e8b39a; }
.legal { padding: 2.6rem 0 4.8rem; }
.legal-content { max-width: 42rem; }
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 1.8rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 1em;
}
.legal-content li { margin: 0.25rem 0; }
.legal-content a { color: var(--oxide-dark); }

@media (max-width: 639px) {
  .facts li {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
  }
  .facts li:last-child { border-bottom: 0; }
  .hero-copy { padding-bottom: 5rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid article:last-child {
    width: auto;
    justify-self: stretch;
  }
}
@media (max-width: 379px) {
  .brand-text strong,
  .brand-text span { font-size: 1.18rem; }
  .header-call-compact { padding-inline: 0.65rem; font-size: 0.8rem; }
}
