/* EngelGold Star House LLC: cool sage and slate on near-black; asymmetric offset grid; Big Shoulders display
   type with DM Sans body; a boxed floating header; numbered index column beside item rows; diagonal accents */
@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: "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-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #121614;
  --panel: #1a201d;
  --panel-2: #212925;
  --line: #2f3a35;
  --sage: #9dbaa2;
  --sage-dk: #5f8068;
  --slate: #8ea1ad;
  --slate-dk: #4d5f6b;
  --gold: #d8b45a;
  --text: #e6ece7;
  --muted: #a9b6ad;
  --disp: "Big Shoulders", "Arial Narrow", Arial, sans-serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.62; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: #ffffff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.02; margin: 0 0 .45em; color: #ffffff; }
h1, h2 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 7.5vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
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(--sage); color: var(--base); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }

/* boxed floating header */
.site-header { padding: 16px 0 0; }
.head-box { width: min(100% - 32px, 1180px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 10px 14px 10px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.brand { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.brand img { width: 58px; border-radius: 12px; }
.brand-name { font-family: var(--disp); font-weight: 700; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: inline-block; padding: 7px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .92rem; }
.main-nav a:hover { background: var(--panel-2); }
.main-nav a[aria-current="page"] { background: var(--sage); color: var(--base); }

/* asymmetric offset grid */
.hero { padding: 56px 0 50px; }
.hero.small { padding: 48px 0 14px; }
.offset { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.o-text { grid-column: 1 / span 6; grid-row: 1; position: relative; z-index: 1; padding-top: 10px; }
.o-art { grid-column: 7 / span 6; grid-row: 1; margin: 64px 0 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.hero-art { width: 100%; }
.offset2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 48px; align-items: start; }
.side-title { position: sticky; top: 20px; }
.offset3 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px 48px; align-items: start; }
.offset3 > :first-child { margin-top: 40px; }
.kicker { font-weight: 700; color: var(--sage); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7em; }
.kicker.industry { text-transform: none; letter-spacing: .02em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid var(--sage); }
.btn.solid { background: var(--sage); color: var(--base); }
.btn.solid:hover { background: #ffffff; border-color: #ffffff; color: var(--base); }
.btn.line { color: var(--sage); }
.btn.line:hover { background: var(--panel-2); color: #ffffff; }

/* diagonal accents */
.sec { padding: 56px 0; }
.sec.tight { padding-top: 20px; }
.diag { background: var(--panel) url("assets/motif-diagonal.svg") repeat; background-size: 24px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: 54px 52px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line); color: #ffffff; text-decoration: none; }
.index-list a:hover { background: var(--panel-2); }
.index-list img { width: 50px; }
.idx { font-family: var(--disp); font-weight: 700; font-size: 1.6rem; color: var(--slate); }
.index-list .t { font-family: var(--disp); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; }
.spot { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; background: var(--sage-dk); transform: rotate(45deg); opacity: .35; }
.spot > * { position: relative; }
.spot strong, .rows strong { color: var(--gold); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding: 14px 18px; background: var(--panel-2); border-left: 4px solid var(--slate); border-radius: 0 14px 14px 0; color: var(--muted); }
.ticks strong { color: #ffffff; }

/* index column + rows */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem; }
.jump a:hover { border-color: var(--sage); }
.cat { padding: 40px 0; scroll-margin-top: 0; }
.cat + .cat { border-top: 1px solid var(--line); }
.idx-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.idx-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.idx.big { font-size: 4.2rem; line-height: .9; color: var(--slate-dk); }
.idx-col img { width: 54px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin: 0 0 2px; }
.rows p { margin: 0; color: var(--muted); font-size: .95rem; }
.pr { flex: none; font-family: var(--disp); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--sage); white-space: nowrap; }
.pr.q { font-family: var(--sans); font-size: .85rem; color: var(--slate); border: 1px solid var(--slate-dk); border-radius: 10px; padding: 4px 10px; white-space: normal; max-width: 12em; text-align: center; line-height: 1.3; }

/* about / contact */
.first { font-size: 1.35rem; line-height: 1.5; color: #ffffff; }
.story p:not(.first) { color: var(--muted); }
.facts { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 8px 22px; }
.facts.plain { background: transparent; border: 0; padding: 0; border-radius: 0; }
.facts div { padding: 11px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 700; color: var(--sage); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card h2 { font-size: 2rem; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hours caption { text-align: left; font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); color: #ffffff; margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 13px 20px; border-top: 1px solid var(--line); }
.hours thead th { border-top: 0; background: var(--panel-2); color: var(--sage); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.hours tbody th { white-space: nowrap; }
.note { display: block; color: var(--muted); font-size: .9rem; }
.map-frame { width: 100%; height: 360px; border: 1px solid var(--line); border-radius: 20px; display: block; background: var(--panel); }
.map-link { margin: 16px 0 0; font-weight: 700; }

/* footer */
.site-footer { background: #0c0f0d; border-top: 1px solid var(--line); padding: 38px 0 22px; color: var(--muted); }
.site-footer a { color: var(--text); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; }
.footer-name { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; color: #ffffff; margin-bottom: .1em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin-top: 20px; font-size: .85rem; }

@media (max-width: 900px) {
  .offset { grid-template-columns: 1fr; }
  .o-text, .o-art { grid-column: 1; grid-row: auto; }
  .o-art { margin-top: 10px; }
  .offset2, .offset3 { grid-template-columns: 1fr; }
  .offset3 > :first-child { margin-top: 0; }
  .side-title { position: static; }
  .idx-row { grid-template-columns: 1fr; gap: 12px; }
  .idx-col { flex-direction: row; align-items: center; }
  .idx.big { font-size: 3rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, 1160px); }
  .head-box { width: min(100% - 20px, 1180px); padding: 8px 10px; }
  .brand img { width: 48px; }
  .brand-name { font-size: 1.3rem; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 6px 8px; font-size: .84rem; }
  .hero { padding: 38px 0 30px; }
  .index-list a { grid-template-columns: 40px 44px minmax(0, 1fr); gap: 10px; }
  .index-list img { width: 42px; }
  .index-list .t { font-size: 1.35rem; }
  .pr { font-size: 1.3rem; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
