/* Decor People — built from Figma "Decor People" (Desktop page, 1440px frames). */

:root {
  --porcelain: #eae3d8;
  --champagne: #d8c5a5;
  --bronze: #7c573a;
  --gold: #c5a670;
  --taupe: #99897a;
  --caramel: #b58f6f;
  --charcoal: #1b1b1b;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Roboto", Arial, sans-serif;
  --gutter: max(150px, calc((100vw - 1140px) / 2)); /* 1140 content column, 150px at the 1440 frame */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--charcoal);
  font: 400 14px/16px var(--sans); /* Figma rounds Roboto "normal" line height to whole px: 14px->16, 12px->14 */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1lh; } /* Figma uses an empty line between paragraphs */
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Type ---------- */
.h-hero { font: 600 36px/normal var(--serif); }
.h1 { font: 400 32px/normal var(--serif); }
.h3 { font: 400 20px/27px var(--serif); }
.p-lg { font-size: 14px; }
.p-sm { font-size: 12px; line-height: 14px; }
.eyebrow { font-size: 14px; text-transform: uppercase; color: var(--bronze); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10.5px 24.5px 8.5px; /* + 0.5px stroke, counted in Figma's layout */
  --stroke: var(--porcelain);
  border: 0; border-radius: 5px; box-shadow: inset 0 0 0 0.5px var(--stroke);
  background: var(--bronze); color: var(--porcelain);
  font: 700 14px/16px var(--sans);
  white-space: nowrap; cursor: pointer;
  transition: box-shadow .2s, background-color .2s;
}
/* Figma strokes sit inside the box; a CSS 0.5px border rounds to 1px and adds size, so strokes are inset shadows */
.btn:hover, a:hover > .btn { box-shadow: inset 0 0 0 0.5px var(--stroke), inset 0 4px 4px rgba(255, 255, 255, .65); }
.btn--secondary { --stroke: var(--bronze); background: var(--porcelain); color: var(--bronze); }
.btn--secondary:hover { background: #eae3db; }

/* ---------- Section backgrounds ---------- */
.section { position: relative; padding: 48px var(--gutter); isolation: isolate; }
.bg-tex-porcelain, .bg-tex-champagne { background: url(../assets/img/e36fce4958.jpg) center / cover; }
.bg-tex-porcelain::before, .bg-tex-champagne::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.bg-tex-porcelain::before { background: rgba(234, 227, 216, .7); }
.bg-tex-champagne::before { background: rgba(216, 197, 165, .65); }

/* ---------- Header / nav ---------- */
.site-header { position: relative; z-index: 50; }
.nav {
  height: 100px; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--porcelain);
}
.nav__logo img { width: 249px; height: 38px; }
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__link {
  display: flex; align-items: center; gap: 8px; padding: 8px;
  color: var(--taupe); font-size: 14px; white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--bronze); }
.nav__chev { width: 3.2px; height: 5px; overflow: visible; transform: rotate(90deg); }
.nav__chev path { stroke: currentColor; }
.nav__has-drop { position: relative; }
.nav__drop {
  position: absolute; left: -27px; top: calc(100% + 49px);
  width: 315px; padding: 12px 24px;
  background: var(--porcelain);
  border: 0.5px solid var(--gold); border-radius: 5px;
  backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 50px; } /* hover bridge */
.nav__has-drop:hover .nav__drop, .nav__has-drop:focus-within .nav__drop { opacity: 1; visibility: visible; }
.nav__drop .nav__link { justify-content: flex-start; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  margin-top: -100px; /* image runs under the nav, as in the frame */
  min-height: 500px; padding: 148px var(--gutter) 48px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  color: var(--porcelain); text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,14,16,.25), rgba(14,14,16,.75) 50%, rgba(14,14,16,.25));
}
.hero__intro { max-width: 770px; }
.hero .eyebrow { color: var(--gold); }

/* ---------- Steps grid ("A more considered way…") ---------- */
.steps {
  display: grid; gap: 24px;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
}
.steps__title { grid-column: 1 / -1; color: #000; }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.step__icon { height: 35px; }
.step__icon--overflow { margin: -1.5px; height: 38px; } /* icon art bleeds 4.29% past its 35px box */
.steps__divider { width: 0; outline: 0.25px solid var(--bronze); } /* line takes no width, as in Figma */
.steps > .btn { justify-self: start; }

/* ---------- Split section (text + full-height image) ---------- */
.split { display: flex; overflow: hidden; }
.split__text { width: 559px; max-width: 100%; padding: 12px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.split__media { position: absolute; top: var(--mt, 0); width: 49.1%; height: var(--mh, 100%); object-fit: cover; } /* --mh/--mt: Figma image box when taller than the section (clipped) */
.split--img-right .split__media { right: 0; }
.split--img-left { padding-left: 51.67%; } /* text column starts at x=744 */
.split--img-left .split__media { left: 0; width: 48.4%; }
.split__text { flex-shrink: 0; }
.split--img-left .split__text { width: min(559px, 48.33vw - 16px); max-width: none; }
.split--img-right .split__text { width: min(559px, 50.9vw - var(--gutter) - 24px); } /* stop 24px short of the image; 559 at 1440 */ /* Figma lets this column overrun its right padding */

/* ---------- Centred CTA ---------- */
.cta { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services cards ---------- */
.services { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.services__head { width: 100%; padding: 12px; display: flex; flex-direction: column; gap: 24px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 364px); gap: 24px; justify-content: center; }
.card {
  position: relative; overflow: hidden;
  height: 340px; padding: 174.5px 24.5px 24.5px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  background: rgba(234, 227, 216, .6);
  border-radius: 5px;
  text-align: center; transition: box-shadow .2s;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0.5px var(--charcoal); pointer-events: none; } /* stroke above the image, as Figma draws it */
.card:hover { box-shadow: 0 4px 4px rgba(0, 0, 0, .25); }
.card__img { position: absolute; top: 0; left: 0; width: 364px; max-width: none; height: 150px; object-fit: cover; }

/* ---------- Generic vertical stack section ---------- */
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Feature card: 400px image beside text (Home "Industry card") ---------- */
.feature {
  position: relative; overflow: hidden; border-radius: 5px;
  padding: 24px 24px 24px 424px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
}
.feature--img-right { padding: 24px 424px 24px 24px; }
.feature__img { position: absolute; top: 0; left: 0; width: 400px; height: 347px; max-width: none; object-fit: cover; }
.feature--img-right .feature__img { left: auto; right: 0; }

.list { padding-left: 18px; list-style: disc; }

/* ---------- Dark CTA ---------- */
.cta--dark { color: var(--porcelain); border-bottom: 2px solid var(--gold); }
.cta--dark .eyebrow { color: var(--porcelain); }
.cta__narrow { max-width: 852px; }

/* ---------- Tiles (Catalogue Grid 135:3169) ---------- */
.tiles { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 364px)); gap: 24px; justify-content: center; }
.tile {
  padding: 24.5px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: rgba(234, 227, 216, .6); box-shadow: inset 0 0 0 0.5px var(--charcoal); border-radius: 5px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px var(--gutter);
  display: grid; grid-template-columns: auto 1fr; gap: 48px;
  background: var(--porcelain);
}
.footer__logo { align-self: center; justify-self: center; }
.footer__logo img { width: 191px; height: 102px; }
.footer__cols { display: flex; justify-content: space-between; align-items: flex-start; }
.footer__cols ul:first-child { width: 90px; }
.footer__link { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 0; color: var(--taupe); white-space: nowrap; transition: color .2s; }
.footer__link svg { width: 3.2px; height: 5px; flex: none; overflow: visible; }
.footer__link svg path { stroke: currentColor; }
.footer__link:hover, .footer__head { color: var(--bronze); }
.footer__bar {
  grid-column: 1 / -1; padding-top: 24px;
  border-top: 1.5px solid var(--bronze);
  display: flex; color: var(--bronze); font-size: 12px; text-align: center;
}
.footer__bar p { flex: 1; margin: 0; }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 40px; bottom: 40px; z-index: 60;
  width: 44px; height: 44px; padding: 10px; border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; box-shadow: 4px 4px 20px rgba(0, 0, 0, .15);
  transition: background-color .2s;
}
.whatsapp:hover { background: #075e54; outline: 1px solid #fff; } /* Variant2 */
.whatsapp img { width: 24px; height: 24px; }

/* ================= Responsive (no mobile frames in Figma; designed to suit) ================= */
@media (max-width: 1300px) {
  .eyebrow { white-space: normal; }
  :root { --gutter: 40px; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); width: 100%; max-width: 1140px; }
  .card__img { width: 100%; }
}

@media (max-width: 1024px) {
  .eyebrow { white-space: normal; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px; border: 0; background: none; cursor: pointer;
  }
  .nav__toggle span { height: 1.5px; background: var(--bronze); transition: transform .2s, opacity .2s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__menu, .nav > .btn { display: none; }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100px; left: 0; right: 0;
    padding: 12px var(--gutter) 24px; background: var(--porcelain);
    border-bottom: 0.5px solid var(--gold);
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav__menu .nav__link { padding: 12px 8px; }
  .nav__menu .nav__menu-cta { display: flex; margin-top: 12px; }
  .nav__drop {
    position: static; width: auto; padding: 0 0 0 16px;
    border: 0; background: none; backdrop-filter: none;
    opacity: 1; visibility: visible; display: none;
  }
  .nav__drop::before { content: none; }
  .nav__has-drop.is-open .nav__drop { display: block; }
  .nav__has-drop.is-open .nav__chev { transform: rotate(-90deg); }

  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .steps__divider { display: none; }

  .split, .split--img-left { flex-direction: column; padding: 0; min-height: 0; }
  .split__media, .split--img-left .split__media { position: static; width: 100%; height: 360px; order: -1; }
  .split__text, .split--img-left .split__text, .split--img-right .split__text { width: auto; max-width: 720px; padding: 48px var(--gutter); }

  .feature, .feature--img-right { padding: 264px 0 0; }
  .feature__img, .feature--img-right .feature__img { left: 0; right: 0; width: 100%; height: 240px; }
}

.br-d { display: none; } /* Figma line break reproduced on desktop only */
@media (min-width: 1025px) {
  .br-d { display: inline; }
  .nav__menu-cta { display: none; }
  .footer { min-height: 510px; } /* Figma footer is a fixed 510px frame */
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav__logo img { width: 200px; height: auto; }
  .h-hero { font-size: 30px; }
  .h1 { font-size: 26px; }
  .eyebrow { font-size: 12px; }
  .hero { min-height: 0; padding-top: 148px; }
  .steps { grid-template-columns: 1fr; }
  .split__media, .split--img-left .split__media { height: 260px; }
  .split__text { padding: 40px var(--gutter); }
  .cards, .tiles { grid-template-columns: minmax(0, 364px); }
  .btn { white-space: normal; text-align: center; }
  .footer { grid-template-columns: 1fr; }
  .footer__cols { flex-direction: column; gap: 16px; }
  .footer__link { white-space: normal; }
  .footer__bar { flex-direction: column; gap: 8px; }
  .whatsapp { right: 16px; bottom: 16px; }
}
