/* Five Star Horizon Construction LLC — shared styles
   Seed 6-6-1-7-6-2-5: warm-leaning epoxy copper, amber, terracotta and warm concrete · deep espresso-copper base ·
   split hero (text / brand graphic) · rounded soft sans (Moon Rounded) · vertical side header · menu rows with
   dotted leaders · thick 3px outlines, no shadows · motif: broadcast epoxy color chips */

@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --base: #22140e;
  --base-2: #2f1d15;
  --line: #f3e7d7;
  --line-soft: #5a3d2e;
  --text: #f6ece0;
  --muted: #d0bcaa;
  --copper: #d6703e;
  --amber: #f6ba50;
  --concrete: #b9aea4;
  --ink: #22140e;
  --rounded: "Moon Rounded", "Nunito", "Segoe UI", Arial, sans-serif;
  --chips: url("assets/motif-chips.svg") 0 0 / 36px 36px repeat;
  --side: 270px;
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; box-shadow: none; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body { margin: 0; font-family: var(--rounded); font-weight: 500; font-size: 1.04rem; line-height: 1.66; color: var(--text); background: var(--base); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 800; color: var(--text); }
h1, h2, h3 { font-family: var(--rounded); font-weight: 800; line-height: 1.1; margin: 0 0 0.5em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -0.01em; }
h3 { font-size: 1.03rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--amber); text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: var(--r); background: var(--amber); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- vertical side header ---------- */
.shell { position: relative; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.shell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--side); background: var(--base-2) var(--chips); border-right: 3px solid var(--copper); }
.site-header { position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 1.6rem; padding: 1.8rem 1.4rem; z-index: 1; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; color: var(--text); text-decoration: none; }
.brand img { width: 96px; height: auto; border: 3px solid var(--copper); border-radius: var(--r); }
.brand-name { font-weight: 800; font-size: 1.32rem; line-height: 1.15; }
.brand:hover .brand-name { color: var(--amber); }
.main-nav ul { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 0.5rem 0.95rem; border: 3px solid var(--line-soft); border-radius: var(--r); color: var(--text); font-weight: 700; text-decoration: none; }
.main-nav a:hover { border-color: var(--amber); color: var(--amber); }
.main-nav a[aria-current="page"] { border-color: var(--amber); background: var(--amber); color: var(--ink); }
.side-contact { margin-top: auto; font-size: 0.95rem; color: var(--muted); }
.side-contact p { margin: 0 0 0.6rem; }
.side-contact .call { display: inline-block; padding: 0.4rem 0.95rem; border: 3px solid var(--copper); border-radius: var(--r); color: var(--text); font-weight: 800; text-decoration: none; white-space: nowrap; }
.side-contact .call:hover { background: var(--copper); color: var(--ink); }
.content { min-width: 0; display: flex; flex-direction: column; }
.content main { flex: 1; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.6rem); }
.section { padding-block: clamp(2.4rem, 5.5vw, 3.8rem); }
.band { background: var(--base-2); border-block: 3px solid var(--line-soft); }
.chips { height: 22px; background: var(--chips); border-bottom: 3px solid var(--copper); }

/* ---------- split hero ---------- */
.hero { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.hero-art { display: block; width: 100%; border: 3px solid var(--line); border-radius: var(--r); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.25rem 0.8rem; border: 3px solid var(--copper); border-radius: var(--r); color: var(--text); font-weight: 700; font-size: 0.9rem; line-height: 1.45; max-width: 100%; }
.lede { font-size: clamp(1.1rem, 2vw, 1.24rem); color: var(--muted); max-width: 46ch; }
.kicker { margin: 0 0 0.35rem; color: var(--amber); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.62rem 1.25rem; border: 3px solid var(--amber); border-radius: var(--r); background: var(--amber); color: var(--ink); font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: transparent; color: var(--amber); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn-line:hover { color: var(--amber); border-color: var(--amber); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* home */
.trades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.trades a { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem 1.1rem; border: 3px solid var(--line-soft); border-radius: var(--r); color: var(--text); text-decoration: none; }
.trades img { width: 56px; height: 56px; flex: none; }
.trades .t-name { display: block; font-weight: 800; line-height: 1.25; }
.trades .t-meta { display: block; color: var(--muted); font-size: 0.92rem; }
.trades a:hover { border-color: var(--amber); }
.split2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 0.75rem 0 0.75rem 1.1rem; border-left: 3px solid var(--copper); color: var(--muted); }
.list li + li { margin-top: 0.6rem; }
.list strong { color: var(--text); }
.box { padding: 1.2rem 1.3rem; border: 3px solid var(--line); border-radius: var(--r); }

/* ---------- catalog: menu rows with dotted leaders ---------- */
.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.3rem 0.85rem; border: 3px solid var(--line-soft); border-radius: var(--r); color: var(--text); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { border-color: var(--amber); color: var(--amber); }
.cat { scroll-margin-top: 1rem; padding: 1.3rem 1.4rem 0.5rem; border: 3px solid var(--line); border-radius: var(--r); }
.cat + .cat { margin-top: 1.6rem; }
.cat-head { display: flex; align-items: center; gap: 0.85rem; padding-bottom: 0.7rem; border-bottom: 3px solid var(--copper); }
.cat-head img { width: 52px; height: 52px; flex: none; }
.cat-head h2 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { padding: 0.8rem 0; }
.menu li + li { border-top: 1px dashed var(--line-soft); }
.menu .lead { display: flex; align-items: baseline; gap: 0.5rem; }
.menu h3 { margin: 0; line-height: 1.35; }
.menu .dots { flex: 1 1 2rem; min-width: 1.5rem; border-bottom: 3px dotted var(--concrete); transform: translateY(-0.3rem); opacity: 0.7; }
.menu .pr { flex: none; color: var(--amber); font-weight: 800; font-size: 1.12rem; font-variant-numeric: lining-nums tabular-nums; }
.menu .pr.quote { color: var(--text); font-size: 0.95rem; }
.menu p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }
.menu .call { display: inline-block; margin-top: 0.3rem; font-weight: 800; font-size: 0.95rem; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.offers li { padding: 1.1rem 1.2rem; border: 3px solid var(--copper); border-radius: var(--r); }
.offers h3 { margin-bottom: 0.3rem; font-size: 1.1rem; font-weight: 800; }
.offers p { margin: 0; color: var(--muted); }
.offers .deal { display: inline-block; margin-top: 0.6rem; padding: 0.15rem 0.6rem; border: 3px solid var(--amber); border-radius: var(--r); color: var(--amber); font-weight: 800; }
.offers.single { grid-template-columns: 1fr; margin-top: 1rem; }

/* ---------- about / contact ---------- */
.story p { color: var(--muted); }
.story .first { color: var(--text); font-size: 1.15rem; }
.facts, .details { margin: 0; padding: 0.3rem 1.3rem; border: 3px solid var(--line); border-radius: var(--r); }
.facts div, .details div { padding: 0.7rem 0; }
.facts div + div, .details div + div { border-top: 1px dashed var(--line-soft); }
.facts dt, .details dt { color: var(--amber); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd, .details dd { margin: 0; font-weight: 700; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-weight: 800; font-size: 1.3rem; color: var(--text); }
.hours th, .hours td { padding: 0.55rem 0.4rem 0.55rem 0; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line-soft); }
.hours thead th { color: var(--amber); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 3px solid var(--copper); }
.hours tbody th { font-weight: 700; padding-right: 1rem; }
.hours td { color: var(--muted); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.hours .note { display: block; font-size: 0.88rem; white-space: normal; }
.map-frame { display: block; width: 100%; height: 380px; border: 3px solid var(--line); border-radius: var(--r); background: var(--base-2); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: #170d09; color: var(--muted); font-size: 0.95rem; border-top: 3px solid var(--copper); }
.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-weight: 800; font-size: 1.25rem; color: var(--text); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--amber); font-weight: 800; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px dashed var(--line-soft); font-size: 0.85rem; }

@media (max-width: 1180px) {
  .hero-split, .split2 { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .offers { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .shell { display: block; }
  .shell::before { display: none; }
  .site-header { position: static; height: auto; overflow: visible; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.4rem; padding: 0.9rem clamp(1.1rem, 4vw, 2rem); background: var(--base-2) var(--chips); border-bottom: 3px solid var(--copper); }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 56px; }
  .brand-name { font-size: 1.2rem; }
  .main-nav ul { flex-direction: row; flex-wrap: wrap; }
  .main-nav a { padding: 0.32rem 0.8rem; }
  .side-contact { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .trades { grid-template-columns: 1fr; }
  .menu .lead { flex-wrap: wrap; }
  .menu .dots { display: none; }
  .menu .pr { flex-basis: 100%; }
  .cat { padding-inline: 1rem; }
  .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; }
}
