/* =========================================================
   SUMMIT — Design tokens (Granite: pure monochrome — Ink,
   Grey, Paper, Night. Nothing here depends on color.)
   ========================================================= */
:root {
  --bg: #0a0a0f;
  --bg-elevated: #15151c;
  --bg-light: #fafaf8;
  --fg: #fafaf8;
  --fg-muted: #9a9aa4;
  --fg-light: #14141a;
  --fg-light-muted: #9a9aa4;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);

  --accent: #9a9aa4;
  --accent-2: #14141a;
  --accent-gradient: linear-gradient(100deg, #fafaf8 0%, #9a9aa4 100%);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.75rem, 8vw, 7.5rem);
  --fs-h1: clamp(2.25rem, 5.5vw, 4.5rem);
  --fs-h2: clamp(2rem, 4.5vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.25rem);
  --fs-body-lg: clamp(1.125rem, 1.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Spacing (marketing-page scale) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 96px;
  --space-2xl: 160px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

/* Tighten the marketing-page spacing rhythm on smaller screens —
   --space-xl/--space-2xl drive every section's vertical padding,
   so this one override cascades through the whole page. */
@media (max-width: 768px) {
  :root {
    --space-xl: 56px;
    --space-2xl: 88px;
  }
}
@media (max-width: 480px) {
  :root {
    --space-xl: 44px;
    --space-2xl: 64px;
  }
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  background: var(--fg);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-md); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Shared
   ========================================================= */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  min-height: 48px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: var(--fg);
  color: #000;
}
.btn--primary:hover { transform: translateY(-2px); opacity: 0.88; }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--full { width: 100%; }

.section-head { max-width: 640px; margin: 0 auto var(--space-xl); text-align: center; padding: 0 var(--space-md); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.section-head__sub { margin-top: var(--space-sm); color: var(--fg-muted); font-size: var(--fs-body); }

/* Scroll reveal base states (JS toggles .is-visible) */
.reveal-up { opacity: 0; transform: translateY(36px); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-scale { opacity: 0; transform: scale(0.94); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border-soft); }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--fg);
  min-height: 44px;
  margin: -6px 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--fg);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--fs-small);
  color: var(--fg-muted);
  margin: 0 auto;
}
.nav__links a { transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--fg); }

.nav__cta {
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { border-color: var(--fg); background: rgba(255,255,255,0.06); }

/* Language toggle — stays visible at every breakpoint (unlike
   .nav__links/.nav__cta, which collapse into the hamburger menu),
   since it's meant to be reachable from the top at any screen size. */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  flex: none;
}
.lang-toggle__btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-toggle__btn.is-active { background: var(--fg); color: #000; }
.lang-toggle__btn:not(.is-active):hover { color: var(--fg); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md) var(--space-lg);
  gap: var(--space-xs);
  border-top: 1px solid var(--border-soft);
  font-size: 1.1rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu > a:not(.mobile-menu__cta) {
  padding: 12px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu__cta {
  margin-top: var(--space-sm);
  text-align: center;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(64px + var(--space-xl)) var(--space-md) var(--space-xl);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(45% 55% at 30% 20%, rgba(255, 255, 255, 0.12), transparent 70%),
    radial-gradient(40% 50% at 75% 30%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(35% 45% at 50% 60%, rgba(255, 255, 255, 0.05), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero__content { position: relative; width: 100%; max-width: 980px; }

/* Reveal clip filling the gap between the fixed nav and the eyebrow —
   sized to fill that space, but still a normal-flow block above the
   eyebrow (margin-bottom keeps it from ever overlapping the wording).
   Blends away as the page scrolls (see script.js). */
.hero__reveal-band {
  width: clamp(300px, 46vw, 640px);
  max-width: 100%;
  aspect-ratio: 2.38 / 1;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px -20px rgba(255, 255, 255, 0.15);
  /* Poster lives here as the container's own background, not just the
     video's poster attribute — if autoplay never actually starts
     producing frames (blocked by policy, a restrictive embedding
     context, etc.), script.js hides the video and this shows through
     instead of a blank/half-decoded first frame. */
  background: var(--bg-light) url("assets/hero-poster.jpg") center/cover no-repeat;
}
.hero__reveal-band video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__reveal-band video.is-inert { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__reveal-band video { display: none; }
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line--accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: var(--space-md) auto 0;
  max-width: 560px;
  font-size: var(--fs-body-lg);
  color: var(--fg-muted);
}

.hero__actions {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  /* Flow, not absolute — guarantees real clearance below the buttons
     on every viewport instead of guessing a fixed distance from the
     hero's bottom edge that could land on top of them. */
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--fg-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue__line {
  width: 1px;
  height: 44px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line i {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--fg);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__line i { animation: none; top: 0; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(64px + var(--space-lg)); }
  /* Hero content plus wrapped action buttons can run long enough on
     narrow screens to collide with this absolutely-positioned cue —
     it's a decorative affordance mobile users don't need anyway. */
  .scroll-cue { display: none; }
}

/* =========================================================
   Services / Features
   ========================================================= */
.services {
  padding: var(--space-2xl) var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-soft);
}
.feature:first-of-type { border-top: none; }
.feature--reverse .feature__text { order: 2; }
.feature--reverse .feature__visual { order: 1; }

.feature__index {
  display: inline-block;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.feature__text h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: var(--space-md);
}
.feature__text p {
  color: var(--fg-muted);
  font-size: var(--fs-body-lg);
  max-width: 460px;
}
.feature__list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature__list li {
  font-size: var(--fs-small);
  color: var(--fg);
  padding-left: 22px;
  position: relative;
}
.feature__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 1px;
  background: var(--accent);
}

.feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

/* Browser mockup */
.browser-mock {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(255, 255, 255, 0.14);
}
.browser-mock__bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.browser-mock__bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.browser-mock__body { padding: 20px; }
.browser-mock__hero {
  height: 120px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: url("assets/mock-cjs.jpg") center 15% / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.browser-mock__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0) 55%, rgba(10,10,15,0.55) 100%);
}
.browser-mock__row { display: flex; gap: 10px; }
.browser-mock__card {
  flex: 1;
  height: 64px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06) center top / cover no-repeat;
  border: 1px solid var(--border-soft);
}
.browser-mock__card--uj { background-image: url("assets/mock-unclejohns.jpg"); }
.browser-mock__card--ins { background-image: url("assets/mock-innovation.jpg"); }
.browser-mock__card--amp { background-image: url("assets/mock-amparitos.jpg"); }

/* Phone mockup */
.phone-mock {
  width: 250px;
  height: 500px;
  border-radius: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 14px;
  box-shadow: 0 40px 80px -30px rgba(255, 255, 255, 0.12);
  position: relative;
}
.phone-mock__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--bg);
  border-radius: 12px;
  z-index: 2;
}
.phone-mock__screen {
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  padding: 40px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Social post cards — abstracted Instagram/Facebook feed cards (brand
   colors + generic UI affordances, not literal logos) filling the
   phone-mock screen for the "Social that stops the scroll" feature. */
.social-post {
  position: relative;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  padding: 9px;
  opacity: 0.8;
}
.social-post:nth-child(1) { opacity: 0.55; }
.social-post--wide { height: 130px; opacity: 0.9; }

.social-post--ig {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%);
}
.social-post--fb {
  background: linear-gradient(160deg, #1877f2 0%, #0a4fb8 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-post__avatar {
  position: absolute;
  top: 9px; left: 9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-post--fb .social-post__avatar { position: static; box-shadow: none; flex-shrink: 0; }

.social-post__brand-icon { width: 13px; height: 13px; }
.social-post__brand-icon--fb { color: #1877f2; }
.social-post__brand-icon--ig { color: #c1379b; }

.social-post__icon { width: 16px; height: 16px; color: #fff; }
.social-post__icon svg { width: 100%; height: 100%; display: block; }
.social-post--ig > .social-post__icon { position: absolute; bottom: 9px; right: 9px; }
.social-post--ig-alt .social-post__icon-row {
  position: absolute;
  bottom: 9px; right: 9px;
  display: flex;
  gap: 8px;
}

.social-post__fb-top { display: flex; align-items: center; gap: 8px; }
.social-post__meta { display: flex; flex-direction: column; gap: 5px; }
.social-post__meta-line { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.6); }
.social-post__meta-line--name { width: 56px; }
.social-post__meta-line--time { width: 30px; background: rgba(255, 255, 255, 0.35); }

.social-post__like-pill {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
}
.social-post__like-pill .social-post__icon { width: 13px; height: 13px; }
.social-post__like-count { font-size: 9px; font-weight: 700; color: #fff; letter-spacing: 0.02em; }

@media (max-width: 860px) {
  .feature, .feature--reverse .feature__text, .feature--reverse .feature__visual {
    grid-template-columns: 1fr;
    order: initial;
  }
  .feature { grid-template-columns: 1fr; gap: var(--space-lg); text-align: left; }
  .feature__visual { min-height: 280px; }
  .phone-mock { width: 220px; height: 440px; }
}

/* =========================================================
   Full picture (orbit)
   ========================================================= */
.orbit-sec{
  --r-outer:205px;        /* pill orbit radius */
  --r-inner:126px;        /* satellite orbit radius */
  --stage:620px;          /* must fit r-outer + half a pill on each side */
  --core:160px;           /* mark width */
  --spin:38s;
  padding:96px 24px;
  background:#0A0A0E;
  overflow:hidden;        /* nothing escapes the section */
}
.orbit-sec__inner{
  max-width:1200px;margin:0 auto;
  display:grid;
  grid-template-columns:0.85fr 1.15fr;   /* orbit gets the wider column */
  gap:48px;align-items:center;
}

/* ---------- copy ---------- */
.orbit-copy h2{
  font-size:clamp(2rem,4.4vw,3.4rem);font-weight:800;line-height:1.06;
  letter-spacing:-.025em;color:#fff;
}
.orbit-copy__lede{
  color:#8A8F98;font-size:clamp(1rem,1.5vw,1.12rem);
  margin:20px 0 30px;max-width:40ch;
}
.orbit-copy__list{list-style:none;display:flex;flex-direction:column;gap:14px}
.orbit-copy__list li{
  display:flex;align-items:center;gap:13px;color:#D6D8DE;font-size:1rem;
}
.orbit-copy__list li::before{content:"";width:16px;height:1.5px;background:#4A4A56;flex:none}

/* ---------- stage ---------- */
.orbit-stageWrap{display:grid;place-items:center}
.orbit-stage{
  position:relative;width:var(--stage);height:var(--stage);
  display:grid;place-items:center;max-width:100%;
}
.orbit-ring{
  position:absolute;top:50%;left:50%;border-radius:50%;
  transform:translate(-50%,-50%);pointer-events:none;
}
.orbit-ring--dash{width:calc(var(--r-outer)*2);height:calc(var(--r-outer)*2);border:1px dashed #26262F}
.orbit-ring--solid{width:calc(var(--r-inner)*2 + 96px);height:calc(var(--r-inner)*2 + 96px);border:1px solid #22222B}
.orbit-ring--inner{width:calc(var(--r-inner)*2);height:calc(var(--r-inner)*2);border:1px solid #1C1C24}

.orbit-track{position:absolute;inset:0;animation:orbit-spin var(--spin) linear infinite}
.orbit-track--inner{animation-duration:calc(var(--spin)*1.5);animation-direction:reverse}

.orbit-node{
  position:absolute;top:50%;left:50%;
  transform:rotate(var(--a)) translateX(var(--r-outer));
  transform-origin:0 0;
}
.orbit-node__fix{
  /* cancels the parent rotation so the pill never turns upside down */
  animation:orbit-spin var(--spin) linear infinite reverse;
}
.orbit-node--sm{transform:rotate(var(--a)) translateX(var(--r-inner))}
.orbit-node--sm i{
  display:block;width:9px;height:9px;border-radius:50%;background:#fff;
  transform:translate(-50%,-50%);box-shadow:0 0 14px 2px rgba(255,255,255,.5);
}

/* ---------- pills ---------- */
.orbit-pill{
  display:flex;align-items:center;gap:10px;
  background:rgba(16,16,23,.88);border:1px solid #262631;backdrop-filter:blur(6px);
  border-radius:999px;padding:8px 15px;white-space:nowrap;
  transform:translate(-50%,-50%);
  transition:border-color .25s, background .25s;
}
.orbit-pill__label{font-size:12.5px;font-weight:600;color:#EAEBEF;letter-spacing:.01em}
.orbit-pill__icons{display:flex;align-items:center;gap:7px;color:#9A9AA4}
.ic{width:16px;height:16px;display:block}

/* --- icon colours ---------------------------------------------------
   Facebook uses Meta's dark-background blue (#2D88FF) rather than the
   standard #1877F2, which goes muddy on a near-black panel.
   Instagram uses its gradient across the stroke.
   The two client chips are TINTED PLACEHOLDERS — replace both the
   colour and the monogram with real logos once you have permission. */
.ic--web { color:#5B9DF9; }   /* web blue */
.ic--fb  { color:#2D88FF; }   /* facebook */
.ic--data{ color:#3DD68C; }   /* growth green */

.orbit-chip{
  display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;
  border:1px solid #33333F;border-radius:6px;
  font-size:9.5px;font-weight:700;letter-spacing:.03em;color:#C6C8D0;
}
.orbit-chip--cj{ color:#E9A23B; border-color:#5A4526; background:rgba(233,162,59,.09); }
.orbit-chip--ii{ color:#7FB2E8; border-color:#2E4763; background:rgba(127,178,232,.08); }

/* keeps orbiting on hover — only a subtle highlight, no pause */
.orbit-stage:hover .orbit-pill{border-color:#3C3C4A;background:rgba(20,20,28,.95)}

/* ---------- core ---------- */
.orbit-core{
  position:relative;z-index:3;width:var(--core);max-width:42%;
  filter:drop-shadow(0 0 34px rgba(255,255,255,.20));
}

@keyframes orbit-spin{to{transform:rotate(360deg)}}

/* ---------- responsive ---------- */
.orbit-fallback{display:none}

@media (max-width:1100px){
  .orbit-sec{--r-outer:190px;--r-inner:116px;--stage:560px;--core:148px}
  .orbit-sec__inner{grid-template-columns:1fr;gap:48px}
}

@media (max-width:820px){
  .orbit-sec{--r-outer:168px;--r-inner:100px;--stage:480px;--core:132px}
}

/* Mobile: keep the words circling. Pills drop their icons and tighten
   so four still fit the circumference without touching. */
@media (max-width:640px){
  .orbit-sec{padding:72px 16px;--r-outer:128px;--r-inner:74px;--stage:330px;--core:104px;--spin:32s}
  .orbit-pill{padding:6px 11px;gap:0}
  .orbit-pill__icons{display:none}
  .orbit-pill__label{font-size:11px}
  .orbit-ring--solid{display:none}
}

@media (max-width:380px){
  .orbit-sec{--r-outer:112px;--stage:300px;--core:92px}
  .orbit-pill__label{font-size:10.5px}
}

/* ---------- motion sensitivity ---------- */
@media (prefers-reduced-motion:reduce){
  .orbit-track,.orbit-node__fix{animation:none}
  .orbit-track{display:none}
  .orbit-fallback{
    display:flex;flex-wrap:wrap;justify-content:center;gap:9px;
    list-style:none;margin-top:26px;
  }
  .orbit-fallback li{
    border:1px solid #262631;border-radius:999px;padding:7px 15px;
    font-size:12.5px;font-weight:600;color:#D6D8DE;background:#101017;
  }
}

/* =========================================================
   Work
   ========================================================= */
.work {
  padding: var(--space-2xl) var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
}

/* Chip trio — each real (or invited) client shown as a chip-style
   module, echoing the Apple/Insta360 "silicon" product showcase:
   one elevated hero chip flanked by two smaller ones. */
.work__trio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  flex-wrap: wrap;
  perspective: 1400px;
}

/* Scroll-entrance rotation lives on this wrapper; hover lift lives on
   the .chip inside it — two elements so GSAP's scroll-scrubbed tween
   and the hover tween never fight over the same transform. */
.chip-enter {
  transform-style: preserve-3d;
}

.chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 28px 22px 24px;
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  /* base transform is owned by GSAP hover tween (script.js) */
}

.chip--hero {
  width: clamp(220px, 25vw, 300px);
  height: clamp(300px, 34vw, 380px);
  z-index: 2;
}
.chip--side {
  width: clamp(160px, 19vw, 220px);
  height: clamp(230px, 26vw, 290px);
  margin-bottom: 18px;
}

.chip--cjs {
  background: linear-gradient(165deg, #2a4d70 0%, #16324F 55%, #0c2035 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.25), inset 0 -40px 70px rgba(0,0,0,0.4), 0 40px 90px -24px rgba(232,112,58,0.4);
}
.chip--uj {
  background: linear-gradient(165deg, #4a2f1e 0%, #3a2418 55%, #21100a 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.22), inset 0 -30px 60px rgba(0,0,0,0.4), 0 30px 70px -20px rgba(182,130,53,0.32);
}
.chip--ins {
  background: linear-gradient(165deg, #2e3d8f 0%, #1e2a6e 55%, #0a0e27 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.22), inset 0 -30px 60px rgba(0,0,0,0.4), 0 30px 70px -20px rgba(232,122,173,0.32);
}
.chip--cta {
  background: linear-gradient(165deg, #1b1b21 0%, #101014 60%, #08080a 100%);
  border-style: dashed;
  border-color: rgba(255,255,255,0.22);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.12), inset 0 -30px 60px rgba(0,0,0,0.45), 0 30px 70px -20px rgba(255,255,255,0.16);
}
.chip--cta:hover { border-color: var(--accent); }

.chip__badge {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: #F4F1EA;
  background: rgba(0,0,0,0.3);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  white-space: nowrap;
}

.chip__mark {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.chip--hero .chip__mark svg { width: 100px; height: auto; }
.chip--side .chip__mark svg { width: 60px; height: auto; }

/* Real logo, recolored cream via filter (source is black-on-transparent) */
.chip__mark-logo {
  width: 100px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}
.chip--side .chip__mark-logo { width: 76px; }

/* Innovation Insurance's badge logo is already full-color (navy +
   pink) with its own circular ground, so no recolor filter needed. */
.chip__mark-badge {
  width: 84px;
  height: auto;
}
.chip--side .chip__mark-badge { width: 66px; }

.chip__plus {
  position: relative;
  width: 44px; height: 44px;
  display: block;
}
.chip__plus::before, .chip__plus::after {
  content: "";
  position: absolute;
  background: rgba(244,241,234,0.55);
  border-radius: 2px;
  transition: background 0.3s var(--ease);
}
.chip__plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.chip__plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.chip--cta:hover .chip__plus::before,
.chip--cta:hover .chip__plus::after { background: var(--fg); }

.chip__label { width: 100%; }
.chip__name { display: block; font-size: 1rem; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.chip--hero .chip__name { font-size: 1.2rem; }
.chip__tag { display: block; font-size: 0.78rem; color: rgba(244,241,234,0.55); margin-top: 3px; }

@media (max-width: 720px) {
  .work__trio { flex-direction: column; align-items: center; }
  .chip--hero, .chip--side {
    width: min(84vw, 320px);
    height: 220px;
    margin-bottom: 0;
  }
}

/* =========================================================
   Process
   ========================================================= */
.process {
  padding: var(--space-2xl) var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
}
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.process__item {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-soft);
}
.process__num {
  display: block;
  font-size: var(--fs-h3);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg-muted);
  margin-bottom: var(--space-sm);
}
.process__item h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 10px; }
.process__item p { color: var(--fg-muted); font-size: var(--fs-small); }

@media (max-width: 860px) {
  .process__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .process__list { grid-template-columns: 1fr; }
}

/* =========================================================
   About
   ========================================================= */
.about {
  padding: var(--space-2xl) var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}
.about__text h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: var(--space-md); }
.about__body { color: var(--fg-muted); font-size: var(--fs-body-lg); max-width: 480px; }

.about__stats {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
}
.about__stat-num { display: block; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; }
.about__stat-label { display: block; font-size: var(--fs-small); color: var(--fg-muted); margin-top: 4px; }

.about__people {
  display: flex;
  gap: var(--space-md);
}
.person-card {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}
.person-card__avatar {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.person-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.person-card p { color: var(--fg-muted); font-size: var(--fs-small); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { flex-wrap: wrap; gap: var(--space-lg) var(--space-xl); }
}
@media (max-width: 520px) {
  .about__people { flex-direction: column; }
}

/* =========================================================
   Testimonial (light section — contrast break)
   ========================================================= */
.testimonial {
  background: var(--bg-light);
  color: var(--fg-light);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}
.testimonial blockquote {
  max-width: 780px;
  margin: 0 auto;
}
.testimonial p {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.testimonial footer {
  margin-top: var(--space-md);
  color: var(--fg-light-muted);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* =========================================================
   Legal pages (privacy policy, etc.)
   ========================================================= */
.legal {
  padding: calc(64px + var(--space-xl)) var(--space-md) var(--space-2xl);
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--space-sm);
}
.legal__updated {
  color: var(--fg-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--space-xl);
}
.legal h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: var(--space-xl) 0 var(--space-sm);
}
.legal p, .legal li {
  color: var(--fg-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.legal p { margin-bottom: var(--space-sm); }
.legal ul {
  list-style: disc;
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-sm);
}
.legal strong { color: var(--fg); font-weight: 700; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }

/* =========================================================
   Contact
   ========================================================= */
.contact {
  padding: var(--space-2xl) var(--space-md);
}
.contact__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}
.contact__sub { color: var(--fg-muted); font-size: var(--fs-body-lg); margin-bottom: var(--space-xl); }

.contact__form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.field label { font-size: var(--fs-small); color: var(--fg-muted); }
.field input, .field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--fg);
  min-height: 48px;
  resize: vertical;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field__note {
  min-height: 20px;
  font-size: var(--fs-small);
  color: var(--accent);
  text-align: center;
}
.contact__direct {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-soft);
  text-align: center;
  color: var(--fg-muted);
  font-size: var(--fs-small);
}
.contact__direct a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact__direct a:hover { color: var(--accent); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer__logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: var(--fg); min-height: 44px; margin: -6px 0; }
.footer__links { display: flex; gap: var(--space-md); font-size: var(--fs-small); color: var(--fg-muted); flex-wrap: wrap; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -11px 0;
}
.footer__links a:hover { color: var(--fg); }
.footer__social { display: flex; gap: var(--space-sm); }
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__social a:hover { border-color: var(--fg); color: var(--fg); }

.footer__bottom {
  max-width: var(--container);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}
.footer__legal-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -11px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
}
.footer__legal-link:hover { color: var(--fg); text-decoration-color: var(--fg); }

/* =========================================================
   Cookie notice — dismissible, remembered via localStorage
   (see script.js). Third-party analytics/fonts still load
   regardless of dismissal; this is a disclosure banner, not
   a consent gate.
   ========================================================= */
.cookie-notice {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 600;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(0);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cookie-notice[hidden] {
  display: flex;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
}
.cookie-notice p {
  flex: 1 1 260px;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  line-height: 1.5;
}
.cookie-notice p a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice button {
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: var(--fg);
  color: #000;
  font-size: var(--fs-small);
  font-weight: 600;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.cookie-notice button:hover { transform: translateY(-1px); opacity: 0.88; }

@media (max-width: 480px) {
  .cookie-notice { left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); padding: var(--space-sm); }
  .cookie-notice button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice { transition: none; }
}
