/* =====================================================
   YASH TOOLINGS — STYLESHEET
   Tokens -> Base -> Layout -> Components -> Sections -> Responsive
   ===================================================== */

/* ============ GOOGLE FONTS =========== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');


:root {
  /* colors sampled directly from the Figma screenshot */
  --orange: #F26722;
  --orange-dark: #C94F16;
  --orange-tint: rgba(242, 103, 34, .08);

  --ink: #17140F;
  --ink-soft: #3F3B35;
  --gray: #5E5A53;
  --gray-light-border:#e2e2e0;
  --gray-light:#F5F4F1;
  --gray-light-50:#F5F4F1;

  --cream: #F5F4F0;
  --cream-dark:#EFEBE9;
  --cream-line: #E3DCCC;

  --charcoal-1: #383838;
  --charcoal-2: #1F1F1F;
  --section-dark: #2E2E2E;
  --black: #000000;

  --white: #FFFFFF;
  --menu-line: #ffffff;
  --menu-ring: #ffffff;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --radius-sm: 3px;
  --radius-md: 6px;

  --text-primary: #F26722;

  /* Shared motion — smooth ease-out for hover/interaction */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.28s;
  --dur-med: 0.45s;
  --dur-slow: 0.6s;
}


/* ============ RESET / BASE ============ */
* { box-sizing: border-box; }

.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
p { margin: 0; }
button { font-family: inherit; }

.text-primary { color: var(--orange)!important; }
.text-center{ text-align: center; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.container + .container{
  margin:60px auto 0 auto ;
}

/* ============ BUTTONS / LINKS ============ */
.btn {
  display: inline-block;
  padding: 15px 36px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  border: 1.5px solid transparent;
  transition:
    background var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
  cursor: pointer;
}
.btn-primary{
  background-color: var(--orange);
  color: var(--white);
}
.btn-primary:hover{
  background-color: var(--black);
}
.btn-outline-light {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hero-actions .btn-outline-light:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 20, 15, 0.16);
}
.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast) var(--ease-soft);
}
.link-arrow span {
  display: inline-block;
  transition: transform var(--dur-med) var(--ease-out);
}
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow.light { color: var(--white); }
.hero-actions .link-arrow.light:hover { color: var(--orange); }
.link-arrow.small { color: var(--orange); font-size: 13px; }

/* ============ HEADER ============ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: 28px;
  overflow-x: clip;
  max-width: 100%;
}
.site-header.is-menu-open {
  background: var(--ink);
  padding-bottom: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* max-width: 100%; */
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo span {
  position: relative;
  top: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--menu-ring);
  background: transparent;
  color: var(--menu-line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-soft),
    border-color var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    color var(--dur-fast) var(--ease-soft);
  padding: 0;
  flex-shrink: 0;
  position: relative;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(242, 103, 34, 0.1);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.2);
}
.menu-toggle[aria-expanded="true"] {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.18);
}
/* Figma: gray / orange / gray bars inside circle */
.menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 16px;
  height: 14px;
}
.menu-bars span {
  display: block;
  height: 1.6px;
  width: 100%;
  border-radius: 1px;
  background: var(--menu-line);
  transition: background var(--dur-fast) var(--ease-soft);
}
.menu-bars span:nth-child(2) {
  background: var(--orange);
}
.menu-toggle:hover .menu-bars span,
.menu-toggle[aria-expanded="true"] .menu-bars span {
  background: var(--orange);
}
.menu-close {
  display: none;
  width: 14px;
  height: 14px;
  position: relative;
}
.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
}
.menu-close::before { transform: translateY(-50%) rotate(45deg); }
.menu-close::after { transform: translateY(-50%) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

.mobile-nav {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  max-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border-top: 1px solid transparent;
  transition:
    max-height var(--dur-med) var(--ease-out),
    border-color var(--dur-fast) var(--ease-soft);
    display: none;
}
.mobile-nav.open {
  display: flex;
  max-height: min(70vh, 620px);
  overflow-y: auto;
  padding-top: 80px;
  padding-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav ul li > a {
  display: block;
  color: var(--white);
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid transparent;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    all 0.5s;
}
.mobile-nav ul li > a:last-child{ border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--orange);
  background: rgba(242, 103, 34, 0.12);
  border-left-color: var(--orange);
  padding-left: 20px;
}

.mobile-nav > ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin: 0 auto;
    max-width: var(--container);
    width: 100%;
    padding: 0 40px;
}

.mobile-nav ul li h3{
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px 0;
}

/* Click-outside layer — sits under header, covers the page */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(10px);
}
.menu-backdrop[hidden] {
  display: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 78% 15%, #2b2b2b 0%, transparent 60%),
    linear-gradient(160deg, #050505 0%, #171717 55%, #050505 100%);
  padding: 150px 0 90px;
  overflow: hidden;
}


.hero-video .video-bg {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
  color: rgba(255,255,255,.15);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
}
.hero-video::after{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background:
    radial-gradient(ellipse 80% 60% at 78% 15%, #2b2b2b 0%, transparent 60%),
    linear-gradient(160deg, #050505 0%, #171717 55%, #050505 100%);
  opacity: 0.8;
}
.hero-eyebrow {
  color: rgba(255,255,255,.35);
  font-size: 13px;
  font-weight: 500;
  max-width: 340px;
  margin-bottom: 26px;
}
.hero-inner{
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 58px;
  font-weight: 800;
  color: var(--white);
}
.hero-title .accent { color: var(--orange); }
.hero-subtitle {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
}
.hero-subtitle em {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}
.hero-copy {
  margin-top: 22px;
  max-width: 430px;
  font-size: 14.5px;
  line-height: 1.7;
  /* Slightly brighter for WCAG AA contrast; still muted on hero */
  color: rgba(255, 255, 255, 0.82);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* ============ STATS BAR ============ */
.stats-bar {
  position: relative;
  background: var(--orange);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
}
.stats-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
  will-change: transform;
}
.stats-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats-group li {
  display: flex;
  align-items: center;
  padding: 25px 0 25px 0;
  font-size: 18.5px;
  font-weight: 400;
  letter-spacing: .01em;
  flex-shrink: 0;
}
/* Trailing separator on every item so groups join with no gap */
.stats-group li::after {
  content: "·";
  display: inline-block;
  margin: 0 18px;
  opacity: 0.7;
  font-weight: 600;
}
@keyframes ticker {
  from { transform: translateX(0); }
  /* 3 identical groups → shift by exactly one group (33.333%) */
  to { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .stats-track { animation: none; }
}

/* ============ SECTIONS (shared) ============ */
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark  { background: var(--section-dark); color: var(--cream); }
.section-black { background: var(--black); }

.section-title {
  font-size: 44px;
  color: var(--ink);
  margin-bottom: 50px;
  max-width: 820px;
  flex: 1 90%;
  text-transform: inherit;
}
.section-title span{ display: block; }
.title-text{ font-size: 38px; }

.section-title.light { color: var(--white); }
.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.section-title-row .section-title { margin-bottom: 0; }

.section-title-center{
  text-align: center;
}

.section-title-center .section-title{
  max-width: none;
}

.section-title-row .section-brief{  width: 40%; font-size: 16px; color: #B2B2B2; }

.section-lead {
  max-width: 580px;
  margin-top: -20px;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  line-height: 1.7;
}
.drag-icon {
  flex-shrink: 0;
  opacity: .95;
  margin-top: 2px;
  display: block;
  width: 52px;
  height: auto;
  object-fit: contain;
  animation: drag-swipe 1.8s ease-in-out infinite;
}
@keyframes drag-swipe {
  0%, 100% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .drag-icon { animation: none; }
}

/* ============ CARD GRID (One Roof) ============ */
.card-grid { display: grid; gap: 24px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card{
  background-color: var(--white);
  border:solid 1px var(--black);
  display: flex;
  gap: 40px;
}
.card-bg-trans{ background: transparent; }
.card-border-light{
  border:solid 1px var(--gray-light-border);
}

.card .card-media{
  flex:1 140%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.card .card-media img{
  max-width: none;
  height: 100%;
}

.card .card-content{
  flex:1 130%;
  padding: 40px 20px 40px 0;
}

.card .card-title{
  font-size: 18px;
  margin: 0 0 20px 0;
}

.card .card-title-large{
  font-size: 24px;
}

.card p{
  font-size: 15px;
  font-weight: normal;
  line-height: 1.2;
}

.card-light{
  border-color:rgba(255, 255, 255, 0.18) ;
}

.nav-cards .card{
  flex-direction: column;
  border: solid 1px var(--cream-line);
}

.nav-cards .card .card-media img{
  width: 100%;
}

.nav-cards .card .card-content{
  padding: 0 30px 30px;
}

.nav-cards .card .card-cta{
  padding: 0 0 30px 30px;
}

.info-card {
  min-width: 0;
  background: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  transform: translateY(0);
  transition:
    box-shadow var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 36px rgba(23, 20, 15, 0.12),
    0 6px 14px rgba(23, 20, 15, 0.06);
}
.info-card-img {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
  background: #e8e6e1;
  position: relative;
}
.info-card-img picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
.info-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform var(--dur-slow) var(--ease-out);
}
.info-card:hover .info-card-img img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .info-card,
  .info-card-img img {
    transition: none;
  }
  .info-card:hover {
    transform: none;
    box-shadow: none;
  }
  .info-card:hover .info-card-img img {
    transform: none;
  }
}

.info-card-body {
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}


.info-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.info-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.section-cards .info-card{
  padding: 30px;
}



.section-cards .info-card .info-card-body{
  padding-left: 0;
}

.section-cards .info-card h3{
  height: 54px;
}

/* Challenge cards: 3-col grid with gutters (Figma) — no phantom 6th cell */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 8px 4px 16px;
  perspective: 1200px;
}
.challenge-card {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: #343434;
  overflow: hidden;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    border-color var(--dur-med) var(--ease-soft);
  will-change: transform;
}
.challenge-card:hover {
  transform: translate3d(0, -12px, 0) scale(1.03);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 8px 16px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.28);
  z-index: 2;
}
.challenge-card .challenge-img {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  position: relative;
}
.challenge-card .challenge-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform var(--dur-slow) var(--ease-out);
}
.challenge-card:hover .challenge-img img {
  transform: scale(1.07);
}
.challenge-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 24px 28px 28px;
  min-width: 0;
  background: #343434;
}
.challenge-card h3 {
  color: var(--white);
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.challenge-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
  overflow-wrap: break-word;
}
.challenge-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13.5px;
  color: var(--white);
  transition: color var(--dur-fast) var(--ease-soft);
}
.challenge-card .link-arrow:hover {
  color: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .challenge-card,
  .challenge-card .challenge-img img {
    transition: none;
  }
  .challenge-card:hover {
    transform: none;
    box-shadow: none;
  }
  .challenge-card:hover .challenge-img img {
    transform: none;
  }
}

/* ============ TIMELINE (white section, horizontal drag) ============ */
#process.section-white {
  background: var(--white);
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 0 28px;
  margin: 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.05) transparent;
}
.timeline-scroller::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: rgba(242, 103, 34, 0.4);
  border-radius: 999px;
}
.timeline-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.timeline-scroller.is-dragging .timeline {
  pointer-events: none;
}
.timeline-scroller:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.timeline {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  /* Figma node 533-132: ~18 steps, ~7413px-wide frame — keep draggable */
  width: max-content;
  min-width: 3200px;
  margin: 0;
  padding: 0 24px;
  list-style: none;
  gap: 0;
}

/* Line runs through the center of every node */
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--orange);
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  flex: 0 0 178px;
  width: 178px;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
  min-height: 240px;
  padding: 0 10px;
  text-align: center;
  scroll-snap-align: center;
}

.timeline-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  box-shadow:
    0 0 0 10px var(--orange-tint),
    0 0 24px rgba(242, 103, 34, 0.3);
  z-index: 1;
}

.timeline-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  max-width: 160px;
}
.timeline-label.top {
  align-self: end;
  padding-bottom: 18px;
}
.timeline-label.bottom {
  align-self: start;
  padding-top: 18px;
}
.timeline-label:empty { visibility: hidden; }

.start-here-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ============ WHY US TABLE ============ */
.why-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgba(255,255,255,.1);
}
.why-table tr { border-bottom: 1px solid rgba(255,255,255,.1); }
.why-table th,
.why-table td {
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  padding: 26px 30px;
}
.why-table th {
  width: 30%;
  min-width: 260px;
  background: linear-gradient(90deg, #2C1309 0%, rgba(44,19,9,0) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.why-table td {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

/* ============ CTA ============ */
/* Proportions from Figma home2.jpg CTA band (3840×1066, mark 800×800) */
.cta {
  position: relative;
  background: var(--orange);
  min-height: clamp(380px, 27.8vw, 560px);
  padding: 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-watermark {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  /* Figma: mark = 20.83vw wide, ~75% of section height */
  width: min(20.833vw, 75%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta h2 {
  color: var(--white);
  font-size:48px;
  margin-bottom: 18px;
  text-wrap: balance;
}
.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 90%;
}

/* ============ FOOTER ============ */
.site-footer { background: var(--cream-dark); padding-top: 80px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 60px;
}
.footer-brand .logo{
  display: block;
}
.footer-brand .logo img{ width: 220px; }
.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 280px;
  margin:30px 0;

}
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--white);
  border-color: var(--orange);
}
/* <img> SVGs ignore CSS color — force white glyphs on orange hover */
.footer-social img {
  display: block;
  transition: filter .2s ease;
}
.footer-social a:hover img {
  filter: brightness(0) invert(1);
}

.footer-col { display: flex; flex-direction: column; }
.footer-col h3 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col a {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 7px 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--cream-line);
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--gray);
}

.footer-bottom .container{
  text-align: center;
}


/* Prevent page-level horizontal overflow; timeline scroller still pans internally */
html, body { overflow-x: hidden; }
#process .timeline-scroller {
  /* Allow the drag strip to scroll even when body clips overflow */
  overscroll-behavior-x: contain;
}
img, svg, video { max-width: 100%; height: auto; }
.btn, .link-arrow { max-width: 100%; }

/* =====================================================
   INNER PAGES — shared chrome & section patterns
   ===================================================== */
.inner-page .site-header--solid {
  position: sticky;
  top: 0;
  background: var(--ink);
  padding-top: 18px;
  padding-bottom: 14px;
}
.inner-page .site-header--solid.is-menu-open {
  padding-bottom: 0;
}

.page-hero {
  position: relative;
  background: var(--charcoal-2);
  color: var(--white);
  padding: 136px 0 64px;
  display: flex;
  align-items: center;
  min-height: 88vh;
  background-size: cover!important;
}

.page-hero .container {
  position: relative;
  width: 100%;
  display: flex;
  gap: 100px;
}

.page-hero .container .split-col{
  flex: 1 100%;
}

.page-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: clamp(36px, 6vw, 84px);
  /* max-width: 16ch; */
  margin: 0 0 20px 0;
}
.page-hero-title .accent { color: var(--orange); }
.page-hero h2{ font-size: clamp(16px, 6vw, 24px); font-weight: 500; }
.page-hero-lead {
  margin-top: 38px;
  max-width: 52ch;
  font-size: clamp(15px, 6vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,1);
}

.page-hero::before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover!important;
  transform: scale(1.05);
}

.page-a_class::before{
  background: url(../assets/images/capabilities/A-Class-Molds.png);
}
.page-bcd_class::before{
  background: url(../assets/images/capabilities/B-C-D-Class-Molds.png);
}
.page-dfm_analysis::before{
  background: url(../assets/images/capabilities/DFM-Analysis.png);
}
.page-facility::before{
  background: url(../assets/images/capabilities/Our-Facility.png);
}
.page-agricultural::before{
    background: url(../assets/images/industries/Agricultural.png);
}
.page-automotive::before{
    background: url(../assets/images/industries/Automotive.png);
}
.page-defense::before{
  background: url(../assets/images/industries/Defense.png);
}
.page-export::before{
  background: url(../assets/images/industries/Export.png);
}
.page-electrical::before{
    background: url(../assets/images/industries/Electrical.png);
}
.page-ev::before{
  background: url(../assets/images/industries/EV.png);
}
.page-exports::before{
  background: url(../assets/images/industries/EV.png);
}
.page-dfm_feasibility::before{
  background: url(../assets/images/process/DFM_Feasibility.png);
}
.page-tooling_build::before{
  background: url(../assets/images/process/Tooling-Design_Mold-Build.png);
}
.page-trial_handover::before{
  background: url(../assets/images/process/Trial_Inspection_Handover.png);
}
.page-case_studies::before{
  background: url(../assets/images/about/Case-Studies.png);
}
.page-contact::before{
  background: url(../assets/images/about/Contact-Us.png);
}
.page-dfm_resources::before{
  background: url(../assets/images/about/DFM_Resources_Hub.png);
}
.page-our_story::before{
  background: url(../assets/images/about/Our_Story.png);
}
.page-quality_standards::before{
  background: url(../assets/images/about/Quality_Standards.png);
}
.stats-bar--compact {
  padding: 12px 0;
}

.section-light { background: var(--white); color: var(--ink); }
.section-light-gray { background: var(--gray-light); color: var(--ink); }
.section-light-gray-50{  background: var(--gray-light-50);}

.section-cta-band {
  background: var(--orange);
  color: var(--white);
  text-align: center;
}
.section-cta-band h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 12px;
}
.section-cta-band p {
  max-width: 48ch;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.92);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split.has-divider{ 
  grid-template-columns: 0.95fr 0.10fr 0.95fr;
}

.split.three-col-divider{
  grid-template-columns: 0.95fr 0.10fr 0.95fr 0.10fr 0.95fr;
  align-items: flex-start;
}

.split.four-col-divider{
  grid-template-columns: 0.95fr 0.10fr 0.95fr 0.10fr 0.95fr 0.10fr 0.95fr;
  align-items: flex-start;
}


.split.has-divider .divider{
  width: 100%;
  height: 100%;
}

.divider-y{
  width: 2px;
  height: 100%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
}

.split--reverse .split-copy { order: 2; }
.split--reverse .split-media { order: 1; }
.split-copy .section-title { margin-bottom: 18px; }
.split-copy p {
    font-size: 16px;
    color: var(--black);
    line-height: 1.26;
    font-weight: 400;
    margin-bottom: 14px;
    
}
.section-dark .split-copy p,
.section-black .split-copy p {
  color: rgba(255,255,255,0.78);
}
.section-dark .card{ background-color: transparent; }

.split-media {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--cream);
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.split:hover .split-media img { transform: scale(1.03); }

.feature-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--charcoal-1);
}

.feature-list--light li { color: rgba(255,255,255,0.82); }
.feature-list--light li::before{ background: var(--cream); }

.list-tiny,
.list-tiny-dark{ gap: 4px;  }
.list-tiny li,
.list-tiny-dark li{ font-size: 16px; }
.list-tiny li::before{ 
  width: 5px;
  height: 5px; }
.list-tiny-dark li::before{ 
  background: var(--black); }
.list-tiny-light li::before{ 
  background: var(--white); }

.info-card-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  padding: 24px;
  border-radius: 0;
  border:none;
  background: var(--white);
}
.info-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.info-card p {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 15px;
}
.info-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
.info-card--dark h3 { color: var(--white); }
.info-card--dark p { color: rgba(255,255,255,0.78); }

.contact-info{
  display: flex;
  gap: 40px;
}

.contact-info .headings .section-title{
  margin-bottom: 20px;
}

.contact-info .headings p{
  width: 60%;
  color: var(--charcoal-1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 16px; }
.contact-copy > p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 48ch;
}
.contact-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--ink-soft);
}
.contact-meta a { color: var(--charcoal-2);  }
.contact-meta a:hover{ color: var(--orange); }
.contact-form .form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 40px 0 0 0;
}

.contact-form  .form-area-split{
  display: grid;;
  gap: 20px;
}

.contact-form .field-row{
  display: grid;
  gap: 10px;
}

  .contact-form .field {
      position: relative;
      width: 100%;
  }

    .contact-form .field input,
    .contact-form .field textarea,
    .contact-form .field select {
        width: 100%;
        border: 1px solid #cfcfcf;
        border-radius: 0;
        background: #fff;
        color: #333;
        font-size: 14px;
        font-family: inherit;
        outline: none;
        transition: border-color 0.2s ease;
    }

    .contact-form .field input,
    .contact-form .field select {
        height: 54px;
        padding: 10px 22px 7px;
    }

    .contact-form .field textarea {
        height: 116px;
        padding: 22px;
        resize: vertical;
    }

    .contact-form .field input:focus,
    .contact-form .field textarea:focus,
    .contact-form .field select:focus {
        border-color: #888;
    }

    /* Floating Label */

    .contact-form .field label {
        position: absolute;
        left: 22px;
        top: 18px;
        color: #333;
        font-size: 16px;
        line-height: 1;
        pointer-events: none;
        background: #fff;
        padding: 0 3px;
        transition:
            top 0.2s ease,
            font-size 0.2s ease,
            color 0.2s ease;
    }

    .contact-form .field input:focus + label,
    .contact-form .field input:not(:placeholder-shown) + label,

    .contact-form .field textarea:focus + label,
    .contact-form .field textarea:not(:placeholder-shown) + label,

    .contact-form .field select:focus + label,
    .contact-form .field select.has-value + label {
        top: -6px;
        font-size: 11px;
        color: #666;
    }

    /* =========================
       Helper Text
    ========================== */

    .contact-form .helper {
        margin: -2px 0 6px;
        font-size: 10px;
        line-height: 1.5;
        color: #777;
    }

    /* =========================
       Upload
    ========================== */

    .contact-form .upload-field {
        position: relative;
        height: 54px;
        border: 1px solid #cfcfcf;
        background: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 0 22px;
        transition: border-color 0.2s ease;
    }

    .contact-form .upload-field:hover {
        border-color: #888;
    }

    .contact-form .upload-field input[type="file"] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

    .contact-form .upload-text {
        font-size: 14px;
        color: #333;
    }

    .contact-form .upload-icon {
        margin-left: auto;
        width: 18px;
        height: 18px;
        color: #ff641f;
    }

    .contact-form .upload-icon svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


    .contact-form .context-field {
        margin-top: 32px;
    }

    .contact-form .confidential {
        font-size: 10px;
        line-height: 1.5;
        color: #777;
        margin-top: 4px;
    }


    .contact-form .submit-wrapper {
        margin-top: auto;
        padding-top: 28px;
    }

    .contact-form .submit-btn {
        width: 100%;
        height: 54px;
        border: 0;
        border-radius: 0;
        background: #ff641f;
        color: #fff;
        font-size: 16px;
        font-family: inherit;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .contact-form .submit-btn:hover {
        background: #e95412;
    }


    @media (max-width: 767px) {

        .contact-form {
            width: 100%;
        }

        .contact-form .form-grid {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .contact-form .form-column {
            gap: 10px;
        }

        .contact-form .form-column + .form-column {
            margin-top: 25px;
        }

        .contact-form .context-field {
            margin-top: 20px;
        }

        .contact-form .submit-wrapper {
            padding-top: 25px;
        }

        .contact-form .submit-btn {
            height: 56px;
        }
    }

.form-note {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.45;
}
.process-next {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.process-next-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}
.process-next-label--light {
  color: rgba(255, 255, 255, 0.7);
}

.built-production{
  background-color: var(--orange);
  color: var(--white);
  padding: 60px 0;
}

.built-production h2{
  font-size: 36px;
}

.built-production .built-production-list{
    list-style: none;
    padding: 0 80px;
    margin: 40px 0 0 0;
    display: flex;
    justify-content: center;
}

.built-production .built-production-list li{
    display: flex;
    flex: 1 100%;
    align-items: center;
    text-align: center;
    padding:40px 20px;
}

.built-production .built-production-list li:not(:last-child){
    border-right: solid 1px rgba(255,255,255,.30);
}


@media (max-width: 900px) {
  .split,
  .split--reverse,
  .contact-grid,
  .info-card-grid,
  .split.has-divider {
    grid-template-columns: 1fr;
  }
  .split.has-divider .divider .divider-y{
    width: 100%;
    height: 2px;
  }
  .split--reverse .split-copy,
  .split--reverse .split-media { order: initial; }
  .page-hero { background-color: var(--charcoal-2); padding: 80px 0 48px; min-height: 50vh; }
  .page-hero .container{ flex-direction: column; gap: 20px; }
  .page-hero .container .page-hero-lead{ margin-top: 0; }
}


/* =====================================================
   RESPONSIVE — tablet (<=900px) and mobile (<=600px)
   ===================================================== */
@media (max-width: 900px) {
  
  .container { padding: 0 24px; }
  .mobile-nav > ul{ grid-template-columns: 1fr; }
  .hero { padding: 130px 0 80px; }
  .hero-video .video-bg{ max-width: none; width:auto; height: 100%; transform: translateX(-30%); }
  .hero-title { font-size: clamp(34px, 7vw, 42px); }
  .hero-video-label { display: none; }
  .hero-actions { gap: 18px; }
  .section-title { font-size: clamp(24px, 4vw, 28px); max-width: none; }
  .title-text { font-size: clamp(20px, 2vw, 22px); max-width: none; }
    .section-title .sm-inline{ display: inline; }
  .three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .challenge-body { padding: 18px 18px 22px; }

  .timeline-scroller {
    padding: 8px 0 24px;
  }
  .timeline {
    min-width: 2800px;
    width: max-content;
    padding: 0 16px;
  }
  .timeline-step {
    flex: 0 0 156px;
    width: 156px;
    min-height: 220px;
    padding: 0 8px;
  }
  .timeline-node {
    width: 48px;
    height: 48px;
    font-size: 13px;
  }
  .timeline-label {
    font-size: 12.5px;
    max-width: 140px;
  }

  .start-here-row {
    margin-top: 12px;
    padding-top: 8px;
  }

  .why-table th,
  .why-table td { padding: 20px 16px; }
  .why-table th { min-width: 0; width: 38%; }

  .built-production h2{ font-size: 24px; }

  .built-production .built-production-list{
    flex-direction: column;
  }
  .built-production .built-production-list li:not(:last-child) {
    border-right: none!important;
    border-bottom: solid 1px rgba(255, 255, 255, .30);
  }
  .contact-info{
    flex-direction: column;
  }
  .contact-info .headings p{
    width: 100%;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-watermark { width: min(32vw, 75%); }
  .stats-group li { font-size: 12.5px; padding: 14px 12px; }

  
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .site-header { padding-top: 18px; }
  .logo { font-size: 16px; gap: 9px; }
  .logo img{ width: 200px; }
  .logo-mark { width: 28px; height: 28px; }
  .menu-toggle { width: 40px; height: 40px; }

  .hero { padding: 110px 0 64px; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 18px; max-width: 100%; }
  .hero-title { font-size: clamp(30px, 9vw, 36px); line-height: 1.05; }
  .hero-subtitle { font-size: 18px; }
  .hero-copy { font-size: 14px; max-width: 100%; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 26px;
  }
  .hero-actions .btn {
    width: auto;
    max-width: 100%;
    text-align: center;
    padding: 14px 18px;
    white-space: normal;
  }

  .section { padding: 56px 0; }
  .section-title {
    font-size: clamp(22px, 7vw, 26px);
    margin-bottom: 28px;
    line-height: 1.2;
  }
  .section-title br { display: none; }
  .section-title-row { flex-direction: column; gap: 0; margin-bottom: 8px; }
  .section-lead { margin-top: 0; margin-bottom: 28px; max-width: 100%; }
  .section-title-row .section-brief{ width: auto; }
  .drag-icon { width: 40px; height: auto; }

  .card-grid { gap: 28px; }
  .two-col, .three-col { grid-template-columns: minmax(0, 1fr); }
  .card{ flex-direction: column; }
  .card .card-media img{ width: 100%; }
  .card .card-content{ padding:0 25px 25px; }
  .challenge-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .challenge-body { padding: 18px 16px 22px; }
  .challenge-card .challenge-img {
    margin-bottom: 0;
    aspect-ratio: 16 / 9;
  }
  .info-card-body {
    padding: 16px 16px 22px;
  }
  .info-card-img {
    aspect-ratio: 16 / 10;
  }

  .timeline-scroller {
    overflow-x: auto;
    padding: 6px 0 20px;
  }
  .timeline {
    min-width: 2500px;
    width: max-content;
    padding: 0 12px;
  }
  .timeline::before {
    left: 40px;
    right: 40px;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 2px;
    transform: translateY(-50%);
  }
  .timeline-step {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: 1fr auto 1fr;
    justify-items: center;
    flex: 0 0 140px;
    width: 140px;
    min-height: 210px;
    padding: 0 6px;
    column-gap: 0;
    text-align: center;
  }
  .timeline-node {
    width: 44px;
    height: 44px;
    font-size: 12px;
    box-shadow:
      0 0 0 8px var(--orange-tint),
      0 0 18px rgba(242, 103, 34, 0.28);
  }
  .timeline-label {
    font-size: 12px;
    max-width: 128px;
  }
  .timeline-label.top,
  .timeline-label.bottom {
    grid-column: auto;
    grid-row: auto;
    padding-bottom: 14px;
    padding-top: 14px;
  }
  .timeline-label.bottom { padding-bottom: 0; }
  .timeline-label.top { padding-top: 0; }
  .timeline-label:empty { visibility: hidden; display: block; }
  .timeline-label br { display: inline; }
  .start-here-row {
    margin-top: 8px;
    padding-top: 4px;
  }
  .start-here-row .btn { width: 100%; text-align: center; }

  .why-table,
  .why-table tbody,
  .why-table tr,
  .why-table th,
  .why-table td {
    display: block;
    width: 100%;
  }
  .why-table th {
    width: 100%;
    border-right: none;
    border-bottom: none;
    padding: 18px 0 6px;
    background: none;
  }
  .why-table td {
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .why-table tr:last-child td { border-bottom: none; }

  .cta {
    min-height: 340px;
    padding: 0;
  }
  .cta-inner { padding: 64px 18px; }
  .cta h2 { font-size: clamp(22px, 7vw, 26px); }
  .cta p { font-size: 14px; margin-bottom: 24px; }
  .cta-watermark { width: min(48vw, 70%); }

  .site-footer { padding-top: 56px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }
  .footer-brand { grid-column: auto; }
  .footer-brand p { max-width: none; }
  .footer-col h3 { margin-bottom: 10px; }
  .footer-bottom { padding: 18px 0; }
}
/* =========================================================================
   WordPress theme additions (Yash Toolings)
   Styling for elements introduced by dynamic templates. Keeps the original
   design intact while supporting CMS content and Contact Form 7.
   ========================================================================= */

/* Editor / single post + resource body typography */
.single-content.entry-content{
  max-width: 820px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.single-content.entry-content h2{
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(24px, 4vw, 34px);
  margin: 40px 0 16px;
}
.single-content.entry-content h3{
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(20px, 3vw, 26px);
  margin: 32px 0 12px;
}
.single-content.entry-content p{ margin: 0 0 18px; }
.single-content.entry-content ul,
.single-content.entry-content ol{ margin: 0 0 18px 22px; }
.single-content.entry-content li{ margin-bottom: 8px; }
.single-content.entry-content img{ max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 20px 0; }
.single-content.entry-content a{ color: var(--orange); }
.single-content.entry-content blockquote{
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 20px;
  margin: 24px 0;
  color: var(--gray);
  font-style: italic;
}
.single-content.entry-content table{ width:100%; border-collapse: collapse; margin: 20px 0; }
.single-content.entry-content th,
.single-content.entry-content td{ border:1px solid var(--gray-light-border); padding:10px 14px; text-align:left; }

.single-back{ margin-top: 40px; }

/* Case study / resource single hero uses a dynamic featured image */
.case-study-hero::before{
  background-image: var(--yt-hero-img) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.case-study-hero .page-hero-eyebrow a{ text-decoration: none; opacity:.85; }
.case-study-hero .page-hero-eyebrow a:hover{ opacity:1; color: var(--orange) !important; }

/* Pagination */
.pagination,
.nav-links{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:48px;
}
.pagination .page-numbers,
.nav-links .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 12px;
  border:1px solid var(--gray-light-border); border-radius: var(--radius-sm);
  color: var(--ink); text-decoration:none; font-weight:600;
  transition: all var(--dur-fast) var(--ease-out);
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current{ background: var(--orange); border-color: var(--orange); color:#fff; }
.pagination a.page-numbers:hover,
.nav-links a.page-numbers:hover{ border-color: var(--orange); color: var(--orange); }

/* Contact Form 7 — align with the original .contact-form design */
.cf7-wrap{ margin-top: 24px; }
.cf7-notice{
  padding:16px 20px; border:1px dashed var(--orange);
  background: var(--orange-tint); border-radius: var(--radius-md);
  color: var(--ink-soft);
}
.wpcf7 form.contact-form,
.wpcf7 .contact-form{ margin-top: 24px; }

/* Make plain CF7 forms look tidy even without the custom .form-grid markup */
.wpcf7 p{ margin: 0 0 18px; }
.wpcf7-form-control-wrap{ display:block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid var(--gray-light-border);
  border-radius: var(--radius-sm);
  background:#fff;
  font-family: var(--font-base);
  font-size:15px;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus{ outline:none; border-color: var(--orange); }
.wpcf7 textarea{ min-height:130px; resize:vertical; }
.wpcf7 label{ display:block; font-weight:600; margin-bottom:8px; color: var(--ink); }
.wpcf7 input[type="submit"],
.wpcf7 .submit-btn,
.wpcf7 button[type="submit"]{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 34px;
  background: var(--orange); color:#fff; border:none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight:700; font-size:15px;
  cursor:pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .submit-btn:hover,
.wpcf7 button[type="submit"]:hover{ background: var(--orange-dark); }
.wpcf7 .wpcf7-not-valid-tip{ color:#d63638; font-size:13px; margin-top:6px; }
.wpcf7-response-output{ margin:18px 0 0 !important; border-radius: var(--radius-sm); }

/* Admin editor width helper for CMS content */
.entry-content > *:first-child{ margin-top:0; }

/* =========================================================================
   Full-bleed process timeline (edge-to-edge on the homepage)
   The scroller spans the full viewport width so the strip runs end-to-end.
   The first step is padded to line up with the container's content edge,
   so it starts exactly under the "Our Tool Development Process" heading,
   while the rest of the strip scrolls off the right edge of the screen.
   ========================================================================= */
.timeline-scroller--fullbleed{
  width: 100vw;
  max-width: 100vw;
  /* break out of the parent section padding, centred on the viewport */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

/* Align the first node with the container content edge; let the last one
   breathe past the right viewport edge. 32px matches .container padding;
   the calc keeps alignment once the viewport is wider than the container. */
.timeline-scroller--fullbleed .timeline{
  padding-left: max(32px, calc((100vw - var(--container)) / 2 + 32px));
  padding-right: 64px;
  min-width: min-content;
}

@media (max-width: 768px){
  .timeline-scroller--fullbleed .timeline{
    padding-left: 20px;
    padding-right: 24px;
  }
}

/* Disabled resource button (no file attached yet) */
.btn.is-disabled{
  opacity:.5;
  pointer-events:none;
  cursor:not-allowed;
}


/* ============================================================
   Yash Toolings — Contact Form 7 styling
   Reproduces the original .contact-form design, adjusted for
   the <span class="wpcf7-form-control-wrap"> that CF7 injects.
   Requires the form shortcode wrapped in .contact-form, e.g.:
   <div class="contact-form">[contact-form-7 id="123"]</div>
   ============================================================ */

.contact-form .form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 40px 0 0 0;
}

.contact-form .form-area-split{
  display: grid;
  gap: 20px;
}

.contact-form .field-row{
  display: grid;
  gap: 10px;
}

.contact-form .field{
  position: relative;
  width: 100%;
}

/* CF7 wraps each control in this span — make it transparent to layout */
.contact-form .field .wpcf7-form-control-wrap{
  display: block;
  width: 100%;
}

.contact-form .field input,
.contact-form .field textarea,
.contact-form .field select{
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact-form .field input,
.contact-form .field select{
  height: 54px;
  padding: 10px 22px 7px;
}

.contact-form .field textarea{
  height: 116px;
  padding: 22px;
  resize: vertical;
}

.contact-form .field input:focus,
.contact-form .field textarea:focus,
.contact-form .field select:focus{
  border-color: #888;
}

/* ---- Floating label ---- */
.contact-form .field label{
  position: absolute;
  left: 22px;
  top: 18px;
  color: #333;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  background: #fff;
  padding: 0 3px;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  z-index: 1;
}

/* Float when focused OR filled. Uses :has() on the wrapper span
   because CF7 puts the span between the control and the label. */
.contact-form .field .wpcf7-form-control-wrap:focus-within + label,
.contact-form .field .wpcf7-form-control-wrap:has(input:not(:placeholder-shown)) + label,
.contact-form .field .wpcf7-form-control-wrap:has(textarea:not(:placeholder-shown)) + label,
.contact-form .field .wpcf7-form-control-wrap:has(select:valid) + label{
  top: -6px;
  font-size: 11px;
  color: #666;
}

/* ---- Helper text ---- */
.contact-form .helper{
  margin: -2px 0 6px;
  font-size: 10px;
  line-height: 1.5;
  color: #777;
}

/* ---- File upload (CF7-safe, hardened) ---- */
/* Upload field — make the whole box a clickable file trigger */
.contact-form .upload-field{
  position: relative;
  height: 54px;
  border: 1px solid #cfcfcf;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 22px;
  overflow: hidden;
}
.contact-form .upload-field:hover{ border-color: #888; }

/* CF7 wraps the file input in this span — pin it over the whole box */
.contact-form .upload-field .wpcf7-form-control-wrap{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: block !important;
  z-index: 3;                 /* sits ABOVE text/icon so clicks hit the input */
}
.contact-form .upload-field input[type="file"]{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  padding: 0 !important;
}

/* Text + icon sit visually on top but must NOT block the click */
.contact-form .upload-field .upload-text{
  font-size: 14px;
  color: #333;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.contact-form .upload-field .upload-icon{
  margin-left: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  color: #ff641f;
  display: inline-flex;
}
.contact-form .upload-field .upload-icon svg{
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Context / confidential / submit ---- */
.contact-form .context-field{ margin-top: 32px; }

.contact-form .confidential{
  font-size: 10px;
  line-height: 1.5;
  color: #777;
  margin-top: 4px;
}

.contact-form .submit-wrapper{
  margin-top: auto;
  padding-top: 28px;
}

/* CF7 wraps the submit button in a <p> or span — reset it */
.contact-form .submit-wrapper .wpcf7-form-control-wrap,
.contact-form .submit-wrapper p{
  margin: 0;
  display: block;
}

.contact-form .submit-btn{
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: #ff641f;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form .submit-btn:hover{ background: #e95412; }

/* CF7 response messages / validation tips */
.contact-form .wpcf7-response-output{
  margin: 20px 0 0;
  border-radius: 0;
  font-size: 13px;
}
.contact-form .wpcf7-not-valid-tip{
  font-size: 11px;
  margin-top: 4px;
}

/* ---- Mobile ---- */
@media (max-width: 767px){
  .contact-form{ width: 100%; }
  .contact-form .form-grid{ grid-template-columns: 1fr; gap: 0; }
  .contact-form .form-area-split + .form-area-split{ margin-top: 25px; }
  .contact-form .context-field{ margin-top: 20px; }
  .contact-form .submit-wrapper{ padding-top: 25px; }
  .contact-form .submit-btn{ height: 56px; }
}


.footer-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-inner p{
  margin: 0;
}
.footer-bottom-inner a{
  color: inherit;
  text-decoration: underline;
}
.footer-bottom-inner a:hover{
  color: #ff641f;   /* your brand orange on hover */
}

/* Stack them on small screens */
@media (max-width: 600px){
  .footer-bottom-inner{
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}