/* Thomas Tile LLC: dusty terracotta, sage and sand on near-black; a few large panels with 3px outlines */
@font-face {
  font-family: "Ledger Slab";
  src: url("fonts/ledger-slab-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ledger Slab";
  src: url("fonts/ledger-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #141312;
  --panel: #1f1d1b;
  --panel-2: #2a2724;
  --edge: #3d3833;
  --terra: #c98a6b;
  --sage: #a3ab95;
  --sand: #e3d3b5;
  --text: #efe7da;
  --muted: #bfb5a6;
  --head: "Ledger Slab", Rockwell, Georgia, serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font-family: var(--body); font-size: 16.5px; line-height: 1.65;
  font-feature-settings: "calt" 0;
  background: var(--bg) url("assets/motif-grid.svg") 0 0 / 48px 48px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-underline-offset: 3px; }
a:hover { color: var(--sand); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: min(var(--wrap), 100% - 32px); 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; border-radius: 10px;
  background: var(--sand); color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* boxed floating header */
.site-header { padding: 16px 0 0; }
.header-box {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 12px;
  background: var(--panel); border: 3px solid var(--edge); border-radius: var(--r);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 54px; height: 54px; border-radius: 10px; }
.brand-name { font-family: var(--head); font-size: 1.3rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 14px; color: var(--text); text-decoration: none; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--edge); color: var(--text); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--terra); color: var(--sand); }

/* panels */
main { padding: 18px 0 40px; }
.panel { background: var(--panel); border: 3px solid var(--edge); border-radius: var(--r); padding: 36px; margin-bottom: 18px; }
.panel.terra { border-color: var(--terra); }
.panel.sand { background: var(--sand); color: #241f1b; border-color: var(--sand); }
.panel.sand h2, .panel.sand h3 { color: #241f1b; }
.panel.sand p { color: #3b342d; }
.panel.sand .label { border-color: #241f1b; color: #241f1b; }
.panel.sand a:not(.btn) { color: #7a3f24; }
.panel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.panel-row .panel { margin-bottom: 0; }
.panel-row.wide-left { grid-template-columns: 1.6fr 1fr; }

.label {
  display: inline-block; margin: 0 0 16px; padding: 4px 12px; border: 3px solid var(--terra); border-radius: 8px;
  color: var(--sand); font-size: 0.85rem; font-weight: 600;
}
.kicker { display: block; margin-bottom: 8px; color: var(--sage); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.lede { font-size: 1.12rem; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; border: 3px solid var(--terra);
  background: var(--terra); color: #1a1715; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--sand); border-color: var(--sand); color: #1a1715; }
.btn-line { background: transparent; color: var(--text); border-color: var(--sand); }
.btn-line:hover { background: var(--sand); color: #1a1715; }
.panel.sand .btn-line { color: #241f1b; border-color: #241f1b; }
.panel.sand .btn-line:hover { background: #241f1b; color: var(--sand); }

/* hero panel split into text and art */
.hero-panel { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.hero-text { padding: 48px 44px; align-self: center; }
.hero-art { width: 100%; height: 100%; object-fit: cover; border-left: 3px solid var(--edge); }

/* home lists */
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 12px 0;
  border-top: 1px solid var(--edge); color: var(--text); text-decoration: none;
}
.cat-list li:last-child a { border-bottom: 1px solid var(--edge); }
.cat-list img { width: 52px; height: 52px; }
.cat-list .c-name { font-family: var(--head); font-weight: 600; font-size: 1.08rem; }
.cat-list .c-meta { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.cat-list a:hover .c-name { color: var(--terra); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border: 3px solid var(--terra); border-radius: 3px; }
.checks strong { color: var(--text); }
.spot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; }
.price-line { display: inline-block; padding: 6px 14px; border: 3px solid currentColor; border-radius: 10px; font-weight: 700; }
.glance { margin: 0; }
.glance div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 2px solid rgba(36, 31, 27, 0.2); }
.glance dt { font-weight: 700; }
.glance dd { margin: 0; text-align: right; }

/* services: one big price table with category groups */
.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: 3px solid var(--edge); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.jump a:hover { border-color: var(--terra); }
.table-panel { padding: 10px 26px 18px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { text-align: left; padding: 16px 12px 10px; color: var(--sage); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 3px solid var(--edge); }
.price-table tbody { scroll-margin-top: 16px; }
.price-table .group th { padding: 30px 12px 12px; border-bottom: 3px solid var(--terra); }
.group-title { display: flex; align-items: center; gap: 14px; }
.group-title img { width: 46px; height: 46px; }
.group-title h2 { margin: 0; font-size: 1.4rem; letter-spacing: 0.03em; }
.price-table tbody th[scope="row"], .price-table td { padding: 15px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); }
.price-table tbody th[scope="row"] { font-weight: 600; width: 34%; }
.price-table td.desc { color: var(--muted); }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 700; color: var(--sand); width: 16%; }
.price-table td.quote { white-space: normal; min-width: 11em; color: var(--terra); }
.price-table td.quote a { display: block; margin-top: 4px; color: var(--sand); white-space: nowrap; }

.offers { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offers li { border: 3px solid var(--edge); border-radius: 12px; padding: 22px; background: var(--panel-2); }
.offers p { color: var(--muted); margin-bottom: 12px; }
.offers p:last-child { margin-bottom: 0; }
.offers .price-line { color: var(--sand); border-color: var(--terra); }

/* about */
.story p { color: var(--muted); font-size: 1.06rem; }
.story p.first { color: var(--text); font-family: var(--head); font-size: 1.35rem; font-weight: 600; line-height: 1.5; }
.facts { margin: 0; }
.facts div { padding: 12px 0; border-top: 2px solid rgba(36, 31, 27, 0.2); }
.facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7a3f24; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: #241f1b; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why li { border: 3px solid var(--edge); border-radius: 12px; padding: 22px; color: var(--muted); background: var(--panel-2); }
.why strong { display: block; margin-bottom: 8px; font-family: var(--head); font-size: 1.2rem; color: var(--sand); }

/* contact */
.details { margin: 0 0 22px; }
.details div { padding: 12px 0; border-top: 1px solid var(--edge); }
.details dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.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: #241f1b; }
.hours thead th { text-align: left; padding: 8px 0; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7a3f24; border-bottom: 3px solid #241f1b; }
.hours tbody th, .hours tbody td { text-align: left; padding: 12px 0; border-bottom: 2px solid rgba(36, 31, 27, 0.18); color: #241f1b; }
.hours tbody td { white-space: nowrap; }
.hours-note { margin: 18px 0 0; padding: 12px 14px; border: 3px solid #241f1b; border-radius: 10px; font-weight: 600; }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--edge); border-radius: 12px; background: var(--panel-2); }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { padding: 0 0 26px; }
.footer-box { background: var(--panel); border: 3px solid var(--edge); border-radius: var(--r); padding: 34px 36px 20px; 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.3rem; color: var(--text); margin-bottom: 6px; }
.footer-title { color: var(--text); font-weight: 700; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--edge); font-size: 0.88rem; }

@media (max-width: 960px) {
  .hero-panel, .panel-row, .panel-row.wide-left, .spot { grid-template-columns: 1fr; }
  .hero-art { border-left: 0; border-top: 3px solid var(--edge); max-height: 420px; }
  .offers, .why { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-box { flex-direction: column; align-items: stretch; gap: 10px; }
  .brand { justify-content: center; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .main-nav a { text-align: center; background: var(--panel-2); border-radius: 8px; }
  .panel { padding: 26px 20px; }
  .hero-text { padding: 30px 22px; }
  .table-panel { padding: 4px 16px 12px; }
  .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 .group th { padding: 24px 0 10px; }
  .price-table tbody tr:not(.group) { padding: 14px 0; border-bottom: 1px solid var(--edge); }
  .price-table tbody th[scope="row"], .price-table td { padding: 0; border: 0; width: auto; }
  .price-table td.desc { margin: 4px 0 6px; }
  .price-table .price { text-align: left; width: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-box { padding: 26px 22px 18px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .map-frame { height: 320px; }
  .group-title h2 { font-size: 1.2rem; }
}
