/* Garden Craft DC — site styles */
:root {
  --green: #1e5c2d;
  --green-deep: #164522;
  --green-soft: #5f8a4f;
  --green-pale: #c9d8b6;
  --beige: #f0e7d0;
  --beige-light: #f7f2e4;
  --beige-deep: #e3d7b8;
  --ink: #1f2a22;
  --muted: #5a6659;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(22, 69, 34, 0.12);
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--beige-light);
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--green-deep); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 0.6em;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--beige);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: var(--sans);
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--beige); }
.btn.light { background: var(--beige); color: var(--green-deep); border-color: var(--beige); }
.btn.light:hover { background: var(--white); }
.btn.small { padding: 9px 18px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--beige);
  border-bottom: 1px solid var(--beige-deep);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 900; font-size: 1.45rem; color: var(--green-deep); letter-spacing: 0.02em; }
.brand-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--green-deep); font-weight: 600; padding: 9px 11px; border-radius: 8px; font-size: 0.95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--beige-deep); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--green); border-radius: 8px; padding: 6px 10px; color: var(--green); font-size: 1.3rem; cursor: pointer; }

/* Hero */
.hero { background: var(--beige); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1.hero-lines { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.2; }
.hero h1.hero-lines span { display: block; white-space: nowrap; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); }
.hero-strip { background: var(--green); color: var(--beige); }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 24px; }
.hero-strip .stat { text-align: center; }
.hero-strip .stat strong { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.hero-strip .stat span { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--beige); }
.section.green { background: var(--green); color: var(--beige); }
.section.green h2, .section.green h3 { color: var(--beige); }
.section.green .eyebrow { color: var(--green-pale); }
.section.green .lead { color: var(--beige-deep); }
.section-head { margin-bottom: 44px; }

.grid { display: grid; gap: 28px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green);
}
.card .icon { width: 46px; height: 46px; margin-bottom: 16px; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { padding-left: 20px; color: var(--muted); margin: 10px 0 0; }
.card.plain { border-top: none; background: var(--beige); box-shadow: none; }
.section.green .card { background: rgba(255,255,255,0.08); color: var(--beige); box-shadow: none; border-top-color: var(--beige); }
.section.green .card p, .section.green .card ul { color: var(--beige-deep); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 26px 22px 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: var(--beige);
  font-family: var(--serif); font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.15rem; margin-top: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filters button {
  background: var(--white); border: 2px solid var(--beige-deep); color: var(--green-deep);
  padding: 8px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: var(--sans); font-size: 0.95rem;
}
.filters button.active, .filters button:hover { background: var(--green); border-color: var(--green); color: var(--beige); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tile {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  cursor: pointer; text-align: left; border: none; padding: 0; font-family: var(--sans); display: block; width: 100%;
}
.tile .thumb { aspect-ratio: 4 / 3; background: var(--beige); position: relative; overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.tile:hover .thumb img { transform: scale(1.04); }
.tile .thumb .badge { position: absolute; top: 12px; left: 12px; background: var(--green); color: var(--beige); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tile .body { padding: 18px 20px 20px; }
.tile h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tile p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.placeholder-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--beige) 0 14px, var(--beige-deep) 14px 28px); }
.placeholder-thumb img { width: 34%; height: auto; opacity: 0.55; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(22, 40, 26, 0.82); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.modal.open { display: flex; }
.modal-box { background: var(--beige-light); border-radius: var(--radius); width: min(1100px, 100%); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--green); color: var(--beige); }
.modal-head h3 { color: var(--beige); margin: 0; font-size: 1.1rem; }
.modal-head button { background: none; border: 2px solid var(--beige); color: var(--beige); border-radius: 8px; font-size: 1rem; padding: 4px 10px; cursor: pointer; }
.modal-body { overflow: auto; }
.modal-body iframe { width: 100%; height: 78vh; border: 0; background: var(--white); }
.modal-body img { width: 100%; height: auto; }
.modal-caption { padding: 14px 20px; color: var(--muted); font-size: 0.95rem; }

/* Forms */
.form { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; color: var(--green-deep); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 12px 14px;
  border: 2px solid var(--beige-deep); border-radius: 10px; background: var(--beige-light); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checks input { width: 18px; height: 18px; accent-color: var(--green); }
.hint { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }
.notice { padding: 16px 20px; border-radius: 10px; background: var(--green-pale); color: var(--green-deep); font-weight: 600; margin-top: 16px; display: none; }
.notice.show { display: block; }
.notice.error { background: #f3d9d2; color: #7a2a1a; }

/* Sidebar layout */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.aside-card { background: var(--beige); border-radius: var(--radius); padding: 28px; }
.aside-card h3 { margin-bottom: 10px; }
.aside-card ul { padding-left: 20px; margin: 0; color: var(--muted); }
.aside-card li { margin-bottom: 8px; }

/* Team / about */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { text-align: center; }
.photo-ph {
  aspect-ratio: 1 / 1; border-radius: 50%; margin: 0 auto 16px; width: 72%;
  background: repeating-linear-gradient(135deg, var(--beige) 0 12px, var(--beige-deep) 12px 24px);
  display: flex; align-items: center; justify-content: center; border: 6px solid var(--white); box-shadow: var(--shadow);
}
.photo-ph span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); text-align: center; padding: 10px; }
.photo-ph.wide { aspect-ratio: 16 / 10; border-radius: var(--radius); width: 100%; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--green-soft); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Testimonials */
.quote-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.quote-card::before { content: "\201C"; font-family: var(--serif); font-size: 4rem; color: var(--green-pale); position: absolute; top: 4px; left: 18px; line-height: 1; }
.quote-card p { margin: 18px 0 12px; font-style: italic; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--green-deep); }

/* CTA band */
.cta { background: var(--green); color: var(--beige); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 24px; flex-wrap: wrap; }
.cta h2 { color: var(--beige); margin: 0; }
.cta p { color: var(--beige-deep); margin: 6px 0 0; }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--beige-deep); padding: 50px 0 26px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: var(--beige); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: var(--beige); text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand img { height: 46px; }
.site-footer .brand-name { color: var(--beige); }
.site-footer .brand-tag { color: var(--beige-deep); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(240, 231, 208, 0.2); padding-top: 18px; margin-top: 10px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Portal */
.portal-shell { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.portal-nav { background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); position: sticky; top: 104px; }
.portal-nav button { display: block; width: 100%; text-align: left; background: none; border: none; padding: 12px 14px; border-radius: 10px; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--green-deep); cursor: pointer; }
.portal-nav button.active, .portal-nav button:hover { background: var(--beige); }
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--beige-deep); font-size: 0.98rem; }
.table th { background: var(--green); color: var(--beige); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.table tr:last-child td { border-bottom: none; }
.table a { font-weight: 700; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pill.paid { background: var(--green-pale); color: var(--green-deep); }
.pill.due { background: #f6e3b4; color: #6b4d00; }
.pill.overdue { background: #f3d9d2; color: #7a2a1a; }
.pill.active { background: var(--green); color: var(--beige); }
.pill.done { background: var(--beige-deep); color: var(--green-deep); }
.progress { height: 10px; background: var(--beige-deep); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--green); }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.summary .card { padding: 20px 22px; }
.summary .card strong { font-family: var(--serif); font-size: 1.9rem; color: var(--green-deep); display: block; }
.summary .card span { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.wip-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.wip-card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wip-card h3 { margin: 0; }
.wip-card .meta { color: var(--muted); font-size: 0.92rem; }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.timeline li { padding: 10px 12px; border-radius: 10px; background: var(--beige); font-size: 0.9rem; }
.timeline li.done { background: var(--green-pale); }
.timeline li.now { background: var(--green); color: var(--beige); }
.timeline li small { display: block; opacity: 0.8; }
.login-box { max-width: 520px; margin: 0 auto; text-align: center; }
.login-box .btn { width: 100%; margin-top: 12px; }
.demo-banner { background: #f6e3b4; color: #6b4d00; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; margin-bottom: 22px; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.divider { width: 70px; height: 4px; background: var(--green); border-radius: 2px; margin: 14px 0 22px; }
.center .divider { margin-left: auto; margin-right: auto; }
.page-hero { background: var(--beige); padding: 60px 0 50px; }
.page-hero h1 { margin-bottom: 0.2em; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.page-hero img { height: 110px; width: auto; opacity: 0.9; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4, .steps, .team, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .portal-nav button { width: auto; }
  .summary { grid-template-columns: repeat(2, 1fr); }
  .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: var(--beige); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; border-bottom: 1px solid var(--beige-deep); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .brand-text { display: none; }
  .brand img { height: 48px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps, .team, .portfolio-grid, .form-row, .checks, .summary { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .form { padding: 24px; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero img { display: none; }
  .table { display: block; overflow-x: auto; }
}

/* Fixes after first render */
img[width][height] { height: auto; }
.nav a.btn { color: var(--beige); background: var(--green); }
.nav a.btn:hover { background: var(--green-deep); }
a.tile { text-decoration: none; color: inherit; }
a.tile h3 { text-decoration: none; }
a.tile p { text-decoration: none; }
.tile .thumb .placeholder-thumb img { width: 34%; height: auto; }
.quote-card { color: var(--ink); }
.quote-card p { color: var(--ink); }

/* Blog */
.post h2 { font-size: 1.5rem; margin-top: 1.4em; }
.post p, .post li { font-size: 1.08rem; }
.post ul { padding-left: 22px; }

/* Swag */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.product h3 { margin: 0; }
.product p { color: var(--muted); margin: 0; }
.product .price { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; color: var(--green-deep); }
.product .opts { display: flex; flex-wrap: wrap; gap: 12px; }
.product .opts label { font-size: 0.85rem; font-weight: 700; color: var(--green-deep); display: flex; flex-direction: column; gap: 4px; }
.product .opts select, .product .opts input { font-family: var(--sans); font-size: 1rem; padding: 8px 10px; border: 2px solid var(--beige-deep); border-radius: 8px; background: var(--beige-light); min-width: 90px; }
.product .opts input { width: 80px; }
.product .add { align-self: flex-start; }
#cart { margin-bottom: 10px; }
#cart button { background: none; border: none; color: #7a2a1a; font-weight: 700; cursor: pointer; }
.total { font-family: var(--serif); font-size: 1.4rem; font-weight: 800; color: var(--green-deep); margin: 10px 0 20px; }
@media (max-width: 720px) { .products { grid-template-columns: 1fr; } }

.team.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.hint.center { text-align: center; margin-top: 18px; }
@media (max-width: 700px) { .team.two { grid-template-columns: 1fr; } }

.person .photo { aspect-ratio: 1 / 1; border-radius: 50%; margin: 0 auto 16px; width: 72%; object-fit: cover; display: block; border: 6px solid var(--white); box-shadow: var(--shadow); }

.team.one { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

/* quote form: calculator and estimate */
.field label.sub { font-weight: 600; font-size: 0.85rem; color: var(--muted); }
.mb-0 { margin-bottom: 0 !important; }
.calc { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); }
.estimate-box { background: var(--green-pale); border-radius: 10px; padding: 18px 20px; margin-bottom: 18px; }
.estimate { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: var(--green-deep); line-height: 1.2; padding-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
