/* ============================================================
   FOC — Facial of Cars Sdn Bhd
   Premium dark automotive landing
   ============================================================ */

/* ---------- 3M Corporate Typeface ---------- */
@font-face {
  font-family: "3MCircularTT Book";
  src: url("fonts/3MCircularTT-Book.woff2") format("woff2"),
       url("fonts/3MCircularTT-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "3MCircularTT Book";
  src: url("fonts/3MCircularTT-BookItalic.woff2") format("woff2"),
       url("fonts/3MCircularTT-BookItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "3MCircularTT Bold";
  src: url("fonts/3MCircularTT-Bold.woff2") format("woff2"),
       url("fonts/3MCircularTT-Bold.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "3MCircularTT Bold";
  src: url("fonts/3MCircularTT-BoldItalic.woff2") format("woff2"),
       url("fonts/3MCircularTT-BoldItalic.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-1: #0e0e0e;
  --bg-2: #131313;
  --bg-3: #1a1a1a;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f4f4f4;
  --ink-2: #cfcfcf;
  --muted: #8a8a8a;
  --muted-2: #5e5e5e;
  --accent: #e11d2a;
  --accent-2: #ff3a48;
  --accent-glow: rgba(225, 29, 42, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --t: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: "3MCircularTT Book", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Type system ---------- */
.serif { font-family: "Saira Condensed", "Manrope", system-ui, sans-serif; font-style: italic; font-weight: 700; letter-spacing: -0.005em; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
h1, h2, h3, h4 { margin: 0; font-family: "3MCircularTT Bold", "Manrope", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(44px, 7.4vw, 108px); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); }
p { margin: 0; color: var(--ink-2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 880px) {
  .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; }
}
.section-head .lede { color: var(--ink-2); max-width: 48ch; font-size: clamp(15px, 1.1vw, 17px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  border: 1px solid transparent; transition: transform .3s var(--t), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--t); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.3); }
.btn--light { background: #fff; color: #0a0a0a; }
.btn--light:hover { background: #e7e7e7; }
.btn .wa-icon { width: 16px; height: 16px; fill: currentColor; }
/* Nav WhatsApp: icon-only on small screens */
@media (max-width: 559px) {
  .nav .btn--wa { padding: 12px; }
  .nav .btn--wa .btn-label { display: none; }
  .nav { gap: 10px; padding: 14px 16px; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background .35s var(--t), backdrop-filter .35s var(--t), padding .35s var(--t), border-color .35s var(--t);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 12px var(--pad);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand-logo { height: 32px; width: auto; display: block; }
@media (min-width: 720px) { .brand-logo { height: 38px; } }

.nav-links { display: none; gap: 28px; align-items: center; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent);
  transition: width .35s var(--t);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
@media (min-width: 980px) { .nav-links { display: flex; } }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; background: rgba(255,255,255,0.02);
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s, opacity .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span::after { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 980px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; background: rgba(10,10,10,0.96); backdrop-filter: blur(20px);
  z-index: 95; display: flex; flex-direction: column; padding: 96px var(--pad) 40px;
  gap: 8px; transform: translateY(-100%); transition: transform .5s var(--t); pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); pointer-events: auto; }
.mobile-menu a:not(.btn) {
  font-size: 32px; font-weight: 600; letter-spacing: -0.02em; padding: 12px 0;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a:not(.btn)::after { content: "→"; font-size: 22px; color: var(--muted); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; padding: 16px 26px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 140px var(--pad) clamp(48px, 7vw, 96px); overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225,29,42,0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.65) 55%, var(--bg) 100%);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.9);
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-inner { position: relative; z-index: 2; margin-top: auto; display: grid; gap: clamp(28px, 4vw, 56px); width: 100%; max-width: var(--maxw); margin-left: auto; margin-right: auto; padding: 0; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero-meta .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); }
.hero-meta .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #5dd06d; box-shadow: 0 0 0 4px rgba(93,208,109,0.18); }
.hero-meta .dot--live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5dd06d; box-shadow: 0 0 0 4px rgba(93,208,109,0.18); margin-right: 8px; vertical-align: middle; }
/* 3M Pro Shop pill in hero meta */
.hero-meta .pill--3m {
  padding: 4px 4px 4px 4px;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.22);
}
.hero-meta .pill--3m .three-m {
  display: inline-flex; align-items: center; justify-content: center;
  background: #ff0000;
  color: #fff;
  font-family: "HelveticaNeue-Black", "Helvetica Neue", "Arial Black", Arial, sans-serif;
  font-weight: 900; font-style: normal;
  font-size: 13px; letter-spacing: -0.05em;
  padding: 4px 9px 4px 8px;
  border-radius: 999px;
  line-height: 1;
  box-shadow: 0 4px 18px -6px rgba(255, 0, 0, 0.6);
}
.hero-meta .pill--3m .three-m-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 500;
  padding-right: 10px;
  white-space: nowrap;
}
@media (max-width: 559px) {
  .hero-meta .pill--3m .three-m-label { font-size: 10px; letter-spacing: 0.14em; }
}

.hero h1 {
  max-width: 18ch;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .em { font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
/* ---------- Keyword flair (unified) ---------- */
.flair {
  font-family: "Saira Condensed", "Manrope", system-ui, sans-serif;
  font-style: italic; font-weight: 800;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding: 0 0.16em 0 0.05em;
  transform: skewX(-7deg);
  line-height: 0.92;
  background-image:
    /* Bright primary streak — widened for a slow lingering glow */
    linear-gradient(112deg,
      transparent 15%,
      rgba(255,255,255,0) 28%,
      rgba(255,255,255,0.4) 38%,
      rgba(255,255,255,0.85) 46%,
      rgba(255,255,255,1) 50%,
      rgba(255,255,255,0.85) 54%,
      rgba(255,255,255,0.4) 62%,
      rgba(255,255,255,0) 72%,
      transparent 85%
    ),
    /* Trailing soft warm halo */
    linear-gradient(112deg,
      transparent 0%,
      rgba(255,200,205,0) 32%,
      rgba(255,200,205,0.28) 50%,
      rgba(255,200,205,0) 68%,
      transparent 100%
    ),
    /* Base brushed metal */
    linear-gradient(180deg, #ffffff 0%, #d4d4d4 55%, #9a9a9a 100%);
  background-size: 200% 100%, 200% 100%, 100% 100%;
  background-position: -10% 0, -10% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: flairShimmer 20s linear infinite;
}
@keyframes flairShimmer {
  0%   { background-position: -10% 0, -10% 0, 0 0; }
  40%  { background-position: 110% 0,  110% 0, 0 0; }
  100% { background-position: 110% 0,  110% 0, 0 0; }
}
.flair::before {
  content: "";
  position: absolute;
  left: -0.05em; right: -0.18em;
  bottom: 0.05em;
  height: 0.09em;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(140,12,22,0.5) 8%,
    var(--accent) 30%,
    #ff4555 50%,
    var(--accent) 70%,
    rgba(140,12,22,0.5) 92%,
    transparent 100%
  );
  transform: skewX(-22deg);
  border-radius: 2px;
  z-index: -1;
  filter: drop-shadow(0 0 12px rgba(225,29,42,0.6));
  animation: flairGlow 20s ease-in-out infinite;
}
@keyframes flairGlow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(140,12,22,0.5));
    opacity: 0.75;
  }
  48% {
    filter:
      drop-shadow(0 0 22px rgba(255,70,90,0.95))
      drop-shadow(0 0 10px rgba(225,29,42,0.85));
    opacity: 1;
  }
}
.flair::after {
  content: "";
  position: absolute;
  left: -0.08em; right: -0.55em;
  top: 0; bottom: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0%, rgba(255,90,100,0.95) 28%, var(--accent) 55%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255,90,100,0.95) 28%, var(--accent) 55%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255,90,100,0.95) 28%, var(--accent) 55%, transparent 100%);
  background-size: 38% 0.06em, 30% 0.05em, 22% 0.04em;
  background-position: -60% 26%, -60% 50%, -60% 74%;
  background-repeat: no-repeat;
  transform: skewX(-20deg);
  filter: drop-shadow(0 0 6px rgba(225,29,42,0.75));
  animation: flairTrail 20s linear infinite;
  opacity: 0;
}
@keyframes flairTrail {
  0%, 26%, 100% {
    opacity: 0;
    background-position: -60% 26%, -60% 50%, -60% 74%;
  }
  5% {
    opacity: 1;
    background-position: -10% 26%, -60% 50%, -60% 74%;
  }
  9% {
    opacity: 1;
    background-position: 45% 26%, -10% 50%, -60% 74%;
  }
  13% {
    opacity: 1;
    background-position: 100% 26%, 45% 50%, -10% 74%;
  }
  17% {
    opacity: 0.85;
    background-position: 155% 26%, 100% 50%, 45% 74%;
  }
  21% {
    opacity: 0.5;
    background-position: 210% 26%, 155% 50%, 100% 74%;
  }
  25% {
    opacity: 0;
    background-position: 260% 26%, 210% 50%, 155% 74%;
  }
}
.hero-foot {
  display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line); padding-top: 28px;
}
@media (min-width: 880px) {
  .hero-foot {
    grid-template-columns: minmax(0, 1.4fr) auto;
    grid-template-areas: "lede ctas" "meta meta" "specs specs";
    column-gap: 56px; row-gap: 28px; align-items: end;
  }
  .hero-foot > p { grid-area: lede; }
  .hero-foot > .cta-row { grid-area: ctas; justify-self: end; align-self: end; }
  .hero-foot > .hero-meta { grid-area: meta; border-top: 1px solid var(--line); padding-top: 22px; }
  .hero-foot > .hero-spec { grid-area: specs; border-top: 1px solid var(--line); padding-top: 24px; }
}
.hero-foot p { max-width: 52ch; color: var(--ink-2); font-size: clamp(15px, 1.05vw, 17px); }
.hero-foot .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-spec { display: flex; gap: clamp(20px, 3vw, 48px); color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; flex-wrap: wrap; }
.hero-spec span strong { display: block; color: var(--ink); font-size: 28px; letter-spacing: -0.02em; text-transform: none; font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; margin-bottom: 2px; }
/* Short labels: mobile only */
.spec-short { display: none; }
@media (max-width: 719px) {
  .hero-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; text-align: center; }
  .hero-spec > span { display: flex; flex-direction: column; align-items: center; padding: 0 4px; }
  .hero-spec > span strong { font-size: 26px; }
  .hero-spec .spec-full { display: none; }
  .hero-spec .spec-short { display: inline; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden; padding: 22px 0;
}
.marquee-track {
  display: flex; gap: clamp(36px, 6vw, 90px); width: max-content;
  animation: scroll 38s linear infinite;
  color: var(--muted); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  align-items: center;
}
.marquee-track span { display: inline-flex; align-items: center; gap: clamp(36px, 6vw, 90px); white-space: nowrap; }
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.about-visual {
  position: relative; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2); min-width: 0;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.5));
}
.about-badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: flex-end; color: #fff;
}
.about-badge .yr { font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(48px, 5vw, 80px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
.about-badge .yr small { display: block; font-family: "Manrope", sans-serif; font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.about-badge .seal {
  width: 96px; height: 96px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.4);
  display: grid; place-items: center; text-align: center;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7);
  line-height: 1.4;
  animation: sealSpin 22s linear infinite;
}
@keyframes sealSpin { to { transform: rotate(360deg); } }

.about-body { display: grid; gap: 28px; }
.about-body h2 .accent { color: var(--accent); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 28px; }
.about-stats .stat .v { font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(38px, 3.8vw, 56px); line-height: 1; color: var(--ink); letter-spacing: -0.015em; }
.about-stats .stat .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; max-width: 18ch; }

/* ---------- Services ---------- */
.services { background: var(--bg-1); }
.service {
  display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0;
}
.service:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 980px) {
  .service { grid-template-columns: 0.9fr 1.2fr; }
  .service--alt { grid-template-columns: 1.2fr 0.9fr; }
  .service--alt .service-media { order: 2; }
  .service--alt .service-body { order: 1; }
}
.service-media {
  position: relative; width: 100%; aspect-ratio: 5/4; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-3); min-width: 0;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--t), filter .6s;
  filter: contrast(1.05) saturate(0.95);
}
.service:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute; top: 18px; left: 22px; color: #fff;
  font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: 0.02em;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18);
}
.service-tag {
  position: absolute; bottom: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,10,10,0.6); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); padding: 8px 14px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
.service-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.service-body { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.service-body h3 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.service-body h3 .em { font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: -0.005em; }
.service-body .lede { color: var(--ink-2); max-width: 52ch; font-size: clamp(15px, 1.05vw, 17px); }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 4px 0 8px; padding: 0; list-style: none; }
.benefits li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 10px 0; border-top: 1px solid var(--line); }
.benefits li::before {
  content: ""; width: 8px; height: 8px; flex: 0 0 auto; margin-top: 6px;
  background: var(--accent); transform: rotate(45deg);
}
.service-cta { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); padding-top: 6px; }
.service-cta::after { content: "→"; transition: transform .35s var(--t); }
.service-cta:hover::after { transform: translateX(6px); }

/* ---------- Why (split feature + 4-up grid) ---------- */
.why { background: var(--bg); position: relative; }
.why::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background:
    radial-gradient(circle at 85% 12%, rgba(225,29,42,0.14), transparent 42%),
    radial-gradient(circle at 8% 85%, rgba(225,29,42,0.06), transparent 42%);
}

/* --- Top: feature split (manifesto + two stats stacked) --- */
.why-split {
  position: relative;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}
@media (min-width: 980px) {
  .why-split { grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 24px; }
}

.why-feature {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 90%, rgba(225,29,42,0.18), transparent 55%),
    linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 70%);
  padding: clamp(28px, 3.2vw, 48px);
  display: flex; flex-direction: column;
  gap: clamp(24px, 2.6vw, 36px);
  min-height: 340px;
}
.why-feature .wf-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.why-feature .wf-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
.why-feature .wf-manifesto {
  flex: 1;
  display: flex; flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}
.why-feature .wf-stack {
  font-family: "Saira Condensed", "Manrope", sans-serif;
  font-style: italic; font-weight: 800;
  font-size: clamp(56px, 6.8vw, 110px);
  line-height: 0.9; letter-spacing: -0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 clamp(14px, 1.4vw, 22px);
  min-width: 0;
}
.why-feature .wf-stack .l1 { color: var(--ink); }
.why-feature .wf-stack .l2 { color: var(--ink); }
.why-feature .wf-stack .l3 { color: var(--accent); }
.why-feature .wf-stack span { display: inline-block; }
.why-feature .wf-prose {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
  text-wrap: pretty;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}
.why-feature .wf-prose strong {
  color: var(--ink); font-weight: 600;
  font-family: "Saira Condensed", sans-serif; font-style: italic;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap;
  padding-top: 4px;
}
@media (max-width: 720px) {
  .why-feature .wf-prose {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .why-feature .wf-prose strong { padding-top: 0; }
}
.why-feature .wf-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding-top: 22px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.why-feature .wf-sig {
  font-family: "Saira Condensed", sans-serif; font-style: italic; font-weight: 800;
  font-size: clamp(13px, 1.05vw, 16px); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink);
}
.why-feature .wf-stamp {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.why-feature .wf-stamp::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(225,29,42,0.18);
}
.why-feature::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(225,29,42,0.18), transparent 65%);
  pointer-events: none;
}

/* Stat column (right side) */
.why-stats {
  display: grid; gap: 22px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 980px) {
  .why-stats { grid-template-columns: 1fr; gap: 24px; }
}

.why-stat {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 0;
  transition: border-color .4s var(--t), background .4s var(--t);
}
.why-stat:hover { border-color: var(--line-strong); background: var(--bg-2); }
.why-stat .ws-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  white-space: nowrap;
}
.why-stat .ws-number {
  font-family: "Saira Condensed", "Manrope", sans-serif;
  font-style: italic; font-weight: 800;
  font-size: clamp(48px, 12vw, 84px);
  line-height: 0.85; letter-spacing: -0.05em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
  white-space: nowrap;
}
@media (min-width: 980px) {
  .why-stat .ws-number { font-size: clamp(54px, 5.4vw, 84px); }
}
.why-stat .ws-number .unit {
  font-size: 0.28em; color: var(--accent);
  letter-spacing: 0; font-weight: 800;
  transform: translateY(-0.7em);
}
.why-stat .ws-caption {
  font-size: 13px; color: var(--ink-2);
  line-height: 1.5;
  letter-spacing: -0.005em;
  margin-top: auto;
}
.why-stat .ws-caption strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; font-size: 14px; letter-spacing: 0; }

/* --- Bottom: 4-up equal grid (3 pillars + materials chip-stack) --- */
.why-pillars {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .why-pillars { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1100px) { .why-pillars { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.why-pillar {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: border-color .4s var(--t), background .4s var(--t);
}
.why-pillar:hover { border-color: var(--line-strong); background: var(--bg-2); }
.why-pillar .wp-icon {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  display: grid; place-items: center; color: var(--accent);
}
.why-pillar .wp-icon svg { width: 20px; height: 20px; }
.why-pillar h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  letter-spacing: -0.02em; line-height: 1.2;
  max-width: 16ch;
}
.why-pillar p {
  color: var(--ink-2); font-size: 13px; line-height: 1.55;
  margin-top: auto;
}
.why-pillar .wp-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: auto;
}
.why-pillar .wp-chip {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}

/* Accent line on hover for every card */
.why-feature::before,
.why-stat::before,
.why-pillar::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .5s var(--t); z-index: 2;
}
.why-feature:hover::before,
.why-stat:hover::before,
.why-pillar:hover::before { width: 100%; }

/* ---------- Process ---------- */
.process { background: var(--bg-1); }
.process-list { display: grid; gap: 0; }
.process-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-areas:
    "step title dur"
    ".    desc  desc";
  column-gap: 16px; row-gap: 6px;
  padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--line);
  align-items: start; transition: padding .3s var(--t);
}
.process-row:last-child { border-bottom: 1px solid var(--line); }
.process-row .step { grid-area: step; }
.process-row h3 { grid-area: title; }
.process-row p { grid-area: desc; padding-top: 6px; }
.process-row .dur { grid-area: dur; justify-self: end; align-self: start; padding-top: 8px; }
@media (min-width: 880px) {
  .process-row {
    grid-template-columns: 80px 1.2fr 1.4fr 120px;
    grid-template-areas: "step title desc dur";
    column-gap: 36px; row-gap: 0; align-items: center;
  }
  .process-row p { padding-top: 0; }
  .process-row .dur { padding-top: 0; align-self: center; }
}
.process-row .step {
  font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800; font-size: 26px; color: var(--accent); letter-spacing: -0.005em;
}
.process-row h3 { font-size: clamp(22px, 2vw, 30px); }
.process-row p { color: var(--ink-2); font-size: 14px; max-width: 46ch; }
.process-row .dur { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); justify-self: end; }

/* ---------- Gallery slider (half + full + half) ---------- */
.gal {
  position: relative;
  margin-top: clamp(20px, 3vw, 32px);
}
.gal-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* Slight horizontal padding so the focus ring on slides doesn't clip */
  padding: 6px 0;
}
.gal-track {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
  transition: transform 0.75s cubic-bezier(.55, .05, .2, 1);
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
}
.gal-track.is-dragging {
  transition: none;
  cursor: grabbing;
}
.gal-slide {
  flex: 0 0 60%;
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  display: block;
  transition:
    opacity 0.6s var(--t),
    transform 0.6s var(--t),
    filter 0.6s var(--t);
  opacity: 0.45;
  transform: scale(0.88);
  filter: brightness(0.55) saturate(0.85);
  -webkit-user-select: none; user-select: none;
}
.gal-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
.gal-slide:not(.is-active) {
  cursor: pointer;
}
.gal-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--t);
  pointer-events: none;
  -webkit-user-drag: none;
}
.gal-slide.is-active:hover img { transform: scale(1.04); }
.gal-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.6) 100%);
  opacity: 0; transition: opacity 0.4s var(--t);
}
.gal-slide.is-active::after { opacity: 1; }
.gal-slide .cap {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; align-items: center; justify-content: flex-start;
  color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--t), transform 0.5s var(--t);
  z-index: 2;
  pointer-events: none;
}
.gal-slide.is-active .cap { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.gal-slide .cap-tag {
  font-family: "Saira Condensed", sans-serif; font-style: italic; font-weight: 800;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10,10,10,0.65); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  display: inline-flex; align-items: center; gap: 8px;
}
.gal-slide .cap-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(225,29,42,0.18);
}

/* Slide image-fail fallback (matches old .gallery a.img-fail) */
.gal-slide.img-fail {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  display: grid; place-items: center;
}
.gal-slide.img-fail::before {
  content: "FoC";
  font-family: "Saira Condensed", "Manrope", sans-serif; font-style: italic; font-weight: 800;
  color: var(--muted-2); font-size: 36px; letter-spacing: -0.01em; text-transform: uppercase;
}
.gal-slide.img-fail img { display: none; }

/* Controls */
.gal-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: clamp(20px, 2.4vw, 32px);
  gap: 18px;
}
.gal-arrows { display: flex; gap: 10px; }
.gal-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.gal-arrow:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }
.gal-arrow:active { transform: scale(0.95); }
.gal-arrow:disabled {
  opacity: 0.35; cursor: not-allowed;
}
.gal-arrow svg { width: 18px; height: 18px; fill: currentColor; }

.gal-dots {
  display: flex; gap: 6px; align-items: center;
  flex: 1; justify-content: flex-end;
}
.gal-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.14); border: 0; padding: 0;
  transition: background 0.3s, width 0.3s;
}
.gal-dot.is-active { background: var(--accent); width: 56px; }
.gal-dot:hover:not(.is-active) { background: rgba(255,255,255,0.3); }

.gal-counter {
  font-family: "Saira Condensed", sans-serif; font-style: italic; font-weight: 800;
  color: var(--muted); font-size: 14px; letter-spacing: 0.02em;
  min-width: 56px;
}
.gal-counter .now { color: var(--ink); }

/* Mobile: slightly bigger slide ratio + stacked controls */
@media (max-width: 719px) {
  .gal-slide { flex-basis: 84%; aspect-ratio: 4/3; }
  .gal-slide .cap { left: 16px; right: 16px; bottom: 16px; }

  /* Stack controls: arrows + counter on top row, dots centred below */
  .gal-controls {
    flex-wrap: wrap;
    gap: 14px 0;
  }
  .gal-arrows { order: 1; }
  .gal-counter { order: 2; margin-left: auto; }
  .gal-dots {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    gap: 5px;
  }
  .gal-arrow { width: 44px; height: 44px; }
  /* Slightly smaller dots so 7 fit comfortably on one row */
  .gal-dot { width: 22px; }
  .gal-dot.is-active { width: 44px; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-1); }

/* Header row: label left, arrows right */
.testi-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.testi-header .divider-label { margin-bottom: 0; }
.testi-arrows { display: flex; gap: 10px; }
.testi-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.testi-arrow svg { width: 18px; height: 18px; fill: currentColor; }
.testi-arrow:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }
.testi-arrow:active { transform: scale(0.95); }
.testi-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

/* Scrollable track */
.testi-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.testi-track::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 0 0 calc(85% - 8px);   /* mobile: one card + right peek */
  scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 760px) {
  .testimonial { flex: 0 0 calc(50% - 8px); } /* tablet: 2 per view */
}
@media (min-width: 1100px) {
  .testimonial { flex: 0 0 calc(33.333% - 11px); } /* desktop: 3 per view */
}

.testimonial .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.testimonial p { font-family: "Manrope", sans-serif; font-style: normal; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .av {
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg-3);
  display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink);
  border: 1px solid var(--line-strong); flex-shrink: 0;
}
.testimonial .who .meta { font-size: 13px; line-height: 1.3; }
.testimonial .who .meta small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px); background: var(--bg-1);
  display: flex; flex-direction: column; gap: 26px;
}
.contact-card h3 { font-size: clamp(28px, 3vw, 40px); }
.contact-row { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.contact-row:first-of-type { border-top: 1px solid var(--line); }
.contact-row .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(225,29,42,0.1); border: 1px solid rgba(225,29,42,0.3); color: var(--accent); display: grid; place-items: center; }
.contact-row .ico svg { width: 16px; height: 16px; }
.contact-row .l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-row .v { color: var(--ink); margin-top: 4px; line-height: 1.45; font-size: 15px; }
.contact-row a.v { color: var(--ink); transition: color .25s; }
.contact-row a.v:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.map-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); min-height: 420px;
  background: var(--bg-2);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.95) saturate(0.5); }
.map-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 80px 20px rgba(10,10,10,0.5);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(60px, 8vw, 110px) 0;
  background: radial-gradient(circle at 50% 50%, rgba(225,29,42,0.16), transparent 60%), var(--bg-1);
  text-align: center;
}
.cta-strip h2 { max-width: 22ch; margin: 0 auto 20px; }
.cta-strip p { max-width: 56ch; margin: 0 auto 32px; color: var(--ink-2); }
.cta-strip .cta-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 880px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand { margin-bottom: 16px; }
.footer p.about { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 14px; transition: color .25s; }
.footer ul a:hover { color: var(--ink); }
.footer-bot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 28px; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.footer-bot .legal { display: flex; gap: 20px; }
.footer-bot .legal a:hover { color: var(--ink); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 40px -10px rgba(37,211,102,0.55), 0 0 0 6px rgba(37,211,102,0.1);
  transition: transform .35s var(--t);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float .ripple { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #25D366; animation: ripple 2.4s ease-out infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Initial hide for hero H1 — prevents flash before word-wrap script runs */
.hero h1 { opacity: 0; transition: opacity .3s var(--t); }
.hero h1.words-armed,
.no-js-anim .hero h1 { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero h1 { opacity: 1; } }

/* ---------- Reveal animations ---------- */
/* Transforms intentionally small so pre-reveal state never overlaps neighbours,
   even with tight mobile gaps. Movement is felt through staggered opacity. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s cubic-bezier(.2,.7,.2,1),
    transform 0.9s cubic-bezier(.2,.7,.2,1),
    clip-path 1.1s cubic-bezier(.65,0,.2,1),
    filter 0.8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; clip-path: inset(0); filter: none; }

/* Variants — bounded to keep layout integrity */
.reveal[data-fx="fade"]        { transform: none; }
.reveal[data-fx="up"]          { transform: translateY(14px); }
.reveal[data-fx="down"]        { transform: translateY(-10px); }
.reveal[data-fx="left"]        { transform: translateX(-24px); }
.reveal[data-fx="right"]       { transform: translateX(24px); }
.reveal[data-fx="rise"]        { transform: translateY(16px) scale(0.98); }
.reveal[data-fx="scale"]       { transform: scale(0.96); }
.reveal[data-fx="blur"]        { filter: blur(6px); transform: translateY(8px); }
.reveal[data-fx="clip-up"]     { clip-path: inset(105% 0 0 0); transform: none; opacity: 1; }
.reveal[data-fx="clip-down"]   { clip-path: inset(0 0 105% 0); transform: none; opacity: 1; }
.reveal[data-fx="clip-left"]   { clip-path: inset(0 105% 0 0); transform: none; opacity: 1; }
.reveal[data-fx="clip-right"]  { clip-path: inset(0 0 0 105%); transform: none; opacity: 1; }
.reveal[data-fx^="clip-"].is-in { clip-path: inset(0); }

/* Mobile: kill transforms during reveals so cascade staggers never visually overlap
   stacked siblings. Clip-path variants stay (their containers have overflow:hidden). */
@media (max-width: 719px) {
  .reveal,
  .reveal[data-fx="up"],
  .reveal[data-fx="down"],
  .reveal[data-fx="left"],
  .reveal[data-fx="right"],
  .reveal[data-fx="rise"],
  .reveal[data-fx="scale"],
  .reveal[data-fx="blur"] {
    transform: none;
    filter: none;
  }
}

/* Eyebrow line draws in horizontally */
.reveal[data-fx="line"]        { transform-origin: left; transform: scaleX(0); opacity: 1; }
.reveal[data-fx="line"].is-in  { transform: scaleX(1); }

/* Text mask reveal — wraps content in clip-up frame */
.reveal[data-fx="mask"] {
  display: inline-block; overflow: hidden; vertical-align: top;
  opacity: 1; transform: none;
}
.reveal[data-fx="mask"] > * {
  display: inline-block;
  transform: translateY(110%) skewY(4deg);
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal[data-fx="mask"].is-in > * { transform: translateY(0) skewY(0); }

/* ---------- Utilities ---------- */
.divider-label { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 36px; }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ============================================================
   TWEAKABLE OVERRIDES — react to data-* on <html>
   ============================================================ */

/* ----- Mood: Concierge (warm cream luxury) ----- */
html[data-mood="concierge"] {
  --bg: #14110d;
  --bg-1: #1a160f;
  --bg-2: #221d14;
  --bg-3: #2a2418;
  --surface: #1c1812;
  --surface-2: #25201619;
  --line: rgba(231, 205, 154, 0.10);
  --line-strong: rgba(231, 205, 154, 0.20);
  --ink: #f6ecd6;
  --ink-2: #d9c8a3;
  --muted: #8d7d5f;
  --muted-2: #5c5240;
  --accent: #c8a25a;
  --accent-2: #e0bd75;
  --accent-glow: rgba(200, 162, 90, 0.4);
}
/* ----- Mood: Stealth (pure mono) ----- */
html[data-mood="stealth"] {
  --bg: #0a0a0a;
  --bg-1: #0f0f0f;
  --bg-2: #161616;
  --bg-3: #1f1f1f;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --ink: #f4f4f4;
  --ink-2: #cfcfcf;
  --muted: #8a8a8a;
  --accent: #f4f4f4;
  --accent-2: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.25);
}
/* ----- Mood: Electric (cool cyan) ----- */
html[data-mood="electric"] {
  --bg: #08090e;
  --bg-1: #0d0f17;
  --bg-2: #131722;
  --bg-3: #1a1f2d;
  --line: rgba(120, 200, 255, 0.08);
  --line-strong: rgba(120, 200, 255, 0.20);
  --ink: #ecf4ff;
  --ink-2: #bdd2ea;
  --muted: #6f8197;
  --accent: #2dc6ff;
  --accent-2: #5fdcff;
  --accent-glow: rgba(45, 198, 255, 0.45);
}

/* Mood-specific seasoning */
html[data-mood="stealth"] .wa-float { background: #25D366; } /* keep WhatsApp green */
html[data-mood="stealth"] .hero-meta .pill .dot { background: #b8b8b8; box-shadow: 0 0 0 4px rgba(200,200,200,0.14); }

/* ----- Tempo: motion energy ----- */
:root {
  --flair-duration: 3.6s;
  --marquee-duration: 38s;
  --hero-zoom-duration: 18s;
  --reveal-duration: 0.9s;
  --hover-scale: 1.05;
}
html[data-tempo="calm"] {
  --flair-duration: 6s;
  --marquee-duration: 60s;
  --hero-zoom-duration: 28s;
  --reveal-duration: 1.2s;
  --hover-scale: 1.025;
}
html[data-tempo="aggressive"] {
  --flair-duration: 2.2s;
  --marquee-duration: 22s;
  --hero-zoom-duration: 12s;
  --reveal-duration: 0.55s;
  --hover-scale: 1.08;
}
.marquee-track { animation-duration: var(--marquee-duration); }
.hero-media img { animation-duration: var(--hero-zoom-duration); }
.flair, .flair::before, .flair::after { animation-duration: var(--flair-duration); }
.service:hover .service-media img,
.gallery a:hover img { transform: scale(var(--hover-scale)); }

/* Aggressive: bump the accent's intensity */
html[data-tempo="aggressive"] .flair::before { filter: drop-shadow(0 0 16px rgba(225,29,42,0.75)); }

/* ----- Flair style variants ----- */
/* Chrome: shimmer only, no trail, no glow underline */
html[data-flair="chrome"] .flair::before { display: none; }
html[data-flair="chrome"] .flair::after { display: none; }

/* Underline: clean static accent, no animation */
html[data-flair="underline"] .flair {
  animation: none;
  background-image: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
}
html[data-flair="underline"] .flair::after { display: none; }
html[data-flair="underline"] .flair::before {
  animation: none;
  filter: none;
  background: var(--accent);
  height: 0.07em;
  bottom: 0.02em;
  opacity: 1;
}

/* Off: plain text, no styling beyond the italic condensed face */
html[data-flair="off"] .flair {
  animation: none;
  background-image: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
  transform: none;
}
html[data-flair="off"] .flair::before,
html[data-flair="off"] .flair::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   SCROLL ENHANCEMENTS
   ============================================================ */

/* ----- Top progress bar ----- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  z-index: 1000; pointer-events: none;
  box-shadow: 0 0 10px var(--accent-glow);
  will-change: transform;
}

/* ----- Hero H1 word-stagger entrance ----- */
.hero h1.words-armed .word-anim {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
  padding: 0.02em 0;
}
.hero h1.words-armed .word-anim-i {
  display: inline-block;
  transform: translateY(110%) skewY(6deg);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.95s cubic-bezier(.2, .8, .2, 1),
    opacity 0.6s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--d, 0s);
}
.hero h1.words-in .word-anim-i {
  transform: translateY(0) skewY(0);
  opacity: 1;
}

/* ---------- 3M brand tint ---------- */
/* Keep "3M Pro Shop" on one line — never break between the two spans */
.brand-phrase { white-space: nowrap; }

/* H1 "3M" — solid red, tight kerning matching 3M logo */
.h1-logo__3m {
  color: #ff0000;
  font-family: "HelveticaNeue-Black", "Helvetica Neue", "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.12em;
  margin-right: 0.18em;
}

/* H1 "Pro Shop" — flair animation, reset font overrides to match H1 */
.h1-logo__ps {
  display: inline;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  text-transform: none;
  letter-spacing: inherit;
  line-height: inherit;
  transform: none;
  padding: 0;
}

.m3-flair {
  font-family: "HelveticaNeue-Black", "Helvetica Neue", "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.12em;
  display: inline;
}

/* All inline "3M" text mentions — 3M corporate logo style */
.txt-3m {
  color: var(--accent);
  font-family: "HelveticaNeue-Black", "Helvetica Neue", "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.12em;
}

/* ---------- Flair h1 variant: red→silver gradient, one animation ---------- */
.flair--h1 {
  background-image:
    linear-gradient(112deg,
      transparent 30%, rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.55) 46%, rgba(255,255,255,1) 50%,
      rgba(255,255,255,0.55) 54%, rgba(255,255,255,0) 60%,
      transparent 70%
    ),
    linear-gradient(112deg,
      transparent 0%, rgba(255,200,205,0) 32%,
      rgba(255,200,205,0.28) 50%, rgba(255,200,205,0) 68%,
      transparent 100%
    ),
    linear-gradient(90deg,
      #ffffff 0%, #d4d4d4 30%, #bebebe 55%, #9a9a9a 100%
    );
}

/* ---------- Hero mobile: centre-align ---------- */
@media (max-width: 719px) {
  .hero-inner { text-align: center; }
  .hero-foot > p { text-align: center; }
  .hero-foot > .cta-row { justify-content: center; }
  .hero-foot > .hero-meta { justify-content: center; }
  /* Clip the flair trail pseudo-element so it can't bleed past the viewport edge */
  .hero h1 { overflow-x: hidden; }
  .flair::after { right: 0; }
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--accent); color: #fff;
  padding: 12px 18px; border-radius: 0 0 10px 0;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  transition: border-color .35s var(--t), background .35s var(--t);
  overflow: hidden;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: var(--line-strong); background: var(--bg-2); }
.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.4vw, 32px);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary h3 {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
  max-width: 60ch;
}
.faq-item .faq-toggle {
  position: relative;
  width: 26px; height: 26px; flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s var(--t), border-color .3s var(--t), transform .35s var(--t);
}
.faq-item .faq-toggle::before,
.faq-item .faq-toggle::after {
  content: ""; position: absolute;
  background: var(--ink);
}
.faq-item .faq-toggle::before { width: 10px; height: 1.5px; }
.faq-item .faq-toggle::after  { width: 1.5px; height: 10px; transition: transform .35s var(--t); }
.faq-item[open] .faq-toggle { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .faq-toggle::before { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: rotate(90deg); background: #fff; }
.faq-answer {
  padding: 0 clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 28px);
}
.faq-answer p {
  color: var(--ink-2);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
  max-width: 72ch;
  text-wrap: pretty;
}
.faq-answer p strong { color: var(--ink); font-weight: 600; }
.faq-answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--accent-2); }

/* While the hero animation runs, hide initial overflow on the H1 so descenders don't peek */
.hero h1.words-armed { overflow: visible; }
