/* White Oak Cornerstone LLC: soft, light furniture palette (white-oak tan, linen, sage, clay) set on a warm
   near-black base; a few large panels; monospace labels and price badges over a clean sans; logo left with
   the nav right above a thin rule; compact rows with pill price badges; pill buttons and tags; oak grain */
@font-face {
  font-family: "Red Hat Mono";
  src: url("fonts/red-hat-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("fonts/red-hat-mono-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #181510;
  --panel: #221e17;
  --panel-2: #2c271e;
  --rule: #3b3428;
  --oak: #d9bb8f;
  --linen: #f2e9dc;
  --sage: #aebd9f;
  --clay: #dba68b;
  --muted: #c9bda9;
  --sans: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --mono: "Red Hat Mono", "Consolas", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--linen); font-family: var(--sans); font-size: 17px; line-height: 1.62; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oak); text-underline-offset: 3px; }
a:hover { color: var(--linen); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 999px; }
h1, h2, h3 { font-weight: 700; line-height: 1.14; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.4rem, 2.7vw, 1.9rem); }
h3 { font-size: 1.02rem; margin-bottom: 2px; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--oak); color: var(--base); padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1140px); margin-inline: auto; }

/* header: logo left, nav right, thin rule */
.site-header { border-bottom: 1px solid var(--rule); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 30px; padding: 16px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--linen); text-decoration: none; }
.brand img { width: 64px; border-radius: 14px; }
.brand-name { font-weight: 700; font-size: 1.22rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.main-nav a { font-family: var(--mono); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--linen); }
.main-nav a[aria-current="page"] { color: var(--oak); border-bottom-color: var(--oak); }

/* a few large panels */
.panels { display: grid; gap: 22px; padding: 26px 0 50px; }
.panel { background: var(--panel); border-radius: 28px; padding: clamp(24px, 4vw, 46px); }
.grain { background: var(--panel) url("assets/motif-oakgrain.svg") repeat; background-size: 240px 120px; }
.label { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-bottom: .9em; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 36em; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; }
.hero-fig { margin: 0; border-radius: 22px; overflow: hidden; }
.hero-art { width: 100%; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 50px; align-items: start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn.oak { background: var(--oak); color: var(--base); }
.btn.oak:hover { background: var(--linen); color: var(--base); }
.btn.line { color: var(--linen); box-shadow: inset 0 0 0 1.5px var(--oak); }
.btn.line:hover { background: var(--panel-2); color: var(--linen); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags a { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--panel-2); color: var(--linen); text-decoration: none; font-weight: 700; }
.tags a:hover { background: var(--rule); }
.tags img { width: 38px; border-radius: 50%; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 999px; background: var(--sage); }
.ticks strong { color: var(--linen); }
.ticks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.spot { background: var(--panel-2); }
.spot > p { font-size: 1.1rem; color: var(--muted); }
.spot strong, .offer strong { font-family: var(--mono); color: var(--oak); }

/* catalog: compact rows with price badges */
.intro .jump { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--panel-2); color: var(--linen); text-decoration: none; font-family: var(--mono); font-size: .82rem; }
.jump a:hover { background: var(--rule); }
.cat { scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.cat-head img { width: 52px; border-radius: 50%; }
.cat-head h2 { margin: 0; letter-spacing: .03em; flex: 1 1 0; min-width: 0; }
.count { font-family: var(--mono); font-size: .8rem; color: var(--sage); margin-left: auto; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.row:first-child { border-top: 0; }
.row p { margin: 0; color: var(--muted); font-size: .94rem; }
.badge { flex: none; font-family: var(--mono); font-weight: 700; font-size: .95rem; padding: 6px 14px; border-radius: 999px; background: var(--oak); color: var(--base); white-space: nowrap; }
.badge.q { background: transparent; color: var(--oak); box-shadow: inset 0 0 0 1.5px var(--oak); white-space: normal; max-width: 13em; text-align: center; font-size: .8rem; line-height: 1.3; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.offer { padding: 18px 22px; border-radius: 20px; background: var(--panel); }
.offer p { margin: 0; color: var(--muted); }

/* about / contact */
.story .first { font-size: 1.24rem; line-height: 1.5; color: var(--linen); }
.story p { color: var(--muted); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: clamp(1.4rem, 2.7vw, 1.9rem); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 4px; border-top: 1px solid var(--rule); }
.hours thead th { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); border-top: 0; }
.hours td { font-family: var(--mono); font-size: .95rem; }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: 20px; display: block; background: var(--panel-2); }
.map-link { margin: 14px 0 0; font-weight: 700; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 32px 0 22px; color: var(--muted); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr); gap: 18px 36px; }
.footer-name { font-weight: 700; font-size: 1.15rem; color: var(--linen); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin-top: 20px; font-family: var(--mono); font-size: .78rem; }

@media (max-width: 900px) {
  .hero, .duo { grid-template-columns: 1fr; }
  .ticks.three { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 24px, 1140px); }
  .head-in { justify-content: center; }
  .brand img { width: 56px; }
  .main-nav ul { justify-content: center; gap: 4px 16px; }
  .main-nav a { font-size: .78rem; }
  .panel { border-radius: 22px; }
  .row { align-items: flex-start; }
  .offers { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
