/* Roll Up & Shine — brand colors taken from the logo (red #DA2424 + white) */
:root {
  --red: #DA2424;
  --red-deep: #A8171A;
  --red-soft: #FBE9E7;
  --ink: #1A1513;
  --ink-2: #4A413D;
  --muted: #8A7F79;
  --paper: #FBF8F4;
  --paper-2: #F3EDE6;
  --white: #FFFFFF;
  --line: #E7DED5;
  --wa: #25D366;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(26, 21, 19, .35);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --wrap: 1200px;
}

*, *::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-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
em.accent { font-style: italic; color: var(--red); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 700 .98rem/1 var(--sans); text-decoration: none; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 52px;
}
.btn::after { /* paint-sweep hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sweep, var(--red-deep));
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.btn--red { --bg: var(--red); --sweep: var(--ink); }
.btn--wa { --bg: var(--wa); --fg: #062b14; --sweep: #1fb457; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); --sweep: var(--ink); }
.btn--ghost:hover { color: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--ink); --sweep: var(--paper-2); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.site-header.is-scrolled { padding: 10px 0; }
/* The frosted background lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed full-screen mobile menu, squeezing the menu into the header bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(251, 248, 244, 0); box-shadow: 0 1px 0 transparent; transition: background .4s, box-shadow .4s;
}
.site-header.is-scrolled::before {
  background: rgba(251, 248, 244, .9); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 6px 16px -6px rgba(218,36,36,.6); transition: width .4s, height .4s; }
.is-scrolled .brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2);
}
.nav a.link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a.link:hover::after, .nav a.link[aria-current="page"]::after { transform: scaleX(1); }
.nav a.link[aria-current="page"] { color: var(--ink); }
.nav .btn { padding: 12px 20px; min-height: 44px; font-size: .9rem; margin-left: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 18px; } .menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 4px;
    background: var(--paper); clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path .7s var(--ease); z-index: 1;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav a.link { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); }
  .nav a.link::after { bottom: 8px; }
  .nav .btn { margin: 24px 0 0; font-size: 1rem; padding: 16px 26px; }
}

/* ---------- Hero (text left, photo right) ---------- */
.hero { padding: clamp(120px, 14vw, 170px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero .stroke { position: relative; white-space: nowrap; }
.hero .stroke svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .42em; z-index: -1; overflow: visible; }
.hero .stroke path { stroke: var(--red); stroke-width: 14; fill: none; stroke-linecap: round; opacity: .9; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.3s .9s var(--ease) forwards; }
/* 2D painting animation to the right of the headline (main.js heroPaintbox): a roller paints a wall panel, color after color */
.hero h1 { position: relative; }
.hero-paintbox {
  position: absolute; left: 0; top: .12em; width: 0; pointer-events: none; /* left/width set by main.js to fit beside the text */
  opacity: 0; transition: opacity .6s var(--ease);
}
.hero-paintbox.is-on { opacity: 1; }
.hero-paintbox svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-paintbox .pb-roller { filter: drop-shadow(0 3px 3px rgba(26,21,19,.25)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.hero-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2s infinite; }
.fade-in { opacity: 0; animation: fade 1s .5s var(--ease) forwards; }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow); isolation: isolate;
}
/* Hero "paint roller" reveal: covers shrink upward as the roller paints each stripe (main.js heroPaint) */
.paint-covers { position: absolute; inset: 0; z-index: 1; display: flex; pointer-events: none; }
.paint-covers i {
  position: relative; flex: 1 0 20%; margin-right: -1px; height: 100%;
  background: #EAE3DA repeating-linear-gradient(115deg, rgba(255,255,255,.18) 0 2px, transparent 2px 9px);
}
.paint-covers i::after { /* soft, wet-paint edge under the roller */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -7px; height: 8px;
  background: radial-gradient(circle at 7px 0, #EAE3DA 5.5px, transparent 6px) 0 0 / 14px 8px repeat-x;
}
.paint-roller {
  position: absolute; left: 0; top: 0; z-index: 3; width: 26%; pointer-events: none; opacity: 0;
  will-change: transform; filter: drop-shadow(0 10px 12px rgba(26, 21, 19, .28));
}
.paint-roller svg { display: block; width: 100%; height: auto; }
/* Hero carousel: slides crossfade (with a slow zoom) every 3s, arrows + dots appear once the photo is painted */
.hero-media .frame { touch-action: pan-y; }
.hero-media .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  opacity: 0; scale: 1.06; transition: opacity .9s var(--ease), scale 3.8s linear; user-select: none; -webkit-user-drag: none;
}
.hero-media .slide.is-active { opacity: 1; scale: 1; }
.hero-media .slide:first-child { transform: scale(1.18); animation: settle 2.4s .2s var(--ease) forwards; }
.hero-arrow {
  position: absolute; top: 55%; z-index: 4; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .88); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), background .3s, color .3s, scale .3s var(--ease);
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--red); color: var(--white); scale: 1.06; }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }
.hero-arrow.prev svg { transform: rotate(180deg); }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; opacity: 0; transition: opacity .5s var(--ease); }
.hero-dots button { position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(26,21,19,.22); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.hero-dots button::after { content: ""; position: absolute; inset: -12px; }
.hero-dots button.is-active { width: 26px; background: var(--red); }
.slide-tag {
  position: absolute; right: 18px; bottom: 18px; z-index: 4; padding: 7px 14px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(26, 21, 19, .75); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; translate: 0 8px; transition: opacity .4s var(--ease), translate .4s var(--ease), background .4s;
}
.slide-tag.is-on { opacity: 1; translate: 0 0; }
.slide-tag.is-after { background: var(--red); }
.hero-media.is-painted .hero-arrow { opacity: 1; pointer-events: auto; }
.hero-media.is-painted .hero-dots { opacity: 1; }
.hero-media .swatch {
  position: absolute; z-index: -1; right: -7%; top: 10%; width: 70%; height: 86%;
  background: var(--red); border-radius: 240px 240px var(--radius) var(--radius);
  transform: translate(30px, 30px) rotate(4deg); opacity: 0; animation: swatch 1.2s .7s var(--ease) forwards;
}
.hero-badge {
  position: absolute; left: -26px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  background: var(--white); padding: 14px 18px 14px 14px; border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0;
}
.hero-media.is-painted .hero-badge { animation: pop .8s .1s var(--ease) forwards; }
.hero-badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--wa); color: #fff; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { font-size: .8rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 10px auto 0; width: 88%; }
  .hero-badge { left: -14px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 0 -10px; }
.marquee-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.2rem); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .7em; opacity: .7; }

/* ---------- Service cards (choreographed like the Mega Solutions "What we do" cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 18px;
  box-shadow: 0 18px 40px -28px rgba(26, 21, 19, .45); transition: box-shadow .5s var(--ease), transform .5s var(--ease);
  transform-style: preserve-3d;
}
.svc-card:hover { box-shadow: 0 30px 60px -30px rgba(26, 21, 19, .55); }
.svc-card-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px 18px 0 0; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card-media img { transform: scale(1.05); }
.svc-card-ico {
  position: absolute; left: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--red); box-shadow: 0 6px 16px -6px rgba(0,0,0,.35);
}
.svc-card-ico svg { width: 19px; height: 19px; }
.svc-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.svc-card-num { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.a-line { display: block; width: 40px; height: 2px; background: var(--red); transform-origin: left; }
.svc-card h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.svc-card p { flex: 1; margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.svc-card-btn {
  align-self: flex-start; margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .92rem; color: var(--red); text-decoration: none;
}
.svc-card-btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.svc-card-btn:hover svg { transform: translateX(4px); }
.svc-card-shine {
  position: absolute; inset: 0; z-index: 4; border-radius: 18px; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.6), rgba(255,255,255,0) 55%);
  transition: opacity .3s;
}
.svc-card:hover .svc-card-shine { opacity: 1; }
.a-outline { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.a-outline rect { fill: none; stroke: rgba(218, 36, 36, .38); stroke-width: 1.25; }
.see-all { text-align: center; margin-top: 40px; }
.see-all a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); text-decoration: none; }
.see-all a svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.see-all a:hover svg { transform: translateX(4px); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Choreography: [data-choreo] blocks play once when they scroll in.
   --d is the block's start delay (set by main.js), --o each part's offset. ---------- */
.js [data-choreo] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s); }
.js [data-choreo].is-in { opacity: 1; translate: 0 0; }
.js [data-choreo] .a-outline rect { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) var(--d, 0s); }
.js [data-choreo].is-in .a-outline rect { stroke-dashoffset: 0; }
.js [data-choreo] .a-wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease) calc(var(--d, 0s) + .25s); }
.js [data-choreo].is-in .a-wipe { clip-path: inset(0 0 0 0); }
.js [data-choreo] .a-wipe img { scale: 1.22; transition: scale 1.6s var(--ease) calc(var(--d, 0s) + .25s), transform .7s var(--ease); }
.js [data-choreo].is-in .a-wipe img { scale: 1; }
.js [data-choreo] .a-pop { opacity: 0; scale: .6; transition: opacity .5s var(--ease) calc(var(--d, 0s) + .9s), scale .5s var(--ease) calc(var(--d, 0s) + .9s); }
.js [data-choreo].is-in .a-pop { opacity: 1; scale: 1; }
.js [data-choreo] .a-num { opacity: 0; transition: opacity .6s ease calc(var(--d, 0s) + .55s); }
.js [data-choreo].is-in .a-num { opacity: 1; }
.js [data-choreo] .a-line, .js [data-choreo] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) calc(var(--d, 0s) + .6s); }
.js [data-choreo].is-in .a-line, .js [data-choreo].is-in .eyebrow::before { transform: scaleX(1); }
.js [data-choreo] .w > span { display: inline-block; translate: 0 110%; transition: translate .9s var(--ease) calc(var(--d, 0s) + var(--wd, 0s)); }
.js [data-choreo].is-in .w > span { translate: 0 0; }
.js [data-choreo] .a-up { opacity: 0; translate: 0 12px; transition: opacity .8s var(--ease) calc(var(--d, 0s) + var(--o, .85s)), translate .8s var(--ease) calc(var(--d, 0s) + var(--o, .85s)); }
.js [data-choreo].is-in .a-up { opacity: 1; translate: 0 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em 0; margin-bottom: -.12em; }
/* ---------- Color reveal slider ---------- */
.reveal-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.compare { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: ew-resize; user-select: none; touch-action: pan-y; box-shadow: var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare--gray .before { filter: grayscale(1) contrast(.9) brightness(1.05); }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba-item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.ba-item figcaption strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.ba-item figcaption span { font-size: .85rem; color: var(--muted); }
.ba-item { margin: 0; }
.ba-grid--3 { grid-template-columns: repeat(3, 1fr); }
.compare--tall { aspect-ratio: 3 / 4; }
@media (max-width: 960px) { .ba-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ba-grid--3 { grid-template-columns: 1fr; } }
.ai-note { font-size: .82rem; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--white); }
.compare .handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5);
}
.compare .tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(26,21,19,.7); color: var(--white); }
.compare .tag.l { left: 16px; } .compare .tag.r { right: 16px; background: var(--red); }
@media (max-width: 860px) { .reveal-split { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; counter-reset: s; }
.step { background: var(--ink); padding: clamp(28px, 4vw, 48px); position: relative; transition: background .5s; }
.step:hover { background: #241d1a; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--red); display: block; margin-bottom: 26px; font-style: italic; }
.step h3 { color: var(--white); }
.step p { color: #BDB2AB; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quick quote picker ---------- */
.quote { background: var(--white); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); }
.q-group { border: 0; padding: 0; margin: 0 0 24px; }
.q-group legend, .q-label { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .95rem;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-1px); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.q-row input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper);
  font: 500 1rem var(--sans); color: var(--ink); transition: border-color .3s;
}
.q-row input:focus { outline: 0; border-color: var(--red); }
.q-group legend small, .q-label small { font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--muted); opacity: .8; }
.chip input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 800; color: var(--white); margin-right: -2px; }
.q-note { display: block; margin-bottom: 20px; }
.q-note textarea {
  width: 100%; min-height: 84px; resize: vertical; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--paper); font: 500 1rem/1.5 var(--sans); color: var(--ink); transition: border-color .3s;
}
.q-note textarea:focus { outline: 0; border-color: var(--red); }
.q-preview { background: #E7F7EC; border-radius: 16px 16px 16px 4px; padding: 16px 18px; font-size: .92rem; white-space: pre-line; color: #173d24; margin-bottom: 20px; position: relative; }
.q-preview::before { content: "Your message preview"; display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #3c8a56; margin-bottom: 8px; }
.quote .btn--wa { width: 100%; font-size: 1.05rem; min-height: 60px; }
.q-alt { text-align: center; font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.q-alt a { color: var(--ink); font-weight: 700; }
.q-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.q-side li { display: flex; gap: 14px; align-items: flex-start; }
.q-side li b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: .9rem; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .q-row { grid-template-columns: 1fr; } }

/* ---------- Video reels (real job videos, vertical like Instagram Reels) ---------- */
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 48px); }
.reels-head .section-head { margin-bottom: 0; }
.reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.reel {
  position: relative; display: block; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: #241d1a; cursor: pointer; isolation: isolate; text-align: left; color: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reel:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(0,0,0,.7); }
.reel:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.reel:hover video { transform: scale(1.04); }
.reel::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(180deg, rgba(15,12,11,0), rgba(15,12,11,.82)); }
.reel-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: .86rem; font-weight: 600; line-height: 1.3; }
.reel-cap b { display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #FFB4AC; margin-bottom: 3px; }
.reel-play {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--red); transition: transform .3s var(--ease), background .3s, color .3s;
}
.reel:hover .reel-play { background: var(--red); color: var(--white); transform: scale(1.08); }
.reel-play svg { width: 14px; height: 14px; margin-left: 2px; }
.reel-dur { position: absolute; top: 14px; left: 10px; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(15,12,11,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 1100px) { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
}
/* full-screen player */
.vbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(15,12,11,.94); opacity: 0; pointer-events: none; transition: opacity .35s; }
.vbox.is-open { opacity: 1; pointer-events: auto; }
.vbox video { max-width: min(92vw, 520px); max-height: 86vh; border-radius: 14px; background: #000; transform: scale(.95); transition: transform .45s var(--ease); }
.vbox.is-open video { transform: none; }
.vbox-cap { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #ccc; font-size: .9rem; text-align: center; width: 90%; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button {
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer;
  font: 600 .92rem var(--sans); color: var(--ink-2); transition: all .3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry .tile { break-inside: avoid; margin-bottom: 18px; }
.tile { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.tile:hover img { transform: scale(1.06); }
.tile .cap {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.92);
  font-size: .78rem; font-weight: 700; transform: translateY(10px); opacity: 0; transition: all .45s var(--ease);
}
.tile:hover .cap { transform: none; opacity: 1; }
.tile.is-hidden { display: none; }
/* Homepage showcase: 4-column bento, two wide tiles, labels always visible */
.showcase-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.showcase-head .section-head { margin-bottom: 0; }
.showcase-head .lead { margin: 0; }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 22vw, 290px); gap: 16px; grid-auto-flow: dense; }
.teaser-grid .t-wide { grid-column: span 2; }
.teaser-grid .tile img { height: 100%; object-fit: cover; }
.teaser-grid .tile::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(26,21,19,0), rgba(26,21,19,.45)); pointer-events: none; }
.teaser-grid .cap { z-index: 1; opacity: 1; transform: none; display: flex; flex-direction: column; gap: 1px; padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: .86rem; color: var(--ink); }
.teaser-grid .cap b { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.showcase-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.showcase-foot .ai-note { margin: 0; }
.showcase-foot .btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .showcase-head { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; }
  .teaser-grid .cap { font-size: .78rem; padding: 7px 11px; left: 8px; bottom: 8px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,12,11,.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 8px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; cursor: pointer; transition: background .3s; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #bbb; font-size: .85rem; letter-spacing: .1em; }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(50px, 7vw, 90px) 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.svc li { display: flex; gap: 12px; align-items: baseline; }
.svc li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc-media { order: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(130px, 15vw, 190px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 14ch; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { text-decoration: none; display: block; }
.post-card .thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .meta { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.post-card h3 { margin: 8px 0; transition: color .3s; }
.post-card:hover h3 { color: var(--red); }
.post-card p { color: var(--ink-2); font-size: .96rem; }
.posts--featured .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.posts--featured .post-card:first-child .thumb { margin: 0; aspect-ratio: 16 / 10; }
.posts--featured .post-card:first-child h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .posts--featured .post-card:first-child { grid-template-columns: 1fr; gap: 0; } .posts--featured .post-card:first-child .thumb { margin-bottom: 18px; } }

.article-hero { padding: clamp(130px, 15vw, 180px) 0 40px; }
.article-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.article-hero .meta { color: var(--muted); font-size: .92rem; }
.article-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: clamp(40px, 6vw, 70px); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; margin-inline: auto; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--red); font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.45; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; border-radius: var(--radius); display: block; }
.prose figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.prose figcaption b { color: var(--ink-2); }
.post-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-pair img { aspect-ratio: 3 / 4; object-fit: cover; }
.prose .compare { border-radius: var(--radius); }
.prose .compare--tall { max-width: 460px; margin-inline: auto; aspect-ratio: 4 / 5; }
.prose figure:has(.compare--tall) figcaption { text-align: center; }
@media (max-width: 520px) { .post-pair { grid-template-columns: 1fr; } }
.cta-box { margin: 3em 0 0; padding: 32px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.cta-box h3 { color: var(--white); }
.cta-box p { color: #BDB2AB; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); width: 0; z-index: 60; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); border-radius: calc(var(--radius) + 10px); padding: clamp(40px, 7vw, 90px); position: relative; overflow: hidden; text-align: center; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band p { opacity: .9; max-width: 36em; margin: 0 auto 30px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.cta-band::before { width: 420px; height: 420px; left: -160px; top: -200px; }
.cta-band::after { width: 300px; height: 300px; right: -100px; bottom: -150px; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.c-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.c-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.c-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #BDB2AB; padding: clamp(60px, 8vw, 100px) 0 30px; margin-top: clamp(60px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer a { text-decoration: none; color: #BDB2AB; transition: color .3s; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand-name { color: var(--white); }
.footer-big { font-family: var(--serif); font-size: clamp(2.2rem, 7vw, 6rem); color: var(--white); line-height: 1; margin: 60px 0 30px; letter-spacing: -.03em; }
.footer-big em { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #062b14; text-decoration: none; font-weight: 800; font-size: .95rem;
  padding: 10px 20px 10px 10px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transform: translateY(120px); transition: transform .6s var(--ease);
}
.wa-float.is-visible { transform: none; }
.wa-float .ico { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.wa-float .ico svg { width: 24px; height: 24px; color: var(--wa); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }
@media (max-width: 520px) { .wa-float .label-long { display: none; } }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Scroll reveal effects ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* the wipe is on the image, not the box: a fully clipped box never counts as "on screen", so it would never reveal */
.js [data-reveal="paint"] { opacity: 1; transform: none; }
.js [data-reveal="paint"] img { clip-path: inset(0 100% 0 0); scale: 1.15; transition: clip-path 1.3s var(--ease) var(--d, 0s), scale 1.8s var(--ease) var(--d, 0s), transform 1s var(--ease); }
.js [data-reveal="paint"].is-in img { clip-path: inset(0 0 0 0); scale: 1; }

/* ---------- Intro (homepage, once per visit) ---------- */
.intro { display: none; }
.intro-on { overflow: hidden; }
.intro-on .intro {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 200; background-color: var(--paper);
}
.intro-badge { width: min(80vmin, 520px); aspect-ratio: 1; will-change: transform; filter: drop-shadow(0 30px 50px rgba(218, 36, 36, .22)); }
.intro-badge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.intro-ui { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: baseline; padding: 0 28px 26px; }
.intro-pct { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.intro-pct b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 2ch; }
.intro-pct span { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.intro-skip {
  border: 0; background: none; cursor: pointer; padding: 10px 4px;
  font: 700 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s;
}
.intro-skip:hover, .intro-skip:focus-visible { color: var(--red); }
/* hold the hero's own entrance until the intro hands off */
.intro-on .hero, .intro-on .hero * { animation-play-state: paused !important; }

/* ---------- Keyframes ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0 round 240px 240px 18px 18px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes swatch { to { opacity: 1; transform: translate(0, 0) rotate(4deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}
