/* Coloptics — site styles
   Plain CSS, no build step, no dependencies. */

:root {
  --purple:     #4d148c;
  --purple-dp:  #37096a;
  --purple-lt:  #6b2fae;
  --orange:     #ff6600;
  --orange-dp:  #e05500;

  --ink:        #241a2e;
  --body:       #574d5f;
  --mute:       #857a8c;

  --cream:      #fdfaf5;
  --warm:       #f7f0e6;
  --rule:       #e9ded0;

  --maxw:       1080px;
  --shadow:     0 1px 2px rgba(36,26,46,.04), 0 8px 24px rgba(36,26,46,.06);
  --shadow-lift:0 2px 4px rgba(36,26,46,.06), 0 16px 40px rgba(77,20,140,.13);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 680;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.05rem); }
h3 { font-size: 1.1rem; font-weight: 660; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
a { color: var(--purple); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-dp); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Anchor targets must clear the sticky header (83px) when jumped to */
section[id], [id="apply"], [id="top"] { scroll-margin-top: 100px; }

/* ── Header ─────────────────────────────────────────────── */

.site-head {
  background: rgba(253,250,245,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 24px; max-width: var(--maxw); margin: 0 auto;
  flex-wrap: wrap;
}
.brand {
  font-size: 1.3rem; font-weight: 750; color: var(--purple);
  letter-spacing: -.03em;
}
.brand:hover { color: var(--purple); }
.brand span { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 26px; font-size: .94rem; }
.site-nav a { color: var(--body); font-weight: 520; }
.site-nav a:hover { color: var(--purple); }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 640;
  font-size: .97rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,102,0,.3);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover {
  background: var(--orange-dp);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,102,0,.4);
}
.btn--ghost {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--purple); color: #fff;
  box-shadow: 0 8px 22px rgba(77,20,140,.28);
}
.btn--onpurple {
  background: var(--orange); color: #fff;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 92px 0 84px;
  background:
    radial-gradient(1100px 420px at 12% -8%, rgba(77,20,140,.09), transparent 60%),
    radial-gradient(760px 380px at 92% 8%, rgba(255,102,0,.11), transparent 62%),
    var(--cream);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero h1 { max-width: 17ch; }
.hero p.lede {
  font-size: 1.19rem; color: var(--body);
  max-width: 60ch; margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .73rem; font-weight: 700; color: var(--purple);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--orange);
}

/* ── Sections ───────────────────────────────────────────── */

section { padding: 76px 0; }
section.warm {
  background: var(--warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
section.deep {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dp) 100%);
  color: rgba(255,255,255,.86);
}
section.deep h2, section.deep h3 { color: #fff; }
section.deep a { color: #fff; }

.section-intro { max-width: 64ch; margin-bottom: 46px; }
.section-intro p:last-child { margin-bottom: 0; }

h2 { position: relative; }
.section-intro h2::after {
  content: ""; display: block; width: 46px; height: 3px;
  border-radius: 2px; background: var(--orange);
  margin-top: 16px;
}

/* ── Cards ──────────────────────────────────────────────── */

.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .96rem; margin-bottom: 0; }

.card__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(140deg, var(--purple) 0%, var(--purple-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.05rem;
  margin-bottom: 16px;
}
.card--perk .card__mark {
  background: linear-gradient(140deg, var(--orange) 0%, #ff9142 100%);
}

/* Perk cards on the deep section */
section.deep .card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
  color: rgba(255,255,255,.84);
}
section.deep .card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

/* ── Company blocks (per legal entity) ──────────────────── */

.company {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px 30px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.company::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--orange) 100%);
}
.company:last-child { margin-bottom: 0; }
.company h3 { font-size: 1.3rem; margin-bottom: .28em; color: var(--purple); }
.company .role {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--mute); font-weight: 660; margin-bottom: 16px;
}

.facts {
  margin: 20px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  display: grid; gap: 12px 30px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  font-size: .93rem;
}
.facts div { display: flex; flex-direction: column; }
.facts .k {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--mute); font-weight: 680; margin-bottom: 3px;
}
.facts .v { color: var(--ink); }

/* Placeholder marker — must stay visually obvious until replaced */
.todo {
  background: #fff3cd;
  border-bottom: 1px dashed #b8860b;
  color: #6b5200;
  padding: 0 3px;
  font-style: normal;
}

/* ── Apply / careers ────────────────────────────────────── */

.apply-box {
  margin-top: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.apply-box h3 { margin-bottom: .3em; }
.apply-box p { margin-bottom: 0; font-size: .97rem; }

/* ── Contact ────────────────────────────────────────────── */

.contact-line { font-size: 1.04rem; margin-bottom: .4em; }

/* ── Footer ─────────────────────────────────────────────── */

.site-foot {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding: 44px 0 48px;
  font-size: .9rem;
}
.site-foot a { color: rgba(255,255,255,.82); }
.site-foot a:hover { color: var(--orange); }
.site-foot__row {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.site-foot__links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 54px; }
  section { padding: 52px 0; }
  .site-head__inner { padding: 14px 20px; gap: 14px; }
  .site-nav { gap: 16px; font-size: .88rem; }
  .wrap { padding: 0 20px; }
  .company { padding: 26px 22px; }
  .apply-box { padding: 24px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
