/* ==========================================================================
   YOURNAME Painting & Decorating: "Fresh Coat" demo
   --------------------------------------------------------------------------
   ✏️ To rebrand: change the colours and fonts in section 1. The "Try a colour"
   chips switch between the colour sets defined there.
   Contents: 1 Settings · 2 Base · 3 Buttons & labels · 4 Header · 5 Hero ·
   6 Sections · 7 Services · 8 Why us · 9 Our work · 10 Reviews ·
   11 Contact · 12 Footer & call bar · 13 Motion
   ========================================================================== */

/* 1. Settings
   ========================================================================== */
:root {
  --cream: #fbf5ec;
  --cream-deep: #f3eadc;
  --paper: #ffffff;
  --ink: #2a2320;
  --ink-soft: #6a5f59;
  --line: rgba(42, 35, 32, 0.12);

  /* Soft tints used for blocks and notes */
  --c-terracotta-soft: #f6ddd4;
  --c-teal-soft: #d6eae7;
  --c-mustard-soft: #f5e6c4;
  --c-cornflower-soft: #dde4f1;

  /* Accent colour (default: terracotta) */
  --accent: #d9674a;
  --accent-text: #a4452f;      /* accent for text on cream */
  --btn-bg: #b8513a;
  --btn-bg-hover: #a4452f;
  --btn-text: #ffffff;
  --accent-soft: var(--c-terracotta-soft);

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-accent="teal"] {
  --accent: #2f7f78;
  --accent-text: #23625c;
  --btn-bg: #2f7f78;
  --btn-bg-hover: #23625c;
  --btn-text: #ffffff;
  --accent-soft: var(--c-teal-soft);
}

html[data-accent="mustard"] {
  --accent: #d9a22a;
  --accent-text: #85600f;
  --btn-bg: #e3b23c;
  --btn-bg-hover: #d9a22a;
  --btn-text: #2a2320;
  --accent-soft: var(--c-mustard-soft);
}

html[data-accent="cornflower"] {
  --accent: #5b74a8;
  --accent-text: #405587;
  --btn-bg: #50689c;
  --btn-bg-hover: #405587;
  --btn-text: #ffffff;
  --accent-soft: var(--c-cornflower-soft);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 80px; }
}

/* 2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  font-weight: 700;
  color: var(--btn-text);
  background: var(--btn-bg);
  border-radius: 999px;
}

.skip-link:focus { top: 12px; }

/* 3. Buttons & labels
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }

.btn-accent { color: var(--btn-text); background: var(--btn-bg); }
.btn-accent:hover { background: var(--btn-bg-hover); }

.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: var(--cream); background: var(--ink); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Little paint swatch before each label */
.kicker::before {
  content: "";
  width: 12px;
  height: 16px;
  background: var(--accent);
  border-radius: 3px;
  transition: background-color 0.4s;
}

/* 4. Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 245, 236, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled,
.site-header.menu-open { background: rgba(251, 245, 236, 0.97); border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 12px; }

/* Paint chip logo mark */
.logo-chip {
  position: relative;
  width: 26px;
  height: 34px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 5px;
  overflow: hidden;
}

.logo-chip::before { content: ""; position: absolute; inset: 0 0 38% 0; background: var(--accent); transition: background-color 0.4s; }

.logo-text { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.45rem; line-height: 1; }
.logo-text small { margin-top: 3px; font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; }
.nav ul a { font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.nav ul a:hover { color: var(--accent-text); }
.nav-cta { min-height: 44px; padding: 10px 20px; font-size: 0.95rem; }
.menu-btn { display: none; }

@media (max-width: 959.98px) {
  .menu-btn { display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -8px; padding: 10px; }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-cta { min-height: 52px; }
}

/* 5. Hero (scroll to paint)
   ========================================================================== */
.hero { position: relative; height: 180vh; }

.hero-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  padding-top: var(--header-h);
  padding-bottom: 32px;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; --reveal: 8%; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.hero-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }

/* Wet paint edge following the roller */
.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 5px;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(42, 35, 32, 0.25);
  transition: background-color 0.4s;
}

.roller {
  position: absolute;
  top: 38%;
  left: var(--reveal);
  z-index: 2;
  width: 96px;
  transform: translate(-50%, -50%) rotate(90deg);
  filter: drop-shadow(0 12px 18px rgba(42, 35, 32, 0.3));
}

.roller svg { width: 100%; }
.roller rect:first-child { fill: var(--accent); stroke: var(--ink); stroke-width: 3; transition: fill 0.4s; }
.roller path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.roller rect:last-child { fill: var(--ink); }

.hero-content { position: relative; z-index: 3; }

.hero-card {
  max-width: 580px;
  padding: 28px 24px;
  background: rgba(251, 245, 236, 0.94);
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(42, 35, 32, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero-title em,
.section-title em { font-style: italic; color: var(--accent-text); transition: color 0.4s; }

.hero-lead { margin-top: 16px; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }

.swatches button {
  width: 34px;
  height: 34px;
  background: var(--chip);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }

.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  z-index: 3;
  display: none;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(251, 245, 236, 0.92);
  border-radius: 999px;
  transition: opacity 0.4s;
}

.hero.is-painted .scroll-hint { opacity: 0; }

@media (min-width: 768px) {
  .hero-sticky { align-items: center; padding-bottom: 0; }
  .hero-card { padding: 40px 40px 34px; }
  .scroll-hint { display: block; }
}

@media (max-width: 519.98px) {
  .hero { height: 160vh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .roller { top: 26%; width: 72px; }
}

/* Trust strip */
.trust { color: var(--cream); background: var(--ink); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding-block: 20px; font-size: 0.92rem; color: rgba(251, 245, 236, 0.8); }
.trust-list strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--cream); }

@media (min-width: 768px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 6. Sections
   ========================================================================== */
.section { padding-block: clamp(80px, 10vw, 128px); }
.section-tint { background: var(--cream-deep); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }

.section-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.3rem);
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

.section-lead { max-width: 38rem; margin-top: 16px; font-size: 1.08rem; color: var(--ink-soft); }

/* 7. Services (paint chips)
   ========================================================================== */
.chips-grid { display: grid; gap: 22px; }

.chip-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 40px -32px rgba(42, 35, 32, 0.4);
}

.js .chip-card[data-reveal] {
  transition: opacity 0.8s var(--ease) var(--delay, 0s), transform 0.8s var(--ease) var(--delay, 0s), box-shadow 0.3s, translate 0.35s var(--ease);
}

.chip-card:hover { translate: 0 -6px; box-shadow: 0 30px 50px -30px rgba(42, 35, 32, 0.45); }
.chip-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.chip-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
  border-top: 10px solid var(--accent);
  transition: border-color 0.4s;
}

.chip-no { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-soft); }
.chip-body h3 { margin-top: 4px; font-family: var(--font-display); font-size: 1.65rem; font-weight: 400; line-height: 1.1; }
.chip-body p:not(.chip-no):not(.chip-price) { margin: 8px 0 18px; color: var(--ink-soft); }
.chip-price { margin-top: auto; padding-top: 14px; font-size: 0.95rem; color: var(--ink-soft); border-top: 1px dashed var(--line); }
.chip-price strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--accent-text); }

.services-note { margin-top: 28px; text-align: center; color: var(--ink-soft); }

@media (min-width: 640px) { .chips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .chips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }

/* 8. Why us
   ========================================================================== */
.why { display: grid; gap: 48px; align-items: center; }

.why-photo { position: relative; }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }

.why-sticker {
  position: absolute;
  right: -10px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.15;
  text-align: center;
  color: var(--btn-text);
  background: var(--btn-bg);
  border-radius: 50%;
  rotate: -10deg;
  box-shadow: 0 14px 30px -12px rgba(42, 35, 32, 0.5);
  transition: background-color 0.4s;
}

.promises { display: grid; gap: 14px; margin-top: 32px; }
.promises li { padding: 22px 22px 20px; background: var(--tone); border-radius: 20px; }
.promises h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.promises p { margin-top: 4px; color: var(--ink-soft); }

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.figures div { display: flex; flex-direction: column-reverse; }
.figures dt { font-size: 0.85rem; color: var(--ink-soft); }
.figures dd { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1.1; color: var(--accent-text); }

.how { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.how li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.how span { display: grid; place-items: center; width: 30px; height: 30px; font-weight: 700; color: var(--btn-text); background: var(--btn-bg); border-radius: 50%; }

@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; } }

/* 9. Our work
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filters button {
  min-height: 42px;
  padding: 8px 18px;
  font-weight: 600;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}

.filters button:hover { background: var(--accent-soft); }
.filters button[aria-pressed="true"] { color: var(--cream); background: var(--ink); }

.work-grid { display: grid; gap: 18px; }
.work-item[hidden] { display: none; }
.work-item { animation: popIn 0.5s var(--ease) both; }

.work-btn { position: relative; display: block; width: 100%; overflow: hidden; text-align: left; border-radius: 22px; }
.work-btn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-btn:hover img { transform: scale(1.05); }

.work-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 16px;
  background: rgba(251, 245, 236, 0.95);
  border-radius: 14px;
}

.work-cap strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.15; }
.work-cap small { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 0.85rem; color: var(--ink-soft); }
.work-cap i { width: 14px; height: 14px; background: var(--dot); border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }

@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

.lightbox { width: min(1000px, calc(100% - 24px)); max-height: 92vh; padding: 0; background: var(--cream); border: 0; border-radius: 22px; overflow: hidden; }
.lightbox::backdrop { background: rgba(42, 35, 32, 0.75); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: var(--ink); }
.lightbox-cap { padding: 14px 20px; font-weight: 600; }
.lightbox-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--cream); border-radius: 50%; }
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }

/* 10. Reviews (sticky notes)
   ========================================================================== */
.notes { display: grid; gap: 26px; padding: 10px 6px; }

.note {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 24px;
  background: var(--tone);
  border-radius: 6px 6px 26px 6px;
  box-shadow: 0 22px 40px -28px rgba(42, 35, 32, 0.5);
  rotate: var(--tilt);
}

.note-stars { color: var(--accent-text); letter-spacing: 0.15em; }
.note blockquote { margin: 14px 0 20px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.note figcaption { margin-top: auto; font-weight: 600; color: var(--ink-soft); }

@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; } }

/* 11. Contact
   ========================================================================== */
.contact { display: grid; gap: 44px; align-items: start; }

.contact-links { display: grid; gap: 12px; margin-top: 28px; }

.contact-links a {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow-wrap: anywhere;
  transition: border-color 0.2s, translate 0.3s var(--ease);
}

.contact-links a:hover { border-color: var(--accent); translate: 4px 0; }
.contact-links span { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }

.form-card { padding: 30px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 60px -40px rgba(42, 35, 32, 0.45); }
.form-card h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.form-grid { display: grid; gap: 16px; margin-top: 20px; }

.field label, .field legend { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; }

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: border-color 0.2s, background-color 0.2s;
}

.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: var(--paper); border-color: var(--accent); }
.field.has-error input { border-color: #c0392b; }
.field-error { display: block; margin-top: 6px; font-size: 0.85rem; font-weight: 600; color: #b03a2e; }

.chips { margin: 0; padding: 0; border: 0; }
.chips label { position: relative; display: inline-block; margin: 0 6px 8px 0; font-weight: 500; }
.chips input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; opacity: 0; }

.chips span {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.95rem;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.chips input:checked + span { background: var(--accent-soft); border-color: var(--accent); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.form-submit { width: 100%; margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 0.85rem; text-align: center; color: var(--ink-soft); }

.form-success { padding: 34px 6px; text-align: center; }
.form-success:focus { outline: none; }
.form-success h3 { margin-top: 16px; }
.form-success p { margin-top: 8px; color: var(--ink-soft); }
.success-chip { display: inline-block; width: 48px; height: 64px; background: linear-gradient(var(--accent) 62%, var(--cream) 62%); border: 2px solid var(--ink); border-radius: 8px; animation: popIn 0.6s var(--ease) both; }

@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-full { grid-column: 1 / -1; }
  .form-card { padding: 40px 38px; }
}

@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; } }

/* 12. Footer & call bar
   ========================================================================== */
.site-footer { padding-bottom: 96px; color: var(--cream); background: var(--ink); }

.paint-stripes { display: grid; grid-template-columns: repeat(4, 1fr); height: 14px; }
.paint-stripes i:nth-child(1) { background: #d9674a; }
.paint-stripes i:nth-child(2) { background: #2f7f78; }
.paint-stripes i:nth-child(3) { background: #e3b23c; }
.paint-stripes i:nth-child(4) { background: #5b74a8; }

.footer-grid { display: grid; gap: 28px; padding-top: 56px; }
.site-footer .logo-chip { background: var(--ink); border-color: var(--cream); }
.site-footer .logo-text small { color: rgba(251, 245, 236, 0.65); }
.footer-about { max-width: 24rem; margin-top: 14px; color: rgba(251, 245, 236, 0.72); }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: rgba(251, 245, 236, 0.8); transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }
.footer-legal { margin-top: 40px; padding-top: 20px; font-size: 0.85rem; color: rgba(251, 245, 236, 0.6); border-top: 1px solid rgba(251, 245, 236, 0.14); }

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  padding-bottom: env(safe-area-inset-bottom);
  color: var(--cream);
  background: var(--ink);
}

.call-bar a { display: grid; place-items: center; min-height: 56px; font-weight: 600; border-right: 1px solid rgba(251, 245, 236, 0.14); }
.call-bar .call-bar-main { color: var(--btn-text); background: var(--btn-bg); border: 0; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .site-footer { padding-bottom: 32px; }
  .call-bar { display: none; }
}

/* 13. Motion
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

.hero-card > * { animation: rise 0.9s var(--ease) both; }
.hero-card > :nth-child(2) { animation-delay: 0.08s; }
.hero-card > :nth-child(3) { animation-delay: 0.16s; }
.hero-card > :nth-child(4) { animation-delay: 0.24s; }
.hero-card > :nth-child(5) { animation-delay: 0.32s; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

/* Less motion: show the finished room straight away */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: clamp(640px, 100vh, 900px); }
  .hero-media { --reveal: 100%; }
  .hero-media::after, .roller, .scroll-hint { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
