:root{
  /* Neutral greens + creams */
  --bg: #F7F5EF;          /* warm cream paper */
  --ink: #2B2B2B;         /* charcoal soil */
  --muted: #5f645f;       /* soft gray-green */

  --accent: #6C8E79;      /* deep sage */
  --accent-2: #9BB8A4;    /* soft moss */
  --accent-soft: #E7EFEA; /* light sage wash */
  --highlight: #EDE8D8;   /* creamy underline */

  --card: #FFFFFF;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --maxw: 1100px;

  /* Typography */
  --font-display: "Fraunces", serif;
  --font-body: "Cormorant Garamond", serif;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* NAV */
.nav{
  position: sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(6px);
  background: rgba(247,245,239,0.9);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 22px;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 75px;   /* adjust size as needed */
  width: auto;
  display: block;
}


.nav-links a{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing:.2px;
  margin-left: 16px;
  text-decoration:none;
  color: (--accent-soft: #E7EFEA);
}
.nav-links a:hover{
  color: var(--accent);
}

/* HERO */
.hero{
  max-width: var(--maxw);
  margin: 44px auto 20px;
  padding: 20px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items:center;
}

.hero-text{ max-width: 600px; }

/* HOLA */
.eyebrow{
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--accent);
  margin:0 0 14px;

  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 0.95;
  display:inline-block;
  position: relative;
}

/* cream underline vibe */
.eyebrow::after{
  content:"";
  position:absolute;
  left: 0.1em;
  right: -0.2em;
  bottom: -0.18em;
  height: 0.25em;
  background: var(--highlight);
  z-index: -1;
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

/* Name smaller + sage */
.hero h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  margin: 0 0 6px;
  color: var(--accent);

  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.05;
}

/* mini descriptor */
.mini-title{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 12px;
}

/* intro paragraph */
.subhead{
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
}

/* Hero image */
.hero-image img{
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  min-height: 320px;
}

/* Buttons */
.btn{
  display:inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing:.2px;
  text-decoration:none;
  margin-right: 8px;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}

.btn.primary{
  background: var(--accent);
  color:#fff;
}
.btn.primary:hover{
  transform: translateY(-2px);
  background: #5F816C; /* slightly deeper sage */
}

.btn.ghost{
  background: var(--accent-soft);
  color: var(--accent);
}
.btn.ghost:hover{
  transform: translateY(-2px);
  background: #dfe9e3;
}

/* PROJECTS SECTION */
.projects{
  max-width: var(--maxw);
  margin: 30px auto;
  padding: 20px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom: 12px;
}

.section-head h2{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: var(--ink);
  margin:0;
}

.section-sub{
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--muted);
  margin:0;
}

/* project grid */
.project-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 16px;
}

.project-card{
  background: var(--card);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  border: 1px solid rgba(0,0,0,0.04);
}
.project-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.project-thumb{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background:#ddd;
}

.project-body{
  padding: 14px 14px 16px;
}

.project-title{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 800;
  margin:0 0 6px;
}

.project-meta{
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  margin:0 0 6px;
}

/* PROJECT PAGE */
.project-page{
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
}

.project-hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.project-hero img{
  width:100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-page h1{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 8px 0 0;
}

.project-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.tag{
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

.project-content{
  font-family: var(--font-body);
  color:var(--accent);
  font-size: 1.1rem;
}

.project-content h2{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  margin-top: 18px;
  color: var(--ink);
}

.project-gallery{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(3o0px,1fr));
  gap: 12px;
}

.project-gallery img{
  width:100%;
  border-radius: 16px;
  object-fit: cover;
}

/* FOOTER */
.footer{
  max-width: var(--maxw);
  margin: 40px auto 10px;
  padding: 20px;
  text-align:center;
  color: var(--muted);
}

.footer h3{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

.footer a{
  color: var(--ink);
  font-weight: 700;
}

.tiny{ font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 820px){
  .hero{
    grid-template-columns: 1fr;
  }
  .section-head{
    flex-direction:column;
    align-items:flex-start;
    gap: 6px;
  }
}
.nav-links a {
  color: var(--accent) !important;
}

.nav-links a:hover {
  color: #5F816C !important;
}

/* CONTACT PAGE LAYOUT */
.contact-wrapper {
  max-width: 650px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent);
  text-align: center;
  margin-bottom: 10px;
}

.contact-subtext {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Form styling from earlier */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  padding: 10px 14px;
  border: 2px solid var(--accent-2);
  border-radius: 10px;
  background: white;
  font-size: 1rem;
  color: var(--ink);
}

.form-row textarea {
  resize: vertical;
}



/* Under Construction badge on thumbnails */
.thumb-wrapper {
  position: relative;
}

.uc-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  box-shadow: var(--shadow);
}

/* Hetch Hetchy project cover image only */
.project-page[data-project="slope.jpg"] .project-hero img {
  height: 450px;
  object-fit: cover;
  object-position: 45% center; /* shift image to the right */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===========================
   MOBILE RESPONSIVE STYLES
   =========================== */
@media (max-width: 600px) {

  .contact-wrapper {
    padding: 20px 16px;
  }

  .contact-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .contact-subtext {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  /* Form fields: full-width + tighter spacing */
  .contact-form {
    gap: 18px;
  }

  .form-row label {
    font-size: 1rem;
  }

  .form-row input,
  .form-row textarea {
    font-size: 1rem;
    padding: 12px;
  }

  .btn.primary {
    width: 100%;
    text-align: center;
    padding: 14px;
    fon

    @media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .nav-links a {
    margin-left: 0;
    margin-right: 12px;
  }
}
/* Hide homepage contact section only on mobile */
@media (max-width: 700px) {
  body.index .footer#contact {
    display: none !important;
  }
}

