/* ==========================================================================
   Springs IT — site styles
   Sections: 1) Design tokens  2) Base  3) Brand lockup  4) Hero
             5) Chips & eyebrow  6) Artwork  7) Footer  8) Responsive
   ========================================================================== */

/* ---- 1) Design tokens --------------------------------------------------- */
:root {
  /* Brand palette (from brand guide) */
  --blue-700: #256287;   /* deep blue — primary */
  --blue-500: #379edd;   /* sky blue — highlight */
  --blue-300: #7fbbe4;
  --blue-200: #bcdcf0;
  --blue-050: #eaf3fa;   /* tint background */
  --red-500:  #e2474c;   /* accent — use sparingly */

  /* Ink & neutrals */
  --ink-900: #15171a;    /* headings */
  --ink-700: #1c1d1f;    /* body */
  --ink-500: #54585e;    /* lede / secondary */
  --ink-400: #80858b;    /* muted */
  --ink-300: #9aa0a6;    /* faint */
  --line:    #eaedf0;    /* hairlines */
  --line-2:  #eef1f3;
  --surface: #ffffff;
  --surface-2: #fafbfc;

  /* Type */
  --font: 'Red Hat Display', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---- 2) Base ------------------------------------------------------------ */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--blue-500); color: #fff; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ---- 3) Brand lockup ---------------------------------------------------- */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Chevron mark — a ">" built from two borders rotated 45deg */
.brand__mark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0 3px;
  border-top: 4.4px solid var(--blue-700);
  border-right: 4.4px solid var(--blue-700);
  transform: rotate(45deg);
}
.brand__mark--sm {
  width: 12px;
  height: 12px;
  margin: 0 2px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.brand__name {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand__name--sm { font-size: 18px; }
.brand__accent { color: var(--blue-700); }

/* ---- 4) Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 4.5vw, 52px) var(--gutter) clamp(40px, 6vw, 72px);
}

.hero .brand { margin-bottom: clamp(44px, 7vw, 84px); }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(31px, 4.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink-900);
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0 0 30px;
  max-width: 520px;
}

/* ---- 5) Eyebrow & chips ------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin: 0 0 22px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-050);
  border: 1px solid #d4e6f4;
  border-radius: 100px;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 7px 13px;
  font-weight: 600;
  font-size: 14px;
  color: #3a4047;
  background: #f4f7f9;
  border: 1px solid #e6ecf0;
  border-radius: 100px;
}
.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue-500);
}

/* ---- 6) Artwork (decorative geometric bento) ---------------------------- */
.art {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art__glow {
  position: absolute;
  inset: -8%;
  filter: blur(10px);
  background:
    radial-gradient(55% 55% at 72% 22%, rgba(55, 158, 221, 0.16), transparent 70%),
    radial-gradient(50% 50% at 24% 86%, rgba(37, 98, 135, 0.13), transparent 70%);
}
.art__grid {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 0.92;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  grid-template-rows: 1fr 1fr 0.86fr;
  gap: 14px;
  animation: floatY 8s ease-in-out infinite;
}

.tile { position: relative; overflow: hidden; border-radius: 16px; }

/* Tall deep-blue feature tile */
.tile--feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: 18px;
  background: linear-gradient(155deg, #2c6f96, #173f57);
  box-shadow: 0 22px 46px rgba(23, 63, 87, 0.30);
}
.tile__ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}
.tile__ring--lg { right: -34px; top: -34px; width: 150px; height: 150px; border-radius: 26px; }
.tile__ring--sm { right: -4px;  top: -4px;  width: 96px;  height: 96px;  border-radius: 18px; border-color: rgba(255, 255, 255, 0.22); }
.tile__chip {
  position: absolute;
  left: 22px; top: 22px;
  width: 15px; height: 15px;
  border-radius: 5px;
  background: var(--red-500);
}
.tile__lines {
  position: absolute;
  left: 22px; bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tile__lines--right {
  position: static;
  margin-left: auto;
  align-items: flex-end;
  gap: 7px;
}
.bar { height: 7px; border-radius: 4px; }
.bar--light { background: rgba(255, 255, 255, 0.88); }
.bar--faint { background: rgba(255, 255, 255, 0.40); }
.bar--w50 { width: 50px; }
.bar--w42 { width: 42px; height: 6px; border-radius: 3px; }
.bar--w32 { width: 32px; }
.bar--w26 { width: 26px; height: 6px; border-radius: 3px; }

/* Concentric rings tile */
.tile--rings {
  grid-column: 2; grid-row: 1;
  background: var(--blue-050);
  border: 1px solid #d9e8f3;
}
.ring {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.ring--80 { width: 80px; height: 80px; border: 2px solid var(--blue-200); }
.ring--48 { width: 48px; height: 48px; border: 2px solid var(--blue-300); }
.ring--dot { width: 16px; height: 16px; background: var(--blue-500); }

/* Mini vertical-bars tile */
.tile--bars {
  grid-column: 2; grid-row: 2;
  background: #fff;
  border: 1px solid #e9edf0;
  box-shadow: 0 10px 26px rgba(20, 30, 40, 0.06);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 18px;
}
.vbar { flex: 1; border-radius: 4px; }

/* Red accent tile */
.tile--accent {
  grid-column: 1; grid-row: 3;
  background: linear-gradient(150deg, #e85a5e, #d63b40);
  box-shadow: 0 16px 32px rgba(214, 59, 64, 0.26);
  display: flex;
  align-items: center;
  padding: 18px;
}
.tile__square {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 2.5px solid rgba(255, 255, 255, 0.92);
}

/* Dot-grid tile */
.tile--dots {
  grid-column: 2; grid-row: 3;
  background-color: #fff;
  border: 1px solid #e9edf0;
  background-image: radial-gradient(#cdd9e4 1.5px, transparent 1.6px);
  background-size: 15px 15px;
  background-position: 11px 11px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---- 7) Footer ---------------------------------------------------------- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) var(--gutter);
}
.footer__brand { max-width: 300px; }
.footer__brand .brand { margin-bottom: 14px; gap: 11px; }
.footer__tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-400);
}
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}
.footer__copyright {
  font-size: 13px;
  color: var(--ink-300);
}

/* ---- 8) Responsive ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .art__grid { animation: none; }
}
