/* Freedom Mountain LLC: warm amber and terracotta on a deep espresso base, 3px outlines */
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #24130e;
  --surface: #321b14;
  --surface-2: #3e2219;
  --amber: #f0a43c;
  --terra: #d4683f;
  --cream: #f7ead9;
  --muted: #dcc7ae;
  --line: rgba(247, 234, 217, 0.2);
  --head: "Cardo", "Iowan Old Style", Georgia, serif;
  --body: "Fira Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffc070; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; color: var(--cream); }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.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 18px;
  background: var(--amber); color: var(--base); font-weight: 600; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header: logo left, nav as one outlined capsule */
.site-header { padding: 18px 0; border-bottom: 3px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
.brand img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--amber); }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.45rem; }
.main-nav ul {
  list-style: none; margin: 0; padding: 5px; display: flex; gap: 4px;
  border: 3px solid var(--amber); border-radius: 999px;
}
.main-nav a { display: block; padding: 8px 18px; border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 600; }
.main-nav a:hover { background: var(--surface-2); color: var(--cream); }
.main-nav a[aria-current="page"] { background: var(--amber); color: var(--base); }

.tag {
  display: inline-block; margin: 0 0 20px; padding: 6px 18px; border: 3px solid var(--terra); border-radius: 999px;
  color: var(--cream); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
}
.kicker { display: block; margin-bottom: 8px; color: var(--amber); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.center .btn-row { justify-content: center; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px; border: 3px solid var(--amber);
  background: var(--amber); color: var(--base); font-weight: 600; text-decoration: none;
}
.btn:hover { background: #ffc070; border-color: #ffc070; color: var(--base); }
.btn-line { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-line:hover { background: var(--cream); border-color: var(--cream); color: var(--base); }

/* centered hero */
.hero { padding: 70px 0 0; text-align: center; }
.hero .lede { max-width: 40em; margin: 0 auto 6px; font-size: 1.18rem; color: var(--muted); }
.hero-art { width: 100%; margin: 46px auto 0; border: 3px solid var(--cream); border-radius: 10px; }
.page-hero { padding: 64px 0 54px; text-align: center; background: var(--surface) url("assets/motif-sprockets.svg") 0 0 / 40px 24px; border-bottom: 3px solid var(--amber); }
.page-hero .lede { max-width: 42em; margin: 0 auto; color: var(--muted); font-size: 1.12rem; }

.section { padding: 70px 0; }
.section.alt { background: var(--surface); }
.section.film { background: var(--surface) url("assets/motif-sprockets.svg") 0 0 / 40px 24px; }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.head-center p { color: var(--muted); }

/* home: contact-sheet frames */
.frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.frames a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: 24px 12px 20px;
  border: 3px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--cream); text-align: center;
  background: var(--base);
}
.frames a:hover { border-color: var(--amber); }
.frames img { width: 72px; height: 72px; }
.f-name { font-family: var(--head); font-weight: 700; font-size: 1.18rem; line-height: 1.2; }
.f-meta { font-size: 0.88rem; color: var(--muted); }

.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: n; }
.numbered li { position: relative; padding: 20px 22px 20px 74px; border: 3px solid var(--line); border-radius: 6px; counter-increment: n; }
.numbered li::before {
  content: counter(n); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 3px solid var(--amber); color: var(--amber); font-family: var(--head); font-weight: 700;
}
.numbered li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.numbered strong { color: var(--cream); }

.spot { max-width: 760px; margin: 0 auto; text-align: center; padding: 40px 34px; border: 3px solid var(--amber); border-radius: 6px; background: var(--base); }
.spot p { color: var(--muted); font-size: 1.1rem; }
.price-tag { display: inline-block; padding: 6px 18px; border: 3px solid var(--terra); border-radius: 999px; font-weight: 600; color: var(--cream); }

/* services: price tables */
.jump { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jump a { display: inline-block; padding: 7px 16px; border: 3px solid var(--cream); border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.jump a:hover { background: var(--cream); color: var(--base); }
.cat { padding: 54px 0 0; scroll-margin-top: 10px; }
.cat:last-of-type { padding-bottom: 20px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.cat-head img { width: 60px; height: 60px; }
.cat-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: 0.03em; }
.table-box { border: 3px solid var(--amber); border-radius: 6px; overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th {
  background: var(--surface-2); color: var(--amber); text-align: left; font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 12px 18px; border-bottom: 3px solid var(--amber);
}
.price-table tbody th, .price-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-family: var(--head); font-size: 1.15rem; font-weight: 700; width: 32%; color: var(--cream); }
.price-table td.desc { color: var(--muted); }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 600; color: var(--amber); width: 15%; }
.price-table td.quote { white-space: normal; min-width: 12em; }
.price-table td.quote a { display: block; margin-top: 4px; font-weight: 600; color: var(--cream); white-space: nowrap; }

.offers { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offers li { border: 3px solid var(--terra); border-radius: 6px; padding: 24px; background: var(--base); }
.offers p { color: var(--muted); margin-bottom: 12px; }
.offers p:last-child { margin-bottom: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 46px; align-items: start; }
.story p { font-size: 1.08rem; color: var(--muted); }
.story p.first { font-family: var(--head); font-size: 1.45rem; line-height: 1.45; color: var(--cream); }
.facts-box { border: 3px solid var(--amber); border-radius: 6px; padding: 26px 28px; background: var(--surface); }
.facts-box h2 { font-size: 1.6rem; }
.facts { margin: 0; }
.facts div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--amber); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-size: 1.05rem; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why li { border: 3px solid var(--cream); border-radius: 6px; padding: 26px 24px; color: var(--muted); background: var(--base); }
.why strong { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 1.3rem; color: var(--cream); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.box { border: 3px solid var(--line); border-radius: 6px; padding: 28px; background: var(--base); }
.box.amber { border-color: var(--amber); }
.details { margin: 0 0 22px; }
.details div { padding: 12px 0; border-top: 1px solid var(--line); }
.details dt { color: var(--amber); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--head); font-weight: 700; font-size: 1.6rem; margin-bottom: 12px; color: var(--cream); }
.hours thead th { text-align: left; color: var(--amber); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 0; border-bottom: 3px solid var(--amber); }
.hours tbody th, .hours tbody td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tbody th { font-weight: 600; padding-right: 14px; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; color: var(--muted); font-size: 0.92rem; }
.hours-note { margin: 16px 0 0; padding: 12px 16px; border: 3px solid var(--terra); border-radius: 6px; color: var(--cream); }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--cream); border-radius: 6px; background: var(--surface-2); }
.map-link { margin: 16px 0 0; text-align: center; }

/* footer */
.site-footer { border-top: 3px solid var(--amber); background: #1b0e0a; padding: 48px 0 26px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 30px; }
.footer-name { font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: var(--cream); margin-bottom: 6px; }
.footer-title { color: var(--cream); font-weight: 600; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; }

@media (max-width: 980px) {
  .frames { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .header-inner { flex-direction: column; gap: 14px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; border-radius: 26px; }
  .main-nav a { padding: 7px 14px; }
  .numbered, .about-grid, .contact-grid, .why, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .section { padding: 50px 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tbody tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody th, .price-table td { padding: 0; border: 0; width: auto; }
  .price-table td.desc { margin: 4px 0 8px; }
  .price-table .price { text-align: left; width: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .frames { grid-template-columns: 1fr 1fr; gap: 12px; }
  .frames li:last-child { grid-column: 1 / -1; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .main-nav a { text-align: center; }
  .numbered li { padding: 18px 18px 18px 66px; }
  .numbered li::before { left: 16px; }
  .spot, .box, .facts-box { padding: 24px 20px; }
  .hero-art { margin-top: 32px; }
  .map-frame { height: 320px; }
}
.center-row, .page-hero .btn-row, .hero .btn-row, .spot .btn-row { justify-content: center; }
