/* ============================================================
   COBBLR / SIFT — Global Stylesheet
   Brand: white on charcoal, arial/sans-serif, caps headers
   Mobile-first responsive
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 14px; } /* clamp atttributes set a minimum rem (multiple) of this, a view width scaling percentage vw, and a max rem */

body {
  font-family: arial, sans-serif;
  background: #f5f5f5;
  color: #424242;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --white:    #ffffff;
  --gray:     #777777;
  --charcoal: #424242;
  --off-bg:   #f5f5f5;
  --border:   #e0e0e0;

  /* Secondary palette */
  --purple:      #660099;
  --red-grape:   #cc6666;
  --green-forest:#669966;
  --orange-earth:#ff9900;
  --blue-sky:    #6699ff;
  --red-pink:    #ff9999;
  --green-earth: #999933;
  --orange-sand: #ffcc33;
  --blue-royal:  #0066cc;
  --red-magenta: #ff66cc;
  --green-vomit: #cccc00;
  --orange-yellow:#ffff66;
  --blue-navy:   #003399;
  --red-candy:   #cc3333;
  --green-aqua:  #66cc99;
  --purple-grape:#666699;
  --red-orange:  #ff6600;
  --green-frog:  #66cc33;
  --blue-baby:   #ccccff;
  --red-wine:    #993333;
  --blue-violet: #6666cc;

  --nav-h: 56px;
  --max-w: 960px;
  --section-pad: 80px 24px;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

h1 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
h2 { font-size: clamp(1.1rem, 3vw, 1.4rem); color: var(--gray); margin-bottom: 2rem; } /* clamp(0.85rem, 2vw, 1rem); */
h3 { font-size: clamp(0.8rem, 1.8vw, 0.9rem); color: var(--gray); }

p { margin-bottom: 1.2em; max-width: 680px; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-royal); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { padding-left: 1.4em; }
ul li { margin-bottom: 0.6em; }

blockquote {
  border-left: 3px solid var(--orange-earth);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  color: var(--gray);
  font-style: italic;
  font-size: 0.95rem;
  max-width: 640px;
}

/* ── Layout Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* ── Horizontal Nav (index.html) ──────────────────────────── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--charcoal);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links li a {
  display: block;
  padding: 6px 12px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover { opacity: 1; text-decoration: none; }

/* ── Hamburger Nav (systems.html, about.html) ─────────────── */
.nav-hamburger {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--charcoal);
  border: none;
  cursor: pointer;
  margin: 8px;
  border-radius: 2px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 240px;
  height: 100vh;
  background: var(--charcoal);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 72px 0 24px;
  z-index: 999;
}

.hamburger-menu.open { transform: translateX(0); }

.hamburger-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hamburger-menu ul li a {
  display: block;
  padding: 14px 28px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: opacity 0.2s;
}

.hamburger-menu ul li a:hover { opacity: 1; background: rgba(255,255,255,0.05); }

/* ── Hero / Home Section ──────────────────────────────────── */
.section-home {
  min-height: 100vh;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.home-inner {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.home-tagline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1rem;
}

/*.home-tagline em {*/
em {
  font-style: normal;
  font-weight: bold;
  color: var(--orange-earth);
}

.home-sub {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.home-mission-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-earth);
  margin-bottom: 0.75rem;
}

.home-mission {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Worldview Section ────────────────────────────────────── */
.section-worldview {
  background: var(--white);
  color: var(--charcoal);
  padding: var(--section-pad);
  padding-top: calc(var(--nav-h) + 60px);
}

.section-worldview .container p {
  color: var(--charcoal);
}

/* ── Change Section ───────────────────────────────────────── */
.section-change {
  background: var(--off-bg);
  color: var(--charcoal);
  padding: var(--section-pad);
  padding-top: calc(var(--nav-h) + 60px);
}

.methodology-img {
  display: block;
  width: 100%;
  max-width: 60%;
  max-height: 40vh;
  object-fit: contain;
  margin: 2.5rem 0;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.5rem 0;
}

.bullet-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange-earth);
  font-weight: 700;
}

/* ── Join Section ─────────────────────────────────────────── */
.section-join {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--section-pad);
  padding-top: calc(var(--nav-h) + 60px);
}

.section-join h2 { color: rgba(255,255,255,0.5); }
.section-join p { color: rgba(255,255,255,0.8); }

.section-join .bullet-list li { color: rgba(255,255,255,0.8); }
.section-join .bullet-list li::before { color: var(--orange-earth); }

.coming-soon {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange-earth);
  color: var(--charcoal);
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.calendly-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.calendly-link:hover {
  border-color: var(--orange-earth);
  background: rgba(255,153,0,0.1);
  text-decoration: none;
}

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-earth);
  margin-bottom: 1rem;
  display: block;
}

/* ── Page hero (systems, about) ───────────────────────────── */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 100px 24px 60px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 560px;
}

/* ── Systems page ─────────────────────────────────────────── */
.systems-content {
  background: var(--white);
  padding: var(--section-pad);
}

.systemmap-img {
  display: block;
  float: right;
  width: 40%;
  max-height: 60vh;
  object-fit: contain;
  margin: 0 0 2rem 2.5rem;
}

.systems-content::after { content: ''; display: table; clear: both; }

/* ── About page ───────────────────────────────────────────── */
.about-content {
  background: var(--white);
  padding: var(--section-pad);
}

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-bio h3 {
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.about-bio .role {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-earth);
  margin-bottom: 1.5rem;
  display: block;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-logos a {
  display: block;
  flex-shrink: 0;
}

.partner-logos img {
  height: 36px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
}

.partner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 60px 20px; }

  .nav-links li a { padding: 6px 8px; font-size: 0.6rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 200px; }

  .systemmap-img {
    float: none;
    width: 100%;
    max-height: none;
    margin: 0 0 2rem 0;
  }

  .methodology-img { max-width: 100%; max-height: none; }

  blockquote { padding: 0.75rem 1rem; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
  /* On index.html at small screens, hamburger is preferred — 
     but we keep both and let JS toggle if needed. */
}

/* ── Utility ──────────────────────────────────────────────── */
.text-orange { color: var(--orange-earth); }
.text-blue   { color: var(--blue-royal); }
.text-gray   { color: var(--gray); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
