/* =========================
   Base Layout
   ========================= */

body {
  margin: 0;
  font-family: Courier, monospace;
  background: #faf9f7;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  margin: 2.2rem 0 1.6rem 0;
}

h1 {
  font-size: 3rem;
  font-weight: normal;
  letter-spacing: 0.05em;
}

main {
  width: 90%;
  max-width: 1000px;
}

/* =========================
   Cards
   ========================= */

.card {
  padding: 2rem;
  margin-bottom: 4rem;
  border-radius: 8px;   /* Soft edges without becoming “UI cards” */
}

.card-images {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.card.one .card-images {
  grid-template-columns: 1fr;
}

.card.two .card-images {
  grid-template-columns: repeat(2, 1fr);
}

.card.three .card-images {
  grid-template-columns: repeat(2, 1fr);
}

.card-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Special Tuning
   ========================= */

/* Armstrong: limit first-screen dominance */
.card.armstrong img {
  max-height: 55vh;
  width: auto;
  margin: 0 auto;
}

/* Subtle background tones */

.armstrong { background: #fff8dc; }  /* pale butter */
.gores     { background: #e9edf2; }  /* soft steel grey */
.owen      { background: #f6d1e4; }  /* soft raspberry */
.brodkey   { background: #f3e6d8; }  /* warm parchment */

/* =========================
   Signature
   ========================= */

.sig{
  display: block;
  margin: 3rem 0 4rem 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.45);
  text-decoration: none;
}

.sig:hover{
  color: rgba(0,0,0,0.75);
}


/* =========================
   Mobile Adjustments
   ========================= */

@media (max-width: 600px) {

  header {
    margin: 1.6rem 0 1.2rem 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  .card {
    padding: 1.4rem;
    margin-bottom: 2.6rem;
    border-radius: 10px;
  }

  /* Keep two images side-by-side on mobile */
  .card.two .card-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .card.three .card-images {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reduce Armstrong height slightly more on mobile */
  .card.armstrong img {
    max-height: 45vh;
  }
}
