/* Ricky Tree & Land Co — preview */
:root {
  --black: #0b0f0c;
  --ink: #0f1712;
  --pine: #13261c;
  --pine-2: #1a3326;
  --line: rgba(240, 233, 220, .12);
  --cream: #f0e9dc;
  --muted: rgba(240, 233, 220, .66);
  --amber: #f5a524;
  --amber-2: #ffbf47;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
svg { flex-shrink: 0; }
::selection { background: var(--amber); color: var(--black); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.amber { color: var(--amber); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 84px); line-height: .98; letter-spacing: .005em; margin-top: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-amber { background: var(--amber); color: var(--black); box-shadow: 0 10px 30px -10px rgba(245,165,36,.6); }
.btn-amber:hover { background: var(--amber-2); }
.btn-ghost { background: rgba(240,233,220,.1); color: var(--cream); border: 1px solid rgba(240,233,220,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost svg { fill: none; }
.btn-ghost:hover { background: rgba(240,233,220,.18); }
.btn-line { color: var(--cream); border: 1px solid transparent; padding: 0 14px; }
.btn-line:hover { color: var(--amber); }
.btn-dark { background: var(--black); color: var(--cream); }
.btn-dark svg { fill: none; }
.btn-dark:hover { background: var(--pine); }
.btn-dark-line { border: 2px solid var(--black); color: var(--black); }
.btn-dark-line:hover { background: rgba(11,15,12,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,15,12,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px; border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.brand em { font-style: normal; color: var(--amber); }
.brand-mark { width: 28px; height: 28px; color: var(--amber); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--cream); }
.nav-call {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--amber); color: var(--black); font-weight: 700; font-size: 15px;
  padding: 11px 18px; border-radius: 999px;
  transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease), background .2s;
}
.nav-call:hover { background: var(--amber-2); }
.nav-call svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  filter: saturate(.7) brightness(.78) contrast(1.05);
  transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(11,15,12,.25), rgba(11,15,12,.6) 75%),
    linear-gradient(180deg, rgba(11,15,12,.6) 0%, rgba(11,15,12,.1) 30%, rgba(11,15,12,.35) 62%, var(--black) 100%);
}
.hero::after { /* pine tint */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(40, 70, 52, .55); mix-blend-mode: multiply;
}
.grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  display: grid; grid-template-columns: repeat(6, 1fr); padding: 0 var(--gutter);
}
.grid-lines span { border-left: 1px solid rgba(240,233,220,.07); }
.grid-lines span:last-child { border-right: 1px solid rgba(240,233,220,.07); }

.hero-inner {
  position: relative; width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 120px var(--gutter) 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto 1fr auto;
  align-items: center; gap: 0 24px;
}
.hero-inner > .eyebrow { grid-column: 1 / -1; justify-content: center; }
.hero-inner > .eyebrow::before { display: none; }
.hero-stat { grid-column: 2; grid-row: 2; text-align: center; }
.stars { color: var(--amber); font-size: 22px; letter-spacing: .3em; padding-left: .3em; }
.big-num {
  font-family: var(--display); font-size: clamp(150px, 26vw, 360px); line-height: .85;
  letter-spacing: -.01em; color: var(--cream);
  text-shadow: 0 20px 80px rgba(0,0,0,.45);
  font-variant-numeric: tabular-nums;
}
.big-label {
  font-size: clamp(14px, 1.6vw, 18px); font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cream); margin-top: 14px;
}
.side-stats { list-style: none; margin: 0; padding: 0; grid-row: 2; display: grid; gap: 40px; }
.side-left { grid-column: 1; justify-self: start; }
.side-right { grid-column: 3; justify-self: end; text-align: right; }
.side-stats li { display: flex; flex-direction: column; border-top: 1px solid rgba(245,165,36,.6); padding-top: 12px; min-width: 150px; }
.side-stats strong { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; }
.side-stats span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.hero-bottom { grid-column: 1 / -1; grid-row: 3; display: grid; justify-items: center; text-align: center; gap: 18px; }
.hero-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 76px); line-height: .95; letter-spacing: .01em;
}
.hero-title span { color: var(--amber); }
.hero-sub { max-width: 560px; color: var(--muted); font-size: 17px; }
.hero-bottom .btn-row { justify-content: center; margin-top: 6px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(240,233,220,.4); border-radius: 14px; display: none;
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--amber); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Hero load-in */
.hero-in { opacity: 0; transform: translateY(24px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--ink); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing: .03em; white-space: nowrap; color: var(--cream); }
.ticker i { font-style: normal; color: var(--amber); font-size: 14px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 1000px; }

/* Services */
.services { background: var(--black); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--pine); border: 1px solid var(--line); isolation: isolate;
}
.card-img { position: absolute; inset: 0; z-index: -1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.85); transform: scale(1.02); transition: transform .9s var(--ease), filter .5s; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,15,12,.1) 0%, rgba(11,15,12,.4) 38%, rgba(11,15,12,.96) 100%);
}
.card:hover .card-img img { transform: scale(1.08); filter: saturate(.9) brightness(.9); }
.card-body { position: absolute; inset: auto 0 0 0; padding: 26px; }
.card-num {
  display: inline-block; font-family: var(--display); font-size: 15px; letter-spacing: .1em;
  color: var(--black); background: var(--amber); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px;
}
.card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; letter-spacing: .01em; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 10px; max-width: 34ch; }

/* Why */
.why { background: linear-gradient(180deg, var(--black), var(--pine) 30%, var(--pine) 70%, var(--black)); }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.why-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.85); }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,15,12,.85)); }
.why-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 1;
  display: flex; align-items: baseline; gap: 12px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
}
.why-badge-num { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--amber); letter-spacing: 0; }
.why-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.why-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,165,36,.12); color: var(--amber); }
.why-icon svg { width: 24px; height: 24px; }
.why-list h3 { font-size: 20px; font-weight: 700; }
.why-list p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.review-link {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  text-decoration: none; padding: 20px 22px; border-radius: 16px;
  background: rgba(11,15,12,.5); border: 1px solid rgba(245,165,36,.35);
  transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.review-link:hover { border-color: var(--amber); background: rgba(11,15,12,.75); transform: translateY(-2px); }
.review-stars { color: var(--amber); letter-spacing: .15em; font-size: 18px; }
.review-text { font-size: 15px; }
.review-cta { margin-left: auto; color: var(--amber); font-weight: 700; font-size: 15px; }

/* How */
.how { background: var(--black); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 36px 30px 34px; border-radius: 18px;
  background: linear-gradient(160deg, var(--pine-2), var(--ink) 70%); border: 1px solid var(--line);
  overflow: hidden;
}
.step-num {
  display: block; font-family: var(--display); font-size: 120px; line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,165,36,.75); margin-bottom: 26px;
}
.step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1.02; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.step:not(:last-child)::after {
  content: "→"; position: absolute; top: 34px; right: 28px; color: var(--amber); font-size: 24px;
}

/* CTA band */
.cta-band { background: var(--amber); color: var(--black); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--black) 0 1px, transparent 1px calc(100% / 6));
}
.cta-inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(42px, 6.6vw, 96px); line-height: .95; max-width: 15ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--black), var(--ink)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.phone-big {
  display: inline-block; margin: 30px 0 24px; text-decoration: none;
  font-family: var(--display); font-size: clamp(44px, 5.6vw, 72px); line-height: 1; color: var(--cream);
  transition: color .2s;
}
.phone-big:hover { color: var(--amber); }
.contact-facts { margin: 36px 0 0; display: grid; gap: 0; }
.contact-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-facts dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); padding-top: 4px; }
.contact-facts dd { margin: 0; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: var(--pine); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: grayscale(.35) invert(.9) hue-rotate(180deg) contrast(.9) brightness(.95); }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-name { font-family: var(--display); text-transform: uppercase; font-size: 26px; line-height: 1; }
.footer-small { color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer-phone { font-family: var(--display); font-size: 32px; text-decoration: none; color: var(--amber); }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Mobile sticky bar */
.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .side-stats li { min-width: 120px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav-call span { display: none; }
  .nav-call { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .nav-call svg { width: 18px; height: 18px; }
  .brand { font-size: 15px; }

  .grid-lines { grid-template-columns: repeat(4, 1fr); }
  .grid-lines span:nth-child(n+5) { display: none; }
  .hero-bg img { object-position: 64% 30%; }
  .hero-inner {
    grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto;
    padding: 104px 20px 40px; gap: 0 16px; align-content: center;
  }
  .hero-inner > .eyebrow { font-size: 10.5px; letter-spacing: .1em; text-align: center; white-space: nowrap; }
  .hero-stat { grid-column: 1 / -1; grid-row: 2; margin: 18px 0 26px; }
  .stars { font-size: 18px; }
  .big-num { font-size: clamp(140px, 46vw, 200px); }
  .big-label { font-size: 13px; letter-spacing: .22em; margin-top: 10px; }
  .side-stats { grid-row: 3; gap: 16px; }
  .side-left { grid-column: 1; justify-self: stretch; }
  .side-right { grid-column: 2; justify-self: stretch; text-align: right; }
  .side-stats li { min-width: 0; padding-top: 10px; }
  .side-stats strong { font-size: 24px; }
  .side-stats span { font-size: 11px; letter-spacing: .12em; }
  .hero-bottom { grid-row: 4; margin-top: 34px; gap: 14px; }
  .hero-title { font-size: clamp(36px, 10.5vw, 48px); }
  .hero-sub { font-size: 15.5px; }
  .hero-bottom .btn-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .hero-bottom .btn-line { grid-column: 1 / -1; min-height: 44px; }
  .btn { min-height: 54px; padding: 0 14px; font-size: 15.5px; gap: 8px; }

  .ticker span { font-size: 18px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { aspect-ratio: 5 / 4; }
  .card-body { padding: 22px; }
  .card h3 { font-size: 28px; }

  .why-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 4 / 3.4; }
  .why-list li { grid-template-columns: 44px 1fr; gap: 14px; }
  .why-icon { width: 44px; height: 44px; border-radius: 12px; }
  .review-cta { margin-left: 0; width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 28px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
  .step-num { font-size: 78px; margin: 0; grid-row: span 2; }
  .step:not(:last-child)::after { content: none; }
  .step h3 { font-size: 26px; padding-top: 4px; }

  .cta-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy .btn-row { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-facts div { grid-template-columns: 1fr; gap: 4px; }
  .map, .map iframe { min-height: 320px; }

  .footer-base { flex-direction: column; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11,15,12,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px;
    text-decoration: none; font-weight: 700; font-size: 16px;
  }
  .mobile-bar svg { width: 19px; height: 19px; }
  .mb-call { background: var(--amber); color: var(--black); }
  .mb-call svg { fill: currentColor; }
  .mb-text { background: var(--pine-2); color: var(--cream); border: 1px solid rgba(240,233,220,.2); }
}

@media (min-width: 761px) and (min-height: 1000px) { .scroll-cue { display: block; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero-in { opacity: 1; transform: none; }
  .hero-bg img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
