/* ==========================================================
   Connectikka — site styles
   Color schemes are swapped via [data-scheme] on <html>.
   ========================================================== */

:root,
[data-scheme="brand"] {
  --primary: #151515;
  --primary-2: #2b2b2b;
  --accent: #c94a45;
  --accent-hover: #d65f5a;
  --accent-light: #ef8a85;
  --accent-ink: #ffffff;
  --tint: #fbecea;
  --bg: #ffffff;
  --surface: #f6f5f4;
  --text: #1a1a1a;
  --muted: #5f5f5f;
  --line: #e7e3e1;
}

[data-scheme="navy"] {
  --primary: #0b2545;
  --primary-2: #13315c;
  --accent: #1d6fd1;
  --accent-hover: #2f80e4;
  --accent-light: #6ea8f0;
  --accent-ink: #ffffff;
  --tint: #e8f1fc;
  --bg: #ffffff;
  --surface: #f4f7fb;
  --text: #102036;
  --muted: #56657a;
  --line: #e1e7ef;
}

[data-scheme="oxford"] {
  --primary: #14213d;
  --primary-2: #22325a;
  --accent: #b8923a;
  --accent-hover: #c9a44f;
  --accent-light: #d4b265;
  --accent-ink: #14213d;
  --tint: #f7f1e3;
  --bg: #ffffff;
  --surface: #f7f6f2;
  --text: #17203a;
  --muted: #5c6378;
  --line: #e6e3da;
}

[data-scheme="charcoal"] {
  --primary: #1f2933;
  --primary-2: #323f4b;
  --accent: #0f7c80;
  --accent-hover: #13969b;
  --accent-light: #4fc1c4;
  --accent-ink: #ffffff;
  --tint: #e3f2f2;
  --bg: #ffffff;
  --surface: #f4f6f7;
  --text: #1a232c;
  --muted: #5b6671;
  --line: #e1e6e9;
}

[data-scheme="evergreen"] {
  --primary: #173a2e;
  --primary-2: #22533f;
  --accent: #2f855a;
  --accent-hover: #38a169;
  --accent-light: #6fcf97;
  --accent-ink: #ffffff;
  --tint: #e7f4ec;
  --bg: #ffffff;
  --surface: #f4f7f5;
  --text: #16261f;
  --muted: #5a6b63;
  --line: #e0e8e3;
}

[data-scheme="slate"] {
  --primary: #2d3748;
  --primary-2: #3f4b5f;
  --accent: #8b2635;
  --accent-hover: #a33243;
  --accent-light: #e58a97;
  --accent-ink: #ffffff;
  --tint: #f6e9eb;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1f2633;
  --muted: #5d6675;
  --line: #e3e6eb;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}

h1, h2, h3, h4 {
  font-family: "Outfit", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { margin: 0 0 1em; }
a  { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.75); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background-color .2s, border-color .2s, color .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { text-decoration: none; color: #fff; }
.topbar span + span { margin-left: 1.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--surface); }
.nav a.active { color: var(--accent); }
.nav .btn { margin-left: 10px; padding: 10px 22px; color: var(--accent-ink); }
.nav .btn:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 150px 0 150px;
  background: var(--primary) center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      color-mix(in srgb, var(--primary) 96%, transparent) 0%,
      color-mix(in srgb, var(--primary) 82%, transparent) 45%,
      color-mix(in srgb, var(--primary) 25%, transparent) 100%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.page-hero { padding: 110px 0 100px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); }

.breadcrumb {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-img { position: relative; }
.split-img img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
}
.split-img::after {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 3px solid var(--accent);
  border-radius: 24px;
  z-index: -1;
}
.split-img .badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--bg);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .35);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}
.badge .icon-circle { flex: none; }
.badge strong { display: block; color: var(--primary); font-family: "Outfit", sans-serif; font-size: 1.15rem; }
.badge small { color: var(--muted); line-height: 1.3; display: block; }

.check-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -24px rgba(15, 23, 42, .3);
  border-color: transparent;
}
.card p { color: var(--muted); margin: 0; }

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--accent);
  margin-bottom: 20px;
}
.icon-circle svg { width: 28px; height: 28px; }
.badge .icon-circle { margin: 0; width: 48px; height: 48px; }

/* Industry image cards */
.industry-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-decoration: none;
  background: var(--primary);
}
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--primary) 70%, transparent) 55%, color-mix(in srgb, var(--primary) 96%, transparent) 100%);
}
.industry-card:hover img { transform: scale(1.06); }
.industry-card .body { position: relative; z-index: 1; padding: 28px; }
.industry-card h3 { color: #fff; margin-bottom: 4px; }
.industry-card p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }
.industry-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
  font-size: .95rem;
}

/* Detailed industry rows (Industries page) */
.industry-row { padding: 80px 0; }
.industry-row + .industry-row { border-top: 1px solid var(--line); }
.role-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.role-tags span {
  background: var(--tint);
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .9rem;
  font-weight: 500;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.section-dark .step p { color: rgba(255,255,255,.72); }

/* ---------- Dual CTA ---------- */
.cta-wide { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-wide p { margin-bottom: 0; }
.cta-panel {
  position: relative;
  border-radius: 24px;
  padding: 56px 48px;
  overflow: hidden;
  color: #fff;
  background: var(--primary);
}
.cta-panel.alt { background: var(--accent); color: var(--accent-ink); }
.cta-panel.alt h3 { color: var(--accent-ink); }
.cta-panel.alt .btn { background: var(--primary); color: #fff; }
.cta-panel h3 { color: #fff; font-size: 1.9rem; }
.cta-panel p { opacity: .85; max-width: 420px; }
.cta-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.08);
}

/* ---------- Location band ---------- */
.location-band {
  position: relative;
  color: #fff;
  background: var(--primary) center / cover no-repeat;
}
.location-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary) 85%, transparent);
}
.location-band .container { position: relative; }
.location-band h2 { color: #fff; }
.location-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.location-info div {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.location-info h4 { color: #fff; margin-bottom: 6px; font-size: 1.05rem; }
.location-info p { margin: 0; color: rgba(255,255,255,.8); }

/* ---------- Values / timeline (About) ---------- */
.timeline { position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding-left: 64px; margin-bottom: 40px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--tint);
}
.tl-item .year { font-weight: 700; color: var(--accent); font-family: "Outfit", sans-serif; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- Pull quote (About) ---------- */
.pull-quote { padding: 72px 0; background: var(--tint); text-align: center; }
.pull-quote p {
  margin: 0 auto;
  max-width: 820px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--primary);
}
.pull-quote em { font-style: normal; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--primary); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--tint);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success .icon-circle { margin: 0 auto 20px; width: 72px; height: 72px; border-radius: 50%; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

.contact-aside .info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-aside .info-item .icon-circle { margin: 0; flex: none; width: 50px; height: 50px; }
.contact-aside h4 { margin-bottom: 2px; font-size: 1.05rem; }
.contact-aside p { margin: 0; color: var(--muted); }
.contact-aside a { text-decoration: none; }
.contact-aside a:hover { color: var(--accent); }
.contact-aside img { border-radius: 20px; margin-top: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.map-embed { border: 0; width: 100%; height: 420px; display: block; filter: grayscale(.3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: rgba(255,255,255,.72); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer .logo { margin-bottom: 18px; }
.site-footer .logo img { height: 64px; }
.footer-slogan { color: #fff; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1.05rem; margin-bottom: .6em; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
}
.socials a:hover { background: var(--accent); color: var(--accent-ink); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .9rem;
}

/* ---------- Color scheme picker ---------- */
.scheme-picker {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  font-family: "Inter", sans-serif;
}
.scheme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font: 600 .9rem "Inter", sans-serif;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
}
.scheme-toggle svg { width: 18px; height: 18px; }
.scheme-panel {
  position: absolute;
  right: 0;
  bottom: 60px;
  width: 280px;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.4);
  display: none;
}
.scheme-picker.open .scheme-panel { display: block; }
.scheme-panel h5 { margin: 0 0 4px; font-size: .95rem; font-family: "Outfit", sans-serif; }
.scheme-panel > p { margin: 0 0 14px; font-size: .8rem; color: #666; line-height: 1.4; }
.scheme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 2px solid transparent;
  background: #f5f5f7;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font: 500 .9rem "Inter", sans-serif;
  color: #111;
  text-align: left;
}
.scheme-option:hover { background: #ececf0; }
.scheme-option.active { border-color: #111; background: #fff; }
.swatches { display: flex; flex: none; }
.swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: block;
}
.swatches i + i { margin-left: -7px; }
.scheme-option small { display: block; color: #777; font-size: .75rem; }

/* ---------- Accent on dark backgrounds ---------- */
.hero h1 em,
.hero .eyebrow,
.section-dark .eyebrow,
.location-band .eyebrow,
.industry-card .more,
.section-dark .step::before,
.site-footer a:hover,
.breadcrumb a:hover { color: var(--accent-light); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 48px; }
}

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-img::after { display: none; }
  .split-img .badge { left: 16px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .location-info { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 100px 0 130px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .cta-panel { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Designer credit ---------- */
.footer-bottom .credit a { color: #fff; font-weight: 600; }
.footer-bottom .credit a:hover { color: var(--accent-light); }
