/* JM Coastal Property Maintenance
 *
 * THESIS      The mowing stripe is the page's STRUCTURE, not its subject. Refuses the two things
 *             this category always ships: the equal-card service grid, and green-on-white.
 * OWN-WORLD   Drenched turf. Saturated field green owns the surface, slate structures it, bone is
 *             type and hairlines. The stripe — a repeating band at a fixed pitch, taken from the
 *             converging furrows at the base of the client's badge — is the section rhythm, the
 *             divider and the hero ground. Archivo 800 uppercase at signage scale.
 * STORY       A homeowner sees a lawn cut better than theirs, understands one local person did it
 *             and cares, and calls.
 * FIRST VIEW  Full-bleed stripe photograph. Oversized headline bottom-left over the turf, phone
 *             number as a solid block beneath it. No card, no box.
 * FORM        User-pinned ("The Stripe"), so the concept roll is overridden. See DESIGN.md.
 *
 * The previous build was cream ground + Georgia serif + a 3-up card grid — the documented default
 * rendition for a warm subject, and the reason it read as a template. Rebuilt from the world's
 * saturated materials instead.
 */

@font-face { font-family: Archivo; src: url('../font/archivo-500.woff2') format('woff2');
             font-weight: 500; font-display: swap; }
@font-face { font-family: Archivo; src: url('../font/archivo-700.woff2') format('woff2');
             font-weight: 700; font-display: swap; }
@font-face { font-family: Archivo; src: url('../font/archivo-800.woff2') format('woff2');
             font-weight: 800; font-display: swap; }

:root {
    --turf-deep: #16301C;
    --turf:      #1F4527;
    --turf-lit:  #356B39;
    --slate:     #383D36;
    --sage:      #93A56E;
    --bone:      #F2F1EC;
    --bone-dim:  #BFC4B6;

    --ink:       #14200F;   /* type on sage — 8.9:1 */
    --display: Archivo, 'Arial Narrow', system-ui, sans-serif;
    --sans:    system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --wrap: 1180px;
    --pitch: 34px;          /* the stripe pitch — one number, used everywhere */
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--bone);
    background: var(--turf-deep);
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase;
             letter-spacing: -.02em; line-height: .95; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 9vw, 6rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h3 { font-size: 1.15rem; letter-spacing: .01em; }
p  { margin: 0 0 1em; }
a  { color: var(--sage); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ── The stripe ───────────────────────────────────────────────────────────────────────────────
   One motif, structural. Not a texture behind content: it separates, it rails, it grounds. */
.stripe {
    height: 14px;
    background: repeating-linear-gradient(102deg,
        var(--turf-lit) 0 var(--pitch),
        var(--turf) var(--pitch) calc(var(--pitch) * 2));
}
.stripe--tall { height: 26px; }

/* ── Header ───────────────────────────────────────────────────────────────────────────────── */
.site-head { background: var(--turf-deep); }
.site-head__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px;
                  padding: 16px 22px; max-width: var(--wrap); margin: 0 auto; }
/* Below 560 the call button cannot share a row with the wordmark without overflowing (measured
   +72px at 390). Give it its own full-width row — which also makes the primary action bigger. */
@media (max-width: 559px) {
    .site-head__call { margin-left: 0; flex: 1 0 100%; justify-content: center; min-height: 50px; }
}
.site-head__logo { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: block; }
.site-head__name { font-family: var(--display); font-weight: 800; text-transform: uppercase;
                   font-size: 1rem; letter-spacing: -.01em; color: var(--bone);
                   text-decoration: none; white-space: nowrap; line-height: 1.05; }
.site-head__name span { display: block; font-family: var(--sans); font-weight: 500;
                        font-size: .64rem; letter-spacing: .18em; color: var(--bone-dim);
                        white-space: nowrap; }
.site-head__call {
    margin-left: auto; background: var(--sage); color: var(--ink);
    font-family: var(--display); font-weight: 700; text-transform: uppercase;
    font-size: .88rem; letter-spacing: .02em; text-decoration: none;
    padding: 12px 16px; min-height: 46px; display: inline-flex; align-items: center;
    white-space: nowrap;
}
.site-head__call:hover { background: #A7BA80; }

.nav { background: var(--turf); }
.nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0 auto; padding: 0 12px;
          max-width: var(--wrap); }
.nav a { display: block; padding: 13px 14px; min-height: 46px; color: var(--bone-dim);
         text-decoration: none; font-family: var(--display); font-weight: 700;
         text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.nav a:hover { color: var(--bone); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sage); }

/* ── Hero: the photograph IS the viewport ─────────────────────────────────────────────────── */
.hero { position: relative; background: var(--turf-deep); }
.hero__media { position: relative; min-height: 74vh; display: flex; align-items: flex-end; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
                   object-position: center 58%; }
/* Hero photo swapped 2026-08-02: the first pick was shot with a slight tilt and read as crooked.
   Rotating it lost the corners and made it worse -- this frame is level on its own, with the back
   fence as a natural horizon, and its stripes are stronger. Pick a straight photo, do not
   straighten a crooked one. */
/* Scrim, not a colour wash: the type must stay legible over grass without dulling the grass. */
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(
    to top, rgba(10,24,13,.95) 0%, rgba(10,24,13,.86) 26%, rgba(10,24,13,.55) 52%,
    rgba(10,24,13,.14) 78%, rgba(10,24,13,0) 100%); }
.hero__copy { position: relative; z-index: 1; width: 100%; max-width: var(--wrap);
              margin: 0 auto; padding: 0 22px 34px; }
/* Sage type on lit grass is unreadable no matter how the scrim is tuned — the photo's own
   highlights sit right on top of the accent. A solid chip fixes it and reads as signage, which is
   this world's register. One named kicker is a system; an eyebrow on every section is not. */
.hero__kicker { display: inline-block; font-family: var(--display); font-weight: 700;
                text-transform: uppercase; font-size: .74rem; letter-spacing: .18em;
                color: var(--ink); background: var(--sage); padding: 7px 12px 6px;
                margin: 0 0 1rem; }
.hero h1 { color: var(--bone); margin-bottom: .24em; max-width: 26ch; }
/* 15ch was overriding the authored <br> and breaking a two-line hook into five lines of 96px —
   a wall, not a headline. The measure now lets each authored line hold. */
.hero__sub { color: var(--bone); font-size: 1.08rem; max-width: 44ch; margin: 0 0 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
       padding: 14px 26px; font-family: var(--display); font-weight: 700; text-transform: uppercase;
       font-size: .95rem; letter-spacing: .03em; text-decoration: none;
       border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--sage); color: var(--ink); }
.btn--primary:hover { background: #A7BA80; }
.btn--ghost { border-color: var(--bone-dim); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); background: rgba(255,255,255,.08); }

/* ── Facts bar ────────────────────────────────────────────────────────────────────────────── */
.facts-bar { background: var(--slate); }
.facts-bar ul { list-style: none; margin: 0 auto; max-width: var(--wrap);
                padding: 15px 22px; display: flex; flex-direction: column; gap: 7px; }
.facts-bar li { font-size: .93rem; color: var(--bone-dim); }
.facts-bar b { color: var(--bone); font-weight: 600; }

/* ── Sections ─────────────────────────────────────────────────────────────────────────────── */
.section { padding: 54px 0; }
.section--turf { background: var(--turf); }
.section--deep { background: var(--turf-deep); }
.section__head { max-width: 34ch; margin-bottom: 34px; }
.section__head p { color: var(--bone-dim); max-width: 58ch; }

/* ── Services: a RAIL, not cards ──────────────────────────────────────────────────────────────
   The craft floor refuses equal cards as page structure, and the stripe gives a better spine:
   each service is a band, the photograph runs to the edge, the rail keeps the rhythm. */
.svc { border-top: 1px solid rgba(242,241,236,.16); }
.svc:last-child { border-bottom: 1px solid rgba(242,241,236,.16); }
.svc__inner { display: grid; gap: 14px; padding: 26px 0; align-items: start; }
/* A band, not three dashes: the rail is the world's signature and it has to read as one. */
.svc__rail { width: 54px; height: 10px; align-self: start;
    background: repeating-linear-gradient(102deg,
        var(--sage) 0 6px, rgba(147,165,110,.28) 6px 12px); }
.svc h3 { color: var(--bone); font-size: 1.5rem; margin-bottom: .3em; }
.svc__lead { color: var(--bone); font-weight: 600; margin-bottom: .4em; }
.svc__body { color: var(--bone-dim); max-width: 52ch; margin: 0; }
.svc__shot { width: 100%; height: 190px; object-fit: cover; display: block; }

/* ── Reviews ──────────────────────────────────────────────────────────────────────────────── */
.quotes { display: grid; gap: 30px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 .7em; font-family: var(--display); font-weight: 500;
                    text-transform: none; font-size: 1.35rem; line-height: 1.28; color: var(--bone);
                    letter-spacing: -.01em; }
.quote figcaption { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
                    color: var(--sage); }
.quote details { margin-top: .7em; }
.quote summary { cursor: pointer; font-size: .9rem; color: var(--sage); }
.quote details p { margin: .7em 0 0; color: var(--bone-dim); font-size: .96rem; max-width: 62ch; }

/* ── Closing call ─────────────────────────────────────────────────────────────────────────── */
.close { background: var(--sage); color: var(--ink); padding: 52px 0; }
.close h2 { color: var(--ink); max-width: 16ch; }
.close p { color: #2A3820; max-width: 46ch; }
.close .btn--primary { background: var(--turf-deep); color: var(--bone); }
.close .btn--primary:hover { background: var(--turf); }
.close__inner > div:last-child { flex: 0 0 auto; }

/* ── Hours ────────────────────────────────────────────────────────────────────────────────── */
.hours { list-style: none; margin: 0; padding: 0; max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0;
            border-bottom: 1px solid rgba(242,241,236,.12); font-size: .96rem; color: var(--bone); }
.hours li:last-child { border-bottom: 0; }
.hours .closed { color: var(--bone-dim); }

/* ── Footer ───────────────────────────────────────────────────────────────────────────────── */
.site-foot { background: var(--turf-deep); color: var(--bone-dim); padding: 40px 0 28px;
             font-size: .94rem; }
.site-foot a { color: var(--bone); }
.site-foot__grid { display: grid; gap: 26px; }
.site-foot h3 { font-family: var(--display); font-size: .76rem; letter-spacing: .18em;
                color: var(--sage); margin: 0 0 .8em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 3px 0; }
.site-foot__legal { border-top: 1px solid rgba(242,241,236,.14); margin-top: 30px; padding-top: 18px;
                    font-size: .84rem; color: #9AA093; }

/* ── Preview ribbon ───────────────────────────────────────────────────────────────────────── */
.preview-flag { background: var(--slate); color: var(--bone-dim); font-size: .72rem;
                letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 7px 12px; }

:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }

/* ── Inner pages ──────────────────────────────────────────────────────────────────────────── */
.page-head { background: var(--turf); padding: 40px 0; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--bone); margin-bottom: .2em; }
.page-head__sub { color: var(--bone-dim); max-width: 56ch; margin: 0; font-size: 1.04rem; }

.about-grid { display: grid; gap: 30px; }
.about-grid h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-top: 1em; }
.about-grid h2:first-child { margin-top: 0; }
.about-grid p { color: var(--bone-dim); max-width: 60ch; }
.about-side { background: var(--turf); padding: 24px; }
.about-shot { display: block; width: 100%; height: 300px; object-fit: cover;
              object-position: center 35%; margin-bottom: 20px; }
.factlist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.factlist li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0;
               border-bottom: 1px solid rgba(242,241,236,.14); font-size: .95rem; }
.factlist li:last-child { border-bottom: 0; }
.factlist span { color: var(--bone-dim); }
.factlist strong { color: var(--bone); font-weight: 600; }
.about-side__cta { width: 100%; }

.contact-grid { display: grid; gap: 22px; }
.contact-card { background: var(--turf); padding: 26px; }
.contact-card h2 { font-size: .78rem; letter-spacing: .18em; color: var(--sage); margin-bottom: 1em; }
.contact-big { font-family: var(--display); font-weight: 700; font-size: 1.3rem;
               margin-bottom: .3em; line-height: 1.2; word-break: break-word; }
.contact-big a { text-decoration: none; }
.contact-big a:hover { text-decoration: underline; }
.contact-note { color: var(--bone-dim); font-size: .93rem; margin: 0; }
.contact-card .btn { width: 100%; margin-bottom: .6em; }

@media (min-width: 760px) {
    .facts-bar ul { flex-direction: row; flex-wrap: wrap; justify-content: space-between;
                    gap: 10px 30px; }
    .facts-bar li { flex: 0 1 auto; }
    .section { padding: 84px 0; }
    .hero__media { min-height: 78vh; }
    .hero__copy { padding-bottom: 52px; }
    /* rail · text · photograph — the rail holds the rhythm the cards used to fake */
    .svc__inner { grid-template-columns: 54px 1fr 300px; gap: 26px; align-items: stretch;
                  padding: 34px 0; }
    .svc__rail { width: 100%; height: auto; min-height: 92px; align-self: stretch; }
    .svc__shot { height: 200px; }
    .quotes { grid-template-columns: repeat(2, 1fr); gap: 46px; }
    .site-foot__grid { grid-template-columns: 2fr 1fr 1fr; }
    .close__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
    .page-head { padding: 64px 0; }
    .about-grid { grid-template-columns: 1.6fr 1fr; gap: 46px; }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1060px) {
    .svc__inner { grid-template-columns: 54px 1fr 380px; gap: 34px; }
}

/* The services page uses h2 for each service (it is the page's subject); home uses h3 (it is one
   section among several). Same rail, same rhythm, correct heading order on both. */
.svc h2 { color: var(--bone); font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: .28em; }
