/* Custom Ranch LLC — shared styles
   Seed 3-8-5-3-3-6-4: bright saddle orange, safety yellow and denim · alternating light and dark full-width sections ·
   editorial columns with a narrow side column · condensed bold uppercase headings (Anton) + sans body (Montserrat) ·
   solid safety-yellow header bar · numbered items with large numerals · pill buttons, tags and price pills ·
   motif: boot-tread chevron strip */

@font-face { font-family: "Anton"; src: url("fonts/anton-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --tread: #1e150f;
  --leather: #3a2618;
  --yellow: #ffc21a;
  --orange: #e8701f;
  --rust: #a8450b;
  --denim: #1f5fae;
  --cream: #fff5e8;
  --white: #ffffff;
  --ink: #1e150f;
  --muted: #5c4a3c;
  --muted-dark: #dcc9b4;
  --line: #ead9c4;
  --line-dark: rgba(255, 245, 232, 0.2);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --tread-strip: url("assets/motif-tread.svg") 0 50% / 28px 14px repeat-x;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--white); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: 0.01em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; line-height: 1.3; margin: 0 0 0.3em; }
p { margin: 0 0 1em; }
a { color: var(--denim); text-underline-offset: 0.18em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1.1rem; border-radius: 999px; background: var(--tread); color: var(--yellow); }
.skip-link:focus { top: 1rem; }
.tread { height: 14px; background: var(--tread-strip); background-color: var(--tread); }

/* ---------- solid safety-yellow header bar, pill navigation ---------- */
.site-header { background: var(--yellow); color: var(--ink); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 62px; height: auto; flex: none; border-radius: 10px; }
.brand-name { font-family: var(--display); font-size: clamp(1.45rem, 3vw, 1.9rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.brand:hover { color: var(--ink); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.42rem 1.05rem; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 0.95rem; text-decoration: none; line-height: 1.3; }
.main-nav a:hover { background: rgba(30, 21, 15, 0.12); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--yellow); }

/* ---------- alternating sections ---------- */
.section { padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.dark { background: var(--tread); color: var(--cream); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark p { color: var(--muted-dark); }
.dark a:not(.btn) { color: var(--yellow); }
.dark a:not(.btn):hover { color: var(--white); }
.light { background: var(--white); }
.cream { background: var(--cream); }

/* editorial: wide main column + narrow side column */
.ed { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.ed.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
.side { padding-left: clamp(1rem, 2.4vw, 1.8rem); border-left: 3px solid var(--orange); }
.ed.flip .side { padding-left: 0; padding-right: clamp(1rem, 2.4vw, 1.8rem); border-left: 0; border-right: 3px solid var(--orange); }
.side h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.side-label { margin: 0 0 0.5rem; font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rust); }
.dark .side-label { color: var(--yellow); }

.hero { padding-block: clamp(2.6rem, 6vw, 4.4rem) clamp(2.2rem, 5vw, 3.6rem); }
.hero-art { display: block; width: 100%; margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.tag { display: inline-block; margin: 0 0 1.1rem; padding: 0.28rem 0.95rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 0.88rem; line-height: 1.45; }
.dark p.tag, .dark .story p.tag { color: var(--ink); }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); max-width: 50ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.72rem 1.45rem; border: 2px solid var(--orange); border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.dark .btn-line { color: var(--cream); border-color: var(--cream); }
.dark .btn-line:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.glance { list-style: none; margin: 0; padding: 0; }
.glance li { padding: 0.65rem 0; border-bottom: 1px solid var(--line-dark); }
.glance li:first-child { padding-top: 0; }
.glance strong { display: block; color: var(--white); }
.glance span { color: var(--muted-dark); font-size: 0.95rem; }

/* ---------- home: numbered lines ---------- */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.lines li { border-top: 3px solid var(--ink); }
.lines a { display: grid; grid-template-columns: auto minmax(0, 1fr) 56px; gap: 0.3rem 1rem; align-items: start; padding: 1rem 0 1.3rem; color: var(--ink); text-decoration: none; }
.lines .n { font-family: var(--display); font-size: 3.6rem; line-height: 0.9; color: var(--orange); }
.lines .l-name { display: block; font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; line-height: 1.05; }
.lines .l-meta { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.92rem; }
.lines img { width: 56px; height: 56px; }
.lines a:hover .l-name { color: var(--rust); }
.offers { list-style: none; margin: 0; padding: 0; }
.offers li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.offers li:first-child { padding-top: 0; }
.offers h3 { margin-bottom: 0.2rem; }
.offers p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.dark .offers li { border-color: var(--line-dark); }
.dark .offers p { color: var(--muted-dark); }
.terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.terms li { padding: 0.85rem 0; border-top: 1px solid var(--line-dark); color: var(--muted-dark); }
.terms strong { color: var(--white); }
.light .terms li, .cream .terms li { border-color: var(--line); color: var(--muted); }
.light .terms strong, .cream .terms strong { color: var(--ink); }

/* ---------- products: numbered items, large numerals, alternating bands ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.38rem 1rem; border: 2px solid var(--cream); border-radius: 999px; color: var(--cream); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.dark .jump a { color: var(--cream); }
.dark .jump a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.cat { scroll-margin-top: 0.5rem; }
.cat-side img { width: 72px; height: 72px; background: var(--cream); border-radius: 999px; padding: 6px; }
.cat-side h2 { margin-top: 0.6rem; }
.cat-side .count { margin: 0; font-weight: 600; }
.cream .cat-side img { background: var(--white); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; }
.items li { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0 1rem; padding: 1.2rem 0 1.3rem; border-top: 3px solid var(--ink); }
.dark .items li { border-color: var(--line-dark); }
.items .n { font-family: var(--display); font-size: 3.7rem; line-height: 0.88; color: var(--orange); font-variant-numeric: lining-nums tabular-nums; }
.items h3 { margin-bottom: 0.3rem; }
.items p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.95rem; }
.dark .items p { color: var(--muted-dark); }
.price { display: inline-block; padding: 0.22rem 0.9rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 1.02rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.price.quote { background: transparent; border: 2px solid var(--orange); color: inherit; white-space: normal; font-size: 0.9rem; }
.dark .price.quote { color: var(--cream); }
.call-quote { display: block; margin-top: 0.45rem; font-weight: 700; font-size: 0.95rem; }

/* ---------- about / contact ---------- */
.facts { margin: 0; }
.facts div { padding: 0.6rem 0; border-bottom: 1px solid var(--line-dark); }
.facts div:first-child { padding-top: 0; }
.facts dt { color: var(--yellow); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 0; color: var(--white); font-weight: 600; }
.story p { font-size: 1.05rem; }
.story .first { color: var(--white); font-size: 1.2rem; font-weight: 600; }
.story .tag { color: var(--ink); }
.reasons { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.reasons li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0 1rem; padding: 1rem 0; border-top: 3px solid var(--ink); color: var(--muted); counter-increment: r; }
.reasons li::before { content: "0" counter(r); font-family: var(--display); font-size: 2.9rem; line-height: 0.9; color: var(--orange); }
.reasons strong { color: var(--ink); }
.details { margin: 0; }
.details div { padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); }
.details div:first-child { padding-top: 0; }
.details dt { color: var(--yellow); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.details dd { margin: 0; font-weight: 600; color: var(--white); }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em; }
.hours th, .hours td { padding: 0.5rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.hours thead th { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--yellow); border-bottom: 2px solid var(--yellow); }
.hours tbody th { font-weight: 700; padding-right: 0.8rem; white-space: nowrap; }
.hours td { font-variant-numeric: lining-nums tabular-nums; }
.hours .closed { color: var(--muted-dark); }
.light .hours th, .light .hours td { border-color: var(--line); }
.light .hours thead th { color: var(--rust); border-color: var(--ink); }
.light .hours .closed { color: var(--muted); }
.map-frame { display: block; width: 100%; height: 400px; border: 0; border-radius: 22px; background: var(--cream); }
.map-link { margin-top: 0.9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--tread); color: var(--muted-dark); font-size: 0.95rem; }
.site-footer a { color: var(--yellow); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.6rem; padding-block: 2.2rem 1.4rem; }
.footer-name { margin: 0 0 0.35rem; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--white); line-height: 1.1; }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--white); font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }

@media (max-width: 960px) {
  .ed, .ed.flip { grid-template-columns: 1fr; }
  .side, .ed.flip .side { padding: 1.2rem 0 0; border: 0; border-top: 3px solid var(--orange); }
  .items, .lines, .terms { grid-template-columns: 1fr; }
  .late { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand img { width: 52px; }
  .main-nav a { padding: 0.36rem 0.85rem; font-size: 0.9rem; }
  .items li { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .items .n { font-size: 2.9rem; }
  .lines .n { font-size: 2.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
