/* Etinger Initiatives - site styles
   One stylesheet, no build step. Tokens first, then layout, then components. */

:root {
  --bg: #d7d7d7;
  --grid: rgba(255, 255, 255, 0.6);
  --card: #ebebeb;
  --ink: #141414;
  --ink-2: #2e2e2e;
  --muted: #5a5a5a;
  --line: #c9c9c9;
  --dark: #141414;
  --dark-2: #1a1a1a;
  --dark-line: #2c2c2c;
  --on-dark: #ffffff;
  --on-dark-2: #bdbdbd;
  --lime: #C8FF00;
  --radius: 24px;
  --radius-s: 16px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1440px;
  --font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:hover { opacity: 0.72; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { left: 16px; z-index: 10; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-bottom: 40px; }
.section--last { padding-bottom: 64px; }

/* Header and nav */
.nav {
  min-height: 96px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { height: 36px; width: 25px; object-fit: contain; }
.brand__word { height: 17px; width: 133px; object-fit: contain; }
.nav__links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(16px, 3vw, 36px); font-size: 15px; font-weight: 500; margin: 0; padding: 0; list-style: none; }
.nav__links a { text-decoration: none; }
.nav__links a[aria-current="page"] { border-bottom: 2px solid var(--lime); padding-bottom: 3px; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); }
.card--dark { background: var(--dark); color: var(--on-dark); }
.card--tight { padding: clamp(20px, 3vw, 32px); }

/* Pills */
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; line-height: 1.2; white-space: nowrap; }
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--grey { background: #e6e6e6; color: var(--ink); }
.pill--outline { background: #ffffff; color: var(--ink); border: 1px solid #cfcfcf; }
.pill--sm { font-size: 12px; padding: 6px 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card--dark .eyebrow { color: var(--lime); }

/* Arrow links and buttons */
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link svg { flex-shrink: 0; }
.btn { font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; min-height: 44px; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--grey { background: var(--card); color: var(--ink); }

/* Hero */
.hero {
  background: var(--dark); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
}
.hero__body { display: flex; flex-direction: column; gap: 28px; max-width: 860px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; }
.hero p { font-size: clamp(17px, 1.5vw, 20px); color: #c9c9c9; max-width: 760px; }
.hero .link { color: var(--lime); font-size: 17px; }
.hero__mark { height: 380px; width: 266px; object-fit: contain; opacity: 0.14; }

/* Page hero for inner pages */
.page-hero { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 56px); max-width: 1120px; }
.page-hero p { font-size: clamp(17px, 1.5vw, 20px); color: #3a3a3a; max-width: 800px; }
.page-hero .pill--lime { align-self: flex-start; }
.back { font-size: 14px; font-weight: 600; color: #4a4a4a; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; }
.meta { display: flex; flex-wrap: wrap; gap: 20px 56px; padding-top: 8px; }
.meta div { display: flex; flex-direction: column; gap: 4px; }
.meta span:last-child { font-size: 16px; font-weight: 500; }

/* Working-with strip */
.strip { min-height: 112px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 40px; }
.strip ul { display: flex; flex-wrap: wrap; gap: 12px 44px; margin: 0; padding: 0; list-style: none; font-size: 18px; font-weight: 700; color: #3a3a3a; letter-spacing: -0.01em; }

/* Section heads */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.head p { font-size: 16px; color: var(--muted); max-width: 520px; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--dark-2); color: var(--on-dark); border: 1px solid var(--lime); border-radius: var(--radius-s); padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.service p { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.icon { width: 44px; height: 44px; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__rail { display: flex; align-items: center; gap: 12px; }
.step__rail span:last-child { flex-grow: 1; height: 2px; background: var(--ink); }
.badge { width: 36px; height: 36px; border-radius: 8px; background: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--ink); flex-shrink: 0; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; line-height: 1.55; color: #4a4a4a; }

/* About */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__text p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.principles { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.principles li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.check { width: 24px; height: 24px; border-radius: 999px; background: var(--lime); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(28px, 3.5vw, 48px) clamp(24px, 4vw, 56px); }
.metric { display: flex; flex-direction: column; gap: 8px; border-left: 2px solid var(--ink); padding-left: 20px; }
.metric strong { font-size: clamp(40px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.metric span { font-size: 15px; line-height: 1.45; color: #4a4a4a; }
.card--dark .metric { border-left-color: var(--lime); }
.card--dark .metric span { color: var(--on-dark-2); }

/* Contact */
.contact { display: flex; justify-content: space-between; align-items: center; gap: 32px 40px; flex-wrap: wrap; }
.contact__text { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.contact__text p { font-size: 17px; line-height: 1.55; color: #4a4a4a; }
.contact__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; text-align: right; }
.contact__email { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; border-bottom: 3px solid var(--lime); padding-bottom: 4px; word-break: break-all; }
.contact__links span, .contact__links a:not(.contact__email) { font-size: 15px; color: var(--muted); text-decoration: none; }

/* Customers grid */
.customers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.customer { background: var(--card); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.customer--featured { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.customer__body { display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.customer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chip { height: 48px; padding: 0 16px; background: var(--dark); color: var(--on-dark); border-radius: 10px; display: inline-flex; align-items: center; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.customer h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 8px; }
.customer--featured h2 { font-size: 32px; line-height: 1.1; }
.customer .eyebrow { letter-spacing: 0.1em; }
.customer p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.customer--featured p { font-size: 16px; }
.customer .link, .customer .soon { margin-top: auto; font-size: 16px; }
.soon { font-size: 14px; font-weight: 500; color: #6b6b6b; }
.customer__stats { background: var(--dark); color: var(--on-dark); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--lime); padding-left: 16px; }
.stat strong { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat span { font-size: 13px; line-height: 1.4; color: var(--on-dark-2); }

/* Testimonial */
.quote { display: flex; gap: 40px; align-items: flex-start; padding: clamp(32px, 4vw, 56px) clamp(24px, 4.5vw, 64px); }
.quote__mark { font-size: 96px; line-height: 0.8; font-weight: 700; color: var(--lime); flex-shrink: 0; }
.quote__body { display: flex; flex-direction: column; gap: 24px; }
.quote__body p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; font-weight: 500; letter-spacing: -0.02em; max-width: 1040px; }
.quote__who { display: flex; flex-direction: column; gap: 4px; }
.quote__who span:first-child { font-size: 16px; font-weight: 600; }
.quote__who span:last-child { font-size: 14px; color: var(--on-dark-2); }

/* Case study */
.cs { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.cs__main { display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3.5vw, 48px); }
.cs__block { display: flex; flex-direction: column; gap: 12px; }
.cs__block h2 { font-size: 26px; letter-spacing: -0.02em; }
.cs__block > p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.cs__items { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.cs__item { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.cs__item div { display: flex; flex-direction: column; gap: 8px; }
.cs__item h3 { font-size: 20px; }
.cs__item p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cs__aside { padding: 36px; display: flex; flex-direction: column; gap: 28px; }
.glance { display: flex; flex-direction: column; }
.glance div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.glance div:last-child { border-bottom: 0; }
.glance strong { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.glance span { font-size: 13px; color: var(--on-dark-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid #3a3a3a; color: #e6e6e6; }
.cs__aside p { font-size: 14px; line-height: 1.55; color: var(--on-dark-2); }
.cs__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 40px; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark); padding: 44px 0 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 40px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand .brand__mark { height: 40px; width: 28px; }
.footer__brand .brand__word { height: 18px; width: 141px; }
.footer__brand span { font-size: 14px; color: #9a9a9a; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: #e6e6e6; }
.footer__links a { text-decoration: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: #8a8a8a; border-top: 1px solid var(--dark-line); padding-top: 16px; margin-top: 28px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero__mark { display: none; }
  .customers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer--featured { grid-column: span 2; }
  .cs { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .customer--featured { grid-template-columns: minmax(0, 1fr); }
  .quote { gap: 20px; }
  .quote__mark { font-size: 64px; }
  .contact__links { align-items: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .customers { grid-template-columns: minmax(0, 1fr); }
  .customer--featured { grid-column: span 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__body { gap: 20px; }
  .nav { min-height: 0; }
  .brand__word { width: 118px; height: 15px; }
  .strip { min-height: 0; padding: 12px 0 32px; }
  .customer { padding: 24px; }
  .cs__aside { padding: 24px; }
}
