/* Eagle Rock Ranch LLC — shared styles
   Seed 5-4-1-8-7-4-4: cool-leaning awning colors (deep awning teal-blue, sky, sea-glass green, aluminum, canvas white) ·
   saturated teal hero and section bands with white text over white content areas · split hero (graphic / text) ·
   high-contrast display serif headings (Truman Modern) + light sans body (DM Sans 300) · boxed floating header with
   border · two-column grouped list · pill buttons and tags · motif: scalloped striped valance */

@font-face { font-family: "Truman Modern"; src: url("fonts/truman-modern-demi.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-300.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --teal: #1d5d7d;
  --teal-dk: #154862;
  --navy: #0e1e2e;
  --sky: #8fbed6;
  --sky-lt: #e8f0f4;
  --glass: #3f9a8f;
  --alu: #c7d0d6;
  --canvas: #f3f1ea;
  --muted: #51606b;
  --serif: "Truman Modern", "Bodoni 72", "Didot", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --valance: url("assets/motif-valance.svg") 0 0 / 40px 18px 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-weight: 300; font-size: 1.06rem; line-height: 1.66; color: var(--navy); background: var(--white); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 0.45em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.45rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--glass); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.2rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: 999px; background: var(--navy); color: var(--white); }
.skip-link:focus { top: 1rem; }
.valance { height: 18px; background: var(--navy) var(--valance); }

/* ---------- boxed floating header with border (floats on the teal band) ---------- */
.site-header { background: var(--teal); padding: 1rem clamp(0.7rem, 3vw, 1.6rem) 0; }
.header-box { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 2rem; padding: 0.6rem 0.8rem 0.6rem 0.65rem; border: 2px solid var(--navy); border-radius: 999px; background: var(--white); }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--navy); text-decoration: none; }
.brand img { width: 60px; height: auto; flex: none; border-radius: 18px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 1.55rem); line-height: 1.1; }
.brand:hover .brand-name { color: var(--teal); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.42rem 1.05rem; border-radius: 999px; color: var(--navy); font-weight: 500; text-decoration: none; }
.main-nav a:hover { background: var(--sky-lt); color: var(--teal); }
.main-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* ---------- saturated bands ---------- */
.band { background: var(--teal); color: var(--white); }
.band.deep { background: var(--teal-dk); }
.band h1, .band h2, .band h3 { color: var(--white); }
.band p { color: #dcebf2; }
.band a { color: var(--white); }
.band .kicker { color: #bfe3df; }
.hero { padding-block: clamp(2.4rem, 5.5vw, 4rem); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.hero-art { display: block; width: 100%; border-radius: 28px; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.3rem 0.95rem; border-radius: 999px; background: var(--white); color: var(--teal); font-weight: 500; font-size: 0.9rem; line-height: 1.45; max-width: 100%; }
.lede { font-size: clamp(1.1rem, 2vw, 1.26rem); max-width: 46ch; }
.content .lede { color: var(--muted); }
.kicker { margin: 0 0 0.35rem; color: var(--teal); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.4rem; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 500; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--sky); color: var(--navy); }
.btn-clear { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8); }
.btn-clear:hover { background: var(--white); color: var(--teal); }
.content .btn { background: var(--teal); color: var(--white); }
.content .btn:hover { background: var(--navy); }
.content .btn-clear { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.content .btn-clear:hover { background: var(--teal); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.content { padding-block: clamp(2.2rem, 5vw, 3.4rem); }

/* home */
.trades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 2.4rem; }
.trades a { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--alu); color: var(--navy); text-decoration: none; }
.trades .chip { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--sky-lt); }
.trades .chip img { width: 44px; height: 44px; }
.trades .t-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.trades .t-meta { display: block; color: var(--muted); font-size: 0.92rem; }
.trades a:hover .t-name { color: var(--teal); }
.split2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.marks { list-style: none; margin: 0; padding: 0; }
.marks li { padding: 0.7rem 0 0.7rem 1.4rem; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.marks li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: var(--sky); }
.content .marks li { border-color: var(--alu); color: var(--muted); }
.content .marks li::before { background: var(--glass); }
.content .marks strong { color: var(--navy); }
.sheet { padding: 1.3rem 1.5rem; border-radius: 28px; background: var(--white); color: var(--navy); }
.sheet p { color: var(--muted); }
.sheet h3 { color: var(--navy); }
.sheet .kicker { color: var(--teal); }

/* ---------- catalog: two-column grouped list ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.3rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.35rem 0.95rem; border-radius: 999px; background: var(--white); color: var(--teal); font-weight: 500; font-size: 0.92rem; text-decoration: none; }
.jump a:hover { background: var(--sky); color: var(--navy); }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 3rem; align-items: start; }
.group { scroll-margin-top: 1rem; }
.group-head { display: flex; align-items: center; gap: 0.85rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--navy); }
.group-head .chip { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--sky-lt); }
.group-head .chip img { width: 40px; height: 40px; }
.group-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1.2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--alu); }
.items h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.items p { grid-column: 1; margin: 0; color: var(--muted); font-size: 0.97rem; }
.items .price { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding: 0.15rem 0.8rem; border-radius: 999px; background: var(--teal); color: var(--white); font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.items .price.quote { background: var(--sky-lt); color: var(--teal-dk); white-space: normal; max-width: 10.5rem; text-align: center; font-size: 0.88rem; border-radius: 20px; }
.items .price.quote a { display: block; margin-top: 0.15rem; color: var(--navy); white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.offers li { padding: 1.2rem 1.3rem; border-radius: 28px; background: var(--white); color: var(--navy); }
.offers h3 { margin-bottom: 0.3rem; color: var(--navy); }
.band .offers p { margin: 0; color: var(--muted); }
.offers .deal { display: inline-block; margin-top: 0.6rem; padding: 0.15rem 0.75rem; border-radius: 999px; background: var(--glass); color: var(--white); font-weight: 500; }

/* ---------- about / contact ---------- */
.story .first { font-size: 1.16rem; color: var(--white); }
.facts, .details { margin: 0; padding: 0.4rem 1.4rem; border-radius: 28px; background: var(--sky-lt); color: var(--navy); }
.facts div, .details div { padding: 0.7rem 0; }
.facts div + div, .details div + div { border-top: 1px solid var(--alu); }
.facts dt, .details dt { color: var(--teal); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd, .details dd { margin: 0; font-weight: 500; }
.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(--serif); font-weight: 600; font-size: 1.7rem; }
.hours th, .hours td { padding: 0.55rem 0.4rem 0.55rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--alu); }
.hours thead th { color: var(--teal); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { font-weight: 500; padding-right: 1rem; }
.hours td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hours .note { display: block; color: var(--muted); font-size: 0.9rem; white-space: normal; }
.map-frame { display: block; width: 100%; height: 380px; border: 0; border-radius: 28px; background: var(--sky-lt); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c3d0d9; font-size: 0.96rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sky); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.6rem; padding-block: 2.1rem 1.3rem; }
.footer-name { margin: 0 0 0.3rem; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--sky); font-weight: 500; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.86rem; }

@media (max-width: 1000px) {
  .hero-split, .split2, .groups { grid-template-columns: 1fr; }
  .hero-split .hero-art { order: 2; }
  .offers { grid-template-columns: 1fr; }
  .header-box { border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand img { width: 52px; }
  .main-nav a { padding: 0.36rem 0.8rem; }
  .trades { grid-template-columns: 1fr; }
  .items li { grid-template-columns: 1fr; }
  .items .price { grid-column: 1; grid-row: auto; justify-self: start; }
  .items .price.quote { max-width: none; text-align: left; }
  .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; }
}
.band .tag { color: var(--teal); }
.band .btn { color: var(--navy); }
.band .btn:hover { color: var(--navy); }
.band .btn-clear { color: var(--white); }
.band .btn-clear:hover { color: var(--teal); }
.band .jump a { color: var(--teal); }
.band .jump a:hover { color: var(--navy); }
