/* Regal Lawn Installation: home page, "the job on film".
   Two colours (soil and turf) on white, one typeface (Archivo), real job footage. */
:root{
  --soil:#14110d; --soil-2:#1f1a14; --soil-line:#3a3228;
  --chalk:#f1ece3; --chalk-dim:#b9b0a1;
  --turf:#72d04c; --turf-deep:#1d6a2b;
  --paper:#ffffff; --ink:#14110d; --ink-dim:#5a5247; --paper-line:#ded8cd;
  --gutter:clamp(18px,4.2vw,64px);
  --display:"Archivo",system-ui,sans-serif;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; scrollbar-color:var(--soil-line) var(--soil); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{ margin:0; background:var(--soil); color:var(--chalk); font-family:"Archivo",system-ui,sans-serif; font-size:1.0625rem; line-height:1.55; font-stretch:100%; -webkit-font-smoothing:antialiased; }
::selection{ background:var(--turf); color:var(--soil); }
img,video{ display:block; max-width:100%; }
a{ color:inherit; text-underline-offset:.22em; text-decoration-thickness:1px; }
:focus-visible{ outline:3px solid var(--turf); outline-offset:3px; }
.on-paper :focus-visible{ outline-color:var(--turf-deep); }
h1,h2,h3{ margin:0; font-family:var(--display); font-weight:800; font-stretch:72%; text-transform:uppercase; line-height:.94; letter-spacing:-.012em; text-wrap:balance; }
p{ margin:0; }
.skip{ position:absolute; left:-999px; top:0; background:var(--turf); color:var(--soil); padding:.7rem 1rem; z-index:50; font-weight:700; }
.skip:focus{ left:12px; top:12px; }

/* buttons: square-shouldered, no pills */
.btn{ display:inline-flex; align-items:center; gap:.7em; min-height:52px; padding:.85em 1.35em; background:var(--turf); color:var(--soil); font-weight:700; font-stretch:88%; font-size:1.02rem; letter-spacing:.005em; text-decoration:none; border:0; border-radius:3px; cursor:pointer; transition:background-color .18s ease, transform .18s cubic-bezier(.16,1,.3,1); }
.btn:hover{ background:#8ae066; }
.btn:active{ transform:translateY(1px); }
.btn svg{ width:1.05em; height:1.05em; flex:none; }
.btn[disabled]{ opacity:.6; cursor:progress; }
.textlink{ display:inline-block; padding:.7em 0; font-weight:600; font-stretch:92%; }

/* header sits on the film */
.site-header{ position:absolute; inset:0 0 auto 0; z-index:10; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px var(--gutter); }
.site-header img{ width:104px; height:auto; }
.site-nav{ display:flex; align-items:center; gap:clamp(16px,2.4vw,34px); }
.site-nav a:not(.btn){ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; font-weight:600; font-stretch:92%; text-decoration:none; }
.site-nav a:not(.btn):hover{ text-decoration:underline; }
.site-nav .btn{ min-height:44px; padding:.6em 1.05em; font-size:.96rem; }
@media (max-width:720px){ .site-nav a:not(.btn){ display:none; } .site-header img{ width:88px; } }
/* wide screens: the menu stays over the dark column, clear of the clip */
@media (min-width:861px) and (min-aspect-ratio:1/1){ .has-film .site-header{ right:min(calc(max(640px,100svh) * 9 / 16), 46vw); } }
@media (min-width:861px) and (max-width:1180px){ .has-film .site-nav a:not(.btn):nth-child(-n+2){ display:none; } }

/* 1. opening: the footage is the page */
/* wide screens: the clip stands as a tall panel, the way it was shot. phones: it fills the screen. */
.film{ position:relative; min-height:max(640px,100svh); display:grid; grid-template-columns:minmax(0,1fr) auto; overflow:hidden; background:var(--soil); }
.film__clip{ grid-column:2; grid-row:1; height:max(640px,100svh); width:auto; max-width:46vw; aspect-ratio:9/16; object-fit:cover; background:#3a2f24; }
.film__words{ grid-column:1; grid-row:1; align-self:end; padding:120px var(--gutter) clamp(32px,5vw,64px); }
.film h1{ font-size:clamp(3.05rem,7.4vw,6rem); }
.film h1 span{ display:block; color:var(--turf); }
.film__say{ margin-top:clamp(16px,2vw,26px); max-width:40ch; font-size:clamp(1.05rem,1.5vw,1.25rem); color:var(--chalk); }
.film__go{ margin-top:clamp(20px,2.6vw,32px); display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; }
.film__note{ margin-top:clamp(28px,4vw,56px); max-width:34ch; font-size:.9rem; line-height:1.4; color:var(--chalk-dim); border-top:1px solid var(--soil-line); padding-top:.8em; }
@media (max-width:860px), (max-aspect-ratio:1/1){
  /* phones and upright tablets: the clip on top with nothing over it, the words underneath */
  .film{ display:block; min-height:0; }
  .film__clip{ display:block; width:100%; max-width:none; height:max(300px,48svh); aspect-ratio:auto; object-position:50% 62%; }
  .film::after{ content:""; position:absolute; inset:0 0 auto 0; height:130px; background:linear-gradient(180deg, rgba(20,17,13,.78), rgba(20,17,13,0)); pointer-events:none; }
  .film__words{ padding:26px var(--gutter) 40px; }
  .film h1{ font-size:clamp(2.5rem,11vw,4.4rem); }
  .film__note{ margin-top:26px; }
}
@media (prefers-reduced-motion: no-preference){
  .film h1, .film__say, .film__go, .film__note{ animation:rise .9s cubic-bezier(.16,1,.3,1) both; }
  .film__say{ animation-delay:.08s; } .film__go{ animation-delay:.16s; } .film__note{ animation-delay:.3s; }
}
@keyframes rise{ from{ opacity:0; transform:translateY(22px); clip-path:inset(0 -5% 100% -5%); } to{ opacity:1; transform:none; clip-path:inset(-20% -5% -20% -5%); } }

/* 2. dirt to lawn: five clips, shot vertical, shown vertical */
.steps{ padding:clamp(64px,9vw,128px) 0 clamp(56px,8vw,112px); }
.steps__head{ padding:0 var(--gutter); display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:24px 48px; align-items:end; margin-bottom:clamp(28px,4vw,52px); }
.steps__head h2{ font-size:clamp(2.4rem,6.6vw,5rem); }
.steps__head p{ max-width:46ch; color:var(--chalk-dim); }
@media (max-width:860px){ .steps__head{ grid-template-columns:1fr; } }
.strip{ list-style:none; margin:0; padding:0 var(--gutter); display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.strip li{ position:relative; aspect-ratio:9/16; overflow:hidden; background:var(--soil-2); }
.strip video{ width:100%; height:100%; object-fit:cover; }
.strip li::after{ content:""; position:absolute; inset:45% 0 0 0; background:linear-gradient(180deg, rgba(20,17,13,0), rgba(20,17,13,.9)); pointer-events:none; }
.strip__words{ position:absolute; inset:auto 0 0 0; z-index:2; padding:clamp(12px,1.4vw,20px); }
.strip__n{ display:block; font-variant-numeric:tabular-nums; font-weight:700; font-size:.82rem; color:var(--turf); margin-bottom:.5em; }
.strip h3{ font-size:clamp(1.7rem,3.1vw,2.9rem); }
.strip p{ margin-top:.55em; font-size:.95rem; line-height:1.4; color:var(--chalk); max-width:24ch; }
@media (max-width:1000px){
  .strip{ grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:min(68vw,300px); overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-left:var(--gutter); overscroll-behavior-x:contain; scrollbar-width:none; padding-bottom:4px; }
  .strip::-webkit-scrollbar{ display:none; }
  .strip li{ scroll-snap-align:start; }
  .strip h3{ font-size:2.1rem; }
}
.steps__hint{ display:none; padding:14px var(--gutter) 0; font-size:.88rem; color:var(--chalk-dim); }
@media (max-width:1000px){ .steps__hint{ display:block; } }

/* 3. lawns we've laid: photos edge to edge, no captions to invent */
.work{ padding:0 0 clamp(64px,9vw,128px); }
.work__head{ padding:0 var(--gutter); display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:16px 40px; margin-bottom:clamp(22px,3vw,40px); }
.work__head h2{ font-size:clamp(2.4rem,6.6vw,5rem); }
.work__head p{ max-width:34ch; color:var(--chalk-dim); }
.wall{ display:grid; grid-template-columns:repeat(12,1fr); grid-auto-rows:clamp(120px,15.5vw,250px); gap:6px; padding:0 var(--gutter); }
.wall img{ width:100%; height:100%; object-fit:cover; background:var(--soil-2); }
.wall > :nth-child(1){ grid-area:1 / 1 / 3 / 8; }
.wall > :nth-child(2){ grid-area:1 / 8 / 2 / 13; }
.wall > :nth-child(4){ grid-area:2 / 8 / 3 / 13; }
.wall > :nth-child(3){ grid-area:3 / 1 / 5 / 4; }
.wall > :nth-child(5){ grid-area:3 / 4 / 5 / 9; }
.wall > :nth-child(6){ grid-area:3 / 9 / 5 / 13; }
.wall > :nth-child(7){ grid-area:5 / 1 / 6 / 7; }
.wall > :nth-child(8){ grid-area:5 / 7 / 6 / 13; }
@media (max-width:760px){
  .wall{ grid-template-columns:repeat(2,1fr); grid-auto-rows:44vw; }
  .wall > *{ grid-area:auto !important; }
  .wall > :nth-child(1), .wall > :nth-child(5){ grid-column:span 2 !important; grid-row:span 1 !important; }
  .wall > :nth-child(3), .wall > :nth-child(6){ grid-row:span 2 !important; }
}

/* 4. turf: a plain comparison, on paper */
.on-paper{ background:var(--paper); color:var(--ink); scrollbar-color:auto; }
.on-paper ::selection{ background:var(--turf-deep); color:#fff; }
.turf{ padding:clamp(64px,9vw,120px) var(--gutter); }
.turf h2{ font-size:clamp(2.2rem,5.6vw,4.2rem); max-width:14ch; }
.turf__lead{ margin-top:18px; max-width:56ch; color:var(--ink-dim); }
.turf table{ width:100%; border-collapse:collapse; margin-top:clamp(28px,4vw,48px); }
.turf th, .turf td{ text-align:left; vertical-align:top; padding:clamp(16px,2vw,26px) 18px clamp(16px,2vw,26px) 0; border-top:1px solid var(--paper-line); }
.turf thead th{ border-top:0; padding-bottom:10px; font-size:.84rem; font-weight:600; color:var(--ink-dim); }
.turf tbody tr:last-child > *{ border-bottom:1px solid var(--paper-line); }
.turf tbody th{ font-family:var(--display); font-weight:800; font-stretch:72%; text-transform:uppercase; font-size:clamp(1.5rem,2.8vw,2.3rem); line-height:1; letter-spacing:-.01em; width:30%; }
.turf tbody th small{ display:block; margin-top:.6em; font-family:"Archivo",sans-serif; font-stretch:100%; font-weight:600; text-transform:none; letter-spacing:0; font-size:.86rem; color:var(--turf-deep); }
.turf td{ color:var(--ink); }
@media (max-width:760px){
  .turf thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .turf table, .turf tbody, .turf tr, .turf th, .turf td{ display:block; width:auto; }
  .turf tbody tr{ border-top:1px solid var(--paper-line); padding:20px 0; }
  .turf tbody tr:last-child{ border-bottom:1px solid var(--paper-line); }
  .turf th, .turf td, .turf tbody tr:last-child > *{ border:0; padding:0; }
  .turf td{ margin-top:10px; }
  .turf td::before{ content:attr(data-h) ": "; font-weight:600; color:var(--ink-dim); }
}

/* 5. book a measure: the form is on the page, not a click away */
.quote{ padding:clamp(64px,9vw,128px) var(--gutter); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,96px); align-items:start; }
.quote h2{ font-size:clamp(2.4rem,6.2vw,4.8rem); }
.quote h2 span{ color:var(--turf); }
.quote__next{ list-style:none; margin:clamp(24px,3vw,40px) 0 0; padding:0; counter-reset:n; max-width:44ch; }
.quote__next li{ counter-increment:n; display:grid; grid-template-columns:2.2em 1fr; padding:16px 0; border-top:1px solid var(--soil-line); }
.quote__next li::before{ content:counter(n); font-weight:700; font-variant-numeric:tabular-nums; color:var(--turf); }
.quote__next li:last-child{ border-bottom:1px solid var(--soil-line); }
@media (max-width:900px){ .quote{ grid-template-columns:1fr; } }
.form{ display:grid; gap:16px; }
.form .hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__two{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:520px){ .form__two{ grid-template-columns:1fr; } }
.form label{ display:block; font-weight:600; font-size:.93rem; margin-bottom:7px; }
.form .opt{ font-weight:400; color:var(--chalk-dim); }
.form input, .form select, .form textarea{ width:100%; min-height:54px; padding:14px 14px; font:inherit; font-size:1rem; color:var(--chalk); background:var(--soil-2); border:1px solid var(--soil-line); border-radius:3px; caret-color:var(--turf); }
.form textarea{ min-height:120px; resize:vertical; }
.form ::placeholder{ color:#a59c8d; }
.form input:hover, .form select:hover, .form textarea:hover{ border-color:#5a4f41; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible{ outline:2px solid var(--turf); outline-offset:1px; border-color:var(--turf); }
.form .btn{ justify-self:start; margin-top:4px; }
.form-status{ display:none; padding:14px 16px; border:1px solid var(--soil-line); border-radius:3px; }
.form-status.show{ display:block; }
.form-status.err{ border-color:#e0795f; color:#ffd9cf; }
.form-status.ok{ border-color:var(--turf); }
.form__small{ font-size:.88rem; color:var(--chalk-dim); }

/* 6. where we work, footer */
.areas{ padding:0 var(--gutter) clamp(56px,8vw,104px); }
.areas h2{ font-size:clamp(1.5rem,2.6vw,2.1rem); }
.areas p{ margin-top:14px; max-width:78ch; color:var(--chalk-dim); font-size:1.02rem; }
.site-footer{ border-top:1px solid var(--soil-line); padding:28px var(--gutter) 110px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 40px; font-size:.93rem; color:var(--chalk-dim); }
.site-footer img{ width:92px; height:auto; }
.site-footer nav{ display:flex; flex-wrap:wrap; gap:6px 26px; }
.site-footer a{ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--chalk); }
@media (min-width:761px){ .site-footer{ padding-bottom:28px; } }

/* phone: one button that follows you down the page */
.quote-bar{ position:fixed; inset:auto 0 0 0; z-index:20; display:none; padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background:rgba(20,17,13,.94); border-top:1px solid var(--soil-line); transform:translateY(105%); transition:transform .3s cubic-bezier(.16,1,.3,1); }
.quote-bar .btn{ width:100%; justify-content:center; }
.quote-bar.show{ transform:none; }
@media (max-width:760px){ .quote-bar{ display:block; } }
@media (prefers-reduced-motion: reduce){ .quote-bar{ transition:none; } }

/* other pages: same world, no clip behind the menu */
.page-say{ margin-top:clamp(14px,2vw,22px); max-width:44ch; font-size:clamp(1.08rem,1.6vw,1.3rem); color:var(--chalk); }
.quote--page{ padding-top:clamp(120px,14vw,180px); }
.quote--page h1{ font-size:clamp(2.6rem,6.6vw,5.2rem); }
.quote--page h1 span{ display:block; color:var(--turf); }
.about{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:clamp(28px,5vw,80px); align-items:start; padding:clamp(120px,14vw,180px) var(--gutter) clamp(48px,7vw,96px); }
.about h1{ font-size:clamp(2.6rem,6.4vw,5.2rem); max-width:12ch; }
.about h2{ font-size:clamp(1.6rem,3vw,2.4rem); margin-top:clamp(36px,5vw,64px); }
.about__words > p:not(.page-say):not(.about__go){ margin-top:22px; max-width:60ch; color:var(--chalk-dim); }
.about .quote__next{ max-width:60ch; margin-top:18px; }
.about .quote__next strong{ color:var(--chalk); }
.about .quote__next span{ color:var(--chalk-dim); }
.about__go{ margin-top:clamp(28px,4vw,44px); }
.about__clip{ width:min(32vw,400px); aspect-ratio:9/16; object-fit:cover; background:var(--soil-2); position:sticky; top:24px; }
@media (max-width:860px){ .about{ grid-template-columns:1fr; } .about__clip{ position:static; width:100%; max-height:70svh; } }
.wall--two{ grid-template-columns:repeat(2,1fr); grid-auto-rows:clamp(180px,26vw,420px); padding-bottom:clamp(64px,9vw,128px); }
.wall--two > *{ grid-area:auto !important; }
@media (max-width:760px){ .wall--two{ grid-template-columns:1fr; grid-auto-rows:62vw; } .wall--two > *{ grid-column:auto !important; grid-row:auto !important; } }
.plain{ min-height:78svh; display:grid; align-content:center; justify-items:start; padding:clamp(120px,14vw,180px) var(--gutter) clamp(64px,9vw,120px); }
.plain h1{ font-size:clamp(2.8rem,8vw,6rem); }
.plain h1 span{ display:block; color:var(--turf); }
.plain__go{ margin-top:clamp(24px,3vw,36px); display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; }
/* quote page on phones: heading, then the form, then what happens next */
@media (max-width:900px){
  .quote--page{ gap:0; }
  .quote--page > div{ display:contents; }
  .quote--page .form{ order:2; margin-top:28px; }
  .quote--page .quote__next{ order:3; margin-top:40px; }
}

/* one control stops every clip on the page */
.clips-toggle{ display:inline-flex; align-items:center; min-height:44px; margin:0; padding:0 .1em; background:none; border:0; color:inherit; font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:.22em; cursor:pointer; }
.clips-toggle[hidden]{ display:none; }
.clips-toggle:hover{ color:var(--turf); }
.film__note .clips-toggle, .steps__head .clips-toggle{ display:flex; margin-top:.3em; }
.about__pause{ margin-top:18px; color:var(--chalk-dim); }

