/* Elite Decor — Liam Macquhae, Painting & Decorating, Buxton
   ------------------------------------------------------------------
   Palette is taken from the logo: black ground, gold lettering, and the
   six colours of the rainbow brush. The spectrum is the signature device;
   everything else stays quiet so it carries the page.
   ------------------------------------------------------------------ */

:root {
  --ink:        #050506;
  --panel:      #111114;
  --panel-2:    #17171B;
  --line:       #26262C;
  --line-soft:  #1D1D22;

  --gold:       #D9A93A;
  --gold-lift:  #F0C761;
  --gold-deep:  #4A3A12;

  --white:      #FFFFFF;
  --text:       #A9A9B0;
  --text-dim:   #7C7C84;
  --paper:      #F4F2ED;

  --red:    #E23A2E;
  --orange: #F08A1E;
  --yellow: #F5C518;
  --green:  #6BBE3E;
  --blue:   #2E9BD8;
  --violet: #8B5FC9;

  --display: "Archivo", "Carlito", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", "Carlito", "Helvetica Neue", Arial, sans-serif;

  --shell: 1140px;
  --gutter: 20px;
  --radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lift); }

:focus-visible {
  outline: 3px solid var(--gold-lift);
  outline-offset: 3px;
}

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

h1 { font-size: clamp(2.4rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--ink);
  padding: 12px 18px; font-weight: 700; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Spectrum rule: the signature device ---------- */

.spectrum {
  display: flex;
  height: 5px;
  width: 100%;
}
.spectrum span { flex: 1; }
.spectrum span:nth-child(1) { background: var(--red); }
.spectrum span:nth-child(2) { background: var(--orange); }
.spectrum span:nth-child(3) { background: var(--yellow); }
.spectrum span:nth-child(4) { background: var(--green); }
.spectrum span:nth-child(5) { background: var(--blue); }
.spectrum span:nth-child(6) { background: var(--violet); }
.spectrum--thin { height: 3px; }

/* ---------- Header ---------- */

.topline {
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--text-dim);
  text-align: center;
  padding: 9px var(--gutter);
}
.topline strong { color: var(--gold); font-weight: 600; }

.masthead {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 104px; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--gold);
  letter-spacing: .08em;
  line-height: 1;
}
.brand__role {
  font-size: .66rem;
  letter-spacing: .22em;
  color: #B9BDC2;
  margin-top: 6px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.nav a {
  color: #E3E3E6;
  font-size: .92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--line); }
.nav a[aria-current] { color: var(--white); border-bottom-color: var(--gold); }

.callbtn {
  font-family: var(--display);
  font-weight: 800;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--radius);
  white-space: nowrap;
  font-size: 1.1rem;
}
.callbtn:hover { background: var(--gold-lift); color: var(--ink); }

.navtoggle {
  display: none;
  background: transparent;
  border: 1px solid #3A3A42;
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: 11px 15px;
  cursor: pointer;
  align-items: center;
  gap: 9px;
}
.navtoggle:hover { border-color: var(--gold); color: var(--gold); }
.navtoggle__bars { display: block; width: 17px; height: 11px; position: relative; }
.navtoggle__bars::before,
.navtoggle__bars::after,
.navtoggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px;
}
.navtoggle__bars::before { top: 0; }
.navtoggle__bars span { top: 4.5px; }
.navtoggle__bars::after { bottom: 0; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .navtoggle { display: inline-flex; order: 3; }
  .masthead__inner { flex-wrap: wrap; row-gap: 12px; }
  .brand { flex: 1 1 auto; }
  .callbtn { order: 2; }

  .nav.is-open {
    display: flex;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 6px;
    margin-top: 4px;
  }
  .nav.is-open a {
    padding: 15px 2px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav.is-open a[aria-current] { color: var(--gold); border-bottom-color: var(--line-soft); }

  .brand img { width: 84px; }
  .brand__name { font-size: 1.08rem; }
  .callbtn { font-size: 1rem; padding: 11px 16px; }
}
@media (max-width: 560px) {
  .brand__role { display: none; }
  .brand img { width: 66px; }
  .brand__name { font-size: 1rem; }
  .callbtn { font-size: .92rem; padding: 10px 12px; }
  .navtoggle { padding: 10px 12px; font-size: .84rem; }
}

/* ---------- Sections ---------- */

.band { padding: 76px 0; }
.band--tight { padding: 54px 0; }
.band--panel { background: var(--panel); }
.band--gold { background: var(--gold); color: var(--gold-deep); }
.band--gold h2, .band--gold h3 { color: var(--ink); }

.band > .shell > h2 { margin-bottom: 14px; }
.lede { font-size: 1.06rem; color: var(--text); max-width: 62ch; }

.headrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .band { padding: 52px 0; }
  .band--tight { padding: 38px 0; }
}

/* ---------- Hero ---------- */

.hero { padding: 78px 0 84px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero p { font-size: 1.14rem; margin-bottom: 30px; }
.hero__tag {
  font-family: var(--display);
  font-weight: 800;
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- Buttons ---------- */

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-lift); color: var(--ink); }
.btn--ghost { border-color: #45454C; color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #1A1A1E; color: var(--white); }

/* ---------- Image placeholders (swap for photographs) ---------- */

.shot {
  position: relative;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.shot-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hero__grid picture, .split picture, .job picture { display: block; }
.grid .shot-img, .job .shot-img { aspect-ratio: 4 / 3; }

.shot__note {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(5,5,6,.88);
  color: var(--text-dim);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 10px;
}
.shot--room  { background: #1C4E63; }
.shot--green { background: #3F4A3C; }
.shot--clay  { background: #B8A79A; }
.shot--room::before, .shot--green::before, .shot--clay::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 2px;
}

/* ---------- Trust strip ---------- */

.trust {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding: 30px var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
  text-align: center;
}
.trust__grid h3 { font-size: 1.12rem; margin-bottom: 5px; }
.trust__grid p { font-size: .86rem; color: var(--text-dim); margin: 0; }

@media (max-width: 780px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: left; }
}

/* ---------- Card grids ---------- */

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--text); margin: 0; }
.card a { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .95rem; }

.card--red    { border-top-color: var(--red); }
.card--orange { border-top-color: var(--orange); }
.card--yellow { border-top-color: var(--yellow); }
.card--green  { border-top-color: var(--green); }
.card--blue   { border-top-color: var(--blue); }
.card--violet { border-top-color: var(--violet); }

/* ---------- Prep list ---------- */

.prep { display: grid; gap: 18px; }
.prep li { list-style: none; border-left: 3px solid var(--line); padding-left: 20px; }
.prep h3 { font-size: 1.06rem; margin-bottom: 5px; }
.prep p { font-size: .93rem; color: var(--text-dim); margin: 0; }
.prep li:nth-child(1) { border-left-color: var(--red); }
.prep li:nth-child(2) { border-left-color: var(--orange); }
.prep li:nth-child(3) { border-left-color: var(--yellow); }
.prep li:nth-child(4) { border-left-color: var(--green); }
.prep li:nth-child(5) { border-left-color: var(--blue); }
.prep ul, .prep { margin: 0; padding: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Colour swatches ---------- */

.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.swatch__chip { height: 150px; border-radius: var(--radius); }
.swatch h3 { font-size: 1rem; margin: 12px 0 3px; }
.swatch p { font-size: .84rem; color: var(--text-dim); margin: 0; }

@media (max-width: 900px) { .swatches { grid-template-columns: repeat(3, 1fr); } .swatch__chip { height: 110px; } }
@media (max-width: 520px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Before and after ---------- */

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba__frame { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--panel-2); }
.ba__frame picture { display: block; width: 100%; height: 100%; }
.ba__frame img { width: 100%; height: 100%; object-fit: cover; }
.ba__label {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--display); font-weight: 700; font-size: .72rem;
  padding: 4px 9px; border-radius: 2px;
}
.ba__label--before { background: var(--ink); color: var(--white); }
.ba__label--after  { background: var(--gold); color: var(--ink); }
.job h3 { font-size: 1.08rem; margin: 14px 0 4px; }
.job p { font-size: .9rem; color: var(--text-dim); margin: 0; }

/* ---------- Reviews ---------- */

.review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review__stars { color: var(--gold); letter-spacing: .3em; font-size: 1rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 14px; font-size: .98rem; color: #C6C6CA; line-height: 1.8; }
.review cite { font-style: normal; font-size: .87rem; color: var(--text-dim); }

/* ---------- Area chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: #DEDEE2;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-size: .94rem;
}
.chips a:hover { border-color: var(--gold); color: var(--gold); }
.chips a.is-current { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }

/* ---------- Facts panel ---------- */

.facts {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.facts dl { margin: 0; }
.facts dt {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 18px;
}
.facts dt:first-child { margin-top: 0; }
.facts dd {
  margin: 5px 0 0;
  font-family: var(--display); font-weight: 700; font-size: 1.16rem; color: var(--white);
  line-height: 1.35;
}
.facts dd.is-gold { color: var(--gold); font-size: 1.45rem; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq__item h3 { font-size: 1.06rem; margin-bottom: 8px; }
.faq__item p { font-size: .96rem; margin: 0; }

/* ---------- Breadcrumb ---------- */

.crumb {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  color: var(--text-dim);
  padding: 13px var(--gutter);
}
.crumb .shell { padding: 0; }
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--white); }

/* ---------- Contact form ---------- */

.form { display: grid; gap: 16px; }
.field label {
  display: block;
  font-size: .88rem;
  color: #D2D2D7;
  margin-bottom: 7px;
  font-weight: 600;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 14px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: .84rem; color: var(--text-dim); }
.form button {
  justify-self: start;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: 16px 32px;
}
.form button:hover { background: var(--gold-lift); }

/* ---------- CTA band ---------- */

.cta { background: var(--gold); padding: 56px 0; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta h2 { color: var(--ink); margin-bottom: 10px; }
.cta p { color: var(--gold-deep); margin: 0; font-size: 1.02rem; }

/* ---------- Footer ---------- */

.foot { background: var(--ink); padding: 52px 0 34px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot img { width: 260px; margin-bottom: 16px; }
.foot h3 { font-size: .95rem; margin-bottom: 14px; color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot li a { color: var(--text); font-size: .94rem; }
.foot li a:hover { color: var(--gold); }
.foot__legal {
  border-top: 1px solid var(--line-soft);
  margin-top: 36px; padding-top: 22px;
  font-size: .84rem; color: var(--text-dim);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Sticky call bar (mobile) ---------- */

.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: flex;
    position: fixed; inset: auto 0 0 0; z-index: 90;
    background: var(--gold);
    box-shadow: 0 -6px 20px rgba(0,0,0,.45);
  }
  .callbar a {
    flex: 1; text-align: center;
    font-family: var(--display); font-weight: 800; font-size: 1.05rem;
    color: var(--ink); padding: 15px 8px;
  }
  .callbar a + a { border-left: 1px solid rgba(0,0,0,.22); }
  body { padding-bottom: 58px; }
}
