body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #ccc, #fff);

  /* change from centered to top-aligned */
  display: flex;
  justify-content: center;
  align-items: flex-start;

  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 980px;
  margin-top: 18px;
  text-align: center;
  padding-top: 0;
  padding-left: 18px;
  padding-right: 18px;
}


.header {
  text-align: left;
  margin-top: 18px;
  padding-top: 0;
}







h1 {
  font-size: 2em;
  font-weight: 800;
  color: #000;
  line-height: 1.15;
  margin: 6px 0 10px;
}



.logo img {
  width: 360px;        /* slightly smaller */
  height: auto;
  margin: 0 0 8px 0;   /* remove vertical fluff */
  display: block;
}





.black {
  color: black;
}

.red {
  color: red;
}

.subtitle {
  font-size: 1.2em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
}

.notice p {
  margin: 0.5em 0;
  color: #000;
}
.links {
  margin-top: 18px;
  margin-bottom: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap; /* helps on narrow screens */
}


.btn {
  width: 180px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #777777;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1em;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* HERO BUTTON FIX */
.hero .btn{
  width: auto;
  height: 54px;
  min-width: 140px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;

  background: transparent;
  color: #fff;
  border: 1px solid transparent;
}

.hero .btn-primary{
  background: #d62828;
  color: #fff;
}

.hero .btn-ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}


.btn:hover {
  color: red;
}
.intro {
  max-width: 720px;        /* was 640px */
  margin: 10px auto;
  font-size: 1.08em;
  line-height: 1.55;
  color: #111;

  text-wrap: pretty;       /* helps prevent orphans where supported */
}


.principles {
  margin: 28px auto;
  max-width: 800px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;

  font-weight: 700;
  letter-spacing: 0.4px;
}

.principles div {
  background: rgba(255,255,255,0.55);
  padding: 10px 14px;
  border-radius: 6px;
}



.footer {
  margin-top: 40px;
  font-size: 0.95em;
  color: #222;
}
/* ---------- Interior pages ---------- */

.page {
  padding-top: 22px;
}

.logo-small img {
  width: 260px;   /* interior pages */
  margin: 0 0 8px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 26px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: #111;
  padding: 6px 10px;
  border-radius: 6px;
}

.nav a:hover {
  background: rgba(255,255,255,0.45);
}

.nav a.active {
  background: rgba(255,255,255,0.65);
}

.content {
  max-width: 860px;
  margin: 0 auto;
}

.content h2 {
  max-width: 820px;
  margin: 28px auto 12px;
  font-size: 1.25em;
  color: #111;
}


.bullets {
  max-width: 760px;
  margin: 10px auto 18px;
  text-align: left;
  line-height: 1.55;
}

.bullets li {
  margin: 8px 0;
}

@media (max-width: 600px) {
  .logo-small img {
    width: 210px;
  }
  .content {
    padding: 0 6px;
  }
}

/* Footer logo */
.footer {
  margin-top: 24px;
  text-align: center;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-top: 10px;
}
.container .nav {
  margin-top: 6px;
  margin-bottom: 18px;
}
/* Writing page */
.reading-list {
  max-width: 820px;
  margin: 12px auto 22px;
  display: grid;
  gap: 12px;
}

.reading-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;

  text-decoration: none;
  color: #111;

  background: rgba(255,255,255,0.22);   /* less blinding */
  border: 1px solid rgba(0,0,0,0.06);   /* subtle edge */
  border-radius: 12px;
  padding: 14px 16px;

  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}



.reading-item:hover {
  background: rgba(255,255,255,0.30);
  border-color: rgba(0,0,0,0.10);
}


.reading-title {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.15;
}

.reading-note {
  display: block;
  font-size: 0.98em;
  line-height: 1.35;
  color: rgba(0,0,0,0.75);
}

.reading-thumb {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}


.reading-text {
  display: flex;
  flex-direction: column;
}


/* === Hero banner (homepage) === */
.hero{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;

  display: flex;
  padding: 28px;

  background-image: url("images/hero1a.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,12,18,.78) 0%,
    rgba(10,12,18,.50) 55%,
    rgba(10,12,18,.10) 100%
  );
}

.hero-content{
  position: relative;
  max-width: 680px;
  color: #fff;

  display: flex;
  flex-direction: column;
  flex: 1;              /* THIS makes the column fill the hero */
}

.hero-title{
  margin: 0 0 10px 0;
  font-size: 40px;
  line-height: 1.05;
  color: #fff;
}

.hero-subtitle{
  margin: 0 0 14px 0;
  font-size: 18px;
  color: rgba(255,255,255,.88);
}

.hero-actions{
  margin-top: auto;     /* pushes buttons to bottom */
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.split {
  max-width: 980px;
  margin: 42px auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.split:first-of-type {
  margin-top: 56px;
}


.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-reverse .split-text { order: 2; }
.split-reverse .split-media { order: 1; }

.split-text {
  text-align: left;
}

.split-text h2 {
  margin: 0 0 10px 0;
}

.split-text p {
  margin: 0;
  color: #444;
  line-height: 1.6;
  font-size: 18px;
}

.split-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

@media (max-width: 760px) {
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-text,
  .split-reverse .split-media {
    order: initial;
  }

  .split-text {
    text-align: center;
  }
}



.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 40px auto;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: #555;
}
.cta-block {
  text-align: center;
  margin: 34px auto 50px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cta {
  display: inline-flex;
  width: 260px;        /* makes both buttons identical */
  height: 56px;        /* optional but looks cleaner */
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  text-decoration: none;
}

.cta.ghost {
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.12);
  color: #222;
}
.cta.ghost:hover {
  background: rgba(0,0,0,0.09);
  border-color: rgba(0,0,0,0.16);
}


.evolving {
  margin: 0;
  color: #333;
}

.about-hero {
  max-width: 1100px;
  margin: 30px auto;
  border-radius: 16px;
  overflow: hidden;
}

.about-hero img {
  width: 100%;
  display: block;
}

.founder-image {
  max-width: 420px;
  margin: 24px auto;
  border-radius: 14px;
  overflow: hidden;
}

.founder-image img {
  width: 100%;
  display: block;
}
.founder-intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px; 
}

.founder-headshot {
  width: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.founder-headshot img {
  width: 100%;
  display: block;
}

.founder-text {
  flex: 1;
}
.writing-hero {
  max-width: 1100px;
  margin: 30px auto 20px auto;
  border-radius: 12px;
  overflow: hidden;
}

.writing-hero img {
  width: 100%;
  display: block;
}
/* Opportunities hero (separate from index hero) */
.page-hero{
  max-width: 1100px;
  margin: 22px auto 18px;
  border-radius: 16px;   /* match your index rounding vibe */
  overflow: hidden;
}

.page-hero img{
  width: 100%;
  display: block;
}
/* Opportunities page layout */
.opportunities .content{
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

/* Optional: make the top heading feel like your other pages */
.opportunities h1{
  margin-top: 14px;
  margin-bottom: 6px;
}

.opportunities .subtitle{
  margin: 0 0 18px;
  color: rgba(0,0,0,0.70);
  font-style: italic;
}

/* Bullet list cleanup */
.opportunities .bullets{
  margin: 10px 0 22px;
  padding-left: 22px;
  text-align: left;
}

.opportunities .bullets li{
  margin: 8px 0;
  line-height: 1.5;
}/* Center the list block, but keep list text left-aligned */
.feature-list {
  display: inline-block;      /* allows centering as a block */
  text-align: left;           /* fixes the “bullets on the left, text centered” look */
  margin: 18px auto 28px;
  padding-left: 22px;         /* controls bullet indent */
  max-width: 520px;           /* keeps the list from stretching too wide */
  list-style-type: disc;
}

.feature-list li {
  margin: 6px 0;
  line-height: 1.45;
}
/* --- Software page showcase --- */

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  background: #dfe3e8;
  padding: 40px;
  border-radius: 16px;
}

.software-card {
  background: #eff2f2;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden; /* prevents any image bleed on small screens */
}

.software-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.software-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* global image safety */
img {
  max-width: 100%;
  height: auto;
}

/* tablet / small screens */
@media (max-width: 768px) {
  .software-grid {
    gap: 20px;
    padding: 20px;
  }

  .software-card {
    padding: 16px;
  }

  .software-card p {
    font-size: 0.95rem;
    padding: 0 6px;
  }
}

/* phones */
@media (max-width: 480px) {
  .software-grid {
    padding: 16px;
    gap: 16px;
  }

  .software-card {
    padding: 12px;
  }

  .software-card img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }
}



















