/* Loki Locksmith: shared styles for every page */
  :root {
    --black: #0d0a0a;
    --coal: #171212;
    --ash: #241c1c;
    --line: #3a2a2a;
    --iron: #5a4848;
    --red: #b5121b;
    --red-hot: #e3262f;
    --bone: #f3ede4;
    --mist: #b9aea4;
    --radius: 6px;
    --notch: 14px;
    --max: 1120px;
    /* Braided knotwork strip, drawn in the site's own colors */
    --knot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0 6 C12 6 12 18 24 18 S36 6 48 6' stroke='%230d0a0a' stroke-width='7'/%3E%3Cpath d='M0 6 C12 6 12 18 24 18 S36 6 48 6' stroke='%23b5121b' stroke-width='3'/%3E%3Cpath d='M0 18 C12 18 12 6 24 6 S36 18 48 18' stroke='%230d0a0a' stroke-width='7'/%3E%3Cpath d='M0 18 C12 18 12 6 24 6 S36 18 48 18' stroke='%23f3ede4' stroke-opacity='.75' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    /* Fine stone grain */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .85 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--grain), var(--black);
    color: var(--bone);
    font: 17px/1.6 "Source Sans 3", system-ui, sans-serif;
    padding-bottom: 76px; /* room for the phone call bar */
    overflow-x: hidden;
  }
  @media (min-width: 900px) { body { padding-bottom: 0; } }
  img, svg { max-width: 100%; display: block; }
  a { color: var(--red-hot); }
  h1, h2, h3 { font-family: "Cinzel", "Noto Sans Runic", serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .02em; }
  h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    text-shadow: 0 1px 0 #000, 0 -1px 0 rgba(255,255,255,.06); /* carved-in look */
  }
  h3 { font-size: 1.2rem; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
  .runes { font-family: "Noto Sans Runic", serif; letter-spacing: .4em; color: var(--red); }
  section { padding: 76px 0; position: relative; }
  .kicker {
    font-family: "Cinzel", serif; text-transform: uppercase; letter-spacing: .25em; font-size: .8rem;
    color: var(--red-hot); margin-bottom: .6rem; display: inline-flex; align-items: center; gap: 10px;
  }
  .kicker::before, .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
  .kicker::before { display: none; }
  .lead { color: var(--mist); font-size: 1.1rem; max-width: 60ch; }

  /* Ornament under section titles: line, diamond, line */
  .orn { display: flex; align-items: center; gap: 10px; margin: -4px 0 18px; color: var(--red); max-width: 220px; }
  .orn::before, .orn::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--iron)); }
  .orn::after { background: linear-gradient(90deg, var(--iron), transparent); }
  .orn i { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--red-hot); }
  .center .orn { margin-left: auto; margin-right: auto; }

  /* Knotwork divider */
  .knot { height: 24px; background: var(--knot) repeat-x center / auto 24px; opacity: .85; }
  .knot.slow { animation: braid 40s linear infinite; }
  @keyframes braid { to { background-position: 480px center; } }

  /* Rune band divider (scrolls slowly) */
  .band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--coal);
    overflow: hidden; white-space: nowrap;
    padding: 10px 0; font-size: 1.1rem;
  }
  .band .track { display: inline-block; animation: drift 60s linear infinite; }
  @keyframes drift { to { transform: translateX(-50%); } }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 14px 24px; border-radius: var(--radius);
    font-family: "Cinzel", serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s, background .15s, border-color .15s, box-shadow .2s;
  }
  .btn:active { transform: translateY(1px); }
  .btn-red { background: linear-gradient(180deg, #c8161f, var(--red)); color: #fff; border-color: var(--red); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px rgba(181,18,27,.25); }
  .btn-red:hover { background: var(--red-hot); border-color: var(--red-hot); box-shadow: 0 0 24px rgba(227,38,47,.45); }
  .btn-ghost { background: transparent; color: var(--bone); border-color: var(--bone); }
  .btn-ghost:hover { background: var(--bone); color: var(--black); }
  .btn svg { width: 1.1em; height: 1.1em; }

  /* Header */
  header.top {
    position: sticky; top: 0; z-index: 20;
    background: rgba(13,10,10,.92); backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }
  header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .7; }
  .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
  .brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); box-shadow: 0 0 10px rgba(227,38,47,.35); object-fit: cover; }
  .brand b { font-family: "Cinzel", serif; font-weight: 900; font-size: 1.2rem; letter-spacing: .06em; color: var(--red-hot); }
  .brand b span { font-family: "Germania One", "Cinzel", serif; font-weight: 400; color: var(--bone); letter-spacing: .05em; }
  nav.links { display: none; gap: 22px; }
  nav.links a { color: var(--mist); text-decoration: none; font-weight: 600; position: relative; }
  nav.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
  nav.links a:hover { color: var(--bone); }
  nav.links a:hover::after { transform: scaleX(1); }
  .top-call { display: none; padding: 9px 16px; font-size: .95rem; }
  @media (min-width: 900px) { nav.links { display: flex; } .top-call { display: inline-flex; } }

  /* Status pill */
  .status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--mist); }
  .status i { width: 9px; height: 9px; border-radius: 50%; background: #666; display: inline-block; }
  .status.open i { background: #3ccf5a; box-shadow: 0 0 8px #3ccf5a; }

  /* Hero */
  .hero {
    position: relative; overflow: hidden;
    padding: 64px 0 84px;
    background:
      radial-gradient(ellipse at 75% 30%, rgba(181,18,27,.35), transparent 60%),
      radial-gradient(ellipse at 10% 90%, rgba(181,18,27,.18), transparent 55%),
      var(--grain), var(--black);
  }
  /* Torchlight that follows the mouse (desktop) */
  .hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 35%), rgba(227,38,47,.13), transparent 70%);
  }
  .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
  @media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.2fr .8fr; } }
  /* Title styled after the logo: red metal LOKI, silver LOCKSMITH */
  .hero h1 { margin-bottom: .3em; line-height: .95; text-transform: uppercase; }
  .hero h1 span, .hero h1 em { display: block; font-style: normal; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .hero h1 span {
    font-family: "Cinzel", serif; font-weight: 900; letter-spacing: .02em;
    font-size: clamp(3.4rem, 14vw, 6rem);
    color: var(--red-hot);
    background-image: linear-gradient(180deg, #ff4d55 0%, #c8161f 48%, #7d0a10 100%);
    -webkit-text-stroke: 2px #1a1212;
    filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 1px #9a9090) drop-shadow(0 0 22px rgba(227,38,47,.35));
  }
  .hero h1 em {
    font-family: "Germania One", "Cinzel", serif; font-weight: 400; letter-spacing: .03em;
    font-size: clamp(2.3rem, 10vw, 4rem);
    color: var(--bone);
    background-image: linear-gradient(180deg, #ffffff 0%, #e6e0d8 48%, #9c948c 100%);
    -webkit-text-stroke: 1.5px #1a1212;
    filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 1px #6a6060);
  }
  .hero .runeline { font-family: "Noto Sans Runic"; color: var(--red); letter-spacing: .6em; font-size: 1rem; margin: 10px 0 2px; opacity: .9; }
  .hero .tag { font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--mist); max-width: 36ch; margin: 0 0 1.6rem; }
  .hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }
  .hero .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--mist); font-size: .95rem; }
  .hero .facts li::before { content: "ᛜ "; font-family: "Noto Sans Runic"; color: var(--red-hot); }
  .hero-art {
    position: relative; margin: 0 auto 0; width: 100%; max-width: 420px;
    padding: 8px; background: linear-gradient(160deg, var(--iron), var(--line) 40%, var(--red) 100%);
    clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
  }
  .hero-art img {
    width: 100%; height: auto; display: block;
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
  }
  .hero-frame { filter: drop-shadow(0 0 40px rgba(227,38,47,.35)); animation: glow 6s ease-in-out infinite; }
  @keyframes glow { 50% { filter: drop-shadow(0 0 60px rgba(227,38,47,.55)); } }

  /* Hero entrance: title carved in, rest fades up */
  .js .hero h1 span, .js .hero h1 em { animation: carve .9s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero h1 em { animation-delay: .25s; }
  .js .hero .rise { animation: rise .6s ease-out both; animation-delay: .25s; }
  @keyframes carve { from { opacity: 0; letter-spacing: .3em; transform: scale(1.06); } }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

  /* Norse decor in the hero: a turning rune ring and a longship sailing past */
  .rune-ring {
    position: absolute; z-index: 0; pointer-events: none;
    width: min(420px, 80vw); height: auto; left: max(-90px, calc(50% - 730px)); top: -40px;
    color: var(--red-hot); opacity: .13;
    animation: ring-turn 140s linear infinite;
  }
  @keyframes ring-turn { to { transform: rotate(360deg); } }
  .longship {
    position: absolute; z-index: 0; pointer-events: none;
    bottom: 18px; left: max(8px, calc(50% - 560px)); width: min(400px, 85vw);
    opacity: .045; filter: invert(1) grayscale(1) blur(.6px);
  }
  .longship svg { display: block; width: 100%; height: auto; }
  @media (max-width: 899px) { .longship { bottom: auto; top: 300px; left: 4vw; width: 80vw; } }
  .longship .ship-body { animation: bob 9s ease-in-out infinite; transform-origin: 120px 95px; }
  .longship .ship-waves { animation: waves 6s linear infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.8deg); } 50% { transform: translateY(1.5px) rotate(.8deg); } }
  @keyframes waves { to { transform: translateX(-30px); } }

  /* Carved stone panels (notched corners + rivets) */
  .stone {
    position: relative;
    background:
      radial-gradient(circle at 10px 10px, var(--iron) 2px, transparent 2.5px),
      radial-gradient(circle at calc(100% - 10px) 10px, var(--iron) 2px, transparent 2.5px),
      radial-gradient(circle at 10px calc(100% - 10px), var(--iron) 2px, transparent 2.5px),
      radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), var(--iron) 2px, transparent 2.5px),
      var(--grain),
      linear-gradient(180deg, var(--ash), var(--coal));
    clip-path: polygon(var(--notch) 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, 0 calc(100% - var(--notch)), 0 var(--notch));
    box-shadow: inset 0 0 0 1px var(--line);
  }

  /* Services */
  .grid { display: grid; gap: 18px; margin-top: 32px; }
  @media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
  .card { padding: 26px 24px; transition: transform .25s; }
  .card::before {
    content: ""; position: absolute; left: 0; top: var(--notch); bottom: var(--notch); width: 3px;
    background: linear-gradient(180deg, transparent, var(--red), transparent);
  }
  .card .rune {
    font-family: "Noto Sans Runic"; font-size: 2rem; color: var(--red); line-height: 1; margin-bottom: 12px;
    transition: color .3s, text-shadow .3s;
  }
  .card:hover { transform: translateY(-3px); }
  .card:hover .rune, .card.lit .rune { color: var(--red-hot); text-shadow: 0 0 12px rgba(227,38,47,.9), 0 0 28px rgba(227,38,47,.5); }
  .card p { margin: 0; color: var(--mist); }
  .card small { display: block; margin-top: 10px; color: #8d8178; font-size: .85rem; }

  /* Feature (lost keys) */
  .feature { background: var(--grain), var(--coal); }
  .feature .wrap { display: grid; gap: 32px; align-items: center; }
  @media (min-width: 900px) { .feature .wrap { grid-template-columns: 1fr 1fr; } }
  .steps { list-style: none; padding: 0; margin: 0; counter-reset: s; position: relative; }
  .steps::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--red), var(--line)); }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; position: relative; }
  .steps li::before {
    content: counter(s); font-family: "Cinzel"; font-weight: 900; font-size: 1.2rem;
    width: 44px; height: 44px; display: grid; place-items: center;
    background: var(--red); color: #fff;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  }
  .steps li b { display: block; font-family: "Cinzel"; }
  .steps li span { color: var(--mist); }

  /* Area */
  .area .wrap { display: grid; gap: 32px; align-items: center; }
  @media (min-width: 900px) { .area .wrap { grid-template-columns: 1fr 1fr; } }
  .places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
  .places li { border: 1px solid var(--line); background: var(--coal); padding: 6px 12px; border-radius: 999px; font-size: .95rem; }
  .radius svg { max-width: 360px; margin: 0 auto; }
  .radius .sweep { transform-origin: 150px 150px; animation: turn 12s linear infinite; }
  .radius .pulse { transform-origin: 150px 150px; animation: pulse 3s ease-out infinite; }
  @keyframes pulse { from { transform: scale(.2); opacity: .9; } to { transform: scale(1); opacity: 0; } }

  /* About: lore + Meet Chris */
  .lore { max-width: 760px; margin: 0 auto; text-align: center; }
  .lore .big-rune { font-family: "Noto Sans Runic"; font-size: 2.6rem; color: var(--red-hot); line-height: 1; display: block; margin-bottom: 12px; text-shadow: 0 0 20px rgba(227,38,47,.5); }
  .lore .orn { margin-left: auto; margin-right: auto; }
  .lore .lead { text-align: left; margin: 0 auto 16px; }
  .chris { max-width: 760px; margin: 32px auto 0; padding: 28px; }
  .chris::before { content: ""; position: absolute; left: 0; top: var(--notch); bottom: var(--notch); width: 3px; background: linear-gradient(180deg, transparent, var(--red), transparent); }
  .chris h3 { font-family: "Cinzel", serif; }
  .chris p { margin: 0; color: var(--mist); }
  #about .trust { max-width: 760px; margin-left: auto; margin-right: auto; }

  /* Trust strip */
  .trust { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
  @media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
  .trust div { text-align: center; padding: 22px 10px; --notch: 10px; }
  .trust b { display: block; font-family: "Cinzel"; font-size: 1.05rem; }
  .trust span { color: var(--mist); font-size: .9rem; }

  /* Oath */
  .oath {
    text-align: center;
    background: radial-gradient(ellipse at 50% 100%, rgba(181,18,27,.25), transparent 65%), var(--grain), var(--coal);
  }
  .oath .wrap { max-width: 820px; }
  .oath .big-rune { font-family: "Noto Sans Runic"; font-size: 3rem; color: var(--red-hot); line-height: 1; display: block; margin-bottom: 12px; text-shadow: 0 0 20px rgba(227,38,47,.5); }
  .oath .lead { margin: 0 auto 24px; }
  .vows { list-style: none; padding: 0; margin: 0 auto 28px; display: grid; gap: 10px; text-align: left; max-width: 560px; }
  .vows li { display: flex; gap: 12px; align-items: baseline; padding: 14px 18px; --notch: 10px; }
  .vows li::before { content: "ᛏ"; font-family: "Noto Sans Runic"; color: var(--red-hot); font-size: 1.2rem; }

  /* Rune easter egg */
  .riddle { text-align: center; padding: 40px 0; }
  .riddle p { margin: 0 0 12px; color: var(--mist); font-size: .95rem; }
  .riddle button {
    background: none; border: 1px dashed var(--red); color: var(--bone); border-radius: var(--radius);
    padding: 10px 22px; cursor: pointer; font-family: "Noto Sans Runic", serif; font-size: 1.6rem; letter-spacing: .4em;
    transition: border-color .2s, transform .2s, text-shadow .2s;
  }
  .riddle button:hover { border-color: var(--red-hot); transform: scale(1.04); text-shadow: 0 0 12px rgba(227,38,47,.8); }
  .riddle .answer { min-height: 1.6em; margin: 14px auto 0; max-width: 46ch; color: var(--red-hot); font-family: "Cinzel", serif; font-weight: 700; }
  .riddle .answer.pop { animation: rise .35s ease-out; }

  /* Booking */
  .book { background: radial-gradient(ellipse at 50% 0%, rgba(181,18,27,.22), transparent 60%), var(--grain), var(--black); }
  form.booking { margin-top: 28px; display: grid; gap: 16px; padding: 26px 24px; }
  @media (min-width: 720px) { form.booking { grid-template-columns: 1fr 1fr; padding: 36px; } }
  .field { display: grid; gap: 6px; }
  .field.full { grid-column: 1 / -1; }
  label { font-weight: 600; font-size: .95rem; }
  label .opt { color: #8d8178; font-weight: 400; }
  input, select, textarea {
    width: 100%; font: inherit; color: var(--bone);
    background: var(--black); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; min-height: 48px;
  }
  textarea { min-height: 96px; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: 2px solid var(--red-hot); outline-offset: 1px; border-color: var(--red); }
  .hp { position: absolute; left: -9999px; }
  .vehicle, .waiver { display: none; }
  .vehicle.show, .waiver.show { display: grid; }
  .waiver { border: 1px solid var(--red); border-radius: var(--radius); padding: 16px; background: rgba(181,18,27,.08); gap: 10px; }
  .waiver h3 { margin: 0; }
  .waiver .text { max-height: 190px; overflow: auto; font-size: .92rem; color: var(--mist); background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
  .waiver .text p { margin: 0 0 .6em; }
  .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
  .check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--red); }
  .form-note { grid-column: 1 / -1; color: var(--mist); font-size: .9rem; margin: 0; }
  .form-msg { grid-column: 1 / -1; padding: 14px; border-radius: var(--radius); display: none; }
  .form-msg.ok { display: block; background: rgba(60,207,90,.12); border: 1px solid #3ccf5a; }
  .form-msg.err { display: block; background: rgba(227,38,47,.12); border: 1px solid var(--red-hot); }

  /* Footer */
  footer { background: var(--grain), var(--coal); padding: 0 0 40px; color: var(--mist); font-size: .95rem; }
  footer .knot { margin-bottom: 36px; }
  footer .cols { display: grid; gap: 24px; }
  @media (min-width: 800px) { footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
  footer b { color: var(--bone); font-family: "Cinzel"; }
  footer a { color: var(--bone); }
  footer .skal { font-family: "Cinzel"; color: var(--red-hot); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; margin-top: 24px; }

  /* Phone call bar (mobile only) */
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13,10,10,.96); border-top: 1px solid var(--line);
  }
  .callbar .btn { padding: 13px 10px; font-size: 1rem; }
  @media (min-width: 900px) { .callbar { display: none; } }

  /* ---------- The logo door + lock-picking game ---------- */
  .vault { position: relative; max-width: 420px; margin: 0 auto; perspective: 1400px; }
  .vault .door { position: relative; z-index: 2; transform-origin: left center; transition: transform 1.4s cubic-bezier(.6,.05,.3,1), opacity .4s 1s; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .vault.open .door { transform: rotateY(100deg); pointer-events: none; opacity: 0; }
  .door .strap {
    position: absolute; left: 8px; width: 30%; height: 14px; border-radius: 0 7px 7px 0;
    background: linear-gradient(180deg, #6b5a5a, #2a2020 60%, #140e0e);
    box-shadow: 0 2px 4px rgba(0,0,0,.7);
  }
  .door .strap::after { content: ""; position: absolute; right: 8px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #9a8a8a; box-shadow: -22px 0 0 #9a8a8a; }
  .door .strap.s1 { top: 9%; }
  .door .strap.s2 { top: 52%; }
  .lockplate {
    position: absolute; right: 5%; top: 46%; width: 54px; height: 76px; border: 0; padding: 0; cursor: pointer;
    border-radius: 27px 27px 10px 10px;
    background: radial-gradient(circle at 50% 30%, #7a6868, #2a2020 70%);
    box-shadow: 0 3px 8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 2px #140e0e;
    animation: beckon 2.4s ease-in-out infinite;
  }
  .lockplate svg { width: 22px; height: 34px; margin: 0 auto; }
  .lockplate:hover, .lockplate:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--red-hot), 0 0 24px rgba(227,38,47,.8); }
  @keyframes beckon { 50% { box-shadow: 0 3px 8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 2px #140e0e, 0 0 22px rgba(227,38,47,.75); } }
  .door-hint { text-align: center; color: var(--mist); font-size: .95rem; margin: 14px 0 0; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--red-hot); text-decoration: underline; cursor: pointer; font-weight: 600; }

  /* What's behind the door */
  .behind {
    position: absolute; inset: 8px; z-index: 1; display: grid; place-items: center; text-align: center; padding: 22px; overflow-y: auto;
    background: radial-gradient(ellipse at 50% 30%, rgba(227,38,47,.3), transparent 65%), var(--grain), #0a0707;
    border: 1px solid var(--line);
  }
  .behind .big-rune { font-family: "Noto Sans Runic"; font-size: 2.6rem; color: var(--red-hot); text-shadow: 0 0 20px rgba(227,38,47,.7); line-height: 1; }
  .behind h3 { font-family: "Cinzel", serif; font-size: 1.4rem; margin: 10px 0 6px; }
  .behind p { color: var(--mist); margin: 0 0 14px; font-size: .98rem; }
  .behind .deal { display: block; font-family: "Cinzel", serif; font-weight: 900; font-size: 1.35rem; color: var(--bone); margin: 4px 0 2px; }
  .behind form { display: grid; gap: 10px; }
  .prizes { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .prizes li { font-size: .8rem; border: 1px solid var(--line); background: var(--black); border-radius: 999px; padding: 3px 10px; color: var(--bone); }
  .prizes li.won { border-color: var(--red-hot); background: var(--red); color: #fff; box-shadow: 0 0 14px rgba(227,38,47,.7); }
  .vault .door { cursor: pointer; }
  .vault.picking .door, .vault.open .door { cursor: default; }
  .behind .fine { font-size: .8rem; color: #8d8178; margin: 10px 0 0; }
  .behind .code { font-family: "Cinzel", serif; font-weight: 900; font-size: 1.6rem; letter-spacing: .08em; color: var(--red-hot); border: 1px dashed var(--red); padding: 6px 12px; display: inline-block; margin: 6px 0; }
  .behind .msg { margin-top: 10px; font-size: .95rem; }
  .behind .msg.err { color: var(--red-hot); }
  .behind .msg.ok { color: var(--bone); }

  /* The lock-picking game */
  .pick {
    position: absolute; inset: 8px; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 18px; text-align: center; background: rgba(10,7,7,.94); border: 1px solid var(--red);
  }
  .vault.picking .pick { display: flex; }
  .pick h3 { font-family: "Cinzel", serif; margin: 0; font-size: 1.35rem; }
  .pick p { margin: 0; color: var(--mist); font-size: .92rem; max-width: 30ch; }
  .cyl {
    position: relative; width: 100%; max-width: 300px; height: 170px; display: flex; justify-content: space-between; gap: 6px;
    padding: 0 10px; background: linear-gradient(180deg, #2a2020, #120c0c); border: 2px solid #4a3a3a; border-radius: 8px;
    box-shadow: inset 0 0 20px #000;
  }
  .cyl .shear { position: absolute; left: 0; right: 0; top: 50px; height: 2px; background: var(--red-hot); box-shadow: 0 0 10px var(--red-hot); pointer-events: none; z-index: 2; }
  .slot {
    position: relative; flex: 1; background: #0a0707; border: 0; border-left: 1px solid #2a2020; border-right: 1px solid #2a2020;
    overflow: hidden; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .slot:focus-visible { outline: 2px solid var(--bone); outline-offset: -2px; }
  .slot.miss .pin { animation: wiggle .3s; }
  .slot.done { cursor: default; }
  @keyframes wiggle { 25% { margin-left: -3px; } 75% { margin-left: 3px; } }
  .pin {
    position: absolute; left: 18%; right: 18%; top: 0; height: 70px; border-radius: 4px 4px 2px 2px;
    background: linear-gradient(90deg, #6b5a5a, #9a8a8a 50%, #5a4848);
  }
  .pin.active { background: linear-gradient(90deg, #c8beb4, #f3ede4 50%, #b0a69c); box-shadow: 0 0 10px rgba(243,237,228,.45); }
  .pin.near { box-shadow: 0 0 16px rgba(243,237,228,.95); }
  .pin.set { background: linear-gradient(90deg, #8a0e14, #e3262f 50%, #8a0e14); box-shadow: 0 0 12px rgba(227,38,47,.8); }
  .pick-status { min-height: 1.4em; font-family: "Cinzel", serif; font-weight: 700; color: var(--bone); }

  /* Scroll reveal (only when JavaScript is on) */
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease-out, transform .7s ease-out; }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .card.reveal.in:hover { transform: translateY(-3px); transition-delay: 0s; }
  h2.runic { color: var(--red-hot); }

  /* Respect people who turn off motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero canvas { display: none; }
    .js .reveal { opacity: 1; transform: none; }
  }

/* Service cards that flip over */
.flip { perspective: 1200px; }
.flip-inner { display: grid; transition: transform .7s cubic-bezier(.4,.1,.2,1); transform-style: preserve-3d; height: 100%; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip .face { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip button.face { font: inherit; color: inherit; text-align: left; border: 0; cursor: pointer; width: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
.flip button.face:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 2px; }
.flip .face .rune { display: block; }
.flip-hint { display: block; margin-top: 14px; font-size: .85rem; color: var(--red-hot); font-weight: 600; }
.face-back {
  transform: rotateY(180deg); padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: radial-gradient(ellipse at 50% 0%, rgba(181,18,27,.28), transparent 70%), var(--grain), linear-gradient(180deg, #2a1a1b, var(--coal));
}
.face-back .rune { font-family: "Noto Sans Runic"; font-size: 1.6rem; color: var(--red-hot); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 12px rgba(227,38,47,.8); }
.face-back p { margin: 0 0 14px; color: var(--mist); }
.face-back .btn { padding: 11px 18px; font-size: .95rem; }
.face-back .flip-back { margin-top: 10px; font-size: .9rem; }

/* Waiver extras */
.waiver-why { margin: 0; color: var(--mist); font-size: .92rem; }
.waiver .text h4 { font-family: "Cinzel", serif; color: var(--bone); margin: .8em 0 .4em; font-size: .95rem; }
.waiver .text .waiver-version { color: #8d8178; font-size: .8rem; margin-top: .8em; }

/* An odd card out at the end of the services grid sits in the middle */
@media (min-width: 640px) and (max-width: 999px) {
  #services .grid > .flip:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 9px); }
}
@media (min-width: 1000px) {
  #services .grid > .flip:last-child:nth-child(3n+1) { grid-column: 2; }
}

/* Service agreement + signature block */
.waiver .text { max-height: 260px; }
.waiver .text .w-title { font-size: 1rem; color: var(--bone); margin-top: 0; }
.waiver .text .w-notice { font-weight: 700; color: var(--bone); font-size: .85rem; }
.waiver .text .w-item { padding-left: 14px; }
.sig-block { display: grid; gap: 12px; margin-top: 4px; }
.sig-title { font-family: "Cinzel", serif; margin: 6px 0 0; color: var(--bone); }
.sig-pad { width: 100%; height: 150px; border-radius: var(--radius); background: #f3ede4; border: 2px solid var(--line); touch-action: none; cursor: crosshair; display: block; }
.sig-clear { justify-self: start; font-size: .85rem; margin-top: 4px; }
.sig-id { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.sig-note, .sig-date { margin: 0; font-size: .85rem; color: var(--mist); }
.sig-date b { color: var(--bone); }

/* Key job limit note under the booking date */
.day-note { margin: 4px 0 0; font-size: .88rem; color: var(--mist); }
.day-note.full { color: var(--red-hot); font-weight: 600; }
