/* Independent House LLC: newsprint cream, faded masthead red, twine tan and sage on a warm ink-black base; an hours
   and phone strip above the header, asymmetric offset grid, condensed bold uppercase headings with a sans body,
   two-column grouped lists, thick 3px outlines and no shadows, faint newsprint column-rule texture */
@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #141412;
  --panel: #1e1d1a;
  --line: #3a3833;
  --paper: #e8e4d8;
  --muted: #b3ad9f;
  --red: #d0614f;
  --tan: #c8a878;
  --sage: #8fa07a;
  --head: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Roboto", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base) url("assets/motif-rules.svg") 0 0 / 120px 20px; color: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tan); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0 0 0.45em; color: var(--paper); letter-spacing: 0.01em; }
h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.1; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--red); color: var(--base); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* hours and phone strip above the header */
.strip { background: var(--red); color: var(--base); font-size: 0.88rem; font-weight: 500; }
.strip-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.strip p { margin: 0; }
.strip a { color: var(--base); font-weight: 500; }
.site-header { border-bottom: 3px solid var(--paper); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--paper); text-decoration: none; min-width: 0; }
.brand img { width: 66px; height: 66px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.9rem; text-transform: uppercase; letter-spacing: 0.02em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav a { display: block; padding: 8px 14px; color: var(--paper); font-family: var(--head); font-size: 1.25rem; text-transform: uppercase; text-decoration: none; letter-spacing: 0.04em; }
.main-nav a:hover { color: var(--tan); }
.main-nav a[aria-current="page"] { color: var(--base); background: var(--paper); }

/* asymmetric offset grid */
.hero { padding: 48px 0 30px; }
.hero.slim { padding: 44px 0 34px; }
.offset { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.hero-text { grid-column: 1 / span 7; position: relative; z-index: 1; }
.hero-art-box { grid-column: 7 / span 6; margin-top: 120px; padding: 0; overflow: hidden; }
.hero-art { width: 100%; }
.offset-b { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.offset-b > :last-child { margin-top: 64px; }
.tag { display: inline-block; margin: 0 0 16px; padding: 3px 10px; border: 3px solid var(--tan); color: var(--tan); font-weight: 500; font-size: 0.88rem; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 36em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.btn { display: inline-block; padding: 10px 20px; border: 3px solid var(--paper); background: var(--paper); color: var(--base); font-family: var(--head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.btn:hover { background: var(--red); border-color: var(--red); color: var(--base); }
.btn-line { background: transparent; color: var(--paper); }
.btn-line:hover { color: var(--base); }
.box { border: 3px solid var(--paper); background: var(--panel); padding: 26px; }
.section { padding: 48px 0; }
.section.pt0 { padding-top: 0; }
.rack-list { list-style: none; margin: 0; padding: 0; }
.rack-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--paper); text-decoration: none; }
.rack-list a:hover strong { color: var(--red); }
.rack-list img { width: 48px; height: 48px; flex: none; }
.rack-list strong { display: block; font-family: var(--head); font-size: 1.45rem; text-transform: uppercase; line-height: 1.05; }
.rack-list small { color: var(--muted); font-size: 0.88rem; }
.ruled { list-style: none; margin: 0 0 22px; padding: 0; border-top: 3px solid var(--paper); }
.ruled li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.ruled strong { color: var(--paper); font-weight: 500; }
.spot { border-color: var(--red); }
.spot p { color: var(--muted); }
.kicker { margin: 0 0 6px; color: var(--red) !important; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* two-column grouped list */
.jump { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: block; padding: 4px 12px; border: 3px solid var(--line); color: var(--paper); font-family: var(--head); font-size: 1.1rem; text-transform: uppercase; text-decoration: none; }
.jump a:hover { border-color: var(--paper); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; padding: 10px 0 60px; }
.group { scroll-margin-top: 14px; }
.group-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 3px solid var(--paper); }
.group-head img { width: 50px; height: 50px; }
.group-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list h3 { margin: 0 0 4px; }
.list .desc { margin: 0; color: var(--muted); font-size: 0.95rem; }
.list .price { margin: 6px 0 0; font-family: var(--head); font-size: 1.45rem; color: var(--tan); letter-spacing: 0.02em; }
.featured { grid-column: 1 / -1; border-color: var(--red); }
.featured .list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.featured .list li:nth-last-child(2) { border-bottom: 0; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--paper); font-size: 1.3rem; line-height: 1.5; }
.facts { margin: 0 0 16px; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--tan); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 5fr 4fr 4fr; gap: 24px; align-items: start; }
.why li { border: 3px solid var(--paper); padding: 22px; color: var(--muted); }
.why li:nth-child(2) { margin-top: 40px; }
.why li:nth-child(3) { margin-top: 80px; }
.why strong { display: block; margin-bottom: 8px; color: var(--paper); font-family: var(--head); font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--head); font-weight: 700; font-size: 2.2rem; text-transform: uppercase; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; color: var(--tan); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 3px solid var(--paper); }
.hours tbody th, .hours tbody td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours tbody th { padding-right: 14px; font-weight: 500; }
.hours td { white-space: nowrap; }
.note-line { margin: 16px 0 0; padding: 10px 14px; border: 3px solid var(--red); }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--paper); background: var(--panel); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { border-top: 3px solid var(--paper); background: #0e0e0c; color: var(--muted); padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-family: var(--head); font-weight: 700; font-size: 1.8rem; text-transform: uppercase; color: var(--paper); margin-bottom: 6px; }
.footer-title { color: var(--paper); font-weight: 500; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; }

@media (max-width: 1000px) {
  .head-row { flex-direction: column; align-items: flex-start; }
  .offset { grid-template-columns: 1fr; }
  .hero-text, .hero-art-box { grid-column: 1; }
  .hero-art-box { margin-top: 10px; }
  .offset-b { grid-template-columns: 1fr; }
  .offset-b > :last-child { margin-top: 0; }
  .why { grid-template-columns: 1fr; }
  .why li:nth-child(2), .why li:nth-child(3) { margin-top: 0; }
}
@media (max-width: 760px) {
  .two-col, .featured .list, .footer-grid { grid-template-columns: 1fr; }
  .featured .list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .box { padding: 20px; }
  .strip-row { flex-direction: column; gap: 2px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .main-nav, .main-nav ul { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav a { text-align: center; }
  .map-frame { height: 300px; }
}
@media (min-width: 1001px) {
  .hero-text { grid-column: 1 / span 6; }
  .hero-art-box { grid-column: 7 / span 6; margin-top: 90px; }
  .hero h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); }
}
