/* =============================================================
   ROXO — official stylesheet
   Brand: Purple #502D7D · Orange #FA9B1E
   Type: Gill Sans MT (Cabin fallback) for body/UI,
         Fraunces serif for display headings.
   ============================================================= */

:root {
  --purple:      #502d7d;
  --orange:      #fa9b1e;
  --purple-deep: #3a2059;
  --purple-ink:  #2a1642;
  --purple-2:    #4a2a72;
  --orange-600:  #e58910;
  --purple-700:  #431f6c;
  --paper:       #f6f3fa;
  --paper-2:     #ffffff;
  --ink:         #241531;
  --muted:       #6a5c7d;
  --muted-light: #cbbde0;
  --line:        #e6ddf1;

  --font-body:    "Gill Sans MT", "Gill Sans", "Cabin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 74px;
  --fit-h: 100svh;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--purple); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 200; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; }

.eyebrow { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--purple); margin-bottom: 1rem; }
.eyebrow--orange { color: var(--orange); }

.btn {
  --btn-bg: var(--purple); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: .8rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--purple { --btn-bg: var(--purple); box-shadow: 0 8px 22px -12px var(--purple-ink); }
.btn--purple:hover { --btn-bg: var(--purple-700); }
.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--purple-ink); box-shadow: 0 10px 26px -12px var(--orange); }
.btn--orange:hover { --btn-bg: var(--orange-600); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.10); }

/* section rhythm */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--fit { min-height: var(--fit-h); display: flex; align-items: center; }
.section--fit > .container { width: 100%; }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { max-width: 820px; margin-inline: auto; text-align: center; }
.section-head--split { display: grid; gap: 1.5rem 2.5rem; max-width: none; grid-template-columns: 1.15fr .85fr; align-items: end; }
.section-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; }
.section-title--light { color: #fff; }
.section-lead { margin-top: 1.2rem; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.section-lead--light { color: var(--muted-light); }
@media (max-width: 820px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } .section-lead { margin-top: 0; } }

/* =============================================================
   HEADER — sticky ORANGE band
   ============================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--orange); box-shadow: 0 2px 14px -6px rgba(42,22,66,.35); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { justify-self: start; display: inline-flex; }
.brand__logo { height: 44px; width: auto; }
.nav { justify-self: center; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.nav__list { display: flex; gap: 2rem; }
.nav__link { position: relative; font-weight: 700; font-size: .98rem; color: var(--purple-ink); padding: .4rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2.5px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 2px; }
.nav-toggle { display: none; justify-self: end; background: none; border: 0; padding: .5rem; width: 46px; height: 46px; }
.nav-toggle__bar { display: block; width: 26px; height: 2.5px; margin: 5px auto; background: var(--purple-ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav { padding: 1.25rem var(--gutter) 1.75rem; border-top: 1px solid rgba(42,22,66,.15); display: grid; gap: .9rem; background: var(--orange); }
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { display: grid; gap: .1rem; }
.mobile-nav__link { display: block; font-weight: 700; font-size: 1.3rem; color: var(--purple-ink); padding: .6rem 0; border-bottom: 1px solid rgba(42,22,66,.15); }

/* =============================================================
   HERO — text left, image right
   ============================================================= */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 130% at 82% 0%, var(--purple-2) 0%, var(--purple) 42%, var(--purple-ink) 100%); padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.03; }
.hero__lead { margin-top: 1.5rem; max-width: 44ch; font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--muted-light); }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__media { position: relative; }
.hero__img { width: 100%; height: auto; max-height: 66vh; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.hero__glow { position: absolute; z-index: 1; width: 600px; height: 600px; right: -180px; top: -240px; background: radial-gradient(circle, rgba(250,155,30,.28), transparent 62%); filter: blur(10px); pointer-events: none; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__media { max-width: 460px; }
  .hero__img { max-height: none; }
}

/* =============================================================
   ABOUT ROXO — split (heading left, text right)
   ============================================================= */
.about { background: var(--paper-2); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__logo { width: 84px; height: 84px; margin-bottom: 1.25rem; }
.about__right { display: grid; gap: 1.1rem; }
.about__text { color: var(--muted); font-size: 1.15rem; line-height: 1.7; }
.about__text:first-child { color: var(--ink); }
@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* =============================================================
   OUR APPROACH / PILLARS (light)
   ============================================================= */
.pillars { background: var(--paper); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 2.4rem 2rem 2.2rem; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar::before { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 0; background: var(--orange); transition: height .4s var(--ease); }
.pillar:hover::before { height: 100%; }
.pillar:first-child::before { left: 0; }
.pillar__num { font-size: 1.05rem; font-weight: 700; color: var(--orange); letter-spacing: .08em; }
.pillar__title { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: var(--purple); margin: .55rem 0 .5rem; }
.pillar__kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-600); margin-bottom: .7rem; }
.pillar__text { color: var(--muted); font-size: 1rem; }
@media (max-width: 820px) {
  .pillars__grid { grid-template-columns: 1fr; border-top: 0; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .pillar::before { left: 0; top: 0; width: 0; height: 3px; }
  .pillar:hover::before { width: 64px; height: 3px; }
}

/* =============================================================
   OUR SOLUTIONS (deep purple)
   ============================================================= */
.growth { background: var(--purple-deep); color: #fff; }
.growth__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.growth-card { background: var(--purple-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2rem 1.75rem 2.25rem; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.growth-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.growth-card__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--purple-ink); font-weight: 700; font-size: 1.05rem; margin-bottom: 1.1rem; }
/* visual hierarchy: kicker = small orange label, title = large serif */
.growth-card__kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); margin-bottom: .35rem; }
.growth-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; color: #fff; margin-bottom: .7rem; }
.growth-card__text { color: var(--muted-light); font-size: 1rem; }
@media (max-width: 860px) { .growth__grid { grid-template-columns: 1fr; } }

/* =============================================================
   INDUSTRIES (white) — horizontal icon row
   ============================================================= */
.industries { background: var(--paper-2); }
.industries__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.industry { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; padding: 1.75rem .75rem; border-radius: var(--radius); transition: transform .3s var(--ease), background .3s var(--ease); }
.industry:hover { transform: translateY(-6px); background: var(--paper); }
.industry__icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(80,45,125,.08); color: var(--purple); }
.industry:hover .industry__icon { background: var(--orange); color: var(--purple-ink); }
.industry__icon svg { width: 30px; height: 30px; }
.industry__label { font-weight: 700; font-size: 1rem; color: var(--purple); line-height: 1.25; }
@media (max-width: 900px) { .industries__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .industries__row { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   LET'S BUILD (split: big headline left, body right) — brand purple
   ============================================================= */
.cta-band {
  color: var(--purple-ink);
  background: radial-gradient(110% 140% at 12% 15%, #ffb552 0%, var(--orange) 52%, #ef8d10 100%);
  padding-block: clamp(4.5rem, 9vw, 7rem);   /* always breathes, even when not full-height */
}
.cta-band .eyebrow { color: var(--purple-ink); }
.cta-band__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; width: 100%; }
.cta-band__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; margin: 0 0 2rem; color: var(--purple-ink); }
.cta-band__left .btn { align-self: start; }
.cta-band__right { display: flex; align-items: center; }
.cta-band__lead { color: var(--purple-deep); font-size: 1.2rem; line-height: 1.7; }
@media (max-width: 820px) { .cta-band__grid { grid-template-columns: 1fr; gap: 1.75rem; } .cta-band__title { margin-bottom: 1.5rem; } }

/* =============================================================
   FOOTER (deep purple-ink) — clearly separate band
   ============================================================= */
.site-footer { background: var(--purple-ink); color: #fff; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.footer__logo { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer__tagline { color: var(--muted-light); margin: 0 0 1.75rem; max-width: 46ch; }
.footer__socials { display: flex; gap: .75rem; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 700; color: var(--orange); transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.social:hover { background: var(--orange); color: var(--purple-ink); transform: translateY(-2px); }
.footer__heading { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.2rem; }
.footer__links, .footer__contact { display: grid; gap: .7rem; color: var(--muted-light); }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__bottom { padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--muted-light); font-size: .85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* =============================================================
   RESPONSIVE HEADER SWITCH + relax one-screen on small screens
   ============================================================= */
@media (max-width: 940px) {
  .nav, .header__actions { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
}
@media (max-width: 760px), (max-height: 700px) { .section--fit { min-height: 0; } }

/* =============================================================
   SCROLL SLIDE-IN (staggered via --d set in JS)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
