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

:root{
  --header-h: 90px;
}

body {
  font-family: "Helsinki", Arial, Helvetica, sans-serif;
  background-color: var(--background-beige);
  color: var(--text-dark);
}

/* shared accent bars */
.accent-bars--row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}

.accent-bars--row .bar{
  height: 6px;
  opacity: 0.85;
  border-radius: 1px;
  filter: blur(2px);
  clip-path: polygon(
    10% 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

.bar-orange{
  width: 80px;
  background-color: var(--orange-opaqueTwo);
}

.bar-yellow{
  width: 80px;
  background-color: var(--yellow-opaqueTwo);
}

.bar-green{
  width: 80px;
  background-color: var(--green-opaqueTwo);
}

/* header */
.page-header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2vw;

  background-color: rgba(255, 249, 229, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.topbar__logo{
  height: 65px;
  width: auto;
  display: block;
}

.topbar__right-spacer{
  justify-self: end;
  width: 65px;
}

.topbar__nav{
  justify-self: center;
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link{
  position: relative;
  text-decoration: none;
  font-size: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-link--home{ color: var(--orange-main); }
.nav-link--shop{ color: var(--yellow-main); }
.nav-link--contact{ color: var(--green-main); }

.nav-link--home:hover{
  background-color: var(--orange-main);
  color: var(--background-beige);
}

.nav-link--shop:hover{
  background-color: var(--yellow-main);
  color: var(--background-beige);
}

.nav-link--contact:hover{
  background-color: var(--green-main);
  color: var(--background-beige);
}

/* page */
.contact-page{
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    var(--background-beige) 0%,
    var(--background-beigeThree) 35%,
    var(--background-beigeTwo) 100%
  );
}

.contact-hero{
  position: relative;
  padding: 110px 5vw 60px;
  overflow: hidden;
}

.contact-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/Images/leafBg3.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.contact-hero__inner{
  position: relative;
  z-index: 1;
  max-width: 90vw;
  margin: 0 auto;
  text-align: center;
}

.eyebrow{
  font-size: 20px;
  color: var(--orange-main);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.contact-title{
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  color: var(--green-main);
    white-space: nowrap;
}

.contact-intro{
  font-size: 24px;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  opacity: 0.9;
}

/* content */
.leaf-wrap{
  position: relative;
}

.leaf-wrap::after{
  content: "";
  position: absolute;
  inset: 0 100px;
  background-image: url("/assets/Images/leafBg.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.contact-content{
  position: relative;
  z-index: 1;
  padding: 30px 5vw 100px;
}

.contact-grid{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card,
.contact-form-card{
  background: rgba(255, 249, 229, 0.72);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(40, 40, 40, 0.08);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.card-title{
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.accent-bars--left{
  justify-content: flex-start;
}

.info-copy{
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
  opacity: 0.88;
}

.info-block + .info-block{
  margin-top: 24px;
}

.info-label{
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 6px;
}

.info-link,
.story-link{
  color: var(--green-main);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: transform 160ms ease, opacity 160ms ease;
  display: inline-block;
}

.info-link:hover,
.story-link:hover{
  transform: scale(1.03);
  opacity: 0.85;
}

.info-text{
  font-size: 18px;
  line-height: 1.5;
}

/* form */
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-row label{
  font-size: 16px;
  color: var(--text-dark);
}

.form-row input,
.form-row textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.45);
  border-radius: 18px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 17px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-row input:focus,
.form-row textarea:focus{
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(95, 136, 66, 0.12);
  transform: translateY(-1px);
}

.form-row textarea{
  resize: vertical;
  min-height: 180px;
}

.contact-btn{
  margin-top: 8px;
  align-self: flex-start;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  background-color: var(--green-main);
  color: var(--background-beige);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-btn:hover{
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.14);
}

/* footer */
.site-footer{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px 0;
}

.footer-inner{
  width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
  opacity: 0.75;
}

.footer-left{
  justify-self: start;
}

.footer-nav{
  display: flex;
  gap: 24px;
}

.footer-nav a{
  text-decoration: none;
  color: inherit;
}

.footer-nav a:hover{
  text-decoration: underline;
}

.footer-right{
  justify-self: end;
}

/* responsive */
@media (max-width: 900px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  :root{
    --header-h: 58px;
  }

  html, body{
    overflow-x: hidden;
  }

  /* Header — always single row, logo left, nav right */
  .page-header{
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 0 4vw;
    height: var(--header-h);
  }

  .topbar__logo{
    height: 40px;
    max-width: 110px;
    object-fit: contain;
  }

  .topbar__logo-link{
    display: inline-flex;
    align-items: center;
  }

  .topbar__right-spacer{
    display: none;
  }

  .topbar__nav{
    justify-self: end;
    gap: 4px;
  }

  .nav-link{
    font-size: 13px;
    padding: 5px 8px;
  }

  /* Hero */
  .contact-hero{
    padding: 70px 5vw 36px;
  }

  .contact-title{
    white-space: normal;
    font-size: clamp(30px, 9vw, 64px);
  }

  .contact-intro{
    font-size: 17px;
    max-width: 100%;
  }

  .eyebrow{
    font-size: 16px;
  }

  /* Content */
  .contact-content{
    padding: 20px 4vw 60px;
  }

  .contact-info-card,
  .contact-form-card{
    padding: 24px 18px;
  }

  .card-title{
    font-size: 22px;
  }

  .info-text,
  .info-copy{
    font-size: 16px;
  }

  .form-row input,
  .form-row textarea{
    font-size: 16px;
    padding: 14px 16px;
  }

  /* Footer */
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .footer-left,
  .footer-right{
    justify-self: center;
  }

  .footer-nav{
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .leaf-wrap::after{
    inset:0 0;
    background-size: 220%;
  }

  .bar-orange{ width: 120px; }
  .bar-yellow{ width: 90px; }
  .bar-green{ width: 60px; }
}

/* Thank-you popup */
.ty-overlay{
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.ty-overlay.is-visible{
  opacity: 1;
  pointer-events: all;
}

.ty-card{
  background-color: var(--background-beige);
  border-radius: 28px;
  padding: 44px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);

  transform: translateY(16px);
  transition: transform 220ms ease;
}

.ty-overlay.is-visible .ty-card{
  transform: translateY(0);
}

.ty-heading{
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--green-main);
  margin-bottom: 16px;
}

.ty-body{
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 32px;
}

.ty-close{
  cursor: pointer;
  border: none;
}