/* Forest Ridge Element LLC — shared styles
   Seed 6-4-7-6-2-5-5: warm-leaning colors (forest olive, amber, rust, cream) · saturated olive hero and
   section bands with white text over white content areas · narrow document-like column · monospace labels
   and prices (Tag Mono) with a sans body (DM Sans) · centered logo with the nav below · category index column
   with item rows · thick 3px outlines, no shadows · motif: circuit traces */

@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-400.woff") format("woff"); font-weight: 400; 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; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Tag Mono"; src: url("fonts/tag-mono-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tag Mono"; src: url("fonts/tag-mono-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --olive: #4a6619;
  --olive-dark: #33480f;
  --amber: #eea83a;
  --rust: #a8501c;
  --cream: #f5ecd6;
  --ink: #1f2614;
  --muted: #545a48;
  --white: #ffffff;
  --rule: #1f2614;
  --soft: #e4dcc6;
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Tag Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --traces: url("assets/motif-traces.svg");
  --col: 820px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body { margin: 0; font-family: var(--sans); font-size: 1.05rem; 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, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: 1.04rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--rust); text-underline-offset: 0.18em; }
a:hover { color: var(--olive-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.col { width: 100%; max-width: var(--col); margin: 0 auto; padding-inline: clamp(1rem, 4.5vw, 1.6rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border: 3px solid var(--ink); background: var(--amber); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- centered logo, nav below ---------- */
.site-header { padding-top: 1.4rem; background: var(--white); border-bottom: 3px solid var(--rule); text-align: center; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; }
.brand img { width: 88px; height: auto; border: 3px solid var(--rule); }
.brand-name { font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.7rem); letter-spacing: -0.01em; }
.brand:hover .brand-name { color: var(--olive); }
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; list-style: none; margin: 1rem 0 0; padding: 0; border-top: 3px solid var(--rule); }
.main-nav li + li { border-left: 3px solid var(--rule); }
.main-nav a { display: block; padding: 0.6rem 1.3rem; color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.main-nav a:hover { background: var(--cream); }
.main-nav a[aria-current="page"] { background: var(--olive); color: var(--white); }

/* ---------- saturated bands over white content ---------- */
.band { background: var(--olive) var(--traces) 0 0 / 120px 120px repeat; color: var(--white); }
.band.hero { padding-block: clamp(2.2rem, 5.5vw, 3.6rem); }
.band.head { padding-block: clamp(1rem, 2.6vw, 1.4rem); border-block: 3px solid var(--rule); }
.band h1, .band h2 { color: var(--white); }
.band.head h2 { margin: 0; }
.band p { color: var(--cream); }
.band a { color: var(--white); }
.content { padding-block: clamp(1.8rem, 4.5vw, 2.8rem); }
.label { display: block; margin: 0 0 0.45rem; font-family: var(--mono); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); }
.band .label { color: #ffe1a6; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.2rem 0.7rem; border: 3px solid var(--white); font-family: var(--mono); font-size: 0.84rem; font-weight: 700; line-height: 1.4; max-width: 100%; }
.band .tag { color: var(--white); }
.lede { font-size: clamp(1.1rem, 2vw, 1.24rem); }
.hero-art { display: block; width: 100%; margin-top: 1.8rem; border: 3px solid var(--rule); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1.2rem; border: 3px solid var(--rule); background: var(--amber); color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 0.95rem; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn-line { background: var(--white); color: var(--ink); }
.band .btn { border-color: var(--ink); color: var(--ink); }
.band .btn:hover { color: var(--white); }
.band .btn-line { background: transparent; border-color: var(--white); color: var(--white); }
.band .btn-line:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* home */
.desks { list-style: none; margin: 0; padding: 0; border: 3px solid var(--rule); }
.desks li + li { border-top: 3px solid var(--rule); }
.desks a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.8rem 1rem; color: var(--ink); text-decoration: none; }
.desks a:hover { background: var(--cream); }
.desks img { width: 56px; height: 56px; }
.desks .d-name { display: block; font-weight: 700; font-size: 1.1rem; }
.desks .d-meta { display: block; font-family: var(--mono); font-size: 0.84rem; color: var(--muted); }
.desks .go { font-family: var(--mono); font-weight: 700; color: var(--rust); }
.points { list-style: none; margin: 0; padding: 0; counter-reset: pt; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.6rem; padding: 0.75rem 0; border-bottom: 3px solid var(--soft); color: var(--muted); }
.points li::before { content: counter(pt, decimal-leading-zero); font-family: var(--mono); font-weight: 700; color: var(--olive); }
.points strong { color: var(--ink); }
.spot { margin-top: 1.6rem; padding: clamp(1.1rem, 3vw, 1.6rem); border: 3px solid var(--rule); background: var(--cream); }
.price-tag { display: inline-block; padding: 0.15rem 0.6rem; border: 3px solid var(--rule); background: var(--amber); font-family: var(--mono); font-weight: 700; }

/* ---------- catalog: index column + item rows ---------- */
.cat-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(1.2rem, 3.4vw, 2.2rem); align-items: start; max-width: 1000px; }
.index { position: sticky; top: 1rem; border: 3px solid var(--rule); }
.index p { margin: 0; padding: 0.5rem 0.8rem; background: var(--olive); color: var(--white); font-family: var(--mono); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; }
.index ol { list-style: none; margin: 0; padding: 0; }
.index li + li { border-top: 3px solid var(--soft); }
.index a { display: block; padding: 0.5rem 0.8rem; color: var(--ink); font-weight: 700; font-size: 0.96rem; text-decoration: none; }
.index a:hover { background: var(--cream); }
.cat { scroll-margin-top: 1rem; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.cat-head { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0.9rem; border: 3px solid var(--rule); background: var(--olive); color: var(--white); }
.cat-head img { width: 52px; height: 52px; flex: none; background: var(--white); border: 3px solid var(--rule); padding: 2px; }
.cat-head h2 { margin: 0; color: var(--white); font-family: var(--mono); font-size: clamp(1.05rem, 2.2vw, 1.3rem); letter-spacing: 0.02em; }
.rows { list-style: none; margin: 0; padding: 0; border: 3px solid var(--rule); border-top: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1.2rem; padding: 0.8rem 0.9rem; }
.rows li + li { border-top: 3px solid var(--soft); }
.rows h3 { margin: 0; }
.rows p { grid-column: 1; margin: 0; color: var(--muted); font-size: 0.97rem; }
.rows .price { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--olive-dark); white-space: nowrap; }
.rows .price.quote { max-width: 11.5rem; white-space: normal; text-align: right; font-size: 0.9rem; color: var(--rust); }
.rows .price.quote a { display: block; margin-top: 0.2rem; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; border: 3px solid var(--rule); }
.offers li { padding: 1rem 1.1rem; }
.offers li + li { border-top: 3px solid var(--rule); }
.offers h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.offers p { margin: 0 0 0.6rem; color: var(--muted); }
.offers p:last-child { margin-bottom: 0; }

/* ---------- about / contact ---------- */
.story .first { font-size: 1.15rem; }
.story p { color: var(--muted); }
.story .first { color: var(--ink); }
.facts, .details { margin: 0; border: 3px solid var(--rule); }
.facts div, .details div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.2rem 1rem; padding: 0.6rem 0.9rem; }
.facts div + div, .details div + div { border-top: 3px solid var(--soft); }
.facts dt, .details dt { font-family: var(--mono); font-size: 0.84rem; font-weight: 700; text-transform: uppercase; color: var(--rust); }
.facts dd, .details dd { margin: 0; font-weight: 700; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; border: 3px solid var(--rule); }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-weight: 700; font-size: 1.45rem; }
.hours th, .hours td { padding: 0.55rem 0.8rem; text-align: left; vertical-align: top; border-top: 3px solid var(--soft); }
.hours thead th { background: var(--olive); color: var(--white); font-family: var(--mono); font-size: 0.84rem; text-transform: uppercase; border-top: 0; }
.hours tbody th { font-weight: 700; }
.hours td { font-family: var(--mono); white-space: nowrap; }
.hours td.special { color: var(--rust); }
.hours .note { display: block; font-family: var(--sans); font-size: 0.88rem; color: var(--muted); white-space: normal; }
.hours-note { margin: 1rem 0 0; padding: 0.7rem 0.9rem; border: 3px solid var(--rule); background: var(--cream); font-weight: 500; }
.map-frame { display: block; width: 100%; height: 360px; border: 3px solid var(--rule); background: var(--cream); }
.map-link { margin: 0.8rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d7d9cc; font-size: 0.95rem; text-align: center; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--amber); }
.footer-inner { padding-block: 2rem 1.2rem; }
.footer-name { margin: 0 0 0.2rem; font-weight: 700; font-size: 1.25rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.footer-title { margin: 0 0 0.3rem; font-family: var(--mono); font-size: 0.84rem; font-weight: 700; text-transform: uppercase; color: var(--amber); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 1.3rem 0 0; padding-top: 0.9rem; border-top: 3px solid #3a4230; font-family: var(--mono); font-size: 0.82rem; }

@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .index { position: static; }
}
@media (max-width: 600px) {
  .brand img { width: 70px; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav li + li { border-left: 0; }
  .main-nav li:nth-child(odd) { border-right: 3px solid var(--rule); }
  .main-nav li:nth-child(-n+2) { border-bottom: 3px solid var(--rule); }
  .main-nav a { padding: 0.5rem 0.6rem; font-size: 0.82rem; }
  .rows li { grid-template-columns: 1fr; }
  .rows .price { grid-column: 1; grid-row: auto; margin-top: 0.3rem; }
  .rows .price.quote { max-width: none; text-align: left; }
  .facts div, .details div { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
  .desks a { grid-template-columns: 48px minmax(0, 1fr); }
  .desks img { width: 48px; height: 48px; }
  .desks .go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.map-frame.spaced { margin-top: 1.6rem; }
