/* Leisure Lawn Furniture — shared styles */

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #2a2723;
  --muted: #6f6a62;
  --line: #e2ddd4;
  --accent: #7a5a3a;      /* cedar */
  --accent-ink: #ffffff;
  --ph: #ddd6ca;          /* placeholder fill */
  --ph-ink: #8a8276;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Placeholder images ----------
   Swap each <div class="ph"> for <img src="images/..." alt="..."> when photos arrive. */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(0,0,0,.025) 22px 44px),
    var(--ph);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-ink);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}
.ph::after { content: attr(data-label); }

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--serif);
  font-size: 20px;
  text-decoration: none;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav a { text-decoration: none; font-size: 15px; letter-spacing: .02em; }
.nav a:hover { opacity: .7; }

.nav--light { color: #fff; }
.nav--solid {
  position: static;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid currentColor;
  border-radius: 2px;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.btn--fill {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--fill:hover { background: transparent; color: #fff; }
.btn--ghost { color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--bg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .ph {
  background:
    radial-gradient(ellipse at 30% 80%, #5d6b4a 0%, transparent 60%),
    linear-gradient(180deg, #8c9a86 0%, #4f5c41 70%, #3c4632 100%);
  color: rgba(255,255,255,.35);
  align-items: flex-end;
  padding-bottom: 28px;
}
.hero::before {           /* darkening overlay for legibility */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.45));
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(44px, 8vw, 92px);
  letter-spacing: -.01em;
  max-width: 12ch;
}
.hero p {
  font-size: clamp(17px, 2vw, 21px);
  margin: 20px 0 36px;
  max-width: 34ch;
  opacity: .92;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-title { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 18px; }

.intro { text-align: center; }
.intro p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.45;
  max-width: 30ch;
  margin: 0 auto;
}
.intro .sig {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 28px;
}

/* Work grid */
.work { background: var(--surface); }
.work__head { margin-bottom: 48px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tile .ph, .tile img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.tile h3 {
  font-size: 22px;
  margin-top: 14px;
}

/* Stock vs custom */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel h3 { font-size: 32px; }
.panel p { margin: 0; color: var(--muted); flex: 1; }
.panel .btn { align-self: flex-start; margin-top: 12px; }

/* Visit */
.visit { background: var(--surface); }
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.visit dl { margin: 28px 0 0; }
.visit dt {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 22px;
}
.visit dd { margin: 4px 0 0; font-size: 19px; }
.visit dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.visit .ph { aspect-ratio: 4 / 3; }

/* ---------- Stock page ---------- */
.page-head { padding: 90px 0 50px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.page-head p { color: var(--muted); max-width: 52ch; margin: 18px 0 0; }

.stock { padding-top: 0; }
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.item .ph, .item img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.item__body { padding-top: 16px; }
.item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.item h3 { font-size: 22px; }
.price { font-size: 18px; white-space: nowrap; }
.item__meta { color: var(--muted); font-size: 15px; margin: 6px 0 10px; }
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.item.is-sold .ph, .item.is-sold img { opacity: .5; }
.item.is-sold .tag { border-color: var(--muted); color: var(--muted); }
.item.is-sold .price { text-decoration: line-through; color: var(--muted); }

.cta-band {
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}
.cta-band p { color: var(--muted); margin: 10px 0 28px; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #cfc9bf;
  padding: 48px 0;
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
footer .brand { color: #fff; }
footer a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid, .stock-grid { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .nav ul { gap: 18px; }
  .nav .brand { font-size: 17px; }
  .nav .nav__hide-sm { display: none; }
  .grid, .stock-grid, .split { grid-template-columns: 1fr; }
  .panel { padding: 32px 24px; }
  .page-head { padding: 56px 0 36px; }
}
