/* ============ TOKENS ============ */
:root {
  --cream: #FAF7F2;
  --ink: #1F1D1A;
  --brick: #C3512F;
  --brick-hover: #AD4225;
  --brick-on-dark: #E8A18A;
  --sage: #8A9B8E;
  --blush: #EBD9CF;
  --card: #FFFFFF;
  --text-main: #3E3B35;
  --text-soft: #5C5850;
  --line: rgba(31, 29, 26, 0.12);
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --ease: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream); overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brick); text-decoration: none; transition: color 500ms cubic-bezier(0.32,0.72,0,1); }
a:hover { color: var(--brick-hover); }
::selection { background: var(--blush); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; transition: top 200ms ease;
}
.skip-link:hover { color: #FFFFFF; }
.skip-link:focus { top: 12px; }

.container { max-width: 1200px; margin: 0 auto; }
.container-center { max-width: 1080px; margin: 0 auto; text-align: center; }
.container-narrow { max-width: 1000px; margin: 0 auto; }
.container-faq { max-width: 860px; margin: 0 auto; }
.achievements-container{
  max-width: 1480px !important;
}
.section {
  padding: 110px 32px;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brick);
}
.eyebrow-light { color: #FFFAFA; }
.eyebrow-dark { color: var(--brick-on-dark); margin: 0 0 14px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h2 em, .h3 em, h1 em { font-style: italic; color: var(--brick); }
.snow-text{
  color: #FFFAFA !important;
  text-decoration: underline;
}
.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.2;
  color: var(--ink);
}
.body { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-main); }
.sub { margin: 18px 0 0; font-size: 15.5px; color: var(--text-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  transition: var(--ease);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--brick);
  color: var(--cream);
  padding: 9px 9px 9px 26px;
  box-shadow: 0 10px 30px rgba(195, 81, 47, 0.25);
}
.btn-primary:hover { background: var(--brick-hover); color: var(--cream); transform: translateY(-4px); }
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.2);
  font-size: 15px;
}
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 14px 26px;
  justify-content: center;
  background: none;
}
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.link-underline {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--brick);
  border-bottom: 1.5px solid var(--brick);
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--brick-hover); }

.jr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid #FFFFFF;
  flex: 0 0 auto;
}
.jr-badge-sm { width: 28px; height: 28px; }
.jr-badge-text { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 13px; fill: var(--cream); }

.check-list { margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--text-soft); list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--brick);
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}
.check-list-lg { font-size: 15px; color: var(--text-main); gap: 13px; }
.check-list-lg .check { width: 20px; height: 20px; font-size: 12px; }
.check-list-dark { color: #FAF7F2; }
.check-dark { background: var(--brick); color: #FAF7F2; }

[data-reveal] { opacity: 0; }

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 24px;
  box-shadow: 0 4px 40px rgba(31, 29, 26, 0.08);
  max-width: calc(100vw - 32px);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--brick); }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 14px; }
.nav-links a { color: var(--text-main); }
.nav-links a:hover { color: var(--brick); }
.nav-cta { white-space: nowrap; padding-left: 16px; padding-right: 16px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-burger span:last-child { width: 14px; background: var(--brick); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--ink);
  opacity: 0;
}
.mobile-menu.open a { animation: jlr-fade-up 500ms cubic-bezier(0.32,0.72,0,1) both; }
.mobile-menu.open a:nth-child(1) { animation-delay: 40ms; }
.mobile-menu.open a:nth-child(2) { animation-delay: 100ms; }
.mobile-menu.open a:nth-child(3) { animation-delay: 160ms; }
.mobile-menu.open a:nth-child(4) { animation-delay: 220ms; }
.mobile-menu.open a:nth-child(5) { animation-delay: 280ms; }
.mobile-menu.open a:nth-child(6) { animation-delay: 340ms; }
.mobile-menu a.btn { font-size: 15px; padding: 15px 26px; }

@keyframes jlr-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; padding: 8px 10px 8px 18px; }
  .nav-logo { font-size: 16px; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    radial-gradient(90% 70% at 72% 22%, rgba(235,217,207,0.85) 0%, rgba(235,217,207,0.3) 42%, rgba(250,247,242,0) 70%),
    radial-gradient(60% 50% at 18% 78%, rgba(235,217,207,0.5) 0%, rgba(250,247,242,0) 65%),
    var(--cream);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 90px;
  position: relative;
}
.hero-content { max-width: 920px; width: 100%; position: relative; z-index: 2; }
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-meta {
  display: flex; justify-content: center; align-items: baseline; gap: 24px;
  margin-top: 22px; padding: 0 8px;
}
.hero-name { font-weight: 600; font-size: 15.5px; color: var(--text-soft); }
.hero-year { font-weight: 800; font-size: 15.5px; color: var(--ink); }
.hero-ctas {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px; margin-top: 24px;
}

/* Hero floating image slots */
.hero-floats { display: contents; }
.hero-float {
  position: absolute;
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 1;
  animation: jlr-in 900ms cubic-bezier(0.32,0.72,0,1) both;
}
.hero-float figcaption { font-weight: 600; font-size: 11.5px; color: var(--text-soft); white-space: nowrap; }
.hero-float-bob { animation: jlr-bob 6s ease-in-out infinite; }
.hero-float-card {
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  padding: 6px;
  box-shadow: 0 4px 40px rgba(31, 29, 26, 0.1);
  box-sizing: border-box;
  transition: var(--ease);
}
.hero-float-card img { width: 100%; height: 100%; object-fit: fill; border-radius: 13px; transition: transform 500ms cubic-bezier(0.32,0.72,0,1); }
.hero-float-card:hover img { transform: scale(1.06); }

/* base position + rotation; card px size is set inline by JS per breakpoint scale
   (default sizes below match the 1560px+ / scale-1 values, as a pre-JS fallback) */
#hf-1 { top: 110px; left: 10%; transform: rotate(-9deg); }
#hf-1 .hero-float-card { width: 230px; height: 175px; }
#hf-2 { top: 96px; left: 36%; transform: rotate(5deg); }
#hf-2 .hero-float-card { width: 120px; height: 150px; }
#hf-3 { top: 104px; right: 9%; transform: rotate(8deg); }
#hf-3 .hero-float-card { width: 260px; height: 165px; }
#hf-4 { top: 43%; left: 5%; transform: rotate(-6deg); }
#hf-4 .hero-float-card { width: 165px; height: 125px; }
#hf-5 { top: 40%; right: 5%; transform: rotate(6deg); }
#hf-5 .hero-float-card { width: 140px; height: 175px; }
#hf-6 { bottom: 5%; left: 12%; transform: rotate(8deg); }
#hf-6 .hero-float-card { width: 225px; height: 170px; }
#hf-7 { bottom: 2%; left: 46%; transform: rotate(-4deg); }
#hf-7 .hero-float-card { width: 135px; height: 165px; }
#hf-8 { bottom: 7%; right: 11%; transform: rotate(-9deg); }
#hf-8 .hero-float-card { width: 200px; height: 155px; }

.hero-float:nth-child(1) .hero-float-bob { animation-duration: 5s; animation-delay: 0ms; }
.hero-float:nth-child(2) .hero-float-bob { animation-duration: 6s; animation-delay: 400ms; }
.hero-float:nth-child(3) .hero-float-bob { animation-duration: 7s; animation-delay: 800ms; }
.hero-float:nth-child(4) .hero-float-bob { animation-duration: 8s; animation-delay: 1200ms; }
.hero-float:nth-child(5) .hero-float-bob { animation-duration: 5s; animation-delay: 1600ms; }
.hero-float:nth-child(6) .hero-float-bob { animation-duration: 6s; animation-delay: 2000ms; }
.hero-float:nth-child(7) .hero-float-bob { animation-duration: 7s; animation-delay: 2400ms; }
.hero-float:nth-child(8) .hero-float-bob { animation-duration: 8s; animation-delay: 2800ms; }
.hero-float:nth-child(1) { animation-delay: 0ms; }
.hero-float:nth-child(2) { animation-delay: 110ms; }
.hero-float:nth-child(3) { animation-delay: 220ms; }
.hero-float:nth-child(4) { animation-delay: 330ms; }
.hero-float:nth-child(5) { animation-delay: 440ms; }
.hero-float:nth-child(6) { animation-delay: 550ms; }
.hero-float:nth-child(7) { animation-delay: 660ms; }
.hero-float:nth-child(8) { animation-delay: 770ms; }

/* Visibility + card sizing below 1560px is computed and applied inline by JS
   (progressive scale + wideOnly gating + outward nudge) — see js/main.js.
   Floats are hidden outright only at the ≤768px mobile breakpoint. */
.hero-float { display: none; }
@media (max-width: 768px) {
  .hero-float { display: none !important; }
}

.marquee-wrap { background: var(--ink); overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 48px; width: max-content; padding-right: 48px;
  animation: jlr-marquee 28s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track span.mq-text { color: var(--cream); font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee-track span.mq-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brick); flex: 0 0 auto; }

@keyframes jlr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes jlr-in { from { opacity: 0; transform: translateY(30px) scale(0.6) rotate(6deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes jlr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ CLIENTS ============ */
.logo-wall {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 32px 44px; margin-top: 56px;
}
.logo-img {
  width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1); opacity: 0.65;
  transition: filter 500ms cubic-bezier(0.32,0.72,0,1), opacity 500ms cubic-bezier(0.32,0.72,0,1);
}
.logo-img:hover { filter: grayscale(0); opacity: 1; }

/* ============ ABOUT ============ */
.about-grid { display: flex; flex-wrap: wrap; gap: 72px; }
.about-left { flex: 1 1 380px; min-width: 320px; max-width: 480px; }
.about-portrait { width: 100%; max-width: 320px; }
.about-portrait img { width: 100%; height: auto; }
.cert-row { margin: 28px 0 0; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.about-right { flex: 1 1 480px; min-width: 320px; display: flex; flex-direction: column; gap: 56px; padding-top: 12px; }

.exp-list { display: flex; flex-direction: column; }
.exp-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.exp-row-last { border-bottom: none; }
.exp-date { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.exp-title { margin: 0; font-weight: 700; font-size: 16px; color: var(--ink); }
.exp-desc { margin: 4px 0 0; font-size: 14.5px; color: var(--text-soft); }

.cap-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cap-icon { width: 30px; height: 30px; object-fit: contain; }

.lang-list { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.lang-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lang-name { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.lang-level { font-size: 14.5px; color: var(--text-soft); }
.dots { display: flex; gap: 6px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--brick); }

.contact-grid { margin-top: 36px; display: grid; grid-template-columns: 110px 1fr; row-gap: 14px; column-gap: 20px; font-size: 15px; }
.contact-label { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--text-soft); align-self: center; }
.contact-value-link { color: var(--brick); font-weight: 600; }
.contact-value { color: var(--text-main); }

/* ============ ACHIEVEMENTS ============ */
.achievements { background: #f56d41; padding: 120px 32px; overflow: hidden; border-top: none; }
.ach-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.ach-head .eyebrow-light { flex: 0 0 auto; margin-top: 18px; }
.ach-title { flex: 1 1 560px; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; color: #FFFFFF; text-wrap: balance; }
.ach-subrow { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 56px; margin-top: 48px; }
.ach-p { margin: 0; max-width: 280px; font-size: 15.5px; line-height: 1.65; color: #FFFAFA; }
.ach-p-right { text-align: right; }

/* ============ TESTIMONIALS WALL ============ */
.testimonials-section {
  background: var(--cream);
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.testimonial-wall {
  width: 100%;
  background-color: transparent;
  padding: 20px 0;
  overflow: hidden;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scroll-row {
  display: flex;
  width: max-content;
  position: relative;
  z-index: 1;
  padding: 24px 0;
  margin-top: -24px;
  margin-bottom: -24px;
  transition: z-index 0s;
}

.scroll-row:hover {
  z-index: 50;
}

.scroll-content {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

.scroll-left {
  animation: scroll-left-testimonials linear infinite;
}

.scroll-right {
  animation: scroll-right-testimonials linear infinite;
}

.testimonial-wall:hover .scroll-row {
  animation-play-state: paused;
}

@keyframes scroll-left-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right-testimonials {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonial-card-wall {
  position: relative;
  min-width: 320px;
  width: 320px;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  box-shadow: 0 1px 1.25px -5px rgba(0, 0, 0, 0.1), 0 0.5px 0.5px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
  text-align: left;
}

.testimonial-card-wall:hover {
  transform: translateY(-8px);
  background-color: #FFFFFF;
  border-color: var(--line);
  box-shadow: 0 3px 3.75px -5px rgba(0, 0, 0, 0.1), 0 1.5px 1.5px -5px rgba(0, 0, 0, 0.04);
}

.testimonial-header-wall {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  text-align: left;
}

.avatar-wall {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  transition: border-color 0.3s ease;
}

.author-meta-wall {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.author-name-wall {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  transition: color 0.3s ease;
}

.author-handle-wall {
  font-size: 13px;
  color: var(--text-soft);
  margin: 1px 0 0 0;
  transition: color 0.3s ease;
}

.testimonial-text-wall {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  opacity: 0.9;
  transition: color 0.3s ease;
  text-align: left;
}

@media (max-width: 640px) {
  .testimonial-card-wall {
    min-width: 280px;
    width: 280px;
    padding: 20px;
  }
}

.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 64px; row-gap: 72px; margin-top: 96px;
}
.stat-num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  clip-path: inset(0 0 14% 0);
  margin-bottom: calc(clamp(72px, 9vw, 140px) * -0.13);
}
.stat-caption { margin: 14px 0 0; font-size: 15.5px; font-weight: 600; color: #FFFAFA; }

/* ============ SERVICES ============ */
.services { padding: 120px 32px;}
.services-wrap { display: flex; align-items: stretch; padding: 0 auto; }
.services .container { max-width: none; margin-left: 0; margin-right: 0; flex: 1 1 50%; }
.services-left { padding: 0 4%; }
.services-right { display: flex; align-items: center; justify-content: center; padding: 0 4%;}

.services-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: #FFFFFF; border-radius: 24px; padding: 28px;
  box-shadow: 0 4px 40px rgba(31, 29, 26, 0.06);
  transition: var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(31, 29, 26, 0.1);
  background: var(--brick-hover);
}
.service-card:hover .h3,
.service-card:hover .service-num,
.service-card:hover .check-list { color: var(--cream); }
.service-card:hover .check { background: #FFFFFF; color: var(--brick); }
.service-card .check { transition: background 400ms cubic-bezier(0.32, 0.72, 0, 1), color 400ms cubic-bezier(0.32, 0.72, 0, 1); }
.service-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service-head .h3 { max-width: 170px; font-size: 22px; }
.service-num { font-weight: 800; font-size: 28px; color: var(--ink); }

/* Services slideshow (right column) */
.services-slideshow {
  position: relative; width: 100%; height: 100%; min-height: 460px;
  border-radius: 24px; overflow: hidden; background: var(--blush);
}
.services-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.32, 0.72, 0, 1);
}
.services-slide.is-active { opacity: 1; }

@media (max-width: 1024px) {
  .services-wrap { flex-direction: column; }
  .services .container { flex: 1 1 auto; }
  .services-left { padding: 4% 24px; }
  .services-right { padding: 0 24px 24px; }
  .services-slideshow { min-height: 420px; }
}
@media (max-width: 767px) {
  .services-row { grid-template-columns: 1fr; }
  .ach-p {
    max-width: 100%;
  }
  .services-section-title{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .case-rail{
    flex-direction: row;
  }
  .rail-nums{
    flex-direction: row !important;
    align-items: center ;
  }

  .case-image-frame img{
    object-fit: fill !important;
  }

  .tl-next{
    min-height: 250px !important;
    gap: 24px !important
  }
  .tl-tabs{
    justify-content: center !important;
    gap: 8px !important;
  }

  .process-section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .process-section-heading{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .process-section-heading h2{
    text-align: center !important;
  }

  #cta {
    padding: 10% 16px 10% 16px;
    min-height: 100% !important;
  }
  .cta-form-card{
    padding: 24px !important;
  }

}

/* ============ CASE STUDIES ============ */
.case-section { background: var(--ink); padding: 120px 32px; border-top: 1px solid rgba(250, 247, 242, 0.08); }
.case-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.case-rail { display: flex; flex-direction: column; gap: 12px; min-width: 90px; }
.rail-nums { display: flex; flex-direction: column; gap: 12px; }
.rail-label { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(250, 247, 242, 0.55); }
.rail-num { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: rgba(250, 247, 242, 0.35); transition: var(--ease); }
.rail-num.rail-active { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #FAF7F2; }
.case-copy { flex: 1 1 320px; max-width: 440px; }
.case-title { color: #FAF7F2; margin-bottom: 20px; }
.case-desc { margin: 0; font-size: 17px; line-height: 1.65; color: rgba(250, 247, 242, 0.72); }
.case-desc strong { color: #FAF7F2; }
.case-link {
  display: inline-block; margin-top: 26px; font-weight: 700; font-size: 14.5px;
  color: var(--brick-on-dark); border-bottom: 1.5px solid var(--brick-on-dark); padding-bottom: 2px;
}
.case-link:hover { color: #FAF7F2; }
.case-image-wrap { flex: 1 1 380px; display: flex; justify-content: center; padding: 24px 0; }
.case-image-frame {
  width: min(480px, 100%); height: 340px;
  transform: rotate(-4deg);
  border-radius: 28px; padding: 8px; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 6px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  transition: var(--ease);
  overflow: hidden;
}
.case-image-frame:hover { transform: rotate(-2deg) translateY(-6px); }
.case-image-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

/* ============ PROCESS TIMELINE ============ */
.tl-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tl-tab {
  border: none; cursor: pointer; border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: #FFFFFF; color: var(--text-soft);
  box-shadow: 0 4px 40px rgba(31, 29, 26, 0.06);
  transition: var(--ease);
}
.tl-tab.active { background: var(--brick); color: #FAF7F2; box-shadow: 0 10px 30px rgba(195, 81, 47, 0.25); }
.tl-cards { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.tl-current {
  flex: 1.4 1 400px; background: #FFFFFF; border-radius: 24px; padding: 40px;
  box-shadow: 0 4px 40px rgba(31, 29, 26, 0.06);
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 320px;
}
.tl-current-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.tl-current-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; max-width: 480px; }
.tl-current-num { font-weight: 800; font-size: 44px; color: var(--blush); line-height: 1; }
.tl-current-desc { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-soft); max-width: 520px; }
.tl-next {
  flex: 1 1 320px; background: var(--ink); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 320px;
}
.tl-next-desc { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(250, 247, 242, 0.72); }

/* ============ PICK A LANE ============ */
#lanes { background: #FFFAFA; }
.lanes-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; justify-content: center; }
.lane {
  flex: 1 1 380px; max-width: 470px; border-radius: 24px; padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
  transition: var(--ease);
}
.lane-light { background: #FFFFFF; border: 1.5px solid var(--line); box-shadow: 0 4px 40px rgba(31, 29, 26, 0.06); }
.lane-light:hover { transform: translateY(-4px); box-shadow: 0 16px 56px rgba(31, 29, 26, 0.1); }
.lane-dark { background: var(--ink); border: 1.5px solid var(--brick); box-shadow: 0 20px 60px rgba(31, 29, 26, 0.25); }
.lane-dark:hover { transform: translateY(-4px); }
.lane-sub { margin: 8px 0 0; font-size: 15px; color: var(--text-soft); }
.lane-sub-dark { color: rgba(250, 247, 242, 0.65); }

.lane-chip {
  width: 150px; height: 92px; border-radius: 14px;
  display: flex; align-items: flex-end; padding: 12px; box-sizing: border-box; position: relative;
}
.lane-chip-light { background: linear-gradient(135deg, #EBD9CF 0%, #F5EDE6 60%, #EBD9CF 100%); }
.lane-chip-dark { background: linear-gradient(135deg, #C3512F 0%, #E8A18A 60%, #C3512F 100%); }
.lane-chip .jr-badge { position: absolute; top: 10px; right: 10px; }
.lane-chip-label { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); }
.lane-chip-label-dark { color: #FAF7F2; }

/* White-Label Retainer CTA matches the Project Build button's padding + height */
.lane-dark .btn {
  padding: 14px 26px;
  border: 1.5px solid transparent;
}

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left; padding: 24px 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--ink);
}
.faq-icon { flex: 0 0 auto; font-family: var(--font-body); font-weight: 400; font-size: 26px; color: var(--brick); transition: var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: var(--ease); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a { margin: 0; padding: 0 4px 26px; font-size: 16px; line-height: 1.65; color: var(--text-soft); max-width: 720px; }

/* ============ CTA ============ */
.cta-section {
  position: relative; overflow: hidden; min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 120px 32px; background: #AD4225;
}
.cta-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(45% 55% at 22% 30%, rgba(250,247,242,0.55) 0%, rgba(250,247,242,0) 60%),
    radial-gradient(50% 60% at 78% 72%, rgba(232,161,138,0.7) 0%, rgba(232,161,138,0) 65%),
    radial-gradient(60% 70% at 85% 12%, rgba(31,29,26,0.75) 0%, rgba(31,29,26,0) 60%),
    radial-gradient(55% 60% at 10% 88%, rgba(31,29,26,0.55) 0%, rgba(31,29,26,0) 60%),
    linear-gradient(130deg, #C3512F 0%, #AD4225 45%, #8A2F17 100%);
  filter: blur(60px);
}
.cta-grain {
  position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
}
.cta-inner {
  position: relative; max-width: 1160px; width: 100%;
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 40px;
}
.cta-form-card {
  flex: 1 1 460px; min-width: 320px;
  background: rgba(250, 247, 242, 0.14);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px; padding: 44px;
  box-shadow: 0 20px 60px rgba(31, 29, 26, 0.25);
  display: flex; flex-direction: column; gap: 26px;
}
.cta-title { color: #FFFFFF; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.cta-p { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: #FFFAFA; }

#contactForm { display: flex; flex-direction: column; gap: 14px; }
#contactForm[hidden] { display: none; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; }
.form-row input { flex: 1 1 160px; }
#contactForm input, #contactForm select, #contactForm textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px; padding: 14px 18px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  outline: none; box-sizing: border-box; width: 100%;
}
#contactForm select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%231F1D1A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
#contactForm textarea { resize: vertical; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  color: #FFFFFF; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  border-radius: 999px; padding: 16px 26px; width: 100%;
  box-shadow: 0 10px 30px rgba(31, 29, 26, 0.25);
  transition: var(--ease); background-color: #1F1D1A;
}
.form-submit:hover { background: #FFFFFF; color: #1F1D1A; transform: translateY(-4px); }

.cta-socials { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF; transition: var(--ease);
}
.social-btn:hover { background: #FAF7F2; color: var(--brick); transform: translateY(-3px); }

/* Contact form success message (shown after submit, form hidden) */
.cta-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 28px 8px;
}
.cta-success[hidden] { display: none; }
.cta-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--brick);
  font-size: 26px; font-weight: 800;
}
.cta-success .h3 { color: #FAF7F2; }
.cta-success .cta-p { margin: 0; }

.cta-image-col {
  flex: 1.3 1 420px; min-width: 320px;
  margin-right: min(-180px, -18vw);
  border-radius: 28px 0 0 28px;
  overflow: hidden;
  align-self: stretch;
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex; justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
  background: radial-gradient(70% 90% at 85% 0%, rgba(235, 217, 207, 0.16) 0%, rgba(31, 29, 26, 0) 60%), var(--ink);
  padding: 120px 32px 48px;
}
.footer-top { text-align: center; }
.footer-title { color: #FAF7F2; font-size: clamp(30px, 4.6vw, 52px); text-wrap: balance; }
.footer-title em { color: var(--brick-on-dark); }
.footer-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 44px; }
.footer-email { font-weight: 600; font-size: 15px; color: var(--brick-on-dark); }
.footer-email:hover { color: #FAF7F2; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 110px; padding-top: 32px; border-top: 1px solid rgba(250, 247, 242, 0.14);
}
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: rgba(250, 247, 242, 0.6); }
.footer-wordmark em { color: var(--brick-on-dark); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; font-weight: 600; font-size: 13.5px; }
.footer-links a { color: rgba(250, 247, 242, 0.6); }
.footer-links a:hover { color: #FAF7F2; }
.footer-copy { font-size: 13.5px; color: rgba(250, 247, 242, 0.6); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section, .case-section, footer { padding-top: 80px; padding-bottom: 80px; }
  .stats-grid { column-gap: 40px; row-gap: 48px; margin-top: 64px; }
  .about-grid, .case-inner, .tl-cards, .lanes-row { gap: 40px; }
}

@media (max-width: 768px) {
  .section, .case-section, footer { padding-top: 64px; padding-bottom: 64px; }
  #cta { padding-left: 20px; }
  .cta-image-col { margin-right: 0; border-radius: 24px; min-height: 320px; flex-basis: 100%; background-size: contain; }
  #about, #services, #process, #lanes, #faq, #clients, #testimonials { padding-left: 20px; padding-right: 20px; }
  .cta-inner { flex-direction: column-reverse; gap: 24px !important; }
  .case-inner { flex-direction: column; text-align: left; }
  .case-image-frame { transform: none; }
  .case-image-frame:hover { transform: translateY(-4px); }
  .exp-row { grid-template-columns: 1fr; gap: 4px; }
}
