/* Jubilee Cell LLC — section styles
   Requires tokens.css. Fonts: Chakra Petch (500/600/700), Inter (400/500/600/700), IBM Plex Mono (400/500).
   Rule of the system: never two adjacent sections on the same surface colour. */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--jc-white); color: var(--jc-slate); font-family: var(--jc-font-body); font-size: var(--jc-body); -webkit-font-smoothing: antialiased; }
a { color: var(--jc-deep-cyan); text-decoration: none; transition: color var(--jc-dur-xs) var(--jc-ease); }
a:hover { color: var(--jc-petrol); }
img { max-width: 100%; display: block; }
::selection { background: var(--jc-cyan-200); color: var(--jc-petrol); }

/* ---------- primitives ---------- */
.jc-container { max-width: var(--jc-container); margin: 0 auto; padding: 0 var(--jc-gutter); }
.jc-section { padding: var(--jc-section-pad) var(--jc-gutter); }
.jc-section--white { background: var(--jc-white); }
.jc-section--mist  { background: var(--jc-mist); }
.jc-section--cyan50{ background: var(--jc-cyan-50); }
.jc-section--sand  { background: var(--jc-sand); }
.jc-section--cyan  { background: var(--jc-cyan); }

.jc-eyebrow { font-size: var(--jc-eyebrow); font-weight: 600; letter-spacing: var(--jc-tracking-eyebrow); text-transform: uppercase; color: var(--jc-deep-cyan); margin-bottom: 20px; }
.jc-h1 { font-family: var(--jc-font-display); font-weight: 700; font-size: var(--jc-h1); line-height: 1.02; letter-spacing: var(--jc-tracking-tight); color: var(--jc-petrol); margin: 0 0 26px; }
.jc-h2 { font-family: var(--jc-font-display); font-weight: 700; font-size: var(--jc-h2); line-height: 1.1; letter-spacing: var(--jc-tracking-heading); color: var(--jc-petrol); margin: 0 0 26px; text-wrap: balance; }
.jc-h3 { font-family: var(--jc-font-display); font-weight: 600; font-size: var(--jc-h3); letter-spacing: -0.01em; color: var(--jc-petrol); margin: 0 0 12px; }
.jc-lead { font-size: 18px; line-height: 1.6; color: var(--jc-slate); text-wrap: pretty; }
.jc-body { font-size: var(--jc-body); line-height: 1.7; color: var(--jc-slate); text-wrap: pretty; }

.jc-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--jc-radius-button); font-family: var(--jc-font-body); font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background var(--jc-dur-xs) var(--jc-ease), box-shadow var(--jc-dur-xs) var(--jc-ease), border-color var(--jc-dur-xs) var(--jc-ease); }
.jc-btn--primary { background: var(--jc-cyan); color: var(--jc-petrol); box-shadow: var(--jc-shadow-card); }
.jc-btn--primary:hover { background: var(--jc-cyan-hover); color: var(--jc-petrol); }
.jc-btn--ghost { background: var(--jc-white); color: var(--jc-petrol); border-color: var(--jc-border); font-weight: 600; }
.jc-btn--ghost:hover { border-color: var(--jc-cyan); color: var(--jc-petrol); }
.jc-btn--outline-petrol { background: transparent; color: var(--jc-petrol); border-color: var(--jc-petrol); font-weight: 600; }
.jc-btn__arrow { display: inline-block; transition: transform var(--jc-dur-xs) var(--jc-ease); }
.jc-btn:hover .jc-btn__arrow, .jc-link:hover .jc-btn__arrow { transform: translateX(4px); }
.jc-link { font-size: var(--jc-small); font-weight: 600; color: var(--jc-deep-cyan); }

.jc-card { background: var(--jc-white); border: 1px solid var(--jc-border); border-radius: var(--jc-radius-card); box-shadow: var(--jc-shadow-card); }
.jc-chip { display: inline-flex; align-items: center; background: var(--jc-white); border: 1px solid var(--jc-border); border-radius: var(--jc-radius-pill); padding: 11px 20px; font-size: var(--jc-small); font-weight: 600; color: var(--jc-petrol); }
.jc-photo { position: relative; border-radius: var(--jc-radius-card); overflow: hidden; box-shadow: var(--jc-shadow-photo); background: var(--jc-cyan-50); }
.jc-photo img { width: 100%; height: 100%; object-fit: cover; }
.jc-photo__card { position: absolute; background: var(--jc-white); border: 1px solid var(--jc-border); border-radius: var(--jc-radius-card); padding: 16px 20px; box-shadow: var(--jc-shadow-card); }
.jc-glow { position: absolute; border-radius: 50%; background: var(--jc-cyan); filter: blur(120px); pointer-events: none; }

/* ---------- 1. nav ---------- */
.jc-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255,255,255,0); border-bottom: 1px solid rgba(201,230,240,0); transition: background var(--jc-dur-md) var(--jc-ease), border-color var(--jc-dur-md) var(--jc-ease), backdrop-filter var(--jc-dur-md) var(--jc-ease), box-shadow var(--jc-dur-md) var(--jc-ease); }
.jc-nav.is-stuck { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); border-bottom-color: var(--jc-border); box-shadow: 0 12px 32px -18px rgba(11,46,56,0.18); }
.jc-nav__inner { max-width: var(--jc-container); margin: 0 auto; padding: 0 var(--jc-gutter); height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: height var(--jc-dur-md) var(--jc-ease); }
.jc-nav.is-stuck .jc-nav__inner { height: 92px; }
.jc-nav__logo img { height: 76px; width: auto; }
.jc-nav__menu { display: flex; align-items: center; gap: 34px; font-size: var(--jc-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.jc-nav__menu a { color: var(--jc-slate); padding: 10px 0 8px; border-bottom: 2px solid transparent; }
.jc-nav__menu a:hover { color: var(--jc-petrol); border-bottom-color: var(--jc-cyan-200); }
.jc-nav__menu a.is-active { color: var(--jc-petrol); border-bottom-color: var(--jc-coral); }
.jc-nav__actions { display: flex; align-items: center; gap: 20px; }
.jc-nav__search { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--jc-deep-cyan); cursor: pointer; }
.jc-nav__login { font-size: var(--jc-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jc-petrol); }
.jc-nav__register { font-size: var(--jc-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jc-petrol); background: var(--jc-cyan); padding: 11px 20px; border-radius: var(--jc-radius-button); }
.jc-nav__register:hover { background: var(--jc-cyan-hover); color: var(--jc-petrol); }

/* ---------- 2. hero ---------- */
.jc-hero { position: relative; overflow: hidden; background: var(--jc-mist); min-height: 85vh; padding: 200px var(--jc-gutter) var(--jc-section-pad); }
.jc-hero__glow--a { top: -140px; right: -180px; width: 620px; height: 620px; opacity: 0.34; }
.jc-hero__glow--b { top: 340px; right: 180px; width: 420px; height: 420px; opacity: 0.55; background: var(--jc-cyan-200); filter: blur(110px); }
.jc-hero__grid { position: relative; max-width: var(--jc-container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.jc-hero__word { display: inline-block; }
.jc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.jc-hero__photo-card { left: -28px; bottom: -26px; display: flex; align-items: center; gap: 12px; }
.jc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 96px; }
.jc-stat { padding: 30px 28px; }
.jc-stat__value { font-weight: 700; font-size: var(--jc-stat); line-height: 1; letter-spacing: var(--jc-tracking-tight); color: var(--jc-petrol); }
.jc-stat__value--coral { color: var(--jc-coral); }
.jc-stat__label { font-size: var(--jc-small); font-weight: 500; color: var(--jc-slate); margin-top: 10px; }

/* ---------- 3. brand wall ---------- */
.jc-brands { background: var(--jc-white); padding: var(--jc-section-pad) 0; overflow: hidden; }
.jc-brands__rows { position: relative; margin-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.jc-brands__mask { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 86%, #fff 100%); }
.jc-brands__row { display: flex; width: max-content; }
.jc-brands__set { display: flex; gap: 16px; padding-right: 16px; }
.jc-brand { flex: 0 0 auto; width: 172px; height: 82px; display: grid; place-items: center; border: 1px solid var(--jc-border); border-radius: var(--jc-radius-card); background: var(--jc-white); filter: grayscale(1); opacity: 0.72; transition: filter var(--jc-dur-xs) var(--jc-ease), opacity var(--jc-dur-xs) var(--jc-ease), transform var(--jc-dur-xs) var(--jc-ease), border-color var(--jc-dur-xs) var(--jc-ease); }
.jc-brand:hover { filter: grayscale(0); opacity: 1; transform: scale(1.08); border-color: var(--jc-cyan); }

/* ---------- 4. what we do ---------- */
.jc-split { max-width: var(--jc-container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.jc-chips { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. solutions ---------- */
.jc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jc-solution { padding: 34px 32px 30px; transition: transform var(--jc-dur-sm) var(--jc-ease), box-shadow var(--jc-dur-sm) var(--jc-ease), border-color var(--jc-dur-sm) var(--jc-ease); }
.jc-solution:hover { transform: translateY(-8px); box-shadow: var(--jc-shadow-hover); border-color: var(--jc-cyan); }
.jc-solution__badge { width: 48px; height: 48px; border-radius: 50%; background: var(--jc-cyan); display: grid; place-items: center; margin-bottom: 22px; }
.jc-solution__badge svg { stroke: var(--jc-petrol); stroke-width: 1.5; fill: none; }
.jc-solution p { font-size: 15px; line-height: 1.6; color: var(--jc-slate); margin: 0 0 20px; }

/* ---------- 6. who we serve ---------- */
.jc-serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 40px; }
.jc-serve__tile svg { width: 40px; height: 40px; stroke: var(--jc-petrol); stroke-width: 1.1; fill: none; }
.jc-serve__label { font-family: var(--jc-font-display); font-weight: 600; font-size: 19px; color: var(--jc-petrol); margin-top: 18px; }

/* ---------- 7. why jubilee (solid cyan) ---------- */
.jc-why { display: grid; grid-template-columns: repeat(4, 1fr); }
.jc-why__col { padding: 0 36px; border-left: 1px solid rgba(11,46,56,0.22); }
.jc-why__col:first-child { padding-left: 0; border-left: 0; }
.jc-why__col p { font-size: 15px; line-height: 1.65; color: var(--jc-petrol); opacity: 0.82; margin: 0; }

/* ---------- 8. testimonial ---------- */
.jc-quote-block { max-width: 800px; margin: 0 auto; text-align: center; }
.jc-quote-mark { font-family: var(--jc-font-display); font-weight: 700; font-size: 88px; line-height: 0.7; color: var(--jc-coral); margin: 24px 0 18px; }
.jc-quote { font-family: var(--jc-font-display); font-weight: 600; font-size: var(--jc-quote); line-height: 1.32; letter-spacing: -0.02em; color: var(--jc-petrol); margin: 0; text-wrap: pretty; }
.jc-quote__slide { transition: opacity var(--jc-dur-md) var(--jc-ease), transform var(--jc-dur-md) var(--jc-ease); }
.jc-quote__author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 42px; }
.jc-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--jc-cyan-50); border: 1px solid var(--jc-border); display: grid; place-items: center; font-family: var(--jc-font-display); font-weight: 600; color: var(--jc-deep-cyan); }
.jc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.jc-dot { position: relative; width: 40px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: var(--jc-border); overflow: hidden; cursor: pointer; }
.jc-dot__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--jc-coral); }

/* ---------- 9. cta ---------- */
.jc-cta { position: relative; overflow: hidden; text-align: center; background: linear-gradient(160deg, var(--jc-cyan-200) 0%, var(--jc-cyan-50) 62%, #EAF7FB 100%); padding: 130px var(--jc-gutter); }
.jc-cta__glow { left: 50%; top: 20%; width: 720px; height: 480px; margin-left: -360px; opacity: 0.45; filter: blur(130px); }
.jc-cta__inner { position: relative; max-width: 720px; margin: 0 auto; }
.jc-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.jc-cta__fineprint { font-size: var(--jc-small); color: var(--jc-deep-cyan); margin-top: 26px; }

/* ---------- 10. footer ---------- */
.jc-footer { background: var(--jc-footer-bg); color: var(--jc-footer-link); padding: 96px var(--jc-gutter) 34px; }
.jc-footer__cols { max-width: var(--jc-container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 48px; }
.jc-footer__head { font-family: var(--jc-font-display); font-weight: 600; font-size: var(--jc-small); letter-spacing: 0.12em; text-transform: uppercase; color: var(--jc-footer-head); margin-bottom: 22px; }
.jc-footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.jc-footer__list a { color: var(--jc-footer-link); }
.jc-footer__list a:hover { color: var(--jc-white); }
.jc-newsletter { display: flex; align-items: center; background: rgba(167,224,240,0.10); border: 1px solid rgba(167,224,240,0.28); border-radius: var(--jc-radius-button); padding: 4px 4px 4px 14px; }
.jc-newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--jc-white); font-family: var(--jc-font-body); font-size: 14px; padding: 10px 0; }
.jc-newsletter button { width: 38px; height: 38px; border: 0; border-radius: 4px; background: var(--jc-cyan); color: var(--jc-petrol); display: grid; place-items: center; cursor: pointer; transition: background var(--jc-dur-xs) var(--jc-ease); }
.jc-newsletter button:hover { background: var(--jc-cyan-hover); }
.jc-footer__bar { max-width: var(--jc-container); margin: 72px auto 0; padding-top: 28px; border-top: 1px solid rgba(167,224,240,0.20); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: var(--jc-small); }
.jc-footer__bar img { height: 66px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.jc-footer__bar a { color: rgba(167,224,240,0.7); }
.jc-footer__legal { display: flex; gap: 24px; }

/* ---------- animation entry states (JS/GSAP removes them) ---------- */
.jc-reveal { opacity: 0; transform: translateY(24px); }
.jc-reveal.is-in { opacity: 1; transform: none; transition: opacity var(--jc-dur-lg) var(--jc-ease), transform var(--jc-dur-lg) var(--jc-ease); }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .jc-hero__grid, .jc-split { grid-template-columns: 1fr; gap: 48px; }
  .jc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .jc-serve { grid-template-columns: repeat(3, 1fr); }
  .jc-why { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .jc-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
.jc-nav__toggle { display: none; width: 48px; height: 48px; border: 0; background: none; color: var(--jc-petrol); cursor: pointer; }
.jc-nav__mobile { display: none; border-top: 1px solid var(--jc-border); background: var(--jc-white); padding: 8px var(--jc-gutter) 16px; }
.jc-nav.is-open .jc-nav__mobile { display: flex; flex-direction: column; }
.jc-nav__mobile a { display: flex; align-items: center; min-height: 48px; font-size: 15px; font-weight: 600; color: var(--jc-petrol); border-bottom: 1px solid #EAF5F8; }

@media (max-width: 768px) {
  .jc-nav__menu, .jc-nav__login { display: none; }
  .jc-nav__toggle { display: grid; place-items: center; }
  .jc-nav__register { min-height: 48px; display: inline-flex; align-items: center; border-radius: var(--jc-radius-pill); }
  .jc-nav__inner { height: 84px; }
  /* header shows the JC circle mark alone */
  .jc-nav__logo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: block; }
  .jc-nav__logo img { height: 64px; width: 186px; max-width: none; object-fit: cover; object-position: left center; }
  .jc-hero { padding: 120px var(--jc-gutter) var(--jc-section-pad); }
  .jc-stats { grid-template-columns: repeat(2, 1fr); }
  .jc-grid-3, .jc-serve, .jc-why, .jc-footer__cols { grid-template-columns: 1fr; }
  .jc-why__col { padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(11,46,56,0.22); }
  .jc-why__col:first-child { padding-top: 0; border-top: 0; }
  .jc-btn { width: 100%; justify-content: center; min-height: 52px; }
  .jc-hero__actions, .jc-cta__actions { flex-direction: column; }
}
