/* Miller's Landscape & Supply
   Restrained, photo-led design. Brand red used sparingly as accent. */

:root {
  --red: #c8222b;
  --red-dark: #a41a22;
  --ink: #141414;
  --ink-2: #2a2a2a;
  --muted: #5a5a5a;
  --line: #e6e3dc;
  --bg: #ffffff;
  --bg-2: #faf7f1;
  --bg-3: #f1ede4;
  --gold: #b8945a;

  --container: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(20,20,20,.06), 0 2px 6px rgba(20,20,20,.04);
  --shadow-md: 0 4px 14px rgba(20,20,20,.08), 0 12px 28px rgba(20,20,20,.06);
  --font-display: "Anton", "Bebas Neue", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; }

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

.skip {
  position: absolute; left: -9999px; top: 0; padding: 12px 16px; background: var(--ink); color: #fff; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Top bar */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; min-height: 36px;
}
.topbar-hours { display: inline-flex; align-items: center; gap: 8px; opacity: .85; }
.dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.topbar-call { color: #fff; font-weight: 600; }
.topbar-call:hover { color: #fff; opacity: .8; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 56px; height: 56px; border-radius: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-size: 24px; letter-spacing: .04em;
  color: var(--red);
}
.brand-sub {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); margin-top: 4px; font-weight: 600;
}
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--red); }
.header-cta { margin-left: 12px; }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 0; padding: 10px;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 5px 0; width: 24px;
  transition: transform .2s ease;
}
.mobile-nav { display: none; padding: 12px 24px 20px; border-top: 1px solid var(--line); flex-direction: column; gap: 14px; background: #fff; }
.mobile-nav a { padding: 6px 0; font-size: 17px; }
.mobile-nav .btn { margin-top: 8px; text-align: center; }

@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .mobile-nav[aria-expanded="true"], .mobile-nav.open { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link {
  padding: 0; background: transparent; color: var(--ink); border: 0;
  border-bottom: 2px solid var(--red); border-radius: 0;
  align-self: flex-start; padding-bottom: 2px; font-weight: 700;
}
.btn-link:hover { color: var(--red); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Eyebrow + section heads */
.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin: 0 0 12px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 0; }
.section-sub { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

h1, h2, h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
h3 { font-size: 20px; margin: 0 0 8px; }
h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }

p { margin: 0 0 12px; color: var(--ink-2); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 640px; display: flex; align-items: flex-end; padding: 120px 0 88px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.78) 100%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.hero-content { color: #fff; position: relative; max-width: 760px; }
.hero-content .eyebrow { color: #ffd9dc; }
.hero-content h1 { color: #fff; }
.hero-content .lede { color: rgba(255,255,255,.92); font-size: 18px; max-width: 600px; margin-bottom: 28px; }
.hero-content .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.hero-content .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-marks { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 36px; color: rgba(255,255,255,.92); font-size: 14px; letter-spacing: .04em; }
.hero-marks li { display: flex; align-items: center; gap: 10px; }
.hero-marks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: inline-block; }
.hero-marks strong { font-weight: 600; }

/* Trust */
.trust { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item h3 { font-size: 16px; margin: 12px 0 6px; }
.trust-item p { font-size: 14px; color: var(--muted); margin: 0; }
.trust-icon { width: 40px; height: 40px; color: var(--red); }
.trust-icon svg { width: 100%; height: 100%; }

@media (max-width: 800px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 460px) { .trust-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Products */
.products { padding: 100px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d4cfc2; }
.product-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 22px; margin: 0; }
.product-body p { color: var(--muted); font-size: 15px; margin: 0; }
.varieties {
  list-style: none; padding: 0; margin: 6px 0 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.varieties li {
  font-size: 12px; letter-spacing: .04em;
  background: var(--bg-3); color: var(--ink-2);
  padding: 5px 10px; border-radius: 999px;
}

.varieties--selectable li {
  padding: 0; background: transparent;
}
.variety-chip {
  font: inherit; font-size: 12px; letter-spacing: .04em;
  background: var(--bg-3); color: var(--ink-2);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.variety-chip:hover { background: #e8e2d2; }
.variety-chip[aria-selected="true"] {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.variety-chip:focus-visible {
  outline: 2px solid var(--red); outline-offset: 2px;
}

.product-slideshow { position: relative; }
.product-slideshow .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
  pointer-events: none;
}
.product-slideshow .slide.is-active { opacity: 1; }
.product-card:hover .product-slideshow .slide.is-active { transform: scale(1.04); }

.product-card--featured { border-color: var(--red); position: relative; }
.product-card--featured::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--red) inset;
}
.product-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.product-card--wide .product-media { aspect-ratio: auto; height: 100%; min-height: 260px; }
.product-card--wide .product-body { padding: 32px 32px 34px; justify-content: center; }
.product-card--wide h3 { font-size: 26px; }
.product-card--wide p { font-size: 16px; }
@media (max-width: 980px) {
  .product-card--wide { grid-column: span 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .product-card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .product-card--wide .product-media { min-height: 220px; }
}
.tag {
  align-self: flex-start;
  display: inline-block; background: var(--red); color: #fff;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; font-weight: 700;
  margin-bottom: 4px;
}

/* Propane banner */
.propane-banner {
  background: var(--ink); color: #fff;
  padding: 80px 0; position: relative; overflow: hidden;
}
.propane-banner-inner {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center;
}
.propane-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3 / 4; max-width: 420px; }
.propane-art img { width: 100%; height: 100%; object-fit: cover; }
.propane-copy h2 { color: #fff; }
.propane-copy p { color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 24px; }
.propane-copy .eyebrow { color: var(--gold); }
.propane-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.propane-banner .btn-ghost:hover { background: #fff; color: var(--ink); }

@media (max-width: 800px) {
  .propane-banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .propane-art { max-width: 320px; margin: 0 auto; }
}

/* Textures */
.textures { padding: 100px 0; background: var(--bg-2); }
.texture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.texture-grid figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  position: relative; background: #ddd;
  aspect-ratio: 1 / 1;
  cursor: default;
}
.texture-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.texture-grid figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  color: #fff; font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  letter-spacing: .02em;
}
.texture-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.texture-grid figure:hover img { transform: scale(1.06); }

@media (max-width: 900px) { .texture-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .texture-grid { grid-template-columns: repeat(2, 1fr); } }

/* Delivery */
.delivery { padding: 100px 0; }
.delivery-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.delivery-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.delivery-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.delivery-card h3 { font-size: 18px; }
.delivery-card p { font-size: 15px; color: var(--ink-2); margin: 0 0 8px; }
.tiny { color: var(--muted); font-size: 13px; }
.delivery-side { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); }
.delivery-side img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .delivery-inner { grid-template-columns: 1fr; }
  .delivery-cards { grid-template-columns: 1fr; }
  .delivery-side { aspect-ratio: 16 / 9; }
}

/* Landscaping */
.landscaping {
  padding: 80px 0;
  background: var(--ink);
  color: #fff;
}
.landscaping-copy { max-width: 760px; }
.landscaping h2 { color: #fff; }
.landscaping p { color: rgba(255,255,255,.78); font-size: 18px; margin-bottom: 24px; }
.landscaping .eyebrow { color: var(--gold); }

/* Visit */
.visit { padding: 100px 0; }
.visit-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: stretch; }
.visit-info h2 { font-size: clamp(26px, 3vw, 36px); }
.hours { margin: 24px 0 32px; padding: 0; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0 0 12px 0; color: var(--muted); font-size: 15px; }
.contact-line { color: var(--muted); margin-top: 18px; font-size: 15px; }
.contact-line a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-line a:hover { color: var(--red); border-color: var(--red); }
.visit-map {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  border: 1px solid var(--line); background: var(--bg-2);
}
.visit-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 900px) {
  .visit-inner { grid-template-columns: 1fr; }
  .visit-map { min-height: 320px; }
  .visit-map iframe { min-height: 320px; }
}

/* Footer */
.site-footer { background: #0d0d0d; color: rgba(255,255,255,.7); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 56px; height: 56px; border-radius: 4px; }
.footer-name { font-family: var(--font-display); font-size: 22px; color: #fff; margin: 0; letter-spacing: .04em; }
.footer-tag { color: rgba(255,255,255,.5); font-size: 13px; margin: 4px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-cols h4 { color: #fff; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-cols a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-cols a:hover { color: #fff; }
.footer-cols p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0 0 8px; }
.footer-cols p a { color: #fff; }

.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom-inner a { color: rgba(255,255,255,.7); }
.footer-bottom-inner a:hover { color: #fff; }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* Small misc */
::selection { background: var(--red); color: #fff; }
img { background: var(--bg-3); }
