:root {
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e4e1dc;
  --soft: #f6f4f0;
  --paper: #ffffff;
  --dark: #0c0c0c;
  --whatsapp: #1fa855;
  --head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 16px/1.7 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  font-feature-settings: "lnum";
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.lead { color: var(--muted); max-width: 680px; margin: 16px auto 0; font-size: 1.02rem; }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 400 0.92rem var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.text-link { color: #fff; font-weight: 400; text-underline-offset: 5px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 32px; max-width: 1240px; margin: auto; padding: 10px var(--gutter); min-height: 68px; }
/* Empty until the client's logo is supplied; keeps its space in the layout. */
.logo-slot { display: block; flex: none; width: 128px; height: 48px; }
.logo-slot img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.logo-slot--footer { margin-bottom: 12px; }
.site-nav { display: flex; gap: 34px; margin-inline: auto; }
.site-nav a { font-size: 0.92rem; font-weight: 400; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--ink); }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; }
.social svg { width: 21px; height: 21px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 7px auto; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero slideshow */
.hero { position: relative; height: clamp(460px, 80vh, 780px); background: var(--dark); color: #fff; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.4) 38%, rgba(0,0,0,0) 62%); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); bottom: clamp(32px, 10vh, 96px); max-width: 520px; }
.hero-text h1 { margin-bottom: 26px; }

/* Services */
.services { padding-block: clamp(56px, 8vw, 96px); text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); margin-top: 44px; }
.service { text-decoration: none; }
.service-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.service-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .6s ease; }
.service:hover img { transform: scale(1.04); }
.service h3 { margin-top: 14px; font-weight: 500; }

/* Clients */
.clients { padding: 44px var(--gutter); background: var(--soft); text-align: center; }
.clients-title { font: 500 0.82rem var(--body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.clients-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 44px; margin: 0; font: 600 clamp(1.05rem, 2vw, 1.35rem) var(--head); }

/* Themed sets carousel */
.sets-section { padding-block: clamp(56px, 8vw, 96px); text-align: center; }
.sets { display: flex; gap: 20px; margin-top: 40px; padding: 0 var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.sets::-webkit-scrollbar { display: none; }
.set { flex: none; margin: 0; scroll-snap-align: center; text-align: left; }
.set img { height: clamp(260px, 34vw, 400px); width: auto; max-width: none; }
.set figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.carousel-nav button { width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); font-size: 1.05rem; cursor: pointer; }
.carousel-nav button:hover { background: var(--ink); color: #fff; }

/* Why choose */
.why-intro { text-align: center; padding-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-tile { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.why-tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: .42; transition: opacity .4s; }
.why-tile:hover img { opacity: .62; }
.why-tile h3 { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; color: #fff; text-align: center; }

/* Full-width banner */
.banner { position: relative; margin-top: clamp(56px, 8vw, 96px); min-height: clamp(480px, 62vw, 760px); display: flex; align-items: center; background: var(--dark); color: #fff; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.6) 36%, rgba(0,0,0,0) 62%); }
.banner-text { position: relative; z-index: 2; max-width: 520px; margin-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); padding-block: 48px; padding-right: var(--gutter); }
.banner-text p { margin: 18px 0 26px; }

/* Closing split */
.closing { display: grid; grid-template-columns: 55fr 45fr; background: var(--dark); color: #fff; }
.closing-img { position: relative; min-height: clamp(520px, 50vw, 720px); }
.closing-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closing-text { align-self: center; padding: clamp(40px, 6vw, 88px); }
.closing-text p { margin: 18px 0 22px; color: #d9d9d9; }

/* Footer */
.site-footer { padding: 56px var(--gutter) 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; gap: 36px; max-width: 1120px; margin: auto; }
.footer-grid p { margin: 0 0 6px; }
.footer-name { font: 700 1.1rem var(--head); }
.footer-line { color: var(--muted); }
.site-footer nav { display: grid; gap: 6px; align-content: start; }
.site-footer nav a, .site-footer p a { text-underline-offset: 4px; }
.social--footer { margin-top: 12px; margin-left: -6px; }
.copyright { max-width: 1120px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

/* Sits above the "Built on Wix Headless" badge Wix adds in the bottom-right corner (64px tall including its offset). */
.wa-float { position: fixed; right: 20px; bottom: 76px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Work page */
.page-head { padding-block: clamp(44px, 6vw, 72px) 32px; text-align: center; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.filters button { min-height: 40px; padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: 400 .88rem var(--body); cursor: pointer; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { column-count: 4; column-gap: 12px; max-width: 1400px; margin: auto; padding: 0 var(--gutter) 72px; }
.tile { display: block; break-inside: avoid; margin-bottom: 12px; overflow: hidden; cursor: zoom-in; }
.tile img { width: 100%; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.03); }
.tile[hidden] { display: none; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100dvh; width: auto; height: auto; object-fit: contain; padding: 16px; }
.lightbox button { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: calc(50% - 24px); }
.lb-next { right: 14px; top: calc(50% - 24px); }

/* About */
.about { display: grid; grid-template-columns: 45fr 55fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(44px, 6vw, 80px); }
.about-img img { width: 100%; }
.about-copy h1 { margin-bottom: 22px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.about-copy p { color: #3d3d3d; }
.about-copy .btn { margin-top: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); padding-block: clamp(44px, 6vw, 80px); }
.contact .lead { margin: 16px 0 24px; }
.contact-phone { font: 600 clamp(1.3rem, 2.6vw, 1.7rem) var(--head); font-feature-settings: "lnum"; }
.contact-phone a { text-decoration: none; }
.social--contact { margin-left: -6px; }
.contact-form { padding: clamp(22px, 3vw, 36px); background: var(--soft); }
.contact-form h2 { margin-bottom: 20px; font-size: 1.4rem; }
.contact-form label { display: block; margin-bottom: 16px; font-size: .88rem; font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid #c9c5be; border-radius: 4px; background: #fff; color: var(--ink);
  font: 400 1rem var(--body);
}
.form-error { color: #a32020; font-size: .88rem; font-weight: 400; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }

@media (max-width: 1000px) {
  .gallery { column-count: 3; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .bar { gap: 8px; min-height: 60px; padding-block: 6px; }
  .social:not(.social--footer):not(.social--contact) { display: none; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 1rem; border: 0; }
  .site-nav a[aria-current="page"] { font-weight: 500; }

  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 42%, rgba(0,0,0,0) 68%); }
  .hero-text { left: var(--gutter); right: var(--gutter); bottom: 32px; }
  .hero-text h1 { font-size: 1.85rem; margin-bottom: 18px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .banner { align-items: flex-end; min-height: 560px; }
  .banner > img { object-position: 72% 50%; }
  .banner::before { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 46%, rgba(0,0,0,0) 74%); }
  .banner-text { margin-left: var(--gutter); padding-block: 32px; }

  .closing, .about, .contact { grid-template-columns: 1fr; }
  .closing-img { min-height: 0; aspect-ratio: 4 / 5; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .logo-slot--footer { display: none; }
}

@media (max-width: 600px) {
  .gallery { column-count: 2; column-gap: 8px; }
  .tile { margin-bottom: 8px; }
}

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