:root {
  color-scheme: dark;
  --bg: #050505;
  --elev: #121212;
  --fg: #f6f1ea;
  --muted: #9b9086;
  --line: #2a2623;
  --red: #c41f1f;
  --red-press: #9e1818;
  --gold: #c9a24a;
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(1rem, 4vw, 1.5rem);
  --dock: calc(4.25rem + env(safe-area-inset-bottom));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.5 var(--font-body);
}
body { padding-bottom: var(--dock); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.65rem + env(safe-area-inset-top)) var(--pad) 0.65rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
}
.logo { width: min(64vw, 260px); height: auto; }
nav { display: flex; gap: 0.25rem; }
nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav a[aria-current="page"], nav a:hover { color: var(--fg); }
main { padding: 0 var(--pad) 2rem; max-width: 40rem; margin: 0 auto; }
.hero {
  padding: 1.25rem 0 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  position: relative;
  z-index: 2;
}
.tag {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  padding: 0.85rem 0 0.35rem;
}
.eat-track {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0.15rem 0.2rem 0.15rem 3rem;
}
.eat-text { display: inline-block; }
.eat-mask { display: none; }
.eat-mouth {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.7rem;
  height: 2.7rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.jaw {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 18% 50%;
}
.jaw-top { clip-path: inset(0 0 50% 0); }
.jaw-bot { clip-path: inset(50% 0 0 0); }
.debris {
  position: absolute;
  width: 3px;
  height: 3px;
  margin: 0;
  background: var(--fg);
  border-radius: 1px;
  pointer-events: none;
  animation: debris-fly 0.42s ease-out forwards;
}
.debris-gold { background: var(--gold); width: 4px; height: 2px; }
.debris-tooth { background: #efe8dc; width: 2px; height: 4px; }
@keyframes debris-fly {
  to {
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
    opacity: 0;
  }
}
.lede { margin: 0 0 1rem; color: var(--muted); }
.line1 {
  margin: 0.85rem 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.line2 {
  margin: 0 0 0.25rem;
  color: var(--muted);
}
h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.65rem;
}
.panel {
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.panel:first-of-type { border-top: 0; }
.services { display: grid; gap: 0.5rem; }
.services details {
  margin: 0;
  border-left: 3px solid var(--red);
  background: var(--elev);
}
.services summary {
  min-height: 44px;
  padding: 0.85rem 2.5rem 0.85rem 0.9rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-weight: 600;
}
.services summary::-webkit-details-marker { display: none; }
.services summary::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.services details[open] summary::after { content: "–"; }
.services details p {
  margin: 0;
  padding: 0 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.muted { color: var(--muted); }
address { font-style: normal; }
address p { margin: 0.55rem 0; }
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  padding: 0.55rem var(--pad) calc(0.55rem + env(safe-area-inset-bottom));
  background: #0a0a0a;
  border-top: 1px solid var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: 0 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-family: var(--font-display);
  cursor: pointer;
}
.btn:active { background: var(--red-press); border-color: var(--red-press); }
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 var(--pad) 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
#quote-dialog {
  width: min(100%, 26rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  padding: 1.1rem 1rem 1.25rem;
}
#quote-dialog::backdrop { background: rgb(0 0 0 / 0.72); }
#quote-dialog h2 { margin: 0 0 0.85rem; }
.quote-fields { display: grid; gap: 0.7rem; }
.quote-fields label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.quote-fields input,
.quote-fields textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--fg);
  font: 16px/1.4 var(--font-body);
}
.quote-fields textarea { min-height: 4.5rem; resize: vertical; }
.quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 1rem;
}
.quote-actions .btn { width: 100%; }
.quote-actions .btn-cancel {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--fg);
}
#quote-status {
  min-height: 1.2rem;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.jobs { margin: 1.25rem 0; display: grid; gap: 1rem; }
.job {
  margin: 0;
  background: var(--elev);
  border-left: 3px solid var(--red);
}
.job img { width: 100%; height: auto; }
.job figcaption {
  padding: 0.65rem 0.9rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (min-width: 640px) {
  .logo { width: 280px; }
  .dock { max-width: 40rem; left: 50%; right: auto; transform: translateX(-50%); width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  header { backdrop-filter: none; }
  .eat-mouth, .debris { display: none; }
  .eat-text { clip-path: none; }
}
