:root {
  --bg: #ede5d6;
  --bg-2: #f5efe5;
  --paper: #fdfbf6;
  --paper-2: #f7f1e6;
  --ink: #1b1d20;
  --muted: #50545d;
  --line: #2f3338;
  --accent: #bf3414;
  --accent-2: #1e6f5c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* Gushter */

.contactSVG{
	width: 12rem;
	height: 3rem;
}

.contactMail{
	height: 3rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
}

.clearA{
	text-decoration:none;	
	color:black;
}

/* gushter end */


body.no-scroll {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Narrow", sans-serif;
  line-height: 1.55;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.45), transparent 28%),
    radial-gradient(circle at 88% 87%, rgba(255, 255, 255, 0.35), transparent 30%),
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(0, 0, 0, 0.026) 39px),
    linear-gradient(160deg, var(--bg), var(--bg-2));
}

.decor-scatter {
  position: absolute;
  inset: 0;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
}

.decor-lizard {
  position: absolute;
  top: var(--top);
  width: var(--w, clamp(74px, 9.2vw, 132px));
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: var(--o, 0.22);
  filter: saturate(0.95) contrast(1.06);
  border: 2px solid var(--line);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(var(--rot));
}

.decor-lizard.left {
  left: var(--x, 0.4%);
}

.decor-lizard.right {
  right: var(--x, 0.4%);
}

/* .contact-strip, */
/* .hero, */
/* .layout, */
/* .footer { */
  /* position: relative; */
  /* z-index: 1; */
/* } */

.contact-strip {
  width: min(1100px, 95%);
  margin: 0 auto 0;
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 30; */
  
}

.site-tag {
  color: var(--ink);
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.site-tag:hover {
  color: var(--accent);
}

.contacts-toggle {
  position: relative;
}

.contacts-toggle summary {
  list-style: none;
  cursor: pointer;
  border: 2px solid var(--line);
  background: var(--paper-2);
  padding: 5px 10px;
  font-weight: 700;
}

.contacts-toggle summary::-webkit-details-marker {
  display: none;
}

.contacts-toggle summary:hover {
  background: #efe2cd;
}

.contacts-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 90vw);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  background: var(--paper);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.contact-pill {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 9px;
  font-size: 0.9rem;
}

.contact-pill:hover {
  background: #fff2d2;
}

.contact-photo {
  margin: 2px 0 0;
  width: 100%;
  max-width: 130px;
  border: 2px solid var(--line);
  background: #fff;
}

.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero {
  width: min(1100px, 95%);
  margin: 14px auto 0;
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  background: linear-gradient(135deg, var(--paper), #f6ebd8);
  padding: 16px;
}

.kicker {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 7px 0;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  max-width: 28ch;
}

.hero p {
  margin: 0 0 11px;
  color: var(--muted);
}

.layout {
  width: min(1100px, 95%);
  margin: 18px auto 26px;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 14px;
}

.sidebar {
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  background: #fffefb;
  padding: 11px;
  position: sticky;
  top: 9px; 
			/* from 96 to 9 px */
  align-self: start;
}

.sidebar label {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  margin-bottom: 5px;
}

.sidebar input {
  width: 100%;
  border: 2px solid var(--line);
  background: #fff;
  padding: 8px;
  margin-bottom: 9px;
  font: inherit;
}

.sidebar nav {
  display: grid;
  gap: 5px;
  max-height: 73vh;
  overflow: auto;
}

.nav-link {
  border: 2px solid transparent;
  background: #f7efe2;
  color: #222;
  text-decoration: none;
  padding: 6px 8px;
  font-size: 0.9rem;
}

.nav-link:hover {
  border-color: var(--line);
  background: #f0dfc8;
}

.nav-link.active {
  border-color: var(--line);
  background: #ffd6a8;
  color: #20140d;
}

main {
  display: grid;
  gap: 12px;
}

.card {
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  background: var(--paper);
  padding: 13px 14px;
  scroll-margin-top: 108px;
}

/* main .card:nth-child(odd) { */
  /* transform: rotate(-0.18deg); */
/* } */

/* main .card:nth-child(even) { */
  /* transform: rotate(0.18deg); */
/* } */

.card h2 {
  margin: 0 0 9px;
  line-height: 1.25;
  font-size: 1.18rem;
}

.card p,
.card li {
  margin-top: 0;
}

.card a {
  color: var(--accent);
}

.action h2 {
  border-bottom: 2px dashed #666;
  padding-bottom: 7px;
}

.muted {
  color: var(--muted);
}

details {
  border: 2px dashed #646464;
  padding: 8px 10px;
  background: #fffaf2;
  margin-bottom: 9px;
}

summary {
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
  font-weight: 700;
}

.steps-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 8px;
}

.steps-grid img {
  width: 100%;
  height: auto;
  border: 2px solid var(--line);
  background: #fff;
  display: block;
  cursor: zoom-in;
}

/* .steps-grid img:nth-child(odd) { */
  /* transform: rotate(-0.4deg); */
/* } */

/* .steps-grid img:nth-child(even) { */
  /* transform: rotate(0.45deg); */
/* } */

code {
  background: #ffe8bf;
  border: 1px solid #dbb36f;
  padding: 1px 4px;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 12, 0.9);
  z-index: 200;
  padding: 18px 54px;
}

.image-modal.open {
  display: flex;
}

.image-modal__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.image-modal__figure {
  margin: 0;
  max-width: min(1000px, 100%);
  max-height: 100%;
  display: grid;
  gap: 8px;
}

.image-modal__figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  border: 2px solid #f3e7d2;
  box-shadow: 0 0 0 3px #000;
}

.image-modal__figure figcaption {
  color: #f5ece0;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
}

.image-modal__close,
.image-modal__nav {
  border: 2px solid #f5e5cb;
  background: rgba(30, 20, 10, 0.86);
  color: #f8eada;
  cursor: pointer;
  font-family: "Courier New", monospace;
}

.image-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  line-height: 1;
}

.image-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 48px;
  font-size: 1.2rem;
}

.image-modal__nav.prev {
  left: -64px;
}

.image-modal__nav.next {
  right: -64px;
}

.image-modal__nav[hidden] {
  visibility: hidden;
}

.image-modal__close:hover,
.image-modal__nav:hover {
  background: rgba(63, 42, 20, 0.95);
}

.footer {
  width: min(1100px, 95%);
  margin: 0 auto 24px;
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  background: var(--paper);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  scroll-margin-top: 108px;
}

.footer h3 {
  margin: 0 0 4px;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.lizard-card {
  margin: 0;
  /* width: 172px; */
  width:40%;
  border: 2px solid var(--line);
  background: #fff;
  padding: 6px;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

.lizard-card img {
  width: 100%;
  display: block;
  border: 2px solid var(--line);
}

@media (max-width: 960px) {
  .decor-scatter {
    display: none;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .contact-strip {
    top: 0;
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .contacts-panel {
    position: fixed;
    right: 8px;
    top: 52px;
  }

  .decor-lizard {
    width: clamp(58px, 11vw, 86px);
    opacity: 0.1;
    border-width: 1px;
  }

  .decor-lizard.left {
    left: clamp(-3%, var(--x, 0%), 2.5%);
  }

  .decor-lizard.right {
    right: clamp(-3%, var(--x, 0%), 2.5%);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-modal {
    padding: 14px 42px;
  }

  .image-modal__stage {
    max-width: calc(100vw - 84px);
  }

  .image-modal__nav {
    width: 34px;
    height: 44px;
    font-size: 1.05rem;
  }

  .image-modal__nav.prev {
    left: -44px;
  }

  .image-modal__nav.next {
    right: -44px;
  }

  main .card:nth-child(odd),
  main .card:nth-child(even),
  .steps-grid img:nth-child(odd),
  .steps-grid img:nth-child(even) {
    transform: none;
  }
}

@media  only screen and (max-width: 1280px){
.contact-strip {
  display: grid;
justify-content: center;}