/* Five Oaks Lawn Care: shared polish layer (2026-12-02).
   Loaded after each page's inline <style>, so these rules win on equal specificity.
   Scale: spacing --sec / --gutter; type steps --t-*; one button system; grids use minmax(0, 1fr). */

:root {
  --mute: rgba(245, 240, 229, 0.74);
  --sec: clamp(4.5rem, 8vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;
  --ticker-h: 32px;
  --t-label: .75rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.05rem, 1.4vw, 1.2rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { cursor: auto !important; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: var(--t-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 600px) { html { font-size: 16px; } body { font-size: 1rem !important; } }
.cur, .cur-ring, .cur-label { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { transition-duration: .8s; }

/* ---------- Ticker + nav ---------- */
.ticker { height: var(--ticker-h); padding: 0; display: flex; align-items: center; }
.ticker-track > span { font-size: .72rem; letter-spacing: .16em; }
.nav { top: var(--ticker-h) !important; padding: .9rem var(--gutter); }
.nav.scrolled { padding: .6rem var(--gutter); }
.nav-logo { background: var(--cream); padding: .4rem .75rem; border-radius: 3px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.nav-logo img { height: 46px; width: auto; filter: none; }
.nav.scrolled .nav-logo img { height: 40px; }
.nav-links { gap: clamp(1.4rem, 2.4vw, 2.4rem); }
.nav-links a { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-shadow: none; padding: .5rem 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--gold); }
.nav-right { gap: clamp(1.2rem, 2vw, 2.2rem); }
.nav-toggle { min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .nav-cta { display: inline-flex; }
}
@media (max-width: 600px) {
  .nav { padding: .6rem 1rem; }
  .nav-logo { padding: .3rem .55rem; }
  .nav-logo img { height: 42px; }
  .nav.scrolled .nav-logo img { height: 38px; }
  .nav-right { gap: .6rem; }
  .nav-cta { padding: 0 .95rem !important; font-size: .72rem !important; letter-spacing: .1em !important; min-height: 44px; }
  .ticker-track > span { font-size: .7rem; padding: 0 1.2rem; }
}

/* ---------- Button system ---------- */
.btn-gold, .btn-line, .btn-submit, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 0 1.9rem; border-radius: 2px;
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: .78rem; font-weight: 500; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-gold, .btn-submit, .nav-cta { background: var(--gold); color: var(--night); border: 1px solid var(--gold); box-shadow: none; }
.btn-gold:hover, .btn-submit:hover, .nav-cta:hover { background: var(--cream); border-color: var(--cream); color: var(--night); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.btn-line { background: transparent; color: var(--cream); border: 1px solid rgba(245, 240, 229, .5); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); background: rgba(212, 165, 85, .08); }
.nav-cta { min-height: 44px; padding: 0 1.3rem; font-size: .74rem; }
.btn-submit { padding: 0 2.4rem; border: 1px solid var(--gold); }
@media (max-width: 600px) {
  .btn-gold, .btn-line { font-size: .78rem !important; padding: 0 1.4rem !important; letter-spacing: .12em !important; }
}

/* Text links */
.panel a, .service-link, .about-narrative a, .reviews-link {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; border-bottom: 0; padding: 0;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 9px) / 100% 1px no-repeat;
  transition: color .25s, gap .3s;
}
.panel a:hover, .service-link:hover, .about-narrative a:hover, .reviews-link:hover { color: var(--gold); gap: .95rem; }

/* ---------- Labels (mono eyebrows) ---------- */
.chapter-tag, .hero-eyebrow, .page-eyebrow, .section-kicker, .about-kicker, .manifesto-kicker, .cta-tag, .reviews-tag, .service-num, .form-section-label, .panel-num {
  font-size: var(--t-label); font-weight: 500; letter-spacing: .18em; line-height: 1.5;
}
.about-fact-label, .masthead-col h4, .contact-detail-block h4, .sidebar-services h4, .field label, .chap-label { font-size: .7rem; letter-spacing: .16em; }
.colophon { font-size: .7rem; letter-spacing: .12em; }
@media (max-width: 600px) {
  .chapter-tag, .hero-eyebrow, .page-eyebrow, .section-kicker, .about-kicker, .manifesto-kicker, .cta-tag, .reviews-tag, .service-num, .form-section-label, .panel-num { font-size: .72rem !important; letter-spacing: .14em !important; }
  .about-fact-label, .masthead-col h4, .contact-detail-block h4, .sidebar-services h4, .field label { font-size: .7rem !important; letter-spacing: .12em !important; }
  .colophon { font-size: .7rem !important; letter-spacing: .1em !important; }
}

/* ---------- Home hero ---------- */
.hero { height: auto; min-height: 100vh; min-height: 100svh; padding: 10rem var(--gutter) clamp(4rem, 8vh, 6rem); }
.hero-content { max-width: 62rem; }
.hero-eyebrow { margin-bottom: 1.6rem; opacity: 0; }
.hero-eyebrow::before { width: 40px; flex: none; }
.hero-h1 { font-size: clamp(3.1rem, 9.4vw, 8.4rem); line-height: .96; letter-spacing: -.028em; margin-bottom: 1.8rem; }
.hero-h1 .ln { padding-bottom: .08em; }
.hero-sub { font-size: var(--t-lead); line-height: 1.65; max-width: 34rem; color: rgba(245, 240, 229, .88); margin-bottom: 2.4rem; }
.hero-actions { gap: 1rem; }
.hero-tr { top: 11rem; right: var(--gutter); font-size: .7rem; letter-spacing: .14em; }
.hero-collage-badge { right: var(--gutter); bottom: clamp(4rem, 8vh, 6rem); }
.hero-collage-badge figcaption { font-size: .68rem; letter-spacing: .14em; }
@media (max-width: 600px) {
  .hero { padding: 8.5rem 1.25rem 3.5rem !important; }
  .hero-eyebrow { margin-bottom: 1.1rem !important; }
  .hero-eyebrow::before { width: 24px !important; }
  .hero-h1 { font-size: clamp(2.9rem, 14.5vw, 3.8rem); margin-bottom: 1.3rem !important; }
  .hero-sub { font-size: 1.05rem !important; margin-bottom: 1.8rem !important; }
}

/* ---------- Inner page hero ---------- */
.page-hero { height: auto; min-height: clamp(460px, 62vh, 620px); padding: 9.5rem var(--gutter) clamp(3rem, 6vw, 4.5rem); }
.page-hero-content { max-width: 56rem; }
.page-eyebrow { margin-bottom: 1.2rem; }
.page-h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; margin-bottom: 1.3rem; }
.page-sub { font-size: var(--t-lead); line-height: 1.65; max-width: 36rem; color: rgba(245, 240, 229, .86); }
.legal-hero { min-height: 300px !important; padding: 9.5rem var(--gutter) 3rem !important; }
@media (max-width: 600px) {
  .page-hero { padding: 8rem 1.25rem 3rem !important; min-height: 420px; }
  .page-h1 { font-size: clamp(2.4rem, 11.5vw, 3.2rem); }
}

/* ---------- Headings scale ---------- */
.chapter-break h2 { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.04; max-width: 22ch; }
.manifesto-head h2, .values-head h2, .reviews h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.02; }
.about-narrative h2, .about-text h2, .services-section h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; }
.cta h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; }
.service-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 3rem; }
.panel h3 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.service-info h3 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.05; }
.entry-num { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.entry-title { font-size: clamp(1.35rem, 2vw, 1.75rem); }

/* ---------- Body copy and measure ---------- */
.about-narrative p, .about-text p, .service-body p, .service-info p, .services-intro, .entry-body, .value-card p, .timeline-content p, .cta p, .masthead-sub, .legal-wrap p, .legal-wrap li {
  font-size: var(--t-body); line-height: 1.75; color: var(--mute);
}
.service-body p, .about-text p, .services-intro, .legal-wrap p { max-width: var(--measure); }
.service-body li { font-size: var(--t-body); color: var(--mute); }
.panel p { font-size: 1rem; line-height: 1.6; color: rgba(245, 240, 229, .86); max-width: 34rem; }
.cta p { max-width: 36rem; font-size: var(--t-lead); }
.masthead-sub { font-size: .95rem; max-width: 30rem; }

/* ---------- Section rhythm ---------- */
.chapter-break { padding: var(--sec) var(--gutter) 2.25rem; }
.manifesto, .values-section, .services-section { padding: var(--sec) var(--gutter); }
.about-body, .service-content, .contact-layout { padding: var(--sec) var(--gutter); }
.timeline-section { padding: var(--sec) var(--gutter); }
.reviews { padding: var(--sec) var(--gutter); }
.about-section { padding: 1rem 0 var(--sec); }
.about-inner { padding: 0 var(--gutter); }
.cta { padding: calc(var(--sec) * 1.2) var(--gutter); }
footer { padding: calc(var(--sec) * .7) var(--gutter) 2rem; }
.hscroll-wrap { padding: 1rem 0 0; }
.hscroll { padding: 0 var(--gutter); gap: 1.25rem; scroll-padding-inline: var(--gutter); }
.svc-marquee { margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(1rem, 2vw, 2rem); padding: 2rem 0; }
.svc-marquee-track span { font-size: clamp(2.4rem, 6vw, 5rem); padding: 0 1.5rem; }

/* ---------- Grids (minmax(0, 1fr) everywhere) ---------- */
.about-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.manifesto-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.manifesto-entry { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 3vw, 3rem); padding: 2.5rem 0; }
.masthead { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); }
.about-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2.5rem, 6vw, 6rem); }
.values-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.value-card { padding: clamp(1.5rem, 3vw, 2.5rem); }
.photo-strip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); height: clamp(280px, 40vw, 520px); }
.timeline-item { grid-template-columns: 100px minmax(0, 1fr); padding: 2.25rem 0; }
.service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.service-info { padding: clamp(1.75rem, 4vw, 4rem); }
.service-content { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); }
.contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); }
.form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-fact { grid-template-columns: 90px minmax(0, 1fr); }
@media (max-width: 1000px) {
  .about-inner, .about-body, .values-head, .manifesto-head, .service-content, .contact-layout, .photo-strip, .service-row, .masthead { grid-template-columns: minmax(0, 1fr); }
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .manifesto-entry { grid-template-columns: 80px minmax(0, 1fr); }
  .manifesto-entry .entry-body { grid-column: 1 / -1; }
  .timeline-item { grid-template-columns: 80px minmax(0, 1fr); }
  .photo-strip { height: auto; }
  .service-row:nth-child(even) .service-photo { order: 0; }
  .service-sidebar, .contact-sidebar, .about-portrait, .about-sticky-col { position: static; }
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .manifesto-entry { grid-template-columns: 52px minmax(0, 1fr); padding: 1.75rem 0 !important; }
  .timeline-item { grid-template-columns: 64px minmax(0, 1fr); gap: 1.2rem; }
  .timeline-year { font-size: 2.2rem !important; }
  .about-fact { grid-template-columns: 78px minmax(0, 1fr) !important; }
  .about-inner, .about-body, .manifesto, .values-section, .timeline-section, .services-section, .service-content, .contact-layout, .reviews, .cta, footer, .chapter-break { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .chapter-break { padding-top: 4rem !important; padding-bottom: 1.5rem !important; }
  .about-body, .service-content, .contact-layout, .timeline-section, .values-section, .services-section, .manifesto, .reviews { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .cta { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .hscroll { padding: 0 1.25rem !important; gap: .9rem !important; }
}

/* ---------- Service panels (home carousel) ---------- */
.panel { flex: 0 0 min(80%, 820px); aspect-ratio: 16 / 10; }
.panel-content { padding: clamp(1.5rem, 3vw, 2.6rem); }
.panel-num { margin-bottom: .7rem; }
@media (max-width: 1000px) { .panel { flex: 0 0 88%; aspect-ratio: 4 / 4.6; } }
@media (max-width: 600px) {
  .panel { flex: 0 0 86% !important; aspect-ratio: 4 / 5 !important; }
  .panel-content { padding: 1.4rem 1.25rem !important; }
  .panel h3 { font-size: 1.75rem !important; }
  .panel p { font-size: .97rem !important; margin-bottom: .6rem !important; }
}
.hscroll:focus-visible { outline-offset: -4px; }

/* Carousel control (replaces the old instruction text) */
.hscroll-controls { margin: 1.6rem auto 0; padding: 0 var(--gutter); max-width: 1400px; gap: 1.5rem; }
.hscroll-status { display: flex; align-items: center; gap: 1.1rem; flex: 1 1 auto; min-width: 0; font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: .78rem; letter-spacing: .14em; color: var(--mute); }
.hscroll-status b { color: var(--gold); font-weight: 500; }
.hs-bar { position: relative; flex: 0 1 220px; height: 2px; background: var(--rule); }
.hs-bar i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--gold); transition: width .4s var(--ease); }
.hscroll-arrows { display: flex; gap: .7rem; flex: none; }
.hscroll-arrow { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.05rem; line-height: 1; padding: 0; }
.hscroll-arrow:disabled { opacity: .35; cursor: default; }
.hscroll-arrow:disabled:hover { background: transparent; color: var(--cream); border-color: rgba(245, 240, 229, .28); }
@media (max-width: 600px) { .hscroll-controls { padding: 0 1.25rem !important; font-size: .78rem !important; } .hs-bar { flex-basis: 120px; } }

/* ---------- Reviews ---------- */
.reviews { padding-top: calc(var(--sec) * .9); padding-bottom: calc(var(--sec) * .9); }
.reviews-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; margin: 0 auto 2.5rem; line-height: 1.5; color: rgba(245, 240, 229, .7); }
.reviews-tag { margin-bottom: 1.5rem; }
@media (max-width: 600px) { .reviews-sub { margin-bottom: 2rem !important; } }

/* ---------- About / cards ---------- */
.about-pullquote, .pull-quote { font-size: clamp(1.35rem, 2.4vw, 1.95rem); padding: 1.5rem 0 1.5rem 1.8rem; }
.about-narrative { gap: 2.25rem; }
.about-photo, .about-portrait-img { max-height: 560px; }
.sidebar-cta { padding: clamp(1.5rem, 3vw, 2rem); }
.sidebar-cta .btn-gold { width: 100%; }
.sidebar-img { aspect-ratio: 4 / 3; }
.service-body ul { margin: 1.25rem 0 2rem; gap: .6rem; }
.service-body h2:first-child { margin-top: 0; }
.breadcrumb-inner, .breadcrumb a, .breadcrumb .current { font-size: .78rem; letter-spacing: .1em; }

/* ---------- Forms ---------- */
.field input, .field select, .field textarea { font-size: 1rem; min-height: 52px; padding: .9rem 1.1rem; border-color: rgba(245, 240, 229, .22); border-radius: 2px; }
.field textarea { min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(212, 165, 85, .25); }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 240, 229, .46); }
.field .optional { color: rgba(245, 240, 229, .55); font-size: .7rem; }
.form-note { font-size: .95rem; }
.contact-detail-block address { font-size: 1rem; line-height: 2; }
.contact-detail-block address a { display: inline-block; padding: .15rem 0; }
.contact-hours p { font-size: 1rem; }

/* ---------- Footer ---------- */
.masthead-logo { display: inline-block; background: var(--cream); padding: .5rem .85rem; border-radius: 3px; margin-bottom: 1.4rem; }
.masthead-logo img { height: 52px; width: auto; opacity: 1; }
.masthead-col li { margin-bottom: .35rem; }
.masthead-col a { display: inline-block; padding: .35rem 0; }
.masthead-col address a { padding: .1rem 0; }
.colophon a { padding: .35rem 0; }
@media (max-width: 600px) { .masthead-logo img { height: 48px !important; } }

/* ---------- Reduced motion: keep content visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-tr, .hero-collage-badge, .scroll-hint, .page-eyebrow, .page-h1, .page-sub, .hero-h1 .ln span, .sr { opacity: 1 !important; transform: none !important; }
}

/* ---------- Display type: open the tracking (Fraunces at opsz 144 reads cramped at these sizes) ---------- */
.hero-h1, .page-h1, h2, h3, .entry-title, .entry-num, .timeline-year, .value-num, .about-pullquote, .pull-quote, .reviews-sub, .sidebar-services a, .masthead-col a, .svc-marquee-track span {
  font-variation-settings: "opsz" 72, "SOFT" 0, "WONK" 0;
  word-spacing: .08em;
}
.hero-h1 { letter-spacing: -.018em; }
.page-h1, .cta h2 { letter-spacing: -.02em; }
h2, h3, .entry-title { letter-spacing: -.012em; }
em, .hero-h1 .ln:nth-child(2) span, .about-pullquote, .pull-quote, .entry-num, .timeline-year, .value-num, .reviews-sub, .sidebar-services a, .masthead-col a, .svc-marquee-track span {
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}
.reviews::before { display: none; }

/* Legibility over photography */
.hero-eyebrow, .page-eyebrow { text-shadow: 0 1px 12px rgba(13, 26, 16, .9); }
.hero-grade { background: linear-gradient(180deg, rgba(13, 26, 16, .35) 0%, rgba(13, 26, 16, .35) 30%, rgba(13, 26, 16, .72) 70%, rgba(13, 26, 16, .97) 100%); }
.page-hero-grade { background: linear-gradient(180deg, rgba(13, 26, 16, .4) 0%, rgba(13, 26, 16, .5) 50%, rgba(13, 26, 16, .97) 100%); }
.about-section { padding-top: var(--sec); }
.about-section .about-sticky-col { top: 9rem; }

/* Mobile menu toggle: inner pages declared display:none after the breakpoint rule, so it never showed */
@media (max-width: 900px) {
  .nav-toggle { display: flex !important; }
  .nav-links { display: none; }
}
