/* ===========================================================================
   Greenline Lawn & Landscape — concept site
   Concept: ONE CREW, TWO SEASONS. A diagonal green/snow duality runs the page.
   Color:  grass green (summer) + steel blue (winter) duality, warm amber for
           actions (belongs to neither season, so CTAs pop), on a cool off-white.
   Type:   Bricolage Grotesque (display) + Asap (body).
   =========================================================================== */

:root {
  /* palette — OKLCH */
  --bg:        oklch(0.981 0.006 220);
  --surface:   oklch(0.965 0.008 220);
  --ink:       oklch(0.23 0.022 200);
  --muted:     oklch(0.46 0.022 205);

  --green:     oklch(0.51 0.115 152);
  --green-d:   oklch(0.36 0.075 154);     /* deep summer */
  --green-bg:  oklch(0.95 0.03 152);

  --blue:      oklch(0.53 0.085 240);
  --blue-d:    oklch(0.37 0.06 244);      /* deep winter */
  --blue-bg:   oklch(0.95 0.022 238);

  --action:    oklch(0.74 0.155 64);      /* warm amber — the action color */
  --action-d:  oklch(0.67 0.15 60);
  --action-ink: oklch(0.27 0.06 60);

  --line:      oklch(0.89 0.01 220);
  --gold:      oklch(0.74 0.13 78);

  /* fluid type scale, ratio ~1.3 */
  --step--1: clamp(0.85rem, 0.82rem + 0.14vw, 0.93rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.13rem);
  --step-1:  clamp(1.3rem, 1.18rem + 0.55vw, 1.6rem);
  --step-2:  clamp(1.7rem, 1.45rem + 1.1vw, 2.4rem);
  --step-3:  clamp(2.2rem, 1.8rem + 1.9vw, 3.4rem);
  --step-4:  clamp(2.9rem, 2.1rem + 3.4vw, 5rem);

  --maxw: 1180px;
  --radius: 18px;
  --radius-s: 11px;
  --shadow: 0 1px 2px oklch(0.3 0.03 220 / 0.07), 0 18px 40px -20px oklch(0.3 0.04 220 / 0.28);
  --shadow-lg: 0 40px 90px -36px oklch(0.28 0.05 220 / 0.4);
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);  /* ease-out-quint-ish */

  --z-base: 1;
  --z-core: 20;
  --z-bar: 80;
  --z-banner: 120;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Asap", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.92rem 1.5rem; border-radius: var(--radius-s);
  font-family: "Asap"; font-weight: 700; font-size: var(--step-0);
  text-decoration: none; border: 2px solid transparent; white-space: nowrap;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease);
}
.btn-action { background: var(--action); color: var(--action-ink); box-shadow: 0 10px 24px -12px var(--action); }
.btn-action:hover { background: var(--action-d); transform: translateY(-2px); }
.btn-line { background: oklch(1 0 0 / 0.08); color: #fff; border-color: oklch(1 0 0 / 0.5); }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------- concept ribbon ---------- */
.ribbon {
  position: relative; z-index: var(--z-banner);
  background: var(--ink); color: oklch(0.92 0.01 220);
  font-size: var(--step--1); text-align: center; padding: 0.5rem 1rem;
}
.ribbon strong { color: oklch(0.82 0.13 78); font-weight: 700; }

/* ---------- top bar (transparent over hero) ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: var(--z-bar);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
}
.wordmark {
  font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 1.18rem;
  color: #fff; text-decoration: none; line-height: 0.95; letter-spacing: -0.02em;
  text-shadow: 0 1px 12px oklch(0.2 0.03 220 / 0.45);
}
.wordmark span { display: block; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }
.topbar-actions { display: flex; align-items: center; gap: 1rem; }
.tb-phone { color: #fff; font-weight: 700; text-decoration: none; text-shadow: 0 1px 12px oklch(0.2 0.03 220 / 0.45); }
.tb-quote {
  color: var(--action-ink); background: var(--action); font-weight: 700;
  text-decoration: none; padding: 0.5rem 1rem; border-radius: 100px;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.tb-quote:hover { background: var(--action-d); transform: translateY(-1px); }

/* ===========================================================================
   SPLIT HERO — two photo panels meeting at a diagonal seam, centered plate
   =========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  isolation: isolate; overflow: hidden;
}
.hero-panel { position: absolute; inset: 0; z-index: var(--z-base); }
.hero-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel::after { content: ""; position: absolute; inset: 0; }
/* summer fills the left, winter clips a diagonal wedge on the right */
.hero-panel.summer::after { background: linear-gradient(180deg, oklch(0.36 0.075 154 / 0.35), oklch(0.30 0.08 154 / 0.72)); }
.hero-panel.winter {
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
}
.hero-panel.winter::after { background: linear-gradient(180deg, oklch(0.37 0.05 244 / 0.4), oklch(0.30 0.06 246 / 0.74)); }

/* season flags pinned to the lower corners of each panel */
.season-flag {
  position: absolute; bottom: clamp(1.2rem, 4vw, 2.4rem); left: clamp(1.2rem, 4vw, 2.4rem);
  z-index: var(--z-core);
  font-family: "Bricolage Grotesque"; font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.02em; color: #fff;
  background: oklch(0.36 0.075 154 / 0.78); border: 1px solid oklch(1 0 0 / 0.28);
  padding: 0.45rem 0.85rem; border-radius: 100px; backdrop-filter: blur(3px);
}
.season-flag.cold { left: auto; right: clamp(1.2rem, 4vw, 2.4rem); background: oklch(0.37 0.05 244 / 0.78); }

.hero-core {
  position: relative; z-index: var(--z-core);
  width: min(100% - 2.5rem, 640px); text-align: center;
  background: oklch(0.99 0.004 220 / 0.96);
  border: 1px solid oklch(1 0 0 / 0.6);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.5rem, 5vw, 3.2rem);
  box-shadow: var(--shadow-lg);
}
.yelp-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.4rem 0.85rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.yelp-chip .stars { color: var(--gold); letter-spacing: 0.05em; }
.yelp-chip b { font-weight: 700; }
.hero-core h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.04em; color: var(--green-d); }
.hero-core h1 .winter-word { color: var(--blue); }
.hero-core p { font-size: var(--step-1); color: var(--muted); margin: 1.1rem auto 0; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.9rem; }
/* the line button is light-on-photo elsewhere; inside the plate it needs ink */
.hero-core .btn-line { background: transparent; color: var(--green-d); border-color: var(--green-d); text-shadow: none; }
.hero-core .btn-line:hover { background: var(--green-d); color: #fff; }

/* ===========================================================================
   DUALITY STATEMENT
   =========================================================================== */
.duality {
  background: var(--ink); color: oklch(0.93 0.01 220);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 2rem);
}
.duality p {
  max-width: 30ch; margin-inline: auto; text-align: center;
  font-family: "Bricolage Grotesque"; font-weight: 600;
  font-size: var(--step-2); line-height: 1.22; letter-spacing: -0.02em;
}
.duality strong { color: var(--action); font-weight: 700; }
.hl-green { color: oklch(0.74 0.13 152); font-weight: 700; }
.hl-blue { color: oklch(0.72 0.1 240); font-weight: 700; }

/* ===========================================================================
   SEASONAL DIPTYCH — two tall panels, summer green + winter blue
   =========================================================================== */
.diptych {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
@media (max-width: 880px) { .diptych { grid-template-columns: 1fr; } }
.panel { display: flex; flex-direction: column; }
.panel.green { background: var(--green-bg); }
.panel.blue  { background: var(--blue-bg); }
.panel-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.panel-body { padding: clamp(1.8rem, 4vw, 3.2rem); }
.panel-tag {
  display: inline-block; font-family: "Bricolage Grotesque"; font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 100px; margin-bottom: 1rem;
  background: var(--green); color: #fff;
}
.panel-tag.cold { background: var(--blue); }
.panel.green h2 { color: var(--green-d); font-size: var(--step-3); }
.panel.blue  h2 { color: var(--blue-d);  font-size: var(--step-3); }
.panel-body > p { color: var(--muted); font-size: var(--step-1); margin-top: 0.7rem; max-width: 38ch; }
.svc-list { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 0; }
.svc-list li {
  display: grid; gap: 0.15rem; padding: 1rem 0;
  border-top: 1px solid oklch(0.4 0.03 200 / 0.16);
}
.svc-list li:last-child { border-bottom: 1px solid oklch(0.4 0.03 200 / 0.16); }
.svc-list b { font-family: "Bricolage Grotesque"; font-weight: 700; font-size: var(--step-1); color: var(--ink); }
.svc-list span { color: var(--muted); font-size: var(--step--1); }

/* ===========================================================================
   FEATURE PROOF — one large review
   =========================================================================== */
.proof {
  background: var(--green-d); color: oklch(0.96 0.015 152);
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 2rem);
}
.proof-wrap { max-width: 820px; margin-inline: auto; text-align: center; }
.proof .stars.big { color: var(--gold); font-size: 1.5rem; letter-spacing: 0.1em; display: block; }
.proof blockquote {
  font-family: "Bricolage Grotesque"; font-weight: 600;
  font-size: var(--step-2); line-height: 1.28; letter-spacing: -0.015em;
  margin-top: 1.4rem; color: #fff; text-wrap: balance;
}
.proof-by { margin-top: 1.6rem; }
.proof-by cite { font-style: normal; font-weight: 700; font-size: var(--step-1); }
.proof-by span { display: block; opacity: 0.78; font-size: var(--step--1); margin-top: 0.2rem; }
.proof-points {
  list-style: none; padding: 0; margin: 2.2rem auto 0; max-width: 640px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
}
.proof-points li {
  font-weight: 600; font-size: var(--step--1);
  border: 1px solid oklch(1 0 0 / 0.3); border-radius: 100px;
  padding: 0.45rem 1rem;
}

/* ===========================================================================
   WORK — offset gallery (staggered, not a bento)
   =========================================================================== */
.work { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.work-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.work-head h2 { font-size: var(--step-3); }
.work-head p { color: var(--muted); font-size: var(--step-1); margin-top: 0.8rem; }
.work-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: start;
}
.work-grid figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-grid figure:hover img { transform: scale(1.05); }
.work-grid figure.lift { transform: translateY(2.4rem); }   /* the offset / stagger */
.work-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 0.9rem 0.8rem;
  color: #fff; font-weight: 600; font-size: var(--step--1);
  background: linear-gradient(to top, oklch(0.2 0.03 200 / 0.82), transparent);
}
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid figure.lift { transform: none; }
}

/* ===========================================================================
   SERVICE AREA — a sentence, not a chip cloud
   =========================================================================== */
.area { background: var(--surface); border-block: 1px solid var(--line); }
.area-wrap { width: min(100% - 2.5rem, 860px); margin-inline: auto; padding-block: clamp(3rem, 6vw, 5rem); text-align: center; }
.area-wrap h2 { font-size: var(--step-2); color: var(--green-d); }
.area-line { margin-top: 1rem; font-size: var(--step-1); color: var(--muted); line-height: 1.6; max-width: 60ch; margin-inline: auto; }
.area-line strong { color: var(--ink); }

/* ===========================================================================
   QUOTE / CONTACT
   =========================================================================== */
.quote {
  width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }
.quote-info h2 { font-size: var(--step-3); }
.quote-info > p { color: var(--muted); font-size: var(--step-1); margin-top: 0.9rem; max-width: 40ch; }
.big-phone {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.8rem;
  font-family: "Bricolage Grotesque"; font-weight: 700; font-size: var(--step-2);
  color: var(--green-d); text-decoration: none;
}
.big-phone svg { color: var(--action-d); }
.pay { margin-top: 1.1rem; font-weight: 600; color: var(--muted); }
.pay strong { color: var(--ink); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); }
.field { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 0.4rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.82rem 0.95rem; font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-s);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: oklch(0.55 0.02 205); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px oklch(0.51 0.115 152 / 0.16); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form .two { grid-template-columns: 1fr; } }
.form .btn { width: 100%; margin-top: 0.4rem; }
.form .note { font-size: 0.78rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.foot { background: var(--ink); color: oklch(0.84 0.01 220); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 3rem) 1.8rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 2rem 4rem; justify-content: space-between; max-width: var(--maxw); margin-inline: auto; }
.foot .wordmark { font-size: 1.4rem; text-shadow: none; }
.foot-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.foot-cols h4 { font-family: "Bricolage Grotesque"; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 0.8rem; }
.foot-cols div { display: grid; gap: 0.45rem; }
.foot-cols a, .foot-cols span { color: oklch(0.84 0.01 220); text-decoration: none; font-size: var(--step--1); }
.foot-cols a:hover { color: var(--action); }
.foot-bottom {
  max-width: var(--maxw); margin: 2.4rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid oklch(1 0 0 / 0.12);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.78rem; color: oklch(0.72 0.01 220);
}
.foot-bottom .vinsetta { font-weight: 600; color: oklch(0.9 0.01 220); }

/* ===========================================================================
   MOTION
   - Hero: the two panels converge from opposite sides, then the plate rises.
     Default state is the resting (visible) state; the .js-anim start-state only
     applies when JS is present to play it. Headless / no-JS see the final frame.
   - Sections: reveal-on-scroll enhancing already-visible content.
   =========================================================================== */
.js-anim .hero-panel.summer { animation: slideFromLeft 1.1s var(--ease) both; }
.js-anim .hero-panel.winter { animation: slideFromRight 1.1s var(--ease) both; }
.js-anim .hero-core { animation: riseIn 0.8s var(--ease) 0.5s both; }
.js-anim .season-flag { animation: riseIn 0.6s var(--ease) 0.9s both; }

@keyframes slideFromLeft { from { transform: translateX(-6%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideFromRight { from { transform: translateX(6%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes riseIn { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }

.js-anim .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .reveal.d1 { transition-delay: 0.1s; }
.js-anim .reveal.d2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .hero-panel, .js-anim .hero-core, .js-anim .season-flag { animation: none; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .work-grid img, .btn { transition: none; }
}

/* ===========================================================================
   RESPONSIVE — hero stacks into a vertical diptych with a horizontal seam
   =========================================================================== */
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-panel { position: relative; inset: auto; height: 42svh; min-height: 280px; }
  .hero-panel.winter { clip-path: none; }
  .hero-core {
    position: relative; margin: -3.5rem auto clamp(2rem, 6vw, 3rem); z-index: var(--z-core);
  }
  .season-flag { bottom: 0.9rem; }
}
@media (max-width: 420px) {
  .hero-cta .btn { flex: 1; }
  .topbar { padding: 0.8rem 1.1rem; }
  .tb-phone { display: none; }
}
