/* =========
   Theme
========= */
:root{
  --bg: #fbf7ee;      /* cream */
  --text: #3b2f22;    /* brown */
  --muted: #6b5b4a;   /* softer brown */
  --accent: #7f9b70;  /* green */
  --card: rgba(251,247,238,0.65); /* cream tint, not white */
  --border: rgba(59,47,34,0.14);  /* softer border */
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

/* =========
   Base elements
========= */
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:0.85; }

.container{
  width:min(1100px, calc(100% - 48px));
  margin:0 auto;
}

.section{
  padding:72px 0;
}

.eyebrow{
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
}

/* =========
   Header / Nav
========= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(251,247,238,0.86);
  backdrop-filter: blur(10px);
}

.nav{
  display:flex;
  align-items:center;
  padding:20px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1;
  min-width:0;
}

.brand img{
  height:120px;
  width:auto;
  display:block;
  filter: contrast(1.15) saturate(1.1);
}

.nav-links{
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:center;
  font-size:15px;
  color:var(--muted);
}

.nav-links a{
  padding:8px 2px;
  border-bottom:1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.nav-links a.active,
.nav-links a:hover{
  color:var(--text);
  border-color: var(--accent);
}

.nav-cta{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
}

/* =========
   Buttons
========= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:transparent;
  font-size:14px;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
  cursor:pointer;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(127,155,112,0.75);
}

.btn.primary{
  background: var(--accent);
  color:#fff;
  border-color: transparent;
}

.btn.primary:hover{
  background: #6f8f61;
}

/* =========
   Hero
========= */
.hero{
  padding:78px 0 40px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:32px;
  align-items:center;
}

.h1{
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.05;
  margin: 12px 0 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.subhead{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 58ch;
}

.hero-card{
  background: transparent;
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
}

.hero-card .mini{
  color:var(--muted);
  font-size:14px;
  margin:0 0 10px;
}

.list{
  margin:0;
  padding-left:18px;
  color:var(--text);
}

.list li{
  margin:8px 0;
  font-size:14px;
  line-height:1.75;
}

/* =========
   Grids / Cards
========= */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  align-items: stretch;
}

.card{
  background: rgba(255,255,255,0.22);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px 18px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card h3{
  margin: 0 0 8px;
  font-size: 18px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* =========
   Gallery
========= */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.gallery .ph{
  border-radius:18px;
  border:1px solid var(--border);
  overflow:hidden;
  background: transparent;
  aspect-ratio: 4 / 3;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:14px;
}

.gallery-item{
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.gallery-item img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.gallery-item:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 18px;
}

.placeholder-item{
  cursor: default;
}

.placeholder-item:focus-visible{
  outline: none;
}

/* =========
   Reviews
========= */
.reviews{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}

.quote{
  background: transparent;
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
}

.quote p{
  margin:0 0 10px;
  color:var(--text);
  font-size:14px;
  line-height:1.75;
}

.quote .who{
  color:var(--muted);
  font-size:14px;
}

.single-review{
  grid-template-columns: 1fr;
}

.single-review .quote{
  max-width: 760px;
  margin: 0;
  padding: 24px;
}

.single-review .quote p{
  font-size:13px;
  line-height:1.65;
  margin-bottom:12px;
}

/* =========
   Form
========= */
.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.field label{
  font-size:14px;
  color:var(--muted);
}

.field input,
.field textarea,
.field select{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font: inherit;
  font-size:14px;
}

.field textarea{
  min-height: 140px;
  resize: vertical;
}

.form .full{
  grid-column: 1 / -1;
}

.note{
  color:var(--muted);
  font-size:14px;
}

/* =========
   Footer
========= */
.footer{
  padding:34px 0;
  color:var(--muted);
  font-size:14px;
}

/* =========
   Founder Section
========= */
.founder-layout{
  display:grid;
  grid-template-columns: 420px 420px;
  gap:40px;
  align-items:start;
  margin-top:20px;
}

.founder-photo{
  width:100%;
  height:auto;
  border-radius:22px;
  display:block;
}

.founder-text{
  max-width:420px;
  max-height:620px;
  overflow:hidden;
}

.founder-text p{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.75;
  font-size:14px;
}

.founder-text p:last-child{
  margin-bottom:0;
}

.founder-text.card{
  border:none;
  padding:0;
  background:transparent;
}

/* =========
   Homepage title helper
========= */
.hero-title{
  max-width:none;
  font-size:clamp(24px, 3.6vw, 44px);
  white-space:nowrap;
}

@media (max-width: 1200px){
  .hero-title{
    white-space:normal;
  }
}

/* =========
   Lightbox
========= */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 999;
}

.lightbox.active{
  opacity: 1;
  pointer-events: auto;
}

.lightbox img{
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  display: block;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  font-weight: 300;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: all 180ms ease;
}

.lightbox-close:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}

.lightbox-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  font-weight: 300;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: all 180ms ease;
}

.lightbox-arrow:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-arrow.left{
  left: calc(50% - 600px);
}

.lightbox-arrow.right{
  right: calc(50% - 600px);
}

/* =========
   Responsive
========= */
@media (max-width: 900px){
  .founder-layout{
    grid-template-columns:1fr;
  }

  .founder-text{
    max-width:100%;
  }
}

@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr 1fr; }
  .reviews{ grid-template-columns:1fr; }
  .form{ grid-template-columns:1fr; }

  .nav{
    justify-content:space-between;
  }

  .brand,
  .nav-cta{
    flex:0 0 auto;
  }

  .brand img{ height:68px; }
  .nav-links{ display:none; }
}


/* =========
   Mobile Menu + Mobile Layout
========= */
.menu-toggle{
  display:none !important;
  align-items:center;
  justify-content:center;
  margin-left:auto;
  width:42px;
  height:42px;
  border:1px solid var(--border);
  border-radius:999px;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

@media (min-width: 861px){
  .menu-toggle{
    display:none !important;
  }
}

@media (max-width: 860px){

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    border-radius:50%;
    border:1px solid var(--border);
    background:transparent;
    color:var(--text);
    font-size:28px;
    cursor:pointer;
  }

  .nav-links{
    display:none;
  }

  .nav-links.open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:92px;
    left:16px;
    right:16px;
    background:rgba(251,247,238,0.98);
    border:1px solid var(--border);
    border-radius:28px;
    padding:18px 28px;
    gap:0;
    z-index:999;
  }

  .nav-links.open a{
    display:block;
    padding:18px 0;
    border-bottom:1px solid var(--border);
    color:var(--text) !important;
    text-decoration:none !important;
    font-size:22px;
  }

  .nav-links.open a:last-child{
    border-bottom:none;
  }

  .nav-links.open a:visited,
  .nav-links.open a:hover,
  .nav-links.open a:active,
  .nav-links.open a:focus{
    color:var(--text) !important;
    text-decoration:none !important;
  }

  .nav-cta{
    display:none;
  }

  .brand img{
    height:92px;
  }

  .nav{
    justify-content:space-between;
    align-items:center;
  }
}
