@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
  --blue: #2737c7;
  --deep: #10135c;
  --ink: #18184d;
  --paper: #f4f2ff;
  --paper2: #e6e4ff;
  --pink: #ff9bd5;
  --yellow: #fff09a;
  --border: #514cff;
  --shadow: 5px 5px 0 #11165f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #1820a2 url("bluebg.png") repeat;
  color: var(--ink);
  font-family: 'VT323', Typewriter, monospace;
  font-size: 20px;
  line-height: 1.2;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
  z-index: 100;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, a { font: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 999; background: var(--yellow); padding: 8px; }

.site-shell { width: min(1100px, calc(100% - 24px)); margin: 28px auto 60px; }
.hero {
  text-align: center;
  color: white;
  padding: 38px 20px 46px;
  text-shadow: 3px 3px 0 var(--deep);
}
.hero h1 { margin: 8px 0 0; font-size: clamp(58px, 11vw, 110px); line-height: .8; letter-spacing: 2px; }
.tagline { font-size: 28px; margin: 18px 0 5px; }
.intro { font-size: 24px; margin: 0 auto 25px; }
.status {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--pink); color: var(--deep); text-shadow: none;
  border: 3px solid var(--deep); box-shadow: 4px 4px 0 var(--deep);
  padding: 7px 14px; font-weight: bold; transform: rotate(-1deg);
}
.status-dot { width: 12px; height: 12px; background: #24df72; border: 2px solid var(--deep); border-radius: 50%; }
.jump-button {
  display: inline-block; background: var(--yellow); color: var(--deep); text-shadow: none;
  border: 3px solid var(--deep); box-shadow: 4px 4px 0 var(--deep);
  padding: 8px 18px; text-decoration: none; font-weight: bold;
}
.jump-button:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--deep); }

.panel {
  background: var(--paper);
  border: 4px solid var(--deep);
  box-shadow: var(--shadow);
  margin: 0 0 34px;
  padding: clamp(18px, 4vw, 36px);
}
.section-heading { display: flex; align-items: baseline; gap: 13px; border-bottom: 3px dashed var(--border); margin-bottom: 20px; padding-bottom: 8px; }
.section-heading span { color: var(--border); font-size: 25px; }
h2 { margin: 0; color: var(--deep); font-size: 42px; line-height: 1; text-transform: lowercase; }
.muted { opacity: .8; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.contact-card {
  background: var(--paper2); border: 3px solid var(--deep); padding: 14px; text-decoration: none;
  min-height: 82px; display: flex; flex-direction: column; justify-content: center;
}
.contact-card:hover { background: var(--yellow); transform: translateY(-2px); }
.contact-card strong { font-size: 25px; color: var(--blue); }
.contact-card small { font-size: 17px; margin-top: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { border: 3px solid var(--deep); padding: 17px; background: white; min-height: 155px; }
.price-card.featured { background: var(--pink); transform: rotate(.7deg); }
.price-card.add-on { background: var(--paper2); }
.price-name { font-size: 25px; font-weight: bold; color: var(--blue); }
.price { font-size: 38px; color: var(--deep); line-height: 1; margin: 7px 0; }
.price-card p { margin: 0; }
.quote-note, .commercial-note { border: 3px dashed var(--blue); background: var(--yellow); padding: 14px 16px; margin-top: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: steps; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 50px 1fr; column-gap: 12px; align-items: start; background: var(--paper2); border-left: 5px solid var(--blue); padding: 12px; }
.steps li::before { content: counter(steps); grid-row: span 2; background: var(--blue); color: white; width: 38px; height: 38px; text-align: center; padding-top: 7px; font-size: 24px; }
.steps strong { font-size: 25px; color: var(--deep); }
.steps span { opacity: .85; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { border: 3px solid var(--deep); background: var(--paper2); padding: 5px; cursor: pointer; text-align: left; color: var(--ink); }
.gallery-item:hover { background: var(--yellow); transform: translateY(-2px); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--deep); }
.gallery-item span { display: block; font-size: 16px; line-height: 1.05; padding: 7px 3px 3px; }
.explicit { filter: blur(7px); }
.gallery-item:hover .explicit { filter: blur(5px); }

.tos ul { padding-left: 28px; margin-bottom: 0; }
.tos li { margin-bottom: 13px; padding-left: 5px; }

footer { text-align: center; color: white; text-shadow: 2px 2px 0 var(--deep); padding: 5px 10px 30px; }
footer a { color: var(--yellow); }

.modal { display: none; position: fixed; z-index: 500; inset: 0; background: rgba(8,10,45,.96); align-items: center; justify-content: center; padding: 25px 60px; }
.modal.open { display: flex; }
.modal-content { width: min(1100px, 100%); max-height: 95vh; display: flex; flex-direction: column; align-items: center; }
.slide { display: none; width: 100%; text-align: center; }
.slide.active { display: block; }
.slide img { max-width: 100%; max-height: 67vh; object-fit: contain; border: 4px solid white; box-shadow: 7px 7px 0 var(--border); }
.counter { color: white; align-self: flex-start; margin-bottom: 7px; }
.caption { background: var(--paper); color: var(--ink); border: 3px solid var(--deep); padding: 8px 14px; width: 100%; text-align: center; margin-top: 10px; }
.modal-close, .modal-prev, .modal-next { position: fixed; border: 3px solid white; background: var(--deep); color: white; cursor: pointer; z-index: 501; line-height: 1; }
.modal-close { top: 12px; right: 15px; font-size: 35px; width: 48px; height: 48px; }
.modal-prev, .modal-next { top: 45%; font-size: 58px; width: 55px; height: 80px; }
.modal-prev { left: 10px; } .modal-next { right: 10px; }
.modal-close:hover, .modal-prev:hover, .modal-next:hover { background: var(--pink); color: var(--deep); }
.thumbs { width: 100%; display: flex; gap: 6px; overflow-x: auto; padding: 10px 2px 2px; }
.thumb { flex: 0 0 58px; padding: 2px; border: 2px solid white; background: var(--deep); cursor: pointer; }
.thumb.active { border-color: var(--yellow); }
.thumb img { width: 50px; height: 50px; object-fit: cover; display: block; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .site-shell { width: calc(100% - 12px); margin-top: 8px; }
  .hero { padding: 28px 10px 35px; }
  .hero h1 { font-size: 68px; }
  .tagline { font-size: 23px; }
  .intro { font-size: 20px; }
  .panel { padding: 16px; margin-bottom: 24px; box-shadow: 3px 3px 0 var(--deep); }
  h2 { font-size: 34px; }
  .contact-grid, .price-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .steps li { grid-template-columns: 42px 1fr; }
  .modal { padding: 60px 10px 15px; }
  .modal-prev, .modal-next { width: 42px; height: 60px; font-size: 45px; }
  .modal-prev { left: 2px; } .modal-next { right: 2px; }
  .slide img { max-height: 58vh; }
}
