/* ──────────────────────────────────────────────
   Attoforce — make AI work
   Minimal site stylesheet · gray monochrome
   ────────────────────────────────────────────── */

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

:root {
  --ink: #111111;
  --ink-soft: #1A1A1A;
  --graphite: #2A2A2A;
  --stone: #6B6B6B;
  --mist: #CFCFCF;        /* the brand gray — matches the logo variant */
  --fog: #DEDEDE;
  --cloud: #EDEDEC;
  --snow: #F7F7F5;
  --white: #FFFFFF;

  --max: 1120px;
  --pad-x: clamp(24px, 5vw, 72px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

em { font-style: normal; font-weight: 400; color: var(--ink); }
a { color: inherit; text-decoration: none; }

.inline-link {
  border-bottom: 1px solid var(--stone);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.inline-link:hover { border-color: var(--ink); }

/* ── Nav ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  color: var(--ink);
  transition: background 0.25s ease, padding 0.25s ease, color 0.25s ease,
              backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  padding: 14px var(--pad-x);
  border-bottom-color: rgba(17, 17, 17, 0.08);
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 15px;
}
.nav-mark svg { color: currentColor; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: inherit;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Hero ─────────────────────────────────── */
.hero {
  background: var(--mist);             /* brand gray */
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x) 80px;
  position: relative;
  text-align: center;
}
.hero-inner { max-width: 820px; width: 100%; }
.hero-logo {
  width: min(560px, 88vw);
  height: auto;
  margin: 0 auto 48px;
  display: block;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--graphite);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}
.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-ghost {
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.3);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(17, 17, 17, 0.04); }
.btn-solid {
  color: var(--white);
  background: var(--ink);
}
.btn-solid:hover { background: var(--graphite); }
.btn-outline {
  color: var(--ink);
  border-color: var(--ink);
  margin-top: 32px;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--graphite);
  opacity: 0.6;
}
.hero-scroll .rule {
  width: 1px;
  height: 32px;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%      { opacity: 1;   transform: scaleY(1);   }
}

/* ── Sections ─────────────────────────────── */
.section { padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-gray  { background: var(--cloud); }
.section-dark  { background: var(--ink); color: var(--white); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
  font-weight: 500;
}

h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 200;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--ink);
}
h2.display {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.1;
  max-width: 820px;
}
h2.muted { color: var(--stone); }

h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--ink);
}

p {
  font-size: 16px;
  color: var(--graphite);
  line-height: 1.85;
  font-weight: 300;
}
.section-dark p { color: var(--mist); }
.section-dark h3 { color: var(--white); }

.lead {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--stone);
  max-width: 680px;
  margin-bottom: 48px;
}
.section-dark .lead { color: var(--mist); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
}
.two-col p { margin: 0; }

/* ── Vision card (inside Belief) ──────────── */
.vision-card {
  margin-top: 48px;
  padding: 40px 48px;
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 2px;
  display: inline-block;
  min-width: min(520px, 100%);
}
.vision-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 12px;
}
.vision-text {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.5px;
}

/* ── Tenets ───────────────────────────────── */
.tenets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--fog);
  border: 1px solid var(--fog);
  margin-top: 24px;
}
.tenet {
  background: var(--white);
  padding: 44px 36px;
  transition: background 0.25s ease;
}
.tenet:hover { background: var(--snow); }
.tenet-num {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--stone);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
}
.tenet p { font-size: 15px; color: var(--graphite); }

/* Featured tenet spans two columns on wider screens */
.tenet-featured {
  background: var(--ink);
  color: var(--white);
}
.tenet-featured:hover { background: #181818; }
.tenet-featured h3 { color: var(--white); }
.tenet-featured p { color: var(--mist); }
.tenet-aside {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px !important;
  color: var(--stone) !important;
  font-style: normal;
}
.tenet-aside em { color: var(--mist); font-weight: 400; }

@media (min-width: 840px) {
  .tenets-grid { grid-template-columns: repeat(2, 1fr); }
  .tenet-featured { grid-column: span 2; }
}
@media (min-width: 1120px) {
  .tenets-grid { grid-template-columns: repeat(3, 1fr); }
  .tenet-featured { grid-row: span 2; grid-column: 1; }
}

/* ── Team ─────────────────────────────────── */
.bio {
  margin-top: 24px;
  max-width: 760px;
}
.bio p { margin-bottom: 20px; }
.bio-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.2s ease;
}
.bio-link:hover { gap: 14px; }

/* ── Services ─────────────────────────────── */
.services-inner { text-align: left; }

/* ── Contact ──────────────────────────────── */
.contact-inner { text-align: left; max-width: 820px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 200;
  letter-spacing: 1px;
  color: var(--white);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin: 40px 0;
  width: 100%;
  transition: color 0.2s ease;
}
.contact-email svg {
  transition: transform 0.25s ease;
  color: var(--mist);
}
.contact-email:hover svg { transform: translateX(8px); color: var(--white); }

.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.contact-meta a { color: var(--white); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact-meta a:hover { border-color: var(--white); }
.contact-meta span { color: var(--mist); font-size: 15px; }
.meta-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
  font-weight: 500;
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--stone);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px var(--pad-x);
  font-size: 12px;
  letter-spacing: 1px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer a:hover { color: var(--white); }

/* ── Responsive ───────────────────────────── */
@media (max-width: 720px) {
  .nav-links { gap: 16px; font-size: 10px; }
  .nav-mark span { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .contact-email { font-size: 24px; padding: 24px 0; }
  .hero-scroll { display: none; }
  .vision-card { padding: 28px; }
}

/* ── Motion preference ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
