/* Cedar Line Lawn & Landscape: concept site by RG Works.
   Hand-written CSS, no framework. Fonts are self-hosted (SIL Open Font License). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-400-800-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-400-700-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --fir: #1e3326;
  --fir-2: #2a4433;
  --moss: #5d7a45;
  --kraft: #ece5d5;
  --paper: #f8f5ee;
  --ink: #1b1f1a;
  --muted: #4b5547;
  --hivis: #ee7a33;
  --hivis-ink: #a8430f;
  --rule: #d5cdb9;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1; }
p { margin: 0 0 1rem; }
a { color: var(--hivis-ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }
.small { font-size: 0.95rem; }

.concept { background: var(--ink); color: #e8e6de; font-size: 0.875rem; text-align: center; padding: 0.55rem 1.25rem; }
.concept p { margin: 0; }
.concept a { color: var(--hivis); }

/* Header */
.top { background: var(--fir); color: #fff; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; color: #fff; text-decoration: none; }
.brand__mark { width: 2.25rem; height: 2.25rem; color: #9fbf7f; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.2rem; letter-spacing: 0.02em; line-height: 1; }
.brand__name small { display: block; font-weight: 500; font-stretch: 100%; font-size: 0.68rem; letter-spacing: 0.2em; color: #c9d6bd; margin-top: 0.3rem; }
.call { color: #fff; text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; border: 2px solid #48644f; padding: 0.5rem 0.9rem; border-radius: 3px; white-space: nowrap; }
.call:hover { border-color: var(--hivis); color: #fff; }
.call__label { color: #b8c8ab; font-weight: 500; margin-right: 0.3rem; }
@media (max-width: 40rem) { .call__label { display: none; } .brand__name { font-size: 1rem; } }

/* Hero */
.hero { background: var(--fir); color: #fff; padding: 3rem 0 4rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 54rem) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } .hero { padding: 4.5rem 0 5rem; } }
.tag { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #b8c8ab; }
h1 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(3rem, 8.5vw, 6rem); line-height: 0.92; letter-spacing: -0.005em; margin: 1rem 0 1.5rem; }
h1 span { display: block; color: #9fbf7f; font-stretch: 100%; font-weight: 600; text-transform: none; font-size: 0.36em; letter-spacing: 0; line-height: 1.2; margin-top: 0.7rem; }
.lede { font-size: 1.15rem; color: #dbe3d4; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.btn { display: inline-block; border: 0; cursor: pointer; background: var(--hivis); color: var(--ink); font: 700 1rem/1 var(--body); text-decoration: none; padding: 1rem 1.4rem; border-radius: 3px; }
.btn:hover { background: #f59456; }
.link { color: #fff; font-weight: 600; }
.link:hover { color: var(--hivis); }

/* Photo slots (swap for real photos: see README.md) */
.slot { margin: 0; aspect-ratio: 4 / 3; background: var(--fir-2); color: #9fbf7f; display: grid; place-items: center; align-content: center; gap: 1rem; padding: 2rem; border: 1px solid #3c5a46; }
.slot svg { width: 80%; }
.slot .cap { font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #c9d6bd; }
.slot--sm { background: var(--kraft); border-color: var(--rule); color: var(--moss); }
.slot--sm .cap { color: var(--muted); }
.photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Section heads */
.head { display: grid; gap: 0.5rem 2rem; margin-bottom: 2.5rem; border-top: 3px solid var(--ink); padding-top: 1rem; }
@media (min-width: 54rem) { .head { grid-template-columns: 4rem 1fr 1.2fr; align-items: baseline; } }
.head h2 { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.head p:not(.num) { margin: 0; color: var(--muted); max-width: 36rem; }
.num { font-family: var(--display); font-weight: 700; color: var(--hivis-ink); margin: 0; }
.head--light { border-color: #fff; }
.head--light p:not(.num) { color: #dbe3d4; }
.head--light .num { color: var(--hivis); }

/* Services */
.services { padding-block: 4.5rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 40rem) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .service-list { grid-template-columns: repeat(3, 1fr); } }
.service-list li { background: var(--paper); padding: 1.6rem; display: flex; flex-direction: column; }
.service-list h3 { font-weight: 700; font-stretch: 90%; font-size: 1.45rem; margin-bottom: 0.75rem; }
.service-list p { color: var(--muted); flex: 1; }
.service-list .price { flex: none; margin: 0.5rem 0 0; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.service-list__not { background: var(--kraft) !important; }

/* Season calendar */
.season { background: var(--fir); color: #fff; padding: 4.5rem 0; }
.calendar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.6rem; }
.calendar li { border: 1px solid #3c5a46; padding: 1rem; min-height: 7rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; }
.calendar .m { font-family: var(--display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.calendar .w { font-size: 0.95rem; color: #dbe3d4; line-height: 1.35; }
.calendar .peak { background: #2f4b38; border-color: #9fbf7f; }
.calendar .peak .m { color: #c5dda9; }
.calendar .off { border-style: dashed; }

/* How it works */
.how { padding-block: 4.5rem; }
.how__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 54rem) { .how__grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.4rem 3.5rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 1.08rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -0.1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; border-radius: 50%; }
.steps strong { color: var(--ink); }

/* Estimate */
.estimate { background: var(--kraft); border-top: 1px solid var(--rule); padding: 4.5rem 0 5rem; }
.estimate__grid { display: grid; gap: 2.5rem; }
@media (min-width: 54rem) { .estimate__grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.estimate h2 { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0.5rem 0 1rem; }
.form { display: grid; gap: 1rem 1.25rem; background: var(--paper); padding: 1.75rem; border: 1px solid var(--rule); }
@media (min-width: 36rem) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; margin: 0; border: 0; padding: 0; }
.field--wide, .form .btn, .status { grid-column: 1 / -1; }
.field label, legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field label span { font-weight: 400; color: var(--muted); }
input:not([type=checkbox]), textarea { font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #8f8a7a; border-radius: 3px; background: #fff; color: var(--ink); width: 100%; }
fieldset.field { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
fieldset legend { width: 100%; margin-bottom: 0.5rem; }
.check { display: flex; align-items: center; gap: 0.45rem; font-weight: 400 !important; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--fir); }
.form .btn { justify-self: start; }
.status { margin: 0; color: var(--fir); font-weight: 600; }
.status:empty { display: none; }

.foot { background: var(--ink); color: #c8ccc3; padding: 1.75rem 0; font-size: 0.9rem; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.foot p { margin: 0; }
.foot a { color: var(--hivis); }
