/* v1.1 */
/* Root / Reset */
:root{
  --bg: #f4efe6;
  --surface: #fdf4e6;
  --text: #1f2723;
  --muted: #56635c;
  --accent: #8bb174;
  --shadow: 0 8px 26px rgba(0,0,0,.12);
  --radius: 18px;
  --wrapper: 1100px;
}
*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font: 16px/1.6 "Source Serif 4", Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(139,177,116,0.10), transparent 60%),
    var(--bg);
}
.wrapper{ width: min(100% - 2rem, var(--wrapper)); margin-inline:auto; }

/* Hamburger Menu */
.hamburger{
  position: absolute;
  top: 30px;
  right: max(1rem, calc((100vw - var(--wrapper)) / 2));
  width: 38px;
  height: 38px;
  background: var(--accent);
  border: 1px solid rgba(0,0,0,0);
  border-radius: 4px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  box-shadow: var(--shadow);
  transition: background 0.2s ease;
}
.hamburger:hover{
  background: #7a9d66;
}
.hamburger:focus{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.hamburger__line{
  width: 20px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 600px){
  .hamburger{
    width: 28px;   /* smaller on mobile */
    height: 28px;
    gap: 4px;
    top:1rem;
  }
  
  .hamburger__line{
    width: 14px;
  }
}


/* Nav Menu Dropdown */
.nav-menu{
  position: fixed;
  top: 4.5rem;
  right: max(1rem, calc((100vw - var(--wrapper)) / 2));
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 1000;
  min-width: 160px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-menu[aria-hidden="false"]{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-menu__item{
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-menu__item:last-child{
  border-bottom: none;
}
.nav-menu__item:hover{
  background: rgba(139,177,116,0.1);
}
.nav-menu__item:focus{
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.nav-menu__item--active{
  font-weight: 600;
}
.nav-menu__dot{
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* Hero */
.hero{
  position: relative;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-bottom: 0;
}
.hero__content{ position: relative; text-align: left; padding: 30px 0; }
.hero__title{ 
  color: var(--text); 
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem); 
  margin: 0 0 .25rem; 
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
  font-weight: 200; 
}
.hero__tagline{ 
  color: var(--muted); 
  font-size: clamp(0.9rem, .5vw + .85rem, 1.1rem); 
  margin-bottom: 1rem; 
}
.hero__icons{ display: flex; gap: 1rem; align-items: center; }
.hero__icons a{ display: inline-flex; transition: opacity 0.2s ease; }
.hero__icons a:hover{ opacity: 0.7; }
.hero__icons img{ width: 24px; height: 24px; display: block; }

/* Main content */
main{ padding: 0 0 2rem; }

/* Text-only bar */
.intro-bar{
  margin: 3rem auto;
  padding: 1.25rem;
  background-color: var(--surface);
  background-image:
    linear-gradient(120deg, rgba(139,177,116,.10), transparent 40%),
    linear-gradient(320deg, rgba(217,164,65,.10), transparent 60%);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-bar h2{
  margin: 0 0 .5rem;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.8rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
}
.intro-bar p{
  margin: .5rem 0 0;
  color: var(--muted);
}

/* Cards container */
.cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
}

/* Individual card */
.card{
  background-color: var(--surface);
  background-image: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.card__image{
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  margin-bottom: 1rem;
  background: transparent;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.card__image:hover{
  opacity: 0.9;
}
.card__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card h3{
  margin: 0 0 .5rem;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.8rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
}
.card p{
  margin: 0 0 1.25rem;
  color: var(--muted);
  flex-grow: 1;
}
.card__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.5rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400;
  font-size: .95rem;
  transition: background 0.2s ease, transform 0.1s ease;
  align-self: flex-start;
}
.card__button:hover{
  background: #7a9d66;
  transform: scale(1.02);
}
.card__button:focus{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 800px){
  .cards{ grid-template-columns: 1fr 1fr; }
}


/* Footer */
.footer{ 
  text-align:center; 
  color: var(--muted); 
  padding: 3rem 0 4rem; 
}
.footer__icons{ 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  margin-top: 1rem; 
}
.footer__icons a{ 
  display: inline-flex; 
  transition: opacity 0.2s ease; 
}
.footer__icons a:hover{ opacity: 0.7; }
.footer__icons img{ 
  width: 24px; 
  height: 24px; 
  display: block; 
}



