:root {
  --bg: var(--_colors---swatch--black);
  --text: var(--_colors---swatch--beige);
  --accent: var(--_colors---swatch--green);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: var(--_fonts---fonts--paragraph);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* SECTIONS */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
   background-color: #215732;
      color: #f7fcf5;
      /*padding: 40px 20px;*/
      text-align: left;
      font-family: Font-Variant; 
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO */
.hero h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
}

.hero p {
  font-size: 1.5rem;
  opacity: 0.7;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  

    /* 2 columns */
    grid-template-columns: repeat(3, 1fr);

    /* optional rows */
    grid-template-rows: repeat(4, 200px);


}

/* CARD */
.card {
  padding: 2rem;
  border: 1px solid var(--text);
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:20px;
  width:100%;
  height:100%;
  object-fit:cover;

}

.card:hover {
  transform: translateY(-10px);
}

/* TIMELINE */
.timeline .item {
  margin-bottom: 2rem;
}

/* CONTACT */
.contact {
  text-align: center;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
html {
  scroll-behavior: smooth;
}
.projects {
  height: 400vh; /* controls scroll length */
  position: relative;
}

.projects-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.projects-track {
  display: flex;
  height: 100%;
  width: 50%; /* 4 panels */
  transition: transform 0.1s linear;
}

.panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

/* Style */
.project h3 {
  font-size: clamp(2rem, 6vw, 5rem);
}

.project a {
 /* margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--_theme---button-bg);
  text-decoration: none;*/
  border-bottom: 1px solid var(--_theme---button-bg);
  width: fit-content;
}
.projects {
  height: 500vh; /* slower scroll */
}
.panel {
 
  transition: opacity 0.4s;
}

.panel.active {
  opacity: 1;
}
#cc-dom {
            position: fixed;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            background: #00441b; /* make it obvious first */
            border-radius: 50%;
            pointer-events: none;
            transform: translate(-50%, -50%);
            z-index: 9999;
            transition: transform 0.08s ease;
        }
        a:hover ~ .custom-cursor,
        button:hover ~ .custom-cursor {
        transform: scale(1.5);
        }
