:root{
  --brown:#412b1b;
  --green:#6b705c;

  --bg:#1f1f1f;
  --paper:#2a2a2a;
  --surface:#353535;
  --surface2:#404040;

  --text:#f2f2f2;
  --muted:#cfcfcf;

  --border:rgba(255,255,255,.12);
  --shadow:0 18px 46px rgba(0,0,0,.55);

  --radius:20px;

  --primary: var(--green);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

html{
  scroll-behavior:smooth;
  overflow-anchor:none;
}

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.55;
  padding: calc(18px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}

h1,h2,h3,h4{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  letter-spacing: .2px;
}

a{ color: #e7dccf; text-decoration:none; }
a:hover{ text-decoration:underline; }

.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background: var(--surface);
  border:1px solid var(--border);
  border-radius:10px;
  z-index:999;
  color: var(--text);
}

.wrap{ width:min(860px, 100%); margin:0 auto; }

.card{
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
}

.stack{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:14px;
}

/* HERO */
.hero{
  padding: 0;
  overflow:hidden;
  text-align:center;
  position:relative;
}

.hero-banner{
  height: 190px;
  width: 100%;
  background-image: url("images/banner.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  border-radius: var(--radius) var(--radius) 0 0;
}

.hero-content{
  padding: 0 18px 22px;
}

/* LOGO PLATE: only top half is visible */
.logo-badge{
  width: 200px;
  height: 200px;
  margin: -100px auto 10px;
  position: relative;
  display:grid;
  place-items:center;
}

/* This is the ONLY background, and it is clipped to the top half */
.logo-badge::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 999px;
  background: var(--paper);

  /* HARD cutoff: show only top half */
  clip-path: inset(0 0 50% 0);

  /* subtle border only on the plate */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* Put the shadow on the logo itself (so no “full circle” shadow) */
.logo{
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
  padding: 0px;
  object-fit: contain;
  display:block;

  filter: none;
}

.tagline{
  margin: 8px auto 12px;
  max-width: 64ch;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}
.tagline strong{ color: var(--text); font-weight:700; }
.dot{ opacity:.85; padding:0 6px; }

/* Social */
.social{
  display:flex;
  justify-content:center;
  gap:10px;
  margin: 6px 0 12px;
}
.icon-btn{
  width:44px;
  height:44px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: var(--surface);
  display:grid;
  place-items:center;
  box-shadow: 0 14px 26px rgba(0,0,0,.45);
}
.icon-btn:hover{ transform: translateY(-1px); background: var(--surface2); }
.icon-btn svg{ width:22px; height:22px; fill: var(--green); }

/* Buttons */
.buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 6px;
}
.btn{
  display:block;
  text-align:center;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  letter-spacing:.2px;
  touch-action: manipulation;
}
.btn:hover{
  transform: translateY(-1px);
  background: var(--surface2);
  box-shadow: 0 14px 26px rgba(0,0,0,.45);
}
.btn.primary{
  background: var(--primary);
  color:#ffffff;
  border-color: transparent;
}
.btn.primary:hover{ filter: brightness(1.06); }
.btn.external::after{ content:" ↗"; font-weight:800; }

/* Note */
.note{
  margin-top:14px;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(107,112,92,.10);
  text-align:left;
  color: var(--text);
}

/* Headings */
h2{ margin:0 0 8px; font-size:1.45rem; }
h3{ margin:14px 0 10px; font-size:1.15rem; color:#eaeaea; }
.lead{ margin:0 0 12px; color: var(--muted); }
.small{ margin:10px 0 0; color: var(--muted); font-size:.92rem; }

/* Stores */
.storelist{ display:flex; flex-direction:column; gap:10px; }
.store{
  border:1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 12px 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  border-left: 4px solid rgba(107,112,92,.55);
}
.store-name{ margin:0 0 4px; font-size:1.1rem; color:#e7dccf; }
.store-meta{ margin:0; color: var(--muted); line-height:1.35; }
.addr{ display:inline-block; }

.tag{
  display:inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: .85rem;
  font-weight: 700;
}
.muted-tag{ color: var(--muted); border-color: rgba(255,255,255,.10); }
.sep{ opacity:.7; padding:0 6px; }

.store-actions{ flex:0 0 auto; }

.chip{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-weight: 800;
  white-space:nowrap;
}
.chip:hover{ transform: translateY(-1px); text-decoration:none; }
.chip.chip-accent{ border-color: rgba(107,112,92,.55); }

/* Nursery photos */
.photo-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:10px;
}
.shot{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--border);
  background: var(--surface);
}
.shot img{ width:100%; height:220px; object-fit:cover; display:block; }
.shot.tall img{ height:360px; }
.shot figcaption{ padding:10px 12px; color: var(--muted); font-size:.92rem; }

/* Nursery chips */
.chip-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}
.chipcard{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 12px 12px;
}
.chipcard-title{
  font-weight: 800;
  color: var(--green);
  margin-bottom: 6px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}
.chipcard-body{ color: var(--muted); font-weight:500; line-height:1.4; font-size:.95rem; }

/* Inventory */
.embed{
  margin-top:10px;
  border:1px solid var(--border);
  border-radius: 16px;
  overflow:hidden;
  background: var(--surface);
}
.embed iframe{
  width:100%;
  height: 620px;
  border:0;
  display:block;
  background:#ffffff;
  -webkit-overflow-scrolling: touch;
}

/* Microgreens */
.micro-sub{ color: var(--green); }

.split{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:14px;
  align-items:start;
  margin-top:10px;
}
.split-media{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--border);
  background: var(--surface);
}
.split-media img{ width:100%; height:420px; object-fit:cover; object-position:center; display:block; }

.bullets{ margin:8px 0 14px 18px; padding:0; color: var(--muted); }
.bullets li{ margin:6px 0; }

/* Expanders */
details.expander{
  margin-top:12px;
  border:1px solid var(--border);
  border-radius: 14px;
  overflow:hidden;
  background: var(--surface);
}
details.expander summary{
  list-style:none;
  cursor:pointer;
  padding: 12px 12px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color: var(--text);
}
details.expander summary::-webkit-details-marker{ display:none; }
details.expander[open] summary{ background: rgba(107,112,92,.22); }
.chev{ opacity:.9; color: var(--muted); }
.panel{
  padding: 12px 12px 14px;
  border-top:1px dashed rgba(255,255,255,.16);
  color: var(--muted);
}
.panel ul{ margin:6px 0 0 18px; padding:0; }
.panel li{ margin:6px 0; }

/* Form */
.form{ display:grid; gap:12px; margin-top:8px; }
label{ display:grid; gap:6px; font-weight:800; color: var(--text); }
input, textarea{
  font: inherit;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: #1a1a1a;
  color: var(--text);
}
textarea{ resize: vertical; }
.hidden{ display:none; }

/* Back to top */
.backrow{ margin-top:14px; display:flex; justify-content:flex-end; }
.backtop{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(107,112,92,.35);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 800;
}
.backtop:hover{
  color: var(--text);
  border-color: rgba(107,112,92,.55);
  text-decoration:none;
  transform: translateY(-1px);
}

/* Footer */
.footer{ margin-top:14px; padding:16px 4px; color: var(--muted); }
.footer-inner{ display:flex; gap:12px; align-items:center; justify-content:center; }
.footer-logo{ width:46px; height:auto; opacity:.9; }

/* Responsive */
@media (max-width:900px){
  .chip-cards{ grid-template-columns: 1fr; }
}
@media (max-width:700px){
  .split{ grid-template-columns: 1fr; }
  .split-media img{ height: 320px; }
  .shot.tall img{ height: 320px; }
  .embed iframe{ height: 520px; }

  .backrow{ justify-content:stretch; }
  .backtop{ width:100%; text-align:center; }

  .logo-badge{
    width: 180px;
    height: 180px;
    margin-top: -90px;
  }
  .logo{ padding: 13px; }
}
@media (max-width:540px){
  .hero-banner{ height: 155px; }

  .logo-badge{
    width: 180px;
    height: 180px;
    margin-top: -80px;
  }
  .logo{ padding: 0px; }

  .photo-grid{ grid-template-columns: 1fr; }
  .shot img{ height: 240px; }
  .shot.tall img{ height: 340px; }

  .store{ flex-direction:column; }
  .store-actions{ width:100%; }
  .chip{ width:100%; text-align:center; }
}