/* ============================================================
   STYRE TECHNOLOGIES — Site Stylesheet
   Design system derived directly from the brand mark: the logo's
   blue-to-green gradient drives brand-blue / brand-green, and the
   wordmark navy drives --brand-navy. Two colors, not three —
   Salesforce work lives in blue, SAP work lives in green, and the
   agent layer is rendered as the literal blue-to-green blend.
   ============================================================ */

:root {
  --ink: #11202E;
  --ink-soft: #1B2735;
  --paper: #EFF3F2;
  --white: #FFFFFF;
  --brand-navy: #2E455D;
  --brand-cyan: #2FC0EF;
  --teal: #15749A;
  --teal-deep: #0F5876;
  --teal-tint: #DCEFF6;
  --indigo: #1B7E63;
  --indigo-tint: #DCEFE7;
  --amber: #2FAEDD;
  --amber-deep: #15749A;
  --amber-tint: #DCEFF6;
  --brand-green-bright: #4CC8A8;
  --slate: #5B6B72;
  --line: #D7DEDC;

  --font-display: "Space Grotesk", "Arial", sans-serif;
  --font-body: "IBM Plex Sans", "Arial", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1180px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 243, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--brand-navy);
}
.logo .dot { color: var(--amber); }
.logo small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--brand-cyan);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a.active { color: var(--teal-deep); }
.nav-links a:not(.btn):hover { color: var(--teal-deep); }
.nav-links .btn {
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  color: var(--ink);
}
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links-wrap { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 6px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
  .nav-links-wrap.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 32px; gap: 18px;
  }
  .nav-links-wrap.open .nav-links {
    flex-direction: column; align-items: flex-start; gap: 16px; width: 100%;
  }
  .nav-links-wrap.open .btn-primary { margin-top: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.07;
  font-weight: 700;
  max-width: 620px;
}
.hero .lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
}
.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}

/* ---------- Diagram (signature element) ---------- */
.diagram-wrap { width: 100%; }
.diagram-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.03em;
}
.trace { fill: none; stroke: var(--line); stroke-width: 2; }
.trace-active { fill: none; stroke: var(--teal); stroke-width: 2; opacity: 0.55; }
.node-rect { rx: 10; }
.node-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
}
.node-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.8;
}
.pulse1 {
  offset-path: path("M170,123 L220,123");
  animation: travel 2.6s linear infinite;
}
.pulse2 {
  offset-path: path("M380,123 L430,123");
  animation: travel 2.6s linear infinite;
  animation-delay: 1.3s;
}
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse1, .pulse2 { animation: none; opacity: 0; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.badge .swatch { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: 34px; font-weight: 700; line-height: 1.15; }
.section-head .lede { margin-top: 14px; font-size: 16.5px; color: var(--ink-soft); }

.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }
.bg-ink .section-head .lede { color: #B9C3CC; }
.bg-white { background: var(--white); }

/* 3-col reasons */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason-card .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.reason-card h4 { font-size: 19px; margin-top: 10px; font-weight: 600; }
.reason-card p { margin-top: 10px; color: #C7D0D6; font-size: 15px; }

@media (max-width: 880px) {
  .reasons-grid { grid-template-columns: 1fr; }
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(11,18,32,0.35); }
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}
.service-card h3 { font-size: 21px; margin-top: 10px; font-weight: 600; }
.service-card p { margin-top: 10px; color: var(--slate); font-size: 15px; }
.service-card .more {
  margin-top: 16px;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal-deep);
  font-weight: 500;
}

@media (max-width: 880px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* Proof / case study cards */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.proof-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.proof-card .proof-top {
  padding: 26px 28px 22px;
}
.proof-card .client {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
}
.proof-card h3 { margin-top: 8px; font-size: 21px; font-weight: 600; }
.proof-card p.desc { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px 24px; }
.stack-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Industries chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
}

/* Leadership preview / full */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
}
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
}
.avatar.teal-bg { background: var(--teal); }
.avatar.indigo-bg { background: var(--indigo); }
.person-card h3 { font-size: 19px; font-weight: 600; }
.person-card .role { font-size: 14px; color: var(--slate); margin-top: 4px; }
.person-card .cert {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-deep);
}
.person-card .cert::before { content: "✓"; }
.person-card p.bio { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }

@media (max-width: 880px) {
  .people-grid { grid-template-columns: 1fr; }
}

/* Platform cards (services page) */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.platform-card {
  border-radius: 14px;
  padding: 32px;
  color: var(--white);
}
.platform-card.sf { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%); }
.platform-card.sap { background: linear-gradient(160deg, var(--indigo) 0%, #103D32 100%); }
.platform-card .ptag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.85;
}
.platform-card h3 { color: var(--white); font-size: 24px; margin-top: 10px; }
.platform-card p { margin-top: 12px; opacity: 0.92; font-size: 15px; }

@media (max-width: 880px) {
  .platform-grid { grid-template-columns: 1fr; }
}

/* Detailed service block */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: none; }
.service-block .sb-head .index {
  font-family: var(--font-mono); font-size: 13px; color: var(--slate);
}
.service-block .sb-head h3 { font-size: 26px; margin-top: 10px; font-weight: 700; }
.service-block .sb-head p { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }
.example-list { list-style: none; margin: 0; padding: 0; }
.example-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}
.example-list li:first-child { border-top: none; }
.example-list .ex-tag {
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--amber-deep); display: block; margin-bottom: 6px;
}

@media (max-width: 880px) {
  .service-block { grid-template-columns: 1fr; gap: 18px; }
}

/* Skillset strip */
.skill-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

/* Timeline (About) */
.timeline { border-left: 2px solid var(--line); margin-left: 6px; }
.timeline-item { position: relative; padding: 0 0 40px 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--paper);
}
.timeline-item .year {
  font-family: var(--font-mono); font-size: 13px; color: var(--teal-deep); font-weight: 600;
}
.timeline-item h4 { font-size: 18px; margin-top: 8px; font-weight: 600; }
.timeline-item p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; max-width: 560px; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.value-card h4 { font-size: 17px; font-weight: 600; }
.value-card p { margin-top: 10px; font-size: 14px; color: var(--slate); }

@media (max-width: 880px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: 18px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 28px; max-width: 480px; }
.cta-band p { color: #B9C3CC; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: #B9C3CC; padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid .logo { color: var(--white); }
.footer-grid p.blurb { margin-top: 14px; max-width: 320px; font-size: 14px; color: #9AA7AF; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #7E8E96; font-weight: 500; margin-bottom: 14px;
}
.footer-col a, .footer-col p { display: block; font-size: 14.5px; margin-bottom: 10px; color: #D7DEDC; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 13px; color: #7E8E96; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}

/* Page header (Services / About) */
.page-header { padding: 64px 0 24px; }
.page-header h1 { font-size: 42px; font-weight: 700; max-width: 700px; }
.page-header .lede { margin-top: 18px; font-size: 17px; color: var(--ink-soft); max-width: 620px; }

@media (max-width: 600px) {
  .page-header h1 { font-size: 32px; }
  section { padding: 56px 0; }
  .cards-grid, .proof-grid, .people-grid, .platform-grid { gap: 18px; }
}
