/* ============================================================
   Shree Maruthi Furnitures - landing page styles
   ============================================================ */

:root {
  --espresso: #2e1f16;
  --espresso-deep: #1f140d;
  --walnut: #6b4a2f;
  --wood: #8b5e3c;
  --brass: #c8963e;
  --brass-light: #e0b15f;
  --brass-tint: #f7edda;
  /* Picked off the terracotta wall in the banner - used for the top strip. */
  --terracotta: #c0562f;

  --cream: #fbf7f1;
  --sand: #f3ebe0;
  --surface: #ffffff;

  --text: #2b221c;
  --muted: #7a6a5c;
  --line: #e8dfd3;

  --wa: #25d366;
  --wa-deep: #1da851;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(46, 31, 22, 0.06);
  --shadow: 0 12px 32px rgba(46, 31, 22, 0.1);
  --shadow-lg: 0 26px 60px rgba(46, 31, 22, 0.18);

  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Clears the full header so anchored sections are not hidden under it. */
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p {
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Urbanist", "Plus Jakarta Sans", sans-serif;
  color: var(--espresso);
  letter-spacing: -0.02em;
  line-height: 1.16;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

/* The header, banner and category grid share a wider track than the rest of
   the page, so their left edges line up. */
.topbar-inner,
.header-inner,
.cat-bar-inner,
.container-wide {
  width: min(1560px, calc(100% - 44px));
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Visible to assistive tech and search engines, not on screen. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-fill {
  fill: currentColor;
  stroke: none;
}

/* ------------------------- Buttons ------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

/* Light sweep that runs across a button on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 55%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease);
}

.btn:hover::after {
  left: 150%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn .ico {
  transition: transform 0.22s var(--ease);
}

.btn:hover .ico {
  transform: translateX(2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 31, 22, 0.26);
}

.btn-primary:hover {
  background: var(--espresso-deep);
  box-shadow: 0 16px 32px rgba(46, 31, 22, 0.32);
}

.btn-whatsapp {
  background: var(--wa-deep);
  color: #fff;
  box-shadow: 0 10px 26px rgba(29, 168, 81, 0.32);
}

.btn-whatsapp:hover {
  background: #17914a;
  box-shadow: 0 16px 34px rgba(29, 168, 81, 0.4);
}

.btn-accent {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(192, 86, 47, 0.32);
}

.btn-accent:hover {
  background: #a84726;
  box-shadow: 0 16px 32px rgba(192, 86, 47, 0.4);
}

.btn-outline {
  background: #fff;
  color: var(--espresso);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--brass);
  color: var(--walnut);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--espresso);
  border-color: #fff;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--espresso);
  border-color: #fff;
}

/* ------------------------- Top bar ------------------------- */

.topbar {
  background: var(--terracotta);
  color: #fff;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-block: 5px;
}

.topbar-note,
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.topbar-note .ico,
.topbar-links .ico {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-links {
  display: flex;
  gap: 26px;
}

.topbar-links a {
  transition: opacity 0.2s var(--ease);
}

.topbar-links a:hover {
  opacity: 0.78;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------- Header ------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.35s var(--ease);
}

/* Scrolling down tucks the logo row off the top and leaves the category strip
   pinned; scrolling back up brings the whole header in again. The exact row
   height is measured in script.js and set as --logo-row-h. */
.site-header.is-collapsed {
  transform: translateY(calc(-1 * var(--logo-row-h, 78px)));
}

.site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(46, 31, 22, 0.09);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text strong {
  font-family: "Urbanist", sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--espresso);
}

.brand-text em {
  font-family: "Urbanist", sans-serif;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--brass);
}

.brand-text small {
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Primary links sit beside the logo; the CTA is pushed to the far right. */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 34px;
}

/* Lato across the whole header, matching the reference site. */
.site-nav a {
  position: relative;
  padding: 10px 14px;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--espresso);
  border-radius: 8px;
  transition: color 0.22s var(--ease);
}

/* Underline slides out from the centre on hover / active */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--walnut);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ------------------- Category row (second header line) ------------------- */

.cat-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f3ec;
}

.cat-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 38px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-bar-inner::-webkit-scrollbar {
  display: none;
}

.cat-bar a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.845rem;
  font-weight: 400;
  color: var(--espresso);
  cursor: pointer;
  transition: color 0.22s var(--ease);
}

.cat-bar a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease);
}

.cat-bar a:hover {
  color: var(--walnut);
}

.cat-bar a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--cream);
  color: var(--espresso);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-toggle:hover {
  background: var(--sand);
  transform: scale(1.04);
}

/* ------------------------- Hero slider ------------------------- */

.hero {
  padding: 14px 0 4px;
  background: #fff;
}

/* Inset banner with rounded corners, rather than a full-bleed hero. */
.hero-banner {
  width: min(1560px, calc(100% - 44px));
  margin-inline: auto;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  /* Width must be explicit, else max-height below makes aspect-ratio shrink
     the banner horizontally instead of cropping it. */
  width: 100%;
  /* Slightly shorter than the source so the empty wall at the top is
     trimmed; object-position pins the bottom so nothing is lost there. */
  aspect-ratio: 1632 / 752;
  border-radius: 20px;
  background: var(--espresso);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(46, 31, 22, 0.14);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Scrim sits on the right, where the copy lives, so the furniture on the
   left of the banner stays clear and the colour stays rich. */
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to left,
      rgba(18, 10, 6, 0.62) 0%,
      rgba(18, 10, 6, 0.5) 28%,
      rgba(18, 10, 6, 0.24) 55%,
      transparent 80%
    ),
    linear-gradient(to top, rgba(18, 10, 6, 0.3), transparent 30%);
}

.hero-inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  /* Heavier bottom padding lifts the centred copy above the mid-line. */
  padding: 42px clamp(26px, 4.5vw, 68px) 104px;
}

.hero-copy {
  max-width: 560px;
  color: #fff;
}

/* Copy elements rise in one after another on load */
.hero-copy > * {
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 0.75s var(--ease) forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.36s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.48s; }

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 15px;
  border: 1px solid rgba(224, 177, 95, 0.5);
  border-radius: 999px;
  background: rgba(224, 177, 95, 0.14);
  color: var(--brass-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dark {
  border-color: rgba(200, 150, 62, 0.4);
  background: var(--brass-tint);
  color: var(--walnut);
}

/* Editorial serif treatment: a light italic line, one oversized display word,
   then a smaller line beneath it. */
.hero-kicker {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.02rem, 1.45vw, 1.34rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.hero-title {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  line-height: 1;
}

.hero-title span {
  display: block;
}

.t-display {
  font-size: clamp(2.9rem, 6.2vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  /* Lets the scrim stay light enough to keep the banner's colour. */
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.45);
}

.t-sub {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.t-sub em {
  font-style: italic;
  color: var(--brass-light);
}

/* Still used by the reference-photo CTA band lower down the page. */
.t-accent {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--brass-light);
}

.hero-text {
  max-width: 470px;
  margin: 0 0 26px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------- Stats ------------------------- */

.stats {
  background: #17120e;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-block: 0;
}

.stat {
  padding: 34px 22px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:first-child {
  border-left: 0;
}

.stat-num {
  display: block;
  font-family: "Urbanist", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #e8834f;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: #ede2d4;
}

/* ------------------------- Section shell ------------------------- */

.section {
  padding-block: clamp(58px, 8vw, 96px);
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--terracotta);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-head-light .section-title {
  color: #fff;
}

.section-head-light .section-sub {
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------- Category cards ------------------------- */

.cat-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 9px 22px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.filter-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
}

/* The selected pill is outlined rather than filled, so hover still reads. */
.filter-btn.is-active {
  background: #fff;
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.filter-btn.is-active:hover {
  background: var(--terracotta);
  color: #fff;
}

/* Solid variant - the selected pill is filled, as on the reference panel. */
.filter-btn-solid {
  background: #fff;
  border-color: var(--line);
}

.filter-btn-solid.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

/* ------------------- Made to order ------------------- */

.custom-wrap {
  padding-block: 0 clamp(46px, 6vw, 74px);
}

/* Same track as the product grid above, so the panel edges line up with it. */
.custom-wrap .container-wide {
  width: min(1560px, calc(100% - 44px));
}

.custom-panel {
  padding: clamp(24px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) clamp(26px, 2.6vw, 34px);
  background: #ecdcc9;
  border-radius: 22px;
}

.custom-head {
  max-width: 940px;
  margin-bottom: 18px;
}

.custom-head h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 700;
  color: var(--espresso);
}

.custom-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.custom-filters {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.custom-grid {
  display: grid;
  /* Four across, so each filter shows one clean row of cards. */
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ccard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(46, 31, 22, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ccard[hidden] {
  display: none;
}

.ccard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.ccard-media {
  display: block;
  margin: 10px 10px 0;
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sand);
}

.ccard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.ccard:hover .ccard-media img {
  transform: scale(1.06);
}

.ccard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 16px 18px;
}

.ccard-body strong {
  display: block;
  font-family: "Urbanist", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--espresso);
}

.ccard-body small {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.ccard-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  /* auto margin drops it to the card's baseline */
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--terracotta);
  transition: gap 0.24s var(--ease);
}

.ccard-cta .ico {
  width: 16px;
  height: 16px;
}

.ccard:hover .ccard-cta {
  gap: 11px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 24px;
}

/* Image plus a caption underneath - no card, no border, no body copy. */
.tile {
  display: block;
  text-align: center;
}

/* Without this, dragging across a link drags the link instead of selecting
   the text, which made the labels feel uncopyable. */
.tile,
.ccard {
  -webkit-user-drag: none;
  user-select: text;
}

.tile img,
.ccard img,
.hero-img {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* An author-set display would otherwise beat the browser's [hidden] rule,
   so filtered-out tiles need this to actually disappear. */
.tile[hidden] {
  display: none;
}

.tile-media {
  display: block;
  aspect-ratio: 11 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sand);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.tile:hover .tile-media img {
  transform: scale(1.06);
}

.tile-label {
  display: block;
  margin-top: 14px;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--espresso);
  transition: color 0.22s var(--ease);
}

.tile:hover .tile-label {
  color: var(--terracotta);
}

/* ------------------------- Why us ------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  background: var(--brass-tint);
  color: var(--walnut);
  border-radius: 14px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease);
}

.why-card:hover .why-icon {
  background: var(--brass);
  color: #fff;
  transform: rotate(-8deg);
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ------------------------- Our work gallery ------------------------- */

/* Masonry columns - the project photos are a mix of portrait and landscape,
   so fixed-ratio tiles would crop the tall ones badly. */
.work-grid {
  columns: 2;
  column-gap: 18px;
}

.work-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  background: #a84726;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.work-item:hover,
.work-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-item img {
  width: 100%;
  height: auto;
  /* Caps the very tall portrait shots so one photo cannot stretch a column. */
  max-height: 760px;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.work-item:hover img {
  transform: scale(1.07);
}

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-align: left;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.9), rgba(20, 12, 8, 0.15) 55%, transparent);
  opacity: 0.92;
  transition: opacity 0.3s var(--ease);
}

.work-title {
  display: block;
  font-family: "Urbanist", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.35s var(--ease);
}

.work-meta {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.work-item:hover .work-title {
  transform: translateY(0);
}

.work-item:hover .work-meta {
  opacity: 1;
  transform: translateY(0);
}

.work-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--espresso);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.work-item:hover .work-zoom {
  opacity: 1;
  transform: scale(1);
}

.work-cta {
  margin-top: 34px;
  text-align: center;
}

/* ------------------------- Reference CTA band ------------------------- */

.cta-ref {
  position: relative;
  padding-block: clamp(64px, 9vw, 108px);
  background: var(--walnut);
  overflow: hidden;
}

.cta-ref-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.cta-ref::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(240, 229, 213, 0.93), rgba(250, 244, 235, 0.88));
}

.cta-ref-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  color: var(--espresso);
}

.cta-ref-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  color: #fff;
  background: var(--terracotta);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(192, 86, 47, 0.3);
  animation: floaty 3.4s ease-in-out infinite;
}

.cta-ref-icon .ico {
  width: 28px;
  height: 28px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cta-ref h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  color: var(--espresso);
}

.cta-ref p {
  margin: 0 auto 28px;
  max-width: 590px;
  color: var(--muted);
}

/* Dark-ground button variant no longer suits the cream band. */
.cta-ref .btn-outline-light {
  color: var(--espresso);
  border-color: rgba(46, 31, 22, 0.35);
}

.cta-ref .btn-outline-light:hover {
  background: var(--espresso);
  color: #fff;
  border-color: var(--espresso);
}

.cta-ref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

/* ------------------------- Process steps ------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: var(--shadow);
}

/* Dotted connector between the steps on wide screens */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -14px;
  width: 8px;
  height: 8px;
  background: var(--brass);
  border-radius: 50%;
  opacity: 0.55;
}

.step-num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Urbanist", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--brass);
}

.step h3 {
  margin: 0 0 7px;
  font-size: 1.06rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ------------------------- Materials ------------------------- */

.materials-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.materials-copy .section-title {
  margin-bottom: 14px;
  text-align: left;
}

.materials-copy > p {
  color: var(--muted);
}

.mat-list {
  margin: 20px 0 24px;
  display: grid;
  gap: 11px;
}

.mat-list li,
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.mat-list .ico,
.about-points .ico {
  margin-top: 2px;
  color: var(--wa-deep);
}

.mat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mat-chips span {
  padding: 7px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--walnut);
  transition: background 0.24s var(--ease), color 0.24s var(--ease), transform 0.24s var(--ease);
}

.mat-chips span:hover {
  background: var(--brass);
  color: #fff;
  transform: translateY(-2px);
}

.materials-media {
  position: relative;
}

.materials-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.materials-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  padding: 16px 22px;
  background: var(--espresso);
  color: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.materials-badge strong {
  display: block;
  font-family: "Urbanist", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brass-light);
}

.materials-badge span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.76);
}

/* ------------------------- About ------------------------- */

.about-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--brass);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-tag {
  position: absolute;
  right: -14px;
  bottom: 24px;
  padding: 13px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.about-tag strong {
  display: block;
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  color: var(--espresso);
}

.about-tag span {
  font-size: 0.76rem;
  color: var(--muted);
}

.about-copy .section-title {
  margin-bottom: 14px;
  text-align: left;
}

.about-copy > p {
  color: var(--muted);
}

.about-points {
  margin: 20px 0 26px;
  display: grid;
  gap: 10px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------- Reviews ------------------------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  position: relative;
  margin: 0;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.review-mark {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 34px;
  height: 34px;
  fill: var(--brass);
  stroke: none;
  opacity: 0.2;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
  color: #f0a92b;
}

.stars .ico {
  width: 17px;
  height: 17px;
}

.review-card blockquote {
  margin: 0 0 18px;
}

.review-card blockquote p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--brass-tint);
  color: var(--walnut);
  border-radius: 50%;
  font-family: "Urbanist", sans-serif;
  font-weight: 800;
}

.review-card figcaption strong {
  display: block;
  font-size: 0.92rem;
  color: var(--espresso);
}

.review-card figcaption small {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ------------------------- FAQ ------------------------- */

.faq-wrap {
  max-width: 840px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.26s var(--ease), background 0.26s var(--ease);
}

.faq-item[open] {
  background: #fff;
  border-color: rgba(200, 150, 62, 0.5);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chev {
  flex: none;
  color: var(--brass);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-chev {
  transform: rotate(180deg);
}

.faq-item > p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  animation: faqOpen 0.34s var(--ease);
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------- Contact ------------------------- */

.section-contact {
  background: linear-gradient(180deg, var(--cream), #fff 60%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-info-title {
  margin: 0 0 24px;
  font-size: 1.6rem;
  font-weight: 800;
}

.cinfo {
  margin-bottom: 22px;
}

.cinfo-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
}

.cinfo-label .ico {
  width: 18px;
  height: 18px;
  color: var(--walnut);
}

.cinfo-value {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.22s var(--ease);
}

a.cinfo-value:hover {
  color: var(--brass);
}

.cinfo-static {
  margin: 0;
}

.contact-form {
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-family: "Urbanist", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--espresso);
}

.field label .ico {
  width: 17px;
  height: 17px;
  color: var(--walnut);
}

.req {
  color: #d64545;
}

.opt {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  outline: none;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b3a595;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.16);
}

.field input.is-invalid {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.select-chev {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.err {
  display: block;
  min-height: 15px;
  margin-top: 5px;
  font-size: 0.78rem;
  color: #d64545;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form-note.is-ok {
  color: var(--wa-deep);
  font-weight: 600;
}

/* ------------------------- Footer ------------------------- */

.site-footer {
  background: #ecdcc9;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-block: 58px 44px;
}

.brand-on-dark .brand-text strong {
  color: var(--espresso);
}

.brand-on-dark .brand-text em {
  color: var(--brass);
}

.footer-brand p {
  margin: 16px 0 18px;
  max-width: 330px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 11px;
  color: var(--espresso);
  border: 1px solid var(--line);
  transition: background 0.24s var(--ease), transform 0.24s var(--ease);
}

.socials a:hover {
  background: var(--brass);
  transform: translateY(-3px);
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--espresso);
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  position: relative;
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.footer-col a:hover {
  color: var(--terracotta);
  padding-left: 5px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list .ico {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  color: var(--brass);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 18px;
  font-size: 0.83rem;
}

.footer-bottom p {
  margin: 0;
}

/* ------------------------- Floating actions ------------------------- */

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.float-btn:hover {
  transform: scale(1.09);
}

.float-btn .ico {
  width: 25px;
  height: 25px;
}

.float-call {
  background: var(--espresso);
}

.float-wa {
  background: var(--wa);
}

/* Soft ping so the WhatsApp button reads as the primary action */
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  opacity: 0.55;
  animation: ping 2.4s var(--ease) infinite;
  z-index: -1;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(46, 31, 22, 0.82);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease),
    background 0.24s var(--ease);
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--brass);
}

/* ------------------------- Lightbox ------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 10, 6, 0.94);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

/* An author-set display would otherwise beat the browser's [hidden] rule,
   leaving this full-screen overlay in place (invisible but still blocking
   every click on the page) whenever the lightbox is closed. */
.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lb-figure {
  margin: 0;
  max-width: min(1000px, 100%);
  max-height: 100%;
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.34s var(--ease);
}

.lightbox.is-open .lb-figure {
  transform: scale(1);
}

.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lb-figure figcaption {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.lb-close,
.lb-nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}

.lb-close:hover,
.lb-nav:hover {
  background: #fff;
  color: var(--espresso);
  transform: scale(1.08);
}

.lb-close {
  top: 20px;
  right: 20px;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

body.no-scroll {
  overflow: hidden;
}

/* ------------------------- Scroll reveal ------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .custom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .topbar-note {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  /* Centred content that overflows cannot be scrolled back to, so the
     category row starts from the left once it needs to scroll. */
  .cat-bar-inner {
    justify-content: flex-start;
    gap: 22px;
  }

  /* Mobile menu slides down out of the header */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(46, 31, 22, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a:last-of-type {
    border-bottom: 0;
  }

  .site-nav a::after {
    left: 4px;
    right: auto;
    width: 26px;
    bottom: 8px;
  }

  /* Menu items cascade in when the panel opens */
  .site-nav.is-open a {
    animation: navItem 0.4s var(--ease) backwards;
  }

  .site-nav.is-open a:nth-child(1) { animation-delay: 0.04s; }
  .site-nav.is-open a:nth-child(2) { animation-delay: 0.09s; }
  .site-nav.is-open a:nth-child(3) { animation-delay: 0.14s; }
  .site-nav.is-open a:nth-child(4) { animation-delay: 0.19s; }
  .site-nav.is-open a:nth-child(5) { animation-delay: 0.24s; }
  .site-nav.is-open a:nth-child(6) { animation-delay: 0.29s; }

  @keyframes navItem {
    from {
      opacity: 0;
      transform: translateX(-16px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(odd) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .why-grid,
  .steps,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .materials-wrap,
  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 440px;
    margin-inline: auto;
  }

  .about-media img {
    aspect-ratio: 4 / 4;
  }

  .materials-badge {
    left: 16px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding: 14px 0 4px;
  }

  .hero-banner {
    width: calc(100% - 32px);
  }

  /* A 16:9 crop is far too short for the copy on a phone. The copy drops to
     the bottom so the top of the banner still shows the furniture. */
  .hero-media {
    aspect-ratio: auto;
    min-height: 580px;
    align-items: flex-end;
    border-radius: 16px;
  }

  .hero-inner {
    padding: 30px 22px 28px;
  }

  .hero-shade {
    background: linear-gradient(to top, rgba(18, 10, 6, 0.9) 14%, rgba(18, 10, 6, 0.55) 55%, rgba(18, 10, 6, 0.12));
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
  }

  .work-grid {
    columns: 2;
    column-gap: 14px;
  }

  .work-item {
    margin-bottom: 14px;
  }

  .topbar-links {
    gap: 14px;
    font-size: 0.76rem;
  }

  .float-btn {
    width: 50px;
    height: 50px;
  }

  .lb-nav {
    top: auto;
    bottom: 22px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand-text small {
    display: none;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .stats-grid,
  .why-grid,
  .steps,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-label {
    font-size: 0.8rem;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }

  .custom-panel {
    border-radius: 16px;
  }

  .custom-wrap .container-wide {
    width: calc(100% - 32px);
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .work-grid {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-ref-actions .btn,
  .about-actions .btn {
    width: 100%;
  }

  .materials-badge {
    left: 12px;
    bottom: 12px;
    padding: 12px 16px;
  }

  .about-tag {
    right: 10px;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Respect a reduced-motion preference across the whole page */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-copy > * {
    opacity: 1;
    transform: none;
  }
}
