
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --forest: #123f2b;
  --forest-dark: #0a2d1e;
  --leaf: #78a928;
  --leaf-light: #9bc64a;
  --cream: #f7f5ef;
  --stone: #e7e3d8;
  --white: #ffffff;
  --charcoal: #252a26;
  --muted: #687068;
  --gold: #b49b62;
  --shadow: 0 18px 45px rgba(10, 45, 30, .12);
  --radius: 4px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.topbar {
  background: var(--forest-dark);
  color: rgba(255,255,255,.88);
  font-size: .86rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 20px;
}
.topbar a:hover { color: var(--leaf-light); }

.site-header {
  background: rgba(247,245,239,.97);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(18,63,43,.12);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--leaf-light);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.25rem;
  border: 1px solid rgba(120,169,40,.8);
}
.brand-text strong {
  display: block;
  color: var(--forest);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: .04em;
}
.brand-text span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .91rem;
  font-weight: 600;
}
.nav-links a { padding-block: 32px; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--leaf);
  transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { padding: 12px 18px !important; background: var(--forest); color: white; }
.nav-cta::after { display: none; }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  color: var(--forest);
  cursor: pointer;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  color: white;
  background:
    linear-gradient(90deg, rgba(7,32,21,.85) 0%, rgba(7,32,21,.60) 48%, rgba(7,32,21,.12) 100%),
    url("images/estate-garden.jpg") center 58% / cover no-repeat;
}
.hero-content { width: min(720px, 92%); padding: 100px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--leaf-light);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .78rem;
  font-weight: 700;
}
.eyebrow::before { content:""; width: 42px; height: 1px; background: currentColor; }
.hero h1, .page-hero h1, h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--forest);
  line-height: 1.03;
  margin-top: 0;
}
.hero h1 {
  color: white;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero p { max-width: 640px; color: rgba(255,255,255,.88); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: .25s ease;
}
.btn-primary { background: var(--leaf); color: var(--forest-dark); }
.btn-primary:hover { background: var(--leaf-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.65); color: white; }
.btn-outline:hover { background: white; color: var(--forest); }
.btn-dark { background: var(--forest); color: white; }
.btn-dark:hover { background: var(--forest-dark); transform: translateY(-2px); }

.trust-strip {
  background: var(--forest);
  color: white;
}
.trust-grid {
  min-height: 98px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.trust-item {
  padding: 18px 26px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.16);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { display:block; font-family:"Cormorant Garamond",serif; font-size:1.3rem; }
.trust-item span { color:rgba(255,255,255,.68); font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; }

.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-white { background: white; }
.section-dark { background: var(--forest-dark); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { text-align:center; margin-inline:auto; }
.section-head h2 { font-size: clamp(2.5rem,5vw,4.2rem); margin-bottom: 18px; font-weight:600; }
.section-head p { color:var(--muted); font-size:1.03rem; }
.section-dark .section-head p { color:rgba(255,255,255,.72); }

.intro-grid {
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items:center;
}
.intro-image { position:relative; }
.intro-image img { height:600px; object-fit:cover; box-shadow:var(--shadow); }
.intro-badge {
  position:absolute;
  right:-24px;
  bottom:38px;
  background:var(--forest);
  color:white;
  width:190px;
  padding:25px;
  box-shadow:var(--shadow);
}
.intro-badge strong { display:block; font-family:"Cormorant Garamond",serif; font-size:2rem; color:var(--leaf-light); }
.intro-copy h2 { font-size:clamp(2.6rem,5vw,4.4rem); margin-bottom:24px; }
.intro-copy p { color:var(--muted); }
.check-list { display:grid; gap:13px; margin:28px 0; padding:0; list-style:none; }
.check-list li::before { content:"✓"; color:var(--leaf); font-weight:800; margin-right:10px; }

.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card {
  min-height:480px;
  position:relative;
  overflow:hidden;
  color:white;
  box-shadow:var(--shadow);
}
.service-card img { height:100%; object-fit:cover; position:absolute; inset:0; transition:transform .5s ease; }
.service-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 20%,rgba(6,31,20,.90) 100%); }
.service-card:hover img { transform:scale(1.045); }
.service-card-content { position:absolute; z-index:2; left:28px; right:28px; bottom:28px; }
.service-card h3 { color:white; font-size:2rem; margin-bottom:10px; }
.service-card p { color:rgba(255,255,255,.78); font-size:.92rem; }
.text-link { display:inline-flex; gap:8px; color:var(--leaf-light); font-weight:700; margin-top:10px; }

.feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--stone); border:1px solid var(--stone); }
.feature { padding:34px 26px; background:white; }
.feature-icon { font-size:1.6rem; color:var(--leaf); margin-bottom:16px; }
.feature h3 { font-size:1.35rem; margin-bottom:8px; }
.feature p { color:var(--muted); margin:0; font-size:.9rem; }

.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:580px;
}
.split-media img { height:100%; object-fit:cover; }
.split-copy { padding:80px max(40px,8vw); display:flex; flex-direction:column; justify-content:center; }
.split-copy h2 { font-size:clamp(2.7rem,5vw,4.3rem); margin-bottom:20px; }
.split-copy p { color:rgba(255,255,255,.72); }

.cta {
  background:
   linear-gradient(rgba(9,45,29,.87),rgba(9,45,29,.87)),
   url("images/formal-garden.jpg") center / cover;
  color:white;
  text-align:center;
  padding:95px 20px;
}
.cta h2 { color:white; font-size:clamp(2.7rem,5vw,4.5rem); margin-bottom:18px; }
.cta p { max-width:650px; margin:0 auto; color:rgba(255,255,255,.78); }

.page-hero {
  min-height:470px;
  display:grid;
  align-items:end;
  color:white;
  position:relative;
  background-position:center;
  background-size:cover;
}
.page-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,34,22,.88),rgba(6,34,22,.30)); }
.page-hero .container { position:relative; z-index:1; padding-bottom:70px; }
.page-hero h1 { color:white; font-size:clamp(3.1rem,7vw,5.7rem); max-width:800px; margin-bottom:14px; }
.page-hero p { max-width:680px; color:rgba(255,255,255,.82); }
.hero-residential { background-image:url("images/residential-garden.jpg"); }
.hero-estate { background-image:url("images/formal-garden.jpg"); }
.hero-commercial { background-image:url("images/grounds-maintenance.jpg"); }
.hero-gallery { background-image:url("images/topiary-garden.jpg"); }
.hero-about { background-image:url("images/estate-garden.jpg"); }
.hero-contact { background-image:url("images/hedge-maintenance.jpg"); }
.hero-areas { background-image:url("images/residential-garden.jpg"); }

.content-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:70px; align-items:start; }
.prose h2 { font-size:2.7rem; margin-top:55px; margin-bottom:15px; }
.prose h2:first-child { margin-top:0; }
.prose h3 { font-size:1.7rem; margin-top:30px; }
.prose p, .prose li { color:#525c54; }
.prose ul { padding-left:20px; }
.side-panel {
  background:var(--forest);
  color:white;
  padding:36px;
  position:sticky;
  top:120px;
}
.side-panel h3 { color:white; font-size:2rem; }
.side-panel p { color:rgba(255,255,255,.72); }
.side-panel .contact-line { display:block; padding:12px 0; border-top:1px solid rgba(255,255,255,.16); }
.side-panel .contact-line:last-of-type { border-bottom:1px solid rgba(255,255,255,.16); }

.gallery-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:18px; }
.gallery-item { position:relative; min-height:340px; overflow:hidden; background:var(--stone); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column:span 7; }
.gallery-item:nth-child(2), .gallery-item:nth-child(5) { grid-column:span 5; }
.gallery-item:nth-child(3), .gallery-item:nth-child(4) { grid-column:span 6; }
.gallery-item img { height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery-item:hover img { transform:scale(1.04); }
.gallery-label { position:absolute; left:0; right:0; bottom:0; padding:35px 24px 18px; color:white; background:linear-gradient(transparent,rgba(6,31,20,.88)); }
.stock-note { margin-top:24px; padding:18px 20px; background:#eef2e7; border-left:4px solid var(--leaf); font-size:.9rem; }

.areas-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.area { background:white; border:1px solid var(--stone); padding:20px; font-weight:700; color:var(--forest); }

.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:start; }
.contact-card { background:var(--forest); color:white; padding:42px; }
.contact-card h2 { color:white; font-size:2.8rem; }
.contact-card p { color:rgba(255,255,255,.72); }
.contact-detail { padding:18px 0; border-top:1px solid rgba(255,255,255,.16); }
.contact-detail strong { display:block; color:var(--leaf-light); font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; }
.form-card { background:white; padding:42px; box-shadow:var(--shadow); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field.full { grid-column:1 / -1; }
label { display:block; font-size:.82rem; font-weight:700; margin-bottom:7px; color:var(--forest); }
input, select, textarea {
  width:100%;
  border:1px solid #cfd4cd;
  background:#fbfbf8;
  padding:13px 14px;
  min-height:50px;
}
textarea { min-height:150px; resize:vertical; }
input:focus, select:focus, textarea:focus { outline:2px solid rgba(120,169,40,.25); border-color:var(--leaf); }
.consent { display:flex; align-items:flex-start; gap:10px; font-size:.82rem; color:var(--muted); }
.consent input { width:auto; min-height:0; margin-top:5px; }
.form-note { font-size:.8rem; color:var(--muted); margin-top:14px; }

.legal { background:white; padding:55px; box-shadow:var(--shadow); }
.legal h1 { font-size:3.5rem; margin-bottom:12px; }
.legal h2 { font-size:2rem; margin-top:42px; margin-bottom:10px; }
.legal p, .legal li { color:#505a52; }
.notice { background:#fff7df; border-left:4px solid #c79f3d; padding:16px 18px; margin:20px 0; }

.site-footer { background:#08291b; color:rgba(255,255,255,.72); }
.footer-grid { display:grid; grid-template-columns:1.3fr .8fr .8fr 1fr; gap:48px; padding:70px 0; }
.footer-grid h3 { color:white; font-size:1.4rem; margin-bottom:16px; }
.footer-grid ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-grid a:hover { color:var(--leaf-light); }
.footer-brand { color:white; font-family:"Cormorant Garamond",serif; font-size:2.2rem; margin-bottom:10px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding:20px 0; font-size:.78rem; display:flex; justify-content:space-between; gap:20px; }

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .nav-links {
    display:none; position:absolute; top:86px; left:0; right:0;
    background:var(--cream); padding:16px 20px 25px; flex-direction:column; align-items:stretch; gap:0;
    border-bottom:1px solid var(--stone);
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 0; }
  .nav-links a::after { display:none; }
  .nav-cta { text-align:center; margin-top:8px; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right:0; }
  .trust-item:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.16); }
  .intro-grid, .content-grid, .contact-grid, .split { grid-template-columns:1fr; }
  .intro-image img { height:500px; }
  .intro-badge { right:18px; }
  .card-grid { grid-template-columns:1fr 1fr; }
  .feature-grid { grid-template-columns:1fr 1fr; }
  .split-media { min-height:500px; }
  .side-panel { position:static; }
  .areas-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .topbar-inner { justify-content:center; text-align:center; }
  .topbar-inner span:last-child { display:none; }
  .container, .narrow { width:min(calc(100% - 28px), var(--max)); }
  .brand-text strong { font-size:1.25rem; }
  .brand-text span { font-size:.58rem; }
  .hero { min-height:620px; background-position:62% center; }
  .hero h1 { font-size:3.5rem; }
  .section { padding:75px 0; }
  .card-grid, .feature-grid, .areas-grid { grid-template-columns:1fr; }
  .service-card { min-height:420px; }
  .trust-grid { grid-template-columns:1fr; }
  .trust-item { border-right:0; border-bottom:1px solid rgba(255,255,255,.16); }
  .intro-grid { gap:45px; }
  .intro-image img { height:420px; }
  .gallery-item { grid-column:1 / -1 !important; min-height:310px; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .form-card, .contact-card, .legal { padding:28px 22px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
}


/* Before and after image reveal */
.before-after {
  --position: 50%;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 520px;
  background: var(--forest-dark);
  isolation: isolate;
}
.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.before-after .after-image {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}
.before-after-control {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.before-after-line {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: rgba(255,255,255,.95);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.before-after-handle {
  position: absolute;
  z-index: 4;
  left: var(--position);
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--forest-dark);
  background: white;
  border: 3px solid rgba(255,255,255,.88);
  box-shadow: 0 9px 28px rgba(0,0,0,.28);
  pointer-events: none;
  font-weight: 800;
  letter-spacing: .12em;
}
.before-after-label {
  position: absolute;
  z-index: 3;
  top: 22px;
  padding: 9px 13px;
  color: white;
  background: rgba(8,41,27,.82);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 800;
  pointer-events: none;
}
.before-after-label.before { left: 22px; }
.before-after-label.after { right: 22px; }
.before-after-caption {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 12px 15px;
  color: rgba(255,255,255,.9);
  background: rgba(8,41,27,.72);
  backdrop-filter: blur(6px);
  font-size: .84rem;
  pointer-events: none;
}

/* Homepage hero reveal */
.hero-reveal {
  min-height: 720px;
  position: relative;
  color: white;
  background: var(--forest-dark);
}
.hero-reveal .before-after {
  position: absolute;
  inset: 0;
  min-height: 720px;
}
.hero-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,32,21,.88) 0%, rgba(7,32,21,.64) 44%, rgba(7,32,21,.12) 78%, rgba(7,32,21,.06) 100%);
}
.hero-reveal .before-after-control { z-index: 7; }
.hero-reveal .before-after-line,
.hero-reveal .before-after-handle,
.hero-reveal .before-after-label { z-index: 8; }
.hero-reveal .hero-overlay-content {
  position: relative;
  z-index: 6;
  min-height: 720px;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero-reveal .hero-content { pointer-events: auto; }
.hero-reveal .before-after-caption { display: none; }
.hero-reveal .before-after-label { top: auto; bottom: 24px; }

/* Project gallery template */
.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
  margin-top: -1px;
}
.project-meta div { background: white; padding: 24px; }
.project-meta strong {
  display: block;
  color: var(--forest);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 6px;
}
.project-meta span { color: var(--muted); }
.project-story {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.project-summary {
  padding: 34px;
  background: var(--forest);
  color: white;
}
.project-summary h2 { color: white; font-size: 2.4rem; }
.project-summary p { color: rgba(255,255,255,.72); }
.project-summary ul { padding-left: 20px; }
.project-image-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.project-image-grid figure {
  margin: 0;
  min-height: 330px;
  overflow: hidden;
  background: var(--stone);
}
.project-image-grid figure:nth-child(1),
.project-image-grid figure:nth-child(4) { grid-column: span 7; }
.project-image-grid figure:nth-child(2),
.project-image-grid figure:nth-child(3) { grid-column: span 5; }
.project-image-grid img { width: 100%; height: 100%; object-fit: cover; }
.project-image-grid figcaption {
  padding: 10px 0 0;
  color: var(--muted);
  font-size: .85rem;
}
.template-note {
  background: #eef2e7;
  border-left: 4px solid var(--leaf);
  padding: 18px 20px;
  margin-bottom: 30px;
}

@media (max-width: 980px) {
  .project-meta { grid-template-columns: repeat(2,1fr); }
  .project-story { grid-template-columns: 1fr; }
  .hero-reveal,
  .hero-reveal .before-after,
  .hero-reveal .hero-overlay-content { min-height: 680px; }
}
@media (max-width: 680px) {
  .before-after { min-height: 390px; }
  .hero-reveal,
  .hero-reveal .before-after,
  .hero-reveal .hero-overlay-content { min-height: 650px; }
  .hero-reveal .hero-content { padding: 90px 0 130px; }
  .before-after-handle { width: 50px; height: 50px; }
  .before-after-label { top: 15px; }
  .hero-reveal .before-after-label { bottom: 14px; }
  .project-meta { grid-template-columns: 1fr; }
  .project-image-grid figure { grid-column: 1 / -1 !important; min-height: 280px; }
}

/* Mobile header overflow fix */
@media (max-width: 680px) {
  .nav-wrap {
    min-height: 74px;
    gap: 10px;
    width: 100%;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-text strong {
    font-size: 1.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
  }

  .nav-links {
    top: 74px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
}

@media (max-width: 390px) {
  .brand-text strong {
    font-size: 1rem;
  }
}
