/* ==========================================================================
   PrimeScale Technologies — site styles
   Plain CSS, no build step. Brand tokens live in :root.
   ========================================================================== */

:root {
  --red: #B71F1C;
  --red-700: #961714;
  --red-50: #F6EEEC;
  --ink: #141418;
  --ink-2: #2E2E35;
  --muted: #5F5F69;
  --line: #E6E2DD;
  --paper: #FAF8F5;
  --white: #FFFFFF;
  --night: #121215;
  --night-2: #1C1C21;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 24, .04), 0 12px 32px -12px rgba(20, 20, 24, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--tint { background: var(--red-50); }
.section--dark { background: var(--night); color: #C9C7CC; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 6px; border-radius: 6px; background: currentColor;
  transform: rotate(-35deg);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #FF8A86; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); }
.section--dark .lead { color: #A9A7AE; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; border: 1.5px solid transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { color: var(--red); }
.section--dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.site-header.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { height: 30px; width: auto; }
.brand .on-dark { display: block; }
.brand .on-light { display: none; }
.site-header.is-solid .brand .on-dark,
.site-header--light .brand .on-dark { display: none; }
.site-header.is-solid .brand .on-light,
.site-header--light .brand .on-light { display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .96rem;
  color: rgba(255, 255, 255, .86); transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 3px; width: 14px; margin: 3px auto 0; border-radius: 3px; background: var(--red);
}
.site-header.is-solid .nav__link { color: var(--ink-2); }
.site-header.is-solid .nav__link:hover { color: var(--ink); background: rgba(20, 20, 24, .05); }
.site-header.is-solid .nav__link[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 20px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12);
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.site-header.is-solid .nav-toggle { background: rgba(20, 20, 24, .06); }
.site-header.is-solid .nav-toggle span { background: var(--ink); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 110; }
  .nav {
    position: fixed; inset: 0; z-index: 105; flex-direction: column; align-items: stretch; justify-content: center;
    padding: 96px var(--gutter) 40px; background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link, .site-header.is-solid .nav__link { color: #fff; font-family: var(--font-display); font-size: 1.9rem; padding: 10px 0; border-radius: 0; }
  .site-header.is-solid .nav__link:hover { background: none; color: #FF8A86; }
  .nav__link[aria-current="page"]::after { margin: 6px 0 0; }
  .nav .btn { margin: 32px 0 0; min-height: 54px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open .brand .on-dark { display: block; }
  body.nav-open .brand .on-light { display: none; }
  body.nav-open .brand { position: relative; z-index: 110; }
}

/* ---------- Media (images / video / placeholders) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.media img, .media video, .media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 5 / 6; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1; }
.zoom img { transition: transform .8s var(--ease); }
.zoom:hover img, a:hover .zoom img { transform: scale(1.04); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(100svh, 960px); display: flex; align-items: flex-end;
  color: #fff; background: var(--night); overflow: hidden; isolation: isolate;
}
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 18, 21, .55) 0%, rgba(18, 18, 21, .2) 35%, rgba(18, 18, 21, .92) 100%),
    linear-gradient(90deg, rgba(18, 18, 21, .75) 0%, rgba(18, 18, 21, 0) 70%);
}
.hero__stripes { position: absolute; right: -6vw; top: 18%; width: min(46vw, 620px); z-index: -1; opacity: .9; pointer-events: none; }
.hero__stripes span {
  display: block; height: clamp(34px, 5vw, 70px); border-radius: 999px; background: var(--red);
  transform: rotate(35deg); transform-origin: left center; margin-bottom: clamp(26px, 4vw, 54px);
  animation: stripe-in 1.4s var(--ease) both;
}
.hero__stripes span:nth-child(1) { width: 45%; margin-left: 34%; animation-delay: .15s; opacity: .95; }
.hero__stripes span:nth-child(2) { width: 88%; animation-delay: .3s; opacity: .75; }
.hero__stripes span:nth-child(3) { width: 45%; margin-left: 8%; animation-delay: .45s; opacity: .55; }
@keyframes stripe-in { from { opacity: 0; translate: 60px -40px; } }

.hero__inner { padding-top: 140px; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: #FF6B66; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 560px; color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hero__meta strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hero__meta span { font-size: .9rem; color: rgba(255, 255, 255, .65); }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.video-toggle:hover { background: rgba(0, 0, 0, .5); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--night); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 18, 21, .9), rgba(18, 18, 21, .35)); }
.page-hero .container { padding-top: clamp(150px, 20vw, 210px); padding-bottom: clamp(64px, 9vw, 110px); }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.page-hero p { max-width: 600px; color: rgba(255, 255, 255, .8); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .6); margin-bottom: 20px; list-style: none; padding: 0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Logo strip ---------- */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.logos .container { display: flex; align-items: center; gap: 40px; }
.logos p { margin: 0; font-size: .88rem; color: var(--muted); flex-shrink: 0; max-width: 170px; line-height: 1.4; }
.logos__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__row { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.logos__row:hover { animation-play-state: paused; }
.logo-ph {
  height: 40px; min-width: 130px; padding: 0 18px; border: 1.5px dashed #CFC9C2; border-radius: 10px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #A8A19A;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .logos .container { flex-direction: column; align-items: flex-start; gap: 20px; } .logos p { max-width: none; } .logos__track { width: 100%; } }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
.collage { position: relative; padding-bottom: 18%; padding-right: 12%; }
.collage__main { box-shadow: var(--shadow); }
.collage__small { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.section--white .collage__small { border-color: var(--white); }
.collage__badge {
  position: absolute; left: -14px; top: 28px; background: var(--red); color: #fff; border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow); max-width: 180px; line-height: 1.3; font-size: .9rem;
}
.collage__badge strong { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; margin-bottom: 6px; letter-spacing: -0.03em; }

.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.section--dark .checks li { color: #D6D4D9; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .media { border-radius: 0; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--red); letter-spacing: .08em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .link-arrow { margin-top: auto; align-self: flex-start; font-size: .94rem; }

/* ---------- Why us (illustrations) ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__item img { border-radius: var(--radius); margin-bottom: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why__item p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--dark .why__item p { color: #A9A7AE; }

/* ---------- Video feature ---------- */
.video-feature { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.video-feature video, .video-feature > img { width: 100%; height: 100%; object-fit: cover; }
.video-feature__play {
  position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55));
  border: 0; cursor: pointer; color: #fff; width: 100%;
}
.video-feature__play .ring {
  width: clamp(72px, 9vw, 108px); aspect-ratio: 1; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(183, 31, 28, .6); animation: pulse 2.4s infinite; transition: transform .3s var(--ease);
}
.video-feature__play:hover .ring { transform: scale(1.08); }
.video-feature__play .caption { position: absolute; left: clamp(20px, 4vw, 40px); bottom: clamp(18px, 3.5vw, 36px); text-align: left; font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 600; }
.video-feature__play .caption small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .85rem; opacity: .7; }
.video-feature.is-playing .video-feature__play { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(183, 31, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(183, 31, 28, 0); } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; }
.step .media { margin-bottom: 22px; }
.step__num {
  position: absolute; top: 14px; left: 14px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--red); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { display: block; }
.case .media { margin-bottom: 20px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--red-50); color: var(--red); }
.section--dark .tag { background: rgba(255, 255, 255, .08); color: #FF8A86; }
.case h3 { transition: color .2s; }
.case:hover h3 { color: var(--red); }
.case p { color: var(--muted); font-size: .96rem; margin: 0; }
.section--dark .case p { color: #A9A7AE; }
.section--dark .case:hover h3 { color: #FF8A86; }

.case--featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: clamp(56px, 8vw, 88px); }
.case--featured .media { margin: 0; }
.case__result { display: flex; gap: 32px; margin: 24px 0 28px; }
.case__result strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.case__result span { font-size: .88rem; color: var(--muted); }

/* Project rows (Our Work page) */
.project:last-child { margin-bottom: 0; }
.project .media { box-shadow: var(--shadow); }
.project h2 { margin-bottom: .35em; }
.project .checks { margin: 22px 0 26px; gap: 10px; }
.project .case__result { flex-wrap: wrap; }
.project__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 961px) {
  .project--flip { grid-template-columns: 1fr 1.3fr; }
  .project--flip > .media { order: 2; }
}

/* Branded panel shown where no product screenshot exists */
.project-panel {
  display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center;
  background: radial-gradient(120% 90% at 15% 10%, rgba(183, 31, 28, .55), transparent 60%), var(--night);
  color: #fff;
}
.project-panel--kazigo {
  background: radial-gradient(110% 90% at 85% 15%, rgba(0, 135, 81, .55), transparent 60%),
              radial-gradient(90% 80% at 10% 95%, rgba(183, 31, 28, .35), transparent 60%), var(--night);
}
.project-panel__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
.project-panel__line { font-size: .95rem; color: rgba(255, 255, 255, .72); max-width: 26ch; }
.project-panel .tag { background: rgba(255, 255, 255, .12); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  border: 1.5px solid var(--line); background: var(--white); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  font-weight: 500; font-size: .93rem; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.case.is-hidden { display: none; }

/* ---------- Testimonial ---------- */
.quote { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote .media { border-radius: 50% 50% var(--radius) var(--radius); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--ink);
  letter-spacing: -0.02em; font-weight: 500;
}
.quote blockquote p::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--red); margin-bottom: 18px; }
.quote cite { font-style: normal; display: block; }
.quote cite strong { display: block; color: var(--ink); font-weight: 600; }
.quote cite span { color: var(--muted); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--red); color: #fff; border-radius: calc(var(--radius) + 8px);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px); isolation: isolate;
}
.cta h2 { color: #fff; max-width: 16ch; }
.cta p { color: rgba(255, 255, 255, .85); max-width: 520px; font-size: 1.1rem; margin-bottom: 32px; }
.cta__mark { position: absolute; right: -40px; top: 50%; width: min(420px, 50vw); transform: translateY(-50%); opacity: .16; z-index: -1; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__num { font-family: var(--font-display); font-size: 1rem; color: var(--red); font-weight: 600; margin-bottom: 12px; display: block; }
.svc-row .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .88rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%23B71F1C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 48px; margin: -6px 0 24px; }

/* ---------- About: values, team, timeline ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; }
.value .media { border-radius: 0; }
.value__body { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(180deg, transparent, rgba(12, 12, 14, .9)); }
.value__body h3 { color: #fff; margin-bottom: 6px; }
.value__body p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member .media { margin-bottom: 16px; }
.member h3 { font-size: 1.1rem; margin-bottom: 2px; }
.member p { color: var(--muted); font-size: .93rem; margin: 0; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__card { background: var(--night-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); border: 1px solid rgba(255, 255, 255, .06); }
.mv__card:first-child { background: var(--red); }
.mv__card:first-child p { color: rgba(255, 255, 255, .88); }
.mv__card p { margin: 0; font-size: 1.08rem; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 5px solid var(--red); }
.timeline strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); display: block; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form { background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(183, 31, 28, .12); }
.field .error { font-size: .84rem; color: var(--red); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .error { display: block; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); max-width: 320px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; display: none; font-weight: 500; }
.form-status.is-success { display: block; background: #E8F4EC; color: #1C6B3A; }
.form-status.is-error { display: block; background: var(--red-50); color: var(--red-700); }
.hp { position: absolute; left: -9999px; }

.info { display: grid; gap: 14px; }
.info__item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.info__item .dot { width: 12px; height: 12px; border-radius: 4px; background: var(--red); transform: rotate(35deg); margin-top: 8px; flex-shrink: 0; }
.info__item h3 { font-size: 1rem; margin-bottom: 4px; }
.info__item p, .info__item a { margin: 0; color: var(--muted); }
.info__item a:hover { color: var(--red); }
.map { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #A9A7AE; padding: clamp(64px, 9vw, 96px) 0 32px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand img { width: 180px; margin-bottom: 20px; }
.footer__brand p { max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; }
.newsletter input::placeholder { color: #75737B; }
.newsletter .btn { min-height: 48px; padding: 0 18px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; font-weight: 700; color: #fff; transition: background .2s ease, border-color .2s ease; }
.socials a svg { display: block; transition: transform .2s ease; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials a:hover svg { transform: scale(1.1); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .86rem; flex-wrap: wrap; }
.footer__bottom ul { display: flex; gap: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .why, .process { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split, .split--wide-left, .svc-row, .case--featured, .contact, .quote, .mv { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .cards, .cases, .values { grid-template-columns: repeat(2, 1fr); }
  .quote .media { max-width: 240px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .collage { max-width: 560px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cases, .values, .why, .process, .team, .footer__top, .form__grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .timeline { grid-template-columns: 1fr; }
  .brand__word { height: 24px; }
  .brand__mark { width: 32px; height: 32px; }
  .hero__stripes { opacity: .35; right: -30vw; width: 90vw; }
  .video-toggle { top: 96px; bottom: auto; }
  .collage__badge { left: 0; top: 16px; padding: 14px 16px; }
  .collage__badge strong { font-size: 1.6rem; }
  .case__result { gap: 20px; }
  .footer__bottom { flex-direction: column; }
  .btn { width: 100%; }
  .nav .btn, .newsletter .btn { width: auto; }
  .section-head--split .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
