:root {
  --bg: #000;
  --panel: #111;
  --ink: #f5fff6;
  --muted: #b8c5bd;
  --line: rgba(255, 255, 255, .22);
  --green: #1beb31;
  --green-soft: #20ce88;
  --blue: #3d9be9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 Arial, Helvetica, sans-serif;
}

a { color: var(--green); }

.site-header {
  background: #000;
  border-bottom: 1px solid var(--line);
  padding: 0 5vw 1rem;
  text-align: center;
}

.brand {
  display: inline-block;
  margin: 0 auto;
}

.brand img {
  display: block;
  width: min(624px, 92vw);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1.25rem;
  max-width: 1180px;
  margin: .3rem auto 0;
}

.nav a {
  color: var(--green);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
}

.nav a:hover { color: var(--green-soft); }

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 5vw 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: stretch;
  min-height: 430px;
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 430px;
  padding: 2rem;
  text-align: center;
}

.hero-copy p:first-child {
  max-width: 680px;
  margin: 0;
  color: var(--green);
  font-family: "Trebuchet MS", "Arial Black", Arial, sans-serif;
  font-size: clamp(2rem, 4.7vw, 3.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-media {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 2rem;
  background-color: #f5f7f4;
  background-image: url("/images/40df7c_07e1ec4b89cc4320a55b6ff543d1be06-mv2.jpg");
  background-repeat: repeat;
  background-position: right bottom;
  background-size: 360px 240px;
}

.hero-media img {
  width: min(303px, 100%);
  aspect-ratio: 303 / 370;
  object-fit: cover;
  border: 2px solid #000;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .45);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin: 2rem 0 0;
}

.cta a,
.content p > a:only-child {
  display: inline-block;
  min-width: 120px;
  padding: .7rem 1.1rem;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.project-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.project-links a {
  min-height: 160px;
  padding: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.project-links strong {
  display: block;
  color: var(--green);
  font-size: 1.25rem;
  line-height: 1.2;
}

.project-links span {
  display: block;
  margin-top: .75rem;
  color: var(--muted);
}

.content {
  max-width: 980px;
  margin: 0 auto;
}

.content h1 {
  margin: 0 0 1.5rem;
  color: var(--green);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
}

.content h2 {
  margin: 2.5rem 0 .75rem;
  color: var(--green);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.content h3 {
  margin: 1.6rem 0 .45rem;
  color: var(--green-soft);
}

.content p,
.content li {
  max-width: 760px;
}

.content ul {
  padding-left: 1.2rem;
}

.content li {
  margin: .35rem 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery figure {
  margin: 0;
  background: #080808;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.site-footer {
  max-width: calc(1180px - 10vw);
  margin: 0 auto;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.site-footer p {
  margin: .4rem 0;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.social a {
  color: var(--muted);
  text-decoration: none;
}

.social a:hover { color: var(--green); }

@media (max-width: 820px) {
  .page { padding-top: 1.5rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy,
  .hero-media { min-height: 320px; }
  .project-links { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header { padding-inline: 1rem; }
  .hero-copy,
  .hero-media { padding: 1.25rem; }
  .hero-copy p:first-child { font-size: 2rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: auto; }
}
