/* Colours: change these to restyle the whole site */
:root {
  --forest: #2f3d2c;
  --moss: #4f6b45;
  --bark: #6b4a2f;
  --sand: #efe6d5;
  --paper: #f8f3ea;
  --ochre: #d9a441;
  --ink: #1f241d;
  --radius: 6px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: .01em; line-height: 1; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ochre); color: var(--ink);
  font-family: var(--head); font-weight: 800; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  padding: .75em 1.4em; border-radius: var(--radius);
  border: 2px solid var(--ochre);
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: #e6b552; }
.btn-small { font-size: .95rem; padding: .5em .9em; }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--paper); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 1.2rem;
  background: var(--forest); color: var(--paper);
  border-bottom: 3px solid var(--ochre);
}
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo-mark { width: 34px; height: 28px; flex: none; }
.logo {
  font-family: var(--head); font-weight: 800; font-size: 1.7rem;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #4a3826 0%, var(--bark) 40%, #a77a4c 100%);
  color: var(--paper);
  padding: 3.5rem 1.2rem 230px;
}
.hero-scene { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 260px; }
@media (min-width: 600px) and (max-width: 999px) { .hero { padding-bottom: 300px; } .hero-scene { height: 320px; } }
@media (min-width: 1000px) {
  .hero { padding: 4.5rem 2rem 7rem; min-height: 620px; }
  .hero-scene { height: 75%; }
}
@media (min-width: 1000px) and (max-width: 1100px) {
  .hero-scene { height: 55%; }
}
.hero .btn { text-shadow: none; }
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; text-shadow: 0 2px 12px rgba(40,28,16,.35); }
.eyebrow {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; color: var(--ochre); margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(3rem, 13vw, 6.5rem); font-weight: 800; }
.lead { font-size: 1.2rem; max-width: 32ch; margin: 1.2rem 0 2rem; opacity: .95; }

/* Sections */
.section { padding: 3.5rem 1.2rem; max-width: 1100px; margin: 0 auto; }
.section-head h2 { font-size: clamp(2.2rem, 7vw, 3.2rem); color: var(--forest); }
.section-head p { margin: .5rem 0 2rem; color: #555b50; }

/* Item cards */
.grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; border: 1px solid #e2d8c5;
  box-shadow: 0 2px 0 #e2d8c5;
  transition: transform .15s, box-shadow .15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(47,61,44,.18); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  padding: .25em .7em; border-radius: 3px;
}
.is-sold .card-media img { filter: grayscale(1) opacity(.6); }
.card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card-brand { margin: 0 0 .25rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--moss); font-weight: 600; }
.card-title { font-size: 1.5rem; color: var(--ink); }
.card-meta { margin: .4rem 0 0; color: #666b60; font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.price { font-family: var(--head); font-weight: 800; font-size: 1.7rem; color: var(--forest); }
.cta { font-weight: 600; font-size: .9rem; color: var(--bark); }
.is-sold .price { text-decoration: line-through; color: #999; }
.empty { grid-column: 1 / -1; text-align: center; padding: 2rem; background: var(--sand); border-radius: var(--radius); }
.more { text-align: center; margin-top: 2.5rem; }

/* Ridge divider into the about band */
.ridge { display: block; width: 100%; height: 90px; margin-bottom: -1px; }
@media (min-width: 760px) { .ridge { height: 120px; } }

/* About */
.about { max-width: none; background: var(--forest); color: var(--paper); }
.about-inner { max-width: 1100px; margin: 0 auto; }
.about h2 { font-size: clamp(2.2rem, 7vw, 3.2rem); color: var(--ochre); margin-bottom: 1rem; }
.about p { max-width: 60ch; }
.promises { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises li { border-top: 3px solid var(--ochre); padding-top: .8rem; }
.promises strong { display: block; font-family: var(--head); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; }

/* Footer */
.footer { background: var(--ink); color: #cfc8b8; text-align: center; padding: 2rem 1.2rem; }
.footer p { margin: .3rem 0; }
.footer a { color: var(--ochre); }
.small { font-size: .85rem; opacity: .7; }

/* Keep the top bar on one line on small phones */
@media (max-width: 420px) {
  .topbar { gap: .6rem; padding: .6rem .9rem; }
  .logo { font-size: 1.3rem; letter-spacing: .05em; white-space: nowrap; gap: .35rem; }
  .logo-mark { width: 26px; height: 22px; }
  .btn-small { font-size: .8rem; padding: .45em .7em; white-space: nowrap; }
}
