/* Back To Nature, Inc. — modern version.
   Palette is taken from the shop's own letterhead: the dark brown rule,
   the russet apples and their green leaves, on warm paper. */
:root {
  --paper: #faf6ee;
  --card: #ffffff;
  --ink: #2a1f18;
  --muted: #6b5d52;
  --brown: #4f241b;
  --brown-deep: #3a1911;
  --leaf: #4f6b3a;
  --leaf-soft: #e8eedd;
  --apple: #b4472d;
  --line: #e6dccb;
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf); }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--apple); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; color: var(--brown-deep); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.eyebrow { display: block; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.lede { font-size: 1.12rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--brown); background: var(--brown); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; font: 600 1rem var(--sans); transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--brown-deep); border-color: var(--brown-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: #fff; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, .94); backdrop-filter: blur(8px); border-top: 6px solid var(--brown); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--brown-deep); font: 600 1.55rem/1 var(--serif); white-space: nowrap; }
.brand img { width: 56px; height: auto; mix-blend-mode: multiply; }
.top nav { display: flex; gap: 26px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.top nav a:hover { color: var(--leaf); }
.top .btn { padding: 10px 18px; font-size: .95rem; white-space: nowrap; }

/* hero */
.hero { padding-top: clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.6rem); letter-spacing: -.01em; }
.hero .sub { margin: 10px 0 22px; font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--serif); color: var(--leaf); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hours-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--leaf-soft); color: #2f4422; font-weight: 600; font-size: .95rem; }
.hours-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }
.shopfront { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(58, 25, 17, .55); }
.shopfront img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.shopfront:hover img { transform: scale(1.03); }
.shopfront span { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(42, 31, 24, .82); color: #fff; font: 600 .9rem var(--sans); }

/* notice */
.notice { padding: 0; }
.notice .wrap > div { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); background: var(--brown); color: #fff; font-weight: 500; }
.notice a { color: #fff; font-weight: 700; white-space: nowrap; }
.notice svg { flex: none; margin-top: 3px; }

/* about */
.about .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about h2 { margin-bottom: 18px; }
.stats { display: grid; gap: 16px; }
.stat { padding: 24px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font: 600 2.9rem/1 var(--serif); color: var(--apple); }
.stat span { color: var(--muted); }

/* products */
.products { background: #f3ecdf; }
.products h2 { margin-bottom: 30px; }
/* flex, not grid, so a short last row sits centred under the full rows */
.grid { --cols: 4; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.grid li { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.grid li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 0 60% 0 60%; background: var(--leaf); transform: rotate(-12deg); }
.products .after { margin: 30px 0 0; font-size: 1.1rem; font-weight: 600; }
.products .after a { color: var(--brown); white-space: nowrap; }

/* tour */
.tour-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.tour-head p { margin: 8px 0 0; color: var(--muted); }
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tour-grid a { display: block; border-radius: 10px; overflow: hidden; background: var(--line); }
.tour-grid a.more { display: none; }
.tour-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s, filter .35s; }
.tour-grid a:hover img { transform: scale(1.05); filter: brightness(1.06); }

/* quote */
.quote { background: var(--brown); color: #fff; }
.quote blockquote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote p { font: italic 500 clamp(1.35rem, 2.6vw, 1.9rem)/1.4 var(--serif); margin-bottom: 20px; text-wrap: pretty; }
.quote footer { font-size: .98rem; opacity: .9; }
.quote a { color: #fff; }
.quote .google { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 34px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); font: 1rem/1.4 var(--sans); }
.quote .stars { color: #f2b63c; font-size: 1.35rem; letter-spacing: 2px; }
.btn.light { background: #fff; border-color: #fff; color: var(--brown); padding: 10px 18px; font-size: .95rem; }
.btn.light:hover { background: var(--leaf-soft); border-color: var(--leaf-soft); color: var(--brown-deep); }

/* visit */
.visit .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.visit h2 { margin-bottom: 8px; }
.visit .call { color: var(--muted); margin-bottom: 26px; }
.facts { margin: 0; display: grid; gap: 22px; }
.facts > div { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.facts > div > svg { margin-top: 3px; color: var(--leaf); }
.facts dt { font-weight: 700; color: var(--brown-deep); }
.facts dd { margin: 2px 0 0; }
.facts .hint { color: var(--muted); font-size: .95rem; }
.facts a.tel { color: var(--ink); font-weight: 600; text-decoration: none; }
.facts a.tel:hover { color: var(--leaf); text-decoration: underline; }
.facts dd.cards { margin-top: 10px; }
.facts dd.cards img { mix-blend-mode: multiply; }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); display: flex; flex-direction: column; }
.map iframe { flex: 1; width: 100%; min-height: 380px; border: 0; }
.map a { display: block; padding: 12px 18px; background: var(--card); font-weight: 600; text-decoration: none; }

/* closing call + footer */
.closing { padding-top: 0; text-align: center; }
.closing p { max-width: 760px; margin: 0 auto 22px; font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.25 var(--serif); color: var(--brown-deep); text-wrap: balance; }
@media (min-width: 900px) { .closing p { max-width: none; white-space: nowrap; font-size: clamp(1.5rem, 2.4vw, 2rem); } }
.closing a.num { color: var(--apple); white-space: nowrap; }
.foot { padding: 34px 0; background: var(--brown-deep); color: #e9ddd2; font-size: .95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; }
.foot strong { font: 600 1.3rem var(--serif); color: #fff; }
.foot a { color: #fff; }
.foot .credit { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .hero .wrap, .about .wrap, .visit .wrap { grid-template-columns: 1fr; }
  .grid { --cols: 2; }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 44px; }
  .top .btn span { display: none; }
  .grid { --cols: 1; }
  .stats { grid-template-columns: 1fr; }
  .hero .actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* store tour overlay (overrides the plain gallery.css look) */
#tour { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(28, 14, 9, .92); align-items: center; justify-content: center; padding: 16px; }
#tour.open { display: flex; }
#tourFrame { position: relative; max-width: 100%; max-height: 100%; }
#tourImage { display: block; max-width: calc(100vw - 32px); max-height: calc(100vh - 96px); width: auto; height: auto; border-radius: 10px; cursor: pointer; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
#tourBar { display: flex; justify-content: space-between; align-items: center; height: 48px; color: #e9ddd2; font: 500 .95rem var(--sans); }
#tourBar a { color: #fff; font-weight: 600; text-decoration: none; padding: 6px 4px; }
#tourPrev, #tourNext { position: absolute; top: 0; bottom: 48px; width: 24%; display: flex; align-items: center; font: 300 64px/1 var(--sans); color: #fff; text-decoration: none; text-shadow: 0 0 10px #000; opacity: .7; }
#tourPrev { left: 0; justify-content: flex-start; padding-left: 14px; }
#tourNext { right: 0; justify-content: flex-end; padding-right: 14px; }
#tourPrev:hover, #tourNext:hover { opacity: 1; }
