/* Liberty Outdoor Services
   Palette from the logo (black, bright green, deep green) and the Kubota machines (orange).
   Display: Saira. Body: Assistant. */

:root {
  --black: #000;
  --ink: #131613;
  --green: #28c037;
  --green-hi: #4bd659;
  --deep: #04380a;
  --orange: #ee5a24;
  --gravel: #ecedea;
  --line: #cfd2cc;
  --muted: #4d544d;
  --white: #fff;
  --display: "Saira", "Arial Narrow", Arial, sans-serif;
  --body: "Assistant", "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.1875rem; line-height: 1.55; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.6rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--deep); }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

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

.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--black); padding: 12px 18px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.stars { color: #b97a00; letter-spacing: 1px; }
.section-lede { max-width: 44em; font-size: 1.3rem; margin: 16px 0 0; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px; border: 2px solid transparent; border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--green { background: var(--green); color: var(--black); }
.btn--green:hover { background: var(--green-hi); }
.btn--ink { background: var(--black); color: var(--white); }
.btn--ink:hover { background: #2a2e2a; }
.btn--block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 60px; height: 60px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.01em; }
.brand__sub { font-family: var(--display); font-stretch: 80%; font-weight: 600; font-size: 0.95rem; color: var(--green); margin-top: 4px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--green); }
.header-call { min-height: 48px; padding: 8px 18px; font-size: 1.0625rem; }
.menu-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; padding: 12px 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; background: var(--white); margin: 5px 0; }
.mobile-menu { background: var(--black); border-top: 1px solid #2c2f2c; padding: 4px 16px 20px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 14px 0; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.1875rem; border-bottom: 1px solid #2c2f2c; }
.mobile-menu .mobile-menu__call { border: 0; margin-top: 16px; background: var(--green); color: var(--black); text-align: center; border-radius: 4px; font-family: var(--display); font-weight: 700; }

/* Hero */
.hero__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 80px; align-items: end; padding-top: 52px; padding-bottom: 44px; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.5rem); font-weight: 800; letter-spacing: -0.025em; line-height: 0.98; }
.hero h1 { max-width: 8em; }
.hero h1 span { display: block; text-wrap: balance; }
.hero__lede { font-size: 1.5rem; line-height: 1.4; margin-bottom: 24px; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__rating { margin: 18px 0 0; font-size: 1.0625rem; color: var(--muted); }
.hero__rating strong { color: var(--ink); }
.fleet { background: var(--black); }
.fleet img { width: 100%; }
.rollcall { background: var(--black); color: var(--white); }
.rollcall__grid { display: grid; grid-template-columns: 28fr 17.5fr 16.5fr 16fr 22fr; }
.rollcall__grid li { position: relative; padding: 22px 8px 20px; text-align: center; font-family: var(--display); font-stretch: 82%; font-weight: 600; font-size: clamp(0.95rem, 1.15vw, 1.25rem); line-height: 1.2; }
.rollcall__grid li::before { content: ""; position: absolute; left: 50%; top: 0; width: 3px; height: 14px; margin-left: -1.5px; background: var(--green); }
.rollcall__line { display: none; margin: 0; padding: 14px 16px 16px; font-size: 1.0625rem; line-height: 1.4; }

/* Storm line */
.storm { background: var(--orange); color: var(--black); }
.storm__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.storm h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 800; }
.storm__text p { font-size: 1.35rem; line-height: 1.4; max-width: 30em; margin: 20px 0 0; }
.storm__phone { display: inline-block; margin-top: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.03em; color: var(--black); text-decoration: none; border-bottom: 6px solid var(--black); padding-bottom: 6px; }
.storm__phone:hover { border-bottom-color: var(--white); }
.storm__text .storm__note { font-size: 1.125rem; font-weight: 700; margin-top: 18px; }
.storm__photo .g-item { aspect-ratio: 4 / 5; border: 6px solid var(--black); }
.storm__photo figcaption { margin-top: 10px; font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
.storm :focus-visible { outline-color: var(--black); }

/* Services */
.services { padding: 96px 0 40px; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; margin-top: 56px; padding-bottom: 56px; }
.svc--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc--flip .svc__text { order: 2; }
.svc h3 { font-size: 2rem; padding-bottom: 14px; border-bottom: 4px solid var(--black); }
.svc__list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc__list dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.svc__list dd { margin-top: 4px; color: var(--muted); }
.svc__photos { display: grid; gap: 12px; align-items: start; }
.svc__photos--tree { grid-template-columns: 1.35fr 1fr; }
.svc__photos--land { grid-template-columns: 1.35fr 1fr; }
.svc__photos img { width: 100%; object-fit: cover; }
.svc__photos--tree figure:first-child img { aspect-ratio: 1 / 1.08; }
.svc__photos--tree figure:last-child img { aspect-ratio: 3 / 4; }
.svc__photos--tree figure:last-child { margin-top: 64px; }
.svc__photos--land figure:first-child img { aspect-ratio: 4 / 3; }
.svc__photos--land figure:last-child img { aspect-ratio: 1 / 1; }
.svc__photos--land figure:last-child { margin-top: 64px; }
.svc__photos figcaption { margin-top: 8px; font-size: 1rem; line-height: 1.35; color: var(--muted); }

/* Photo buttons (lightbox) */
.g-item { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.15s; }
.g-item:hover img { opacity: 0.88; }
.g-item__cap { position: absolute; left: 0; bottom: 0; max-width: 92%; background: var(--black); color: var(--white); padding: 8px 14px; font-family: var(--display); font-stretch: 84%; font-weight: 600; font-size: 1.0625rem; line-height: 1.25; text-align: left; }

/* Job files */
.jobs { background: var(--gravel); padding: 96px 0 72px; }
.job { margin-top: 56px; border-top: 4px solid var(--black); }
.job__tab { display: inline-flex; flex-wrap: wrap; margin: 0; background: var(--black); color: var(--white); font-family: var(--display); font-stretch: 84%; font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.job__tab span { padding: 8px 16px 10px; }
.job__tab span + span { background: var(--green); color: var(--black); }
.job__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-top: 22px; }
.job__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; margin-top: 20px; }
.job__site { padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.job__quote { margin-top: 22px; padding-left: 18px; border-left: 4px solid var(--green); }
.job__quote p { font-size: 1.25rem; line-height: 1.4; font-weight: 600; margin-bottom: 8px; }
.job__quote footer { font-size: 1rem; color: var(--muted); }
.job__photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.job__photos--one .g-item { grid-column: span 6; aspect-ratio: 14 / 9; }
.job__photos--four .g-item:nth-child(1) { grid-column: span 4; aspect-ratio: 3 / 2; }
.job__photos--four .g-item:nth-child(2) { grid-column: span 2; }
.job__photos .g-item img { position: absolute; inset: 0; }
.job__photos--four .g-item:nth-child(3), .job__photos--four .g-item:nth-child(4) { grid-column: span 3; aspect-ratio: 1 / 1; }
.job__photos--four .g-item:nth-child(1) img { object-position: 50% 0; }

/* More work */
.work { padding: 96px 0; }
.gallery { columns: 4; column-gap: 8px; margin-top: 40px; }
.gallery .g-item { margin-bottom: 8px; break-inside: avoid; }
.gallery .g-item img { height: auto; }
.gallery .g-item__cap { position: static; display: block; max-width: none; }

/* Reviews */
.reviews { background: var(--gravel); padding: 96px 0; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.reviews__score { display: flex; align-items: center; gap: 18px; margin: 0; font-size: 1.0625rem; line-height: 1.4; }
.reviews__score strong { font-family: var(--display); font-weight: 800; font-size: 4.5rem; line-height: 0.9; letter-spacing: -0.03em; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: 12px; font-weight: 700; font-size: 1.0625rem; }
.review--lead { margin-top: 48px; padding: 0 0 40px 28px; border-left: 6px solid var(--green); max-width: 62em; }
.review--lead blockquote p { font-size: 1.4rem; line-height: 1.5; }
.reviews__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 16px; padding-top: 40px; border-top: 1px solid var(--line); }

/* Service area */
.area { background: var(--deep); color: var(--white); padding: 96px 0; }
.area__lede { font-size: 1.35rem; max-width: 34em; margin: 18px 0 0; }
.area__split { display: grid; grid-template-columns: minmax(0, 7fr) auto minmax(0, 4fr); gap: 48px; margin-top: 48px; }
.area__state h3 { font-family: var(--display); font-stretch: 84%; font-weight: 600; font-size: 1.25rem; letter-spacing: 0; color: var(--green-hi); margin-bottom: 14px; }
.area__state ul { columns: 2; column-gap: 32px; }
.area__state:last-child ul { columns: 1; }
.area__state li { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.25; letter-spacing: -0.01em; break-inside: avoid; }
.area__line { position: relative; width: 2px; background: repeating-linear-gradient(to bottom, var(--white) 0 10px, transparent 10px 20px); }
.area__line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; background: var(--deep); padding: 0 12px; font-size: 1rem; font-weight: 600; color: var(--green-hi); }
.area__note { margin: 44px 0 0; font-size: 1.1875rem; max-width: 40em; }
.area a { color: var(--white); font-weight: 700; }
.area :focus-visible { outline-color: var(--white); }

/* About */
.about { padding: 96px 0; }
.about__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.about__text h2 { margin-bottom: 20px; }
.about__facts { margin: 24px 0; border-top: 4px solid var(--black); }
.about__facts li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.about__facts strong { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); min-width: 11em; }
.about__gear { font-size: 1.0625rem; margin: 0; }

/* Quote */
.quote { background: var(--black); color: var(--white); padding: 96px 0; }
.quote__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.quote__text > p { font-size: 1.3rem; margin: 18px 0 0; max-width: 24em; }
.contact { margin-top: 36px; border-top: 1px solid #3a3e3a; }
.contact > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #3a3e3a; }
.contact dt { color: #b9c0b9; }
.contact dd { font-weight: 700; overflow-wrap: anywhere; }
.quote a { color: var(--white); }
.quote a:hover { color: var(--green-hi); }
.form { background: var(--white); color: var(--ink); padding: 32px; border-top: 8px solid var(--green); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid #8a918a; border-radius: 4px; background: var(--white); font: inherit; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--ink); }
.form__err { color: #a01212; font-weight: 700; }
.form__hint { margin: 12px 0 0; font-size: 1rem; color: var(--muted); }
.quote .form :focus-visible { outline-color: var(--orange); }

/* Footer */
.site-footer { background: var(--black); color: #d5dad5; border-top: 1px solid #2c2f2c; padding: 40px 0 48px; font-size: 1.0625rem; }
.site-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: center; }
.site-footer__brand { display: flex; align-items: center; gap: 18px; }
.site-footer__brand img { width: 96px; height: 96px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }
.site-footer__contact { text-align: right; }

/* Sticky call bar (phones) */
.sticky-book { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; max-height: 100vh; padding: 56px 0 20px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { color: var(--white); margin-top: 14px; text-align: center; max-width: 46em; font-size: 1.0625rem; }
.lightbox__close, .lightbox__nav { background: var(--black); color: var(--white); border: 2px solid #5a605a; width: 52px; height: 52px; border-radius: 4px; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lightbox__nav { justify-self: center; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox :focus-visible { outline-color: var(--green); }

/* Tablet */
@media (max-width: 1080px) {
  :root { --pad: 24px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero__top { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 36px; }
  .hero__lede { max-width: 34em; font-size: 1.3rem; }
  .storm__in { gap: 40px; }
  .svc, .svc--flip { grid-template-columns: 1fr; gap: 32px; }
  .svc--flip .svc__text { order: 0; }
  .job__body { grid-template-columns: 1fr; gap: 24px; }
  .job__text { max-width: 44em; }
  .reviews__cols { grid-template-columns: 1fr; gap: 32px; }
  .about__in { grid-template-columns: 1fr; gap: 32px; }
  .quote__in { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone */
@media (max-width: 720px) {
  :root { --pad: 16px; }
  html { scroll-padding-top: 72px; }
  body { font-size: 1.125rem; padding-bottom: 0; }
  .site-header__in { min-height: 64px; gap: 8px; }
  .brand img { width: 48px; height: 48px; }
  .brand__name { font-size: 1.25rem; }
  .brand__sub { font-size: 0.85rem; }
  .header-call { display: none; }
  .hero__top { padding-top: 28px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero__lede { font-size: 1.1875rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .rollcall__grid { display: none; }
  .rollcall__line { display: block; }
  .storm__in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .storm__text p { font-size: 1.1875rem; }
  .storm__phone { font-size: clamp(2.3rem, 12.4vw, 3.4rem); border-bottom-width: 4px; }
  .storm__photo .g-item { aspect-ratio: 4 / 5; max-width: 420px; }
  .services, .jobs, .work, .reviews, .area, .about, .quote { padding-top: 64px; padding-bottom: 64px; }
  .services { padding-bottom: 16px; }
  .section-lede { font-size: 1.1875rem; }
  .svc { margin-top: 40px; padding-bottom: 40px; }
  .svc__photos--tree figure:last-child, .svc__photos--land figure:last-child { margin-top: 28px; }
  .job { margin-top: 44px; }
  .job__tab { font-size: 1rem; }
  .job__tab span { padding: 7px 12px 8px; }
  .job__photos--four .g-item:nth-child(1) { grid-column: span 6; }
  .job__photos--four .g-item:nth-child(2) { grid-column: span 6; aspect-ratio: 4 / 3; }
  .gallery { columns: 2; margin-top: 28px; }
  .g-item__cap { font-size: 0.95rem; padding: 6px 10px; }
  .reviews__score strong { font-size: 3.6rem; }
  .review--lead { margin-top: 36px; padding: 0 0 32px 18px; border-left-width: 4px; }
  .review--lead blockquote p { font-size: 1.1875rem; }
  .area__split { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .area__line { width: 100%; height: 2px; background: repeating-linear-gradient(to right, var(--white) 0 10px, transparent 10px 20px); }
  .area__line span { transform: translate(-50%, -50%); }
  .area__state ul, .area__state:last-child ul { columns: 2; column-gap: 16px; }
  .about__facts strong { min-width: 0; flex-basis: 100%; }
  .contact > div { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 22px 18px; }
  .site-footer { padding-bottom: 110px; }
  .site-footer__in { flex-direction: column; align-items: flex-start; }
  .site-footer__contact { text-align: left; overflow-wrap: anywhere; }
  .site-footer__brand img { width: 72px; height: 72px; }
  .sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.16); transform: translateY(110%); transition: transform 0.25s ease; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { min-height: 52px; padding: 10px 12px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; padding: 64px 8px 8px; }
  .lightbox__nav--prev { grid-column: 1; grid-row: 2; margin-bottom: 16px; }
  .lightbox__nav--next { grid-column: 2; grid-row: 2; margin-bottom: 16px; }
  .lightbox img { max-height: calc(100vh - 230px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-item img, .sticky-book { transition: none; }
}
