/* ==========================================================================
   FABCON — Light premium
   White and soft-grey canvas, navy ink, Fabcon brand red accent,
   full-screen photo slider, Sora headings + DM Sans body.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --surface: #ffffff;
  --line: #e3e9f1;
  --line-2: #cfd8e4;
  --ink: #0b1f38;
  --navy: #0f2d4f;
  --text: #33445c;
  --muted: #5d6c82;
  --red: #e6131c;
  --red-2: #ff3b42;
  --red-dark: #c00f17;
  --red-soft: #fdecec;
  --shadow: 0 24px 50px -28px rgba(11, 37, 69, 0.25);

  --font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 22px;
  --hdr: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--hdr) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
}

.skip:focus {
  top: 12px;
}

.hl {
  color: var(--red);
}

/* Reveal on scroll (only when JS is running) */
.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Type & section scaffolding
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font: 600 0.8rem/1 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 760px;
}

.body {
  margin-top: 20px;
  font-size: 1.06rem;
  max-width: 560px;
}

.sec {
  position: relative;
  padding: 110px 0;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 60px;
  margin-bottom: 52px;
}

.sec-note {
  max-width: 380px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.btn .ic {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .ic {
  transform: translateX(3px);
}

.btn-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(230, 19, 28, 0.6);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-line {
  border-color: var(--line-2);
  color: var(--ink);
  background: #fff;
}

.btn-line:hover {
  border-color: var(--ink);
}

.btn-glass {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: #fff;
  color: var(--ink);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink);
}

.btn-dark-line {
  border-color: rgba(11, 26, 48, 0.3);
  color: var(--ink);
}

.btn-dark-line:hover {
  border-color: var(--ink);
}

.btn-dark-line:hover .ic {
  transform: none;
}

/* --------------------------------------------------------------------------
   Header: transparent over the hero, solid white after scrolling
   -------------------------------------------------------------------------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hdr.solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(11, 37, 69, 0.4);
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--hdr);
}

.brand img {
  height: 40px;
  width: auto;
  padding: 5px 10px;
  border-radius: 10px;
  background: #fff;
}

.hdr-nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.hdr-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hdr-nav a:hover,
.hdr-nav a.on {
  background: rgba(255, 255, 255, 0.18);
}

.hdr.solid .hdr-nav {
  border-color: var(--line);
  background: var(--bg-2);
}

.hdr.solid .hdr-nav a {
  color: var(--text);
}

.hdr.solid .hdr-nav a:hover {
  background: #fff;
  color: var(--ink);
}

.hdr.solid .hdr-nav a.on {
  background: var(--navy);
  color: #fff;
}

.hdr-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.link-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}

.link-dl .ic {
  width: 17px;
  height: 17px;
}

.hdr.solid .link-dl {
  color: var(--ink);
}

.link-dl:hover {
  color: var(--red-2);
}

.menu-btn {
  display: none;
  position: relative;
  z-index: 210;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.hdr.solid .menu-btn,
.menu-open .menu-btn {
  border-color: var(--line-2);
  background: #fff;
}

.hdr.solid .menu-btn span,
.menu-open .menu-btn span {
  background: var(--ink);
}

.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }

/* Mobile menu (outside the header) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--hdr) + 30px) 24px 32px;
  background: #fff;
}

.menu[hidden] {
  display: none;
}

.menu nav {
  display: grid;
}

.menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 600 1.7rem/1.2 var(--head);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.menu nav a span {
  font: 600 0.8rem var(--font);
  color: var(--red);
}

.menu-foot {
  display: grid;
  gap: 14px;
}

.menu-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.menu-foot .ic {
  color: var(--red);
}

.menu-open .hdr {
  background: #fff;
  border-bottom-color: var(--line);
}

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.slides,
.slide,
.slide-bg {
  position: absolute;
  inset: 0;
}

.slide {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
}

.slide.on {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 8s linear;
}

.slide.on .slide-bg {
  transform: scale(1);
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 20, 38, 0.88) 0%, rgba(8, 20, 38, 0.62) 45%, rgba(8, 20, 38, 0.15) 100%),
    linear-gradient(0deg, rgba(8, 20, 38, 0.7) 0%, transparent 40%);
}

.slide-in {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--hdr) - 40px);
  padding-bottom: 80px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font: 600 0.74rem/1 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(230, 19, 28, 0.5);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(230, 19, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 19, 28, 0); }
}

.slide-title {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #fff;
}

.slide-title .hl {
  color: var(--red-2);
}

.slide-text {
  max-width: 560px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Slide content entrance */
.slide .tag,
.slide-title,
.slide-text,
.slide .hero-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.slide.on .tag { opacity: 1; transform: none; transition-delay: 0.25s; }
.slide.on .slide-title { opacity: 1; transform: none; transition-delay: 0.4s; }
.slide.on .slide-text { opacity: 1; transform: none; transition-delay: 0.55s; }
.slide.on .hero-actions { opacity: 1; transform: none; transition-delay: 0.7s; }

.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-stats > div {
  padding: 18px 28px;
}

.hero-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats dt {
  font: 600 1.7rem/1 var(--head);
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-stats dd {
  margin-top: 6px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-nav {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.hero-count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-count strong {
  font: 600 1.4rem var(--head);
  color: #fff;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 44px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
}

.dot span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.dot.on span {
  animation: dotFill 6.5s linear forwards;
}

.hero.paused .dot.on span {
  animation-play-state: paused;
}

@keyframes dotFill {
  to { width: 100%; }
}

.hero-arrows {
  display: flex;
  gap: 8px;
}

.arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.arrow:hover {
  background: var(--red);
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   Marquee (pure CSS)
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--red);
  color: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font: 600 1.3rem/1 var(--head);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee-group span::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.values li {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.about-media {
  position: relative;
  padding-bottom: 30px;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.about-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.about-card strong {
  font: 600 1.15rem var(--head);
}

.about-card span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Services (bento)
   -------------------------------------------------------------------------- */
.services {
  background: var(--bg-2);
}

.svc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-feature {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.svc-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.svc-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 20, 38, 0) 30%, rgba(8, 20, 38, 0.9) 85%);
}

.svc-feature:hover img {
  transform: scale(1.06);
}

.svc-feature-body {
  padding: 28px;
  color: rgba(255, 255, 255, 0.85);
}

.chip-no {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 600 0.75rem var(--font);
}

.svc-feature h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: #fff;
}

.svc-feature p {
  font-size: 0.95rem;
}

.svc-feature ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.svc-feature li {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
}

.svc-minis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.svc-mini {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}

.svc-mini:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.svc-mini-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.svc-mini:hover .svc-mini-icon {
  background: var(--red);
  color: #fff;
}

.svc-mini h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.svc-mini p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Why
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.why-media {
  position: relative;
}

.why-media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.why-media blockquote {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid var(--red);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.why-media blockquote strong {
  color: var(--ink);
}

.why-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.why-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.why-no {
  font: 600 0.9rem var(--head);
  color: var(--red);
  padding-top: 3px;
}

.why-list h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.why-list p {
  font-size: 0.96rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries {
  background: var(--bg-2);
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.ind {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 30px -22px rgba(11, 37, 69, 0.45);
}

.ind img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.ind::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 38, 0.88));
}

.ind:hover img {
  transform: scale(1.08);
}

.ind figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font: 600 0.92rem/1.3 var(--head);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width 0.6s var(--ease);
}

.step:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.step:hover::before {
  width: 100%;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
}

.step-no {
  font: 600 2.4rem/1 var(--head);
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step p {
  font-size: 0.96rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Projects gallery
   -------------------------------------------------------------------------- */
.projects {
  background: var(--bg-2);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.filter {
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.filter:hover {
  color: var(--ink);
}

.filter.on {
  background: var(--navy);
  color: #fff;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}

.gal {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
}

.gal.tall {
  grid-row: span 2;
}

.gal.wide {
  grid-column: span 2;
}

.gal.hide {
  display: none;
}

.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gal:hover img {
  transform: scale(1.06);
}

.gal-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.gal:hover .gal-cap,
.gal:focus-visible .gal-cap {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  padding: 32px;
  background: rgba(8, 18, 34, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
}

.lightbox figcaption {
  font-weight: 600;
  color: #fff;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

/* --------------------------------------------------------------------------
   Quality (navy card for contrast)
   -------------------------------------------------------------------------- */
.quality-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}

.quality-copy {
  padding: 64px;
}

.quality-copy .kicker {
  color: var(--red-2);
}

.quality-copy .h2 {
  color: #fff;
}

.quality-copy .h2 .hl {
  color: var(--red-2);
}

.commit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-top: 30px;
}

.commit li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 500;
  color: #fff;
}

.commit .ic {
  color: var(--red-2);
}

.quality-img img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.faq-grid .btn {
  margin-top: 30px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font: inherit;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font: 600 1.08rem/1.45 var(--head);
  color: var(--ink);
  cursor: pointer;
}

.faq-sign {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.faq-sign .ic {
  width: 16px;
  height: 16px;
}

.faq-item.open .faq-sign {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 56px 24px 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  padding: 0 0 110px;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 56px 60px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.28), transparent 40%),
    var(--red);
  color: var(--ink);
}

.cta-card h2 {
  max-width: 620px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #fff;
  letter-spacing: -0.035em;
}

.cta-card p {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta .btn-dark-line {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cta .btn-dark-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-list {
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ci {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
}

.contact-list small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.contact-list a,
.contact-list span:not(.ci) {
  font-weight: 600;
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--red);
}

.form {
  display: grid;
  gap: 20px;
  padding: 40px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink);
  font: 400 0.98rem var(--font);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8592a5;
}

.field textarea {
  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(230, 19, 28, 0.14);
}

.field.bad input,
.field.bad textarea {
  border-color: #d93025;
}

.field small {
  font-size: 0.82rem;
  color: #c5221f;
}

.field small:empty {
  display: none;
}

.form .btn {
  justify-self: start;
}

.form-ok {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #e8f5ec;
  color: #1e7a3c;
  font-weight: 500;
}

.form-ok[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Footer (navy anchor)
   -------------------------------------------------------------------------- */
.ftr {
  padding-top: 90px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.ftr-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
}

.ftr-brand p {
  max-width: 340px;
  font-size: 0.95rem;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.ftr h4 {
  margin-bottom: 20px;
  font: 600 0.8rem var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.ftr ul {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
}

.ftr ul a:hover {
  color: #fff;
}

.ftr .btn {
  margin-top: 22px;
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
}

.ftr .btn:hover {
  border-color: #fff;
}

.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Floating buttons */
.floats {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.float {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 28px -12px rgba(11, 37, 69, 0.45);
  transition: transform 0.3s var(--ease), opacity 0.3s ease, visibility 0.3s;
}

.float:hover {
  transform: translateY(-3px);
}

.float .ic {
  width: 22px;
  height: 22px;
}

.float.wa {
  background: #25d366;
}

.float.top {
  background: var(--navy);
  opacity: 0;
  visibility: hidden;
}

.float.top.show {
  opacity: 1;
  visibility: visible;
}

.menu-open .floats {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .ind-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .link-dl span {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, auto);
  }

  .hero-stats > div:nth-child(3) {
    border-left: 0;
  }

  .hero-stats > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 991px) {
  .sec {
    padding: 88px 0;
  }

  .hdr-nav,
  .link-dl,
  .hdr-cta .btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .about-grid,
  .why-grid,
  .faq-grid,
  .contact-grid,
  .quality-card {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .quality-card {
    gap: 0;
  }

  .svc-features {
    grid-template-columns: 1fr;
  }

  .svc-feature {
    min-height: 360px;
  }

  .ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quality-copy {
    padding: 44px;
  }

  .hero-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-nav {
    justify-items: start;
    grid-auto-flow: column;
    align-items: center;
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --hdr: 68px;
  }

  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 18px;
  }

  .sec {
    padding: 72px 0;
  }

  .brand img {
    height: 36px;
  }

  /* Slide text plus the 2x2 stats need more than one phone screen */
  .hero {
    height: auto;
    min-height: 920px;
  }

  .slide {
    align-items: flex-start;
  }

  .slide-in {
    padding-top: calc(var(--hdr) + 40px);
  }

  .slide::before {
    background: linear-gradient(180deg, rgba(8, 20, 38, 0.82) 0%, rgba(8, 20, 38, 0.6) 55%, rgba(8, 20, 38, 0.9) 100%);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-bar {
    bottom: 18px;
    gap: 14px;
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stats > div {
    padding: 14px 16px;
  }

  .hero-stats dt {
    font-size: 1.35rem;
  }

  .hero-arrows {
    display: none;
  }

  .marquee {
    padding: 15px 0;
  }

  .marquee-group span {
    font-size: 1.02rem;
    gap: 24px;
    padding-right: 24px;
  }

  .svc-minis,
  .steps,
  .commit,
  .row {
    grid-template-columns: 1fr;
  }

  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }

  .gal-cap {
    opacity: 1;
    transform: none;
    left: 8px;
    bottom: 8px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .quality-copy {
    padding: 32px 24px;
  }

  .quality-img img {
    min-height: 260px;
  }

  .faq-a p {
    padding-right: 0;
  }

  .cta-card {
    padding: 40px 26px;
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .form {
    padding: 26px 20px;
  }

  .form .btn {
    justify-self: stretch;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 70px 12px 90px;
  }

  .lb-prev,
  .lb-next {
    position: absolute;
    bottom: 24px;
  }

  .lb-prev {
    left: calc(50% - 60px);
  }

  .lb-next {
    right: calc(50% - 60px);
  }

  .ftr-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .floats {
    right: 14px;
    bottom: 14px;
  }

  .float {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .js .rv {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Motion layer: smooth scroll support, progress bar, image wipes,
   blur-in headings, icon polish
   ========================================================================== */

/* Lenis smooth scrolling (only active when the library loads) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  height: 3px;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Headings soften in from a light blur */
.js .h2.rv {
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}

.js .h2.rv.in {
  filter: none;
}

/* Images wipe up into view */
.js .rvi img {
  clip-path: inset(100% 0 0 0 round var(--r));
  transform: scale(1.12);
  transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease);
}

.js .rvi.in img {
  clip-path: inset(0 0 0 0 round var(--r));
  transform: none;
}

.js .quality-img.rvi img {
  clip-path: inset(0 0 0 100%);
}

.js .quality-img.rvi.in img {
  clip-path: inset(0 0 0 0);
}

/* Cards rise with a slight scale for depth */
.js .svc-feature.rv,
.js .svc-mini.rv,
.js .ind.rv,
.js .step.rv {
  transform: translateY(34px) scale(0.97);
}

.js .svc-feature.rv.in,
.js .svc-mini.rv.in,
.js .ind.rv.in,
.js .step.rv.in {
  transform: none;
}

/* Icon polish */
.svc-mini-icon .ic,
.step-icon .ic {
  width: 24px;
  height: 24px;
  transition: transform 0.5s var(--ease);
}

.svc-mini:hover .svc-mini-icon .ic,
.step:hover .step-icon .ic {
  transform: scale(1.12) rotate(-6deg);
}

.social a .ic {
  width: 17px;
  height: 17px;
}

.float.wa .ic {
  width: 26px;
  height: 26px;
}

.ci .ic {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .js .h2.rv,
  .js .rvi img {
    filter: none;
    clip-path: none;
    transform: none;
  }
}

/* Hero text drifts up and fades as the page scrolls */
.slide-in {
  transform: translateY(calc(var(--hp, 0) * -70px));
  opacity: calc(1 - var(--hp, 0) * 1.2);
}

/* Image wipes start enlarged: keep them inside their frames */
.rvi {
  overflow: hidden;
  border-radius: var(--r);
}

html {
  overflow-x: clip;
}

/* ==========================================================================
   Services carousel
   ========================================================================== */
.car-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.car-count {
  margin-right: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.car-count strong {
  font: 600 1.35rem var(--head);
  color: var(--ink);
}

.car-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.car-btn:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.car-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel {
  position: relative;
}

.car-track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 6px max(32px, calc((100vw - 1280px) / 2 + 32px)) 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
}

.car-track::-webkit-scrollbar {
  display: none;
}

.car-track:focus-visible {
  outline-offset: -4px;
}

.car-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.car-track.dragging * {
  user-select: none;
}

.svc-card {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.svc-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  pointer-events: none;
}

.svc-card:hover .svc-media img {
  transform: scale(1.07);
}

.svc-icon {
  position: absolute;
  left: 22px;
  bottom: -24px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 4px solid #fff;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(230, 19, 28, 0.7);
  transition: background-color 0.4s ease;
}

.svc-card:hover .svc-icon {
  background: var(--navy);
}

.svc-icon .ic {
  width: 24px;
  height: 24px;
}

.svc-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 20, 38, 0.25));
  pointer-events: none;
}

.svc-media .svc-icon {
  z-index: 1;
  bottom: 16px;
}

.svc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
}

.svc-no {
  margin-bottom: 10px;
  font: 600 0.78rem var(--font);
  letter-spacing: 0.08em;
  color: var(--red);
}

.svc-body h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.svc-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.svc-body ul {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.svc-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.svc-body li .ic {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy);
  transition: color 0.3s ease, gap 0.3s var(--ease);
}

.svc-link .ic {
  width: 17px;
  height: 17px;
}

.svc-link:hover {
  color: var(--red);
  gap: 12px;
}

.car-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
}

.car-progress {
  flex: 1;
  max-width: 520px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.car-progress span {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 3px;
  background: var(--red);
  transition: width 0.3s ease, transform 0.3s ease;
}

@media (max-width: 991px) {
  .svc-card {
    flex-basis: 340px;
  }
}

@media (max-width: 640px) {
  .car-track {
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
    scroll-padding-left: 18px;
  }

  .svc-card {
    flex-basis: 82vw;
  }

  .car-controls .car-btn {
    width: 44px;
    height: 44px;
  }

  .car-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .car-progress {
    max-width: none;
  }
}

/* ==========================================================================
   Fabcon brand: logo lockups and red accents
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 30px;
  width: auto;
  padding: 0;
  border-radius: 0;
  background: none;
}

/* White lockup over the hero; colour lockup once the header is solid */
.brand .logo-dark {
  display: none;
}

.hdr.solid .brand .logo-light,
.menu-open .brand .logo-light {
  display: none;
}

.hdr.solid .brand .logo-dark,
.menu-open .brand .logo-dark {
  display: block;
}

.ftr-brand img {
  height: 34px;
  width: auto;
  padding: 0;
  border-radius: 0;
  background: none;
}

/* Brand red on dark photography reads best a touch brighter */
.slide-title .hl,
.quality-copy .h2 .hl {
  color: var(--red-2);
}

/* Signature diagonal from the brand board on the CTA card */
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--red);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -10%;
  width: 45%;
  z-index: -1;
  background: var(--red-dark);
  transform: skewX(-28deg);
}

@media (max-width: 640px) {
  .brand img {
    height: 26px;
  }
}

/* ==========================================================================
   Services carousel v8: centred infinite loop
   ========================================================================== */
.car-track {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  scroll-padding-left: 0;
}

.svc-card {
  scroll-snap-align: center;
  transform: scale(0.95);
}

.svc-card.is-center {
  transform: none;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.svc-card.is-center:hover {
  transform: translateY(-6px);
}

@media (max-width: 640px) {
  .car-track {
    padding-left: 0;
    padding-right: 0;
    scroll-padding-left: 0;
  }
}

/* ==========================================================================
   Inner pages v9: page hero, service details, grids, about, industries, contact
   ========================================================================== */
.phero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.phero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(calc(1.06 + var(--hp, 0) * 0.08));
  animation: phero-zoom 1.8s var(--ease) both;
}

@keyframes phero-zoom {
  from { transform: scale(1.18); }
}

.phero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 20, 38, 0.9) 0%, rgba(8, 20, 38, 0.65) 50%, rgba(8, 20, 38, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 20, 38, 0.75) 0%, transparent 55%);
}

/* Signature red diagonal from the brand board */
.phero::after {
  content: '';
  position: absolute;
  z-index: 1;
  right: -6%;
  bottom: -2px;
  width: 34%;
  height: 10px;
  background: var(--red);
  transform: skewX(-28deg);
}

.phero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--hdr) + 70px);
  padding-bottom: 72px;
}

.phero-in > * {
  animation: phero-in 0.9s var(--ease) both;
}

.phero-in > :nth-child(2) { animation-delay: 0.12s; }
.phero-in > :nth-child(3) { animation-delay: 0.24s; }
.phero-in > :nth-child(4) { animation-delay: 0.36s; }

@keyframes phero-in {
  from { opacity: 0; transform: translateY(26px); }
}

.phero-title {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
}

.phero-title .hl {
  color: var(--red-2);
}

.phero-text {
  max-width: 600px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs [aria-current] {
  color: #fff;
  font-weight: 600;
}

/* Service tiles in a grid (index + related) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-grid .svc-card {
  opacity: 1;
  transform: none;
}

.svc-grid .svc-card:hover {
  transform: translateY(-6px);
}

.svc-media {
  display: block;
}

.svc-body h2 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.svc-body h2 a,
.svc-body h3 a {
  color: inherit;
}

.svc-body h2 a:hover,
.svc-body h3 a:hover {
  color: var(--red);
}

/* Service detail */
.sd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.sd-intro {
  display: flex;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.sd-icon,
.mv-icon,
.val-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(230, 19, 28, 0.7);
}

.sd-icon .ic,
.mv-icon .ic {
  width: 28px;
  height: 28px;
}

.lead {
  margin-bottom: 14px;
  font: 500 clamp(1.15rem, 1.6vw, 1.35rem)/1.55 var(--head);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.cap {
  margin-bottom: 44px;
}

.cap-title {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

.cap-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

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

.cap-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.cap-list li:hover {
  transform: translateX(4px);
  border-color: rgba(230, 19, 28, 0.35);
  box-shadow: 0 14px 30px -24px rgba(11, 37, 69, 0.5);
}

.cap-list .ic {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--red);
}

.cap-subs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.cap-sub {
  padding: 24px;
  border-radius: var(--r);
  background: var(--bg-2);
}

.cap-sub h3 {
  font-size: 1.05rem;
}

.cap-sub .cap-list li {
  padding: 10px 12px;
  font-size: 0.94rem;
}

.cap-note {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 3px solid var(--red);
}

.sd-gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sd-gal .gal {
  aspect-ratio: 1;
}

.sd-side {
  position: sticky;
  top: calc(var(--hdr) + 24px);
  display: grid;
  gap: 20px;
}

.side-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.side-title {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.side-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

.side-list a span {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--navy);
  transition: background 0.3s ease, color 0.3s ease;
}

.side-list .ic {
  width: 17px;
  height: 17px;
}

.side-list a:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.side-list a.on {
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 600;
}

.side-list a.on span {
  background: var(--red);
  color: #fff;
}

.side-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 30px 28px;
  border-radius: var(--r);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.side-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -30%;
  width: 60%;
  height: 140%;
  background: rgba(230, 19, 28, 0.9);
  transform: skewX(-28deg);
}

.side-cta .kicker {
  color: #fff;
}

.side-cta h2 {
  margin: 10px 0 12px;
  font-size: 1.3rem;
  line-height: 1.25;
  color: #fff;
}

.side-cta p {
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.side-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 600;
  color: #fff;
}

.side-phone .ic {
  width: 18px;
  height: 18px;
}

/* About */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 30px 0 0;
}

.about-stats dt {
  font: 700 2.4rem/1 var(--head);
  letter-spacing: -0.04em;
  color: var(--red);
}

.about-stats dd {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.mv {
  padding-top: 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.mv-card .kicker {
  margin: 26px 0 14px;
}

.mv-card h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.mv-card.dark {
  border-color: transparent;
  background: var(--navy);
}

.mv-card.dark h2,
.mv-card.dark .kicker {
  color: #fff;
}

.vals {
  background: var(--bg-2);
}

.val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.val {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r);
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.val:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.val-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.val-no {
  position: absolute;
  top: 26px;
  right: 24px;
  font: 600 0.8rem/1 var(--head);
  color: var(--line-2);
}

.val h3 {
  margin-top: 22px;
  font-size: 1.05rem;
}

/* Industries */
.ind-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ind-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.ind-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.ind-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ind-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.ind-card:hover .ind-img img {
  transform: scale(1.07);
}

.ind-no {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font: 600 0.78rem/1 var(--head);
  color: var(--red);
}

.ind-body {
  padding: 24px 26px 26px;
}

.ind-body h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.ind-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ind-body a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.ind-body a:hover {
  color: var(--red);
}

.ind-body .ic {
  width: 17px;
  height: 17px;
  color: var(--red);
}

/* Contact */
.cinfo {
  padding-bottom: clamp(56px, 7vw, 88px);
}

.cinfo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cinfo-card {
  display: grid;
  gap: 6px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s ease;
}

a.cinfo-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.cinfo-card .ci {
  margin-bottom: 12px;
}

.cinfo-card small {
  font-size: 0.82rem;
  color: var(--muted);
}

.cinfo-card strong {
  font: 600 1rem/1.35 var(--head);
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .sd-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

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

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

@media (max-width: 991px) {
  .phero {
    min-height: 480px;
  }

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

  .sd-grid {
    grid-template-columns: 1fr;
  }

  .sd-side {
    position: static;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .phero {
    min-height: 440px;
  }

  .phero-in {
    padding-bottom: 48px;
  }

  .phero::after {
    width: 50%;
    height: 7px;
  }

  .svc-grid,
  .ind-list,
  .val-grid,
  .cinfo-grid,
  .sd-side,
  .cap-list.two {
    grid-template-columns: 1fr;
  }

  .sd-intro {
    flex-direction: column;
    gap: 18px;
  }

  .sd-gal {
    gap: 8px;
  }

  .mv-card {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phero-bg,
  .phero-in > * {
    animation: none;
  }
}

/* ==========================================================================
   Quote popup v10
   ========================================================================== */
.qm {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 20, 38, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qm[hidden] {
  display: none;
}

.qm.open {
  opacity: 1;
}

.qm-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(8, 20, 38, 0.6);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s var(--ease);
}

.qm.open .qm-panel {
  transform: none;
}

/* Brand diagonal across the top of the panel */
.qm-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 34px 40px 30px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.qm-head::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: -12%;
  width: 34%;
  background: var(--red);
  transform: skewX(-28deg);
}

.qm-head .kicker {
  color: #fff;
}

.qm-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.qm-head p:last-child {
  max-width: 420px;
  font-size: 0.95rem;
}

.qm-form {
  padding: 30px 40px 36px;
  border-radius: 0;
  box-shadow: none;
}

.qm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.qm-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.qm-close .ic {
  width: 20px;
  height: 20px;
}

@media (max-width: 640px) {
  .qm {
    align-items: end;
    padding: 0;
  }

  .qm-panel {
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .qm-head {
    padding: 28px 22px 24px;
  }

  .qm-head h2 {
    padding-right: 40px;
  }

  .qm-form {
    padding: 24px 22px 28px;
  }

  .qm-form .row {
    grid-template-columns: 1fr;
  }

  .qm-form .btn {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qm,
  .qm-panel {
    transition: none;
  }
}

/* ==========================================================================
   Mobile polish v11: tap targets, readable labels, no iOS input zoom
   ========================================================================== */
/* Slider dots keep their thin bar but get a 24px tall hit area */
.dot {
  height: 24px;
  padding: 10px 0;
  background-clip: content-box;
}

.gal-cap {
  font-size: 0.85rem;
}

.menu-foot .btn {
  justify-content: center;
  margin-bottom: 6px;
  color: #fff;
}

.menu-foot .btn .ic {
  color: #fff;
}

.contact-list a {
  display: inline-block;
  padding: 2px 0;
}

@media (max-width: 640px) {
  /* 16px stops iPhones zooming the page when a field is focused */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .tag {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Form sending v12: bot trap, sending state, failure note
   ========================================================================== */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form {
  position: relative;
}

.form .btn.sending {
  opacity: 0.7;
  cursor: progress;
}

.form .btn.sending .ic {
  animation: sendNudge 0.9s ease-in-out infinite;
}

@keyframes sendNudge {
  50% { transform: translateX(4px); }
}

.form-err {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 500;
}

.form-err[hidden] {
  display: none;
}

.form-err a {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
}

/* ==========================================================================
   Service detail v13: CTA under the content, compact sidebar, tighter gaps
   ========================================================================== */
.sd-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 44px;
  padding: 36px 40px;
}

.sd-cta::before {
  right: -12%;
  width: 34%;
}

.sd-cta h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.sd-cta p:last-child {
  margin-bottom: 0;
  max-width: 520px;
}

.sd-cta-actions {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.side-list a {
  padding: 8px 10px;
}

.side-list a span {
  width: 30px;
  height: 30px;
}

/* The process section follows directly; don't stack two full section paddings */
.sd {
  padding-bottom: clamp(40px, 5vw, 64px);
}

@media (max-width: 991px) {
  .sd-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sd-cta {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .sd-cta-actions {
    justify-items: start;
  }
}

/* ==========================================================================
   Audit fixes v14: readable labels, 404 links
   ========================================================================== */
/* Small red labels need the deeper brand red to stay readable on light grey */
.kicker {
  color: var(--red-dark);
}

.quality-copy .kicker {
  color: #fff;
}

.nf-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font: 600 1rem/1.3 var(--head);
  color: var(--ink);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

.nf-links a:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.nf-links a > .ic:last-child {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--red);
}

.nf-links span {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.nf-links span .ic {
  width: 20px;
  height: 20px;
}

@media (max-width: 991px) {
  .nf-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nf-links {
    grid-template-columns: 1fr;
  }
}

/* Phones: keep the red stripe clear of the red button */
@media (max-width: 640px) {
  .sd-cta::before {
    right: -10%;
    width: 22%;
  }
}

/* ==========================================================================
   Section rhythm v15: one gap between sections, never two stacked paddings
   ========================================================================== */
.sec {
  padding: 96px 0;
}

/* A white section straight after another white one keeps only the gap above it */
.sec:not(.services, .industries, .projects, .contact, .vals) + .sec:not(.services, .industries, .projects, .contact, .vals) {
  padding-top: 0;
}

.cta {
  padding-bottom: 96px;
}

@media (max-width: 991px) {
  .sec {
    padding: 76px 0;
  }

  .cta {
    padding-bottom: 76px;
  }
}

@media (max-width: 640px) {
  .sec {
    padding: 60px 0;
  }

  .cta {
    padding-bottom: 60px;
  }
}

/* Mission / vision: the label is the heading, the statement keeps the large type */
.mv-text {
  margin: 0;
  font: 600 clamp(1.2rem, 1.8vw, 1.5rem)/1.4 var(--head);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mv-card.dark .mv-text {
  color: #fff;
}

.mv-card .kicker {
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.16em;
}
