/* =========================
   Global reset-ish
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1b130b;
  background-color: #c7a57d;
}

p {
  white-space: normal;
}

/* =========================
   Layout helpers
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* =========================
   Section + texture system
========================= */
.section {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}

.section:last-child {
  padding-bottom: 4rem;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/pearl-sq.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

/* =========================
   Section divider
========================= */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(27, 19, 11, 0.45) 20%,
    rgba(27, 19, 11, 0.65) 50%,
    rgba(27, 19, 11, 0.45) 80%,
    transparent 100%
  );
}

.section > .section-divider {
  margin-top: 3rem;
}


/* =========================
   Field Notes divider
========================= */
.note-divider {
  position: static;      /* IMPORTANT */
  width: 100%;
  text-align: center;
  margin: 2.5rem 0;
  opacity: 0.5;
  font-size: 0.9rem;
  pointer-events: none;
}

/* =========================
   Header / Nav
========================= */
.site-header {
  position: relative;
  padding: 1.25rem 0;
  z-index: 5;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .logo {
  font-weight: 600;
  font-size: 1.25rem;
} */

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* space between image and text */
  font-weight: 600;
  font-size: 1.25rem;
  line-height: normal;
}

.logo-mark {
  height: 40px;     /* adjust: try 24–32px */
  width: auto;
  opacity: 0.85;    /* subtle, not shouty */
  max-height: none;
}

@media (max-width: 480px) {
  .logo-mark {
    display: none;
  }
}

.main-nav a {
  margin-left: 1.75rem;
  text-decoration: none;
  color: #1b130b;
  font-size: 0.95rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* =========================
   Hero
========================= */
#hero {
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 20, 0.20);
  z-index: 0;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: none;
  line-height: 1.5;
}

/* =========================
   Section headings
========================= */
.section h2 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

/* =========================
   Cards / grids
========================= */

.wip-group {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 3rem 0 1.5rem;
}

.card-grid {
  display: grid;
  gap: 2.5rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  font-size: 0.95rem;
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

/* =========================
   About
========================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
   justify-content: start;
  text-align: left;
}

#about h2 {
  max-width: 1100px;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.about-text p {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

/* =========================
   Contact / Back to top
========================= */
.back-to-top {
  margin-top: 4rem;
  text-align: right;
}

.back-to-top a {
  text-decoration: underline;
}

/* =========================
   Links
========================= */
a {
  color: inherit;
}

/* =========================
   Responsive tweaks
========================= */
@media (max-width: 900px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 1.25rem;
  }
}

@media (max-width: 600px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}






















