:root {
  color-scheme: dark;
  --bg: #141613;
  --panel: #1c201a;
  --line: #333a2e;
  --ink: #f1f3ea;
  --muted: #b4bbae;
  --lime: #dcfa80;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.63; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; color: #141613; background: var(--lime); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.logo { display: inline-flex; align-items: baseline; gap: 5px; font-size: 2.55rem; line-height: 1; font-weight: 850; letter-spacing: -.105em; text-decoration: none; }
.logo span span { color: var(--lime); }
.logo i { width: 5px; height: 5px; background: var(--lime); border-radius: 1px; }
nav { display: flex; align-items: center; gap: 35px; }
nav a { text-decoration: none; font-size: .94rem; font-weight: 620; color: var(--muted); }
nav a:hover, .footer a:hover { color: var(--lime); }
.nav-contact { padding: 9px 18px; border: 1px solid #54613c; color: var(--lime); border-radius: 7px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 76px); align-items: center; padding-block: 72px 80px; }
.location { display: flex; gap: 10px; align-items: center; color: var(--lime); font-family: ui-monospace, monospace; font-size: .875rem; letter-spacing: .075em; text-transform: uppercase; margin-bottom: 24px; }
.location-pin { width: 10px; height: 10px; border: 2px solid var(--lime); border-radius: 50% 50% 50% 0; transform: translateY(-2px) rotate(-45deg); }
h1 { font-size: clamp(2.5rem, 5.05vw, 4.9rem); line-height: 1.00; letter-spacing: -.073em; font-weight: 780; }
h1 em { color: var(--lime); font-style: normal; }
.intro-text { color: var(--muted); max-width: 41ch; font-size: clamp(1rem, 1.36vw, 1.18rem); margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 12px 20px; min-height: 48px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: .94rem; font-weight: 700; transition: background-color .18s, border-color .18s; }
.primary { background: var(--lime); color: #181c0e; }
.primary:hover { background: #eeffb8; }
.outline { border-color: #4c5642; }
.outline:hover { border-color: var(--lime); background: #242b1c; }
.hero-figure { aspect-ratio: 8 / 7; overflow: hidden; border: 1px solid #3c4433; border-radius: 14px; background: #22291d; }
.hero-figure img { width: 100%; height: 100%; display: block; object-fit: cover; }

.section { padding-block: 46px 50px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 750; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.service { min-width: 0; padding: 24px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.service-icon, .download-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 7px; background: #2e3924; color: var(--lime); font: 700 1.4rem ui-monospace, monospace; }
h3 { font-size: 1.26rem; line-height: 1.2; letter-spacing: -.022em; }
.service h3 { margin-block: 19px 8px; }
.service p, .download-empty p, .program p { color: var(--muted); }
.downloads { display: grid; gap: 10px; margin-top: 24px; }
.download-empty, .program { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.program { justify-content: space-between; }
.program p { margin-top: 5px; }
.program-meta { font-size: .9rem; }

.contact { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 28px; border-radius: 12px; background: var(--lime); color: #181c0e; padding: clamp(22px, 4vw, 54px); }
.contact p { max-width: 48ch; margin-top: 15px; }
address { display: grid; justify-items: start; gap: 10px; font-style: normal; }
address strong { font-size: 1.15rem; }
address a { overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact a:focus-visible { outline-color: #181c0e; }
.footer { border-top: 1px solid var(--line); padding-block: 20px 25px; display: flex; justify-content: space-between; gap: 18px; font-size: .9rem; color: var(--muted); }
.footer a { text-underline-offset: 4px; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 56px); }
  .hero { padding-block: 54px 62px; }
  .service { padding: 17px; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 66px; }
  .logo { font-size: 2rem; }
  nav { gap: clamp(10px, 3vw, 22px); }
  nav a { font-size: .875rem; }
  .nav-contact { padding: 7px 8px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 37px 40px; }
  h1 { font-size: clamp(2.2rem, 9vw, 4rem); }
  .hero-figure { aspect-ratio: 5 / 4; }
  .section { padding-block: 33px; }
  .services, .contact { grid-template-columns: 1fr; }
  .service { padding: 20px; }
  .download-empty, .program { padding: 16px; }
}
@media (max-width: 350px) {
  nav { gap: 7px; }
  .nav-contact { border: 0; padding: 5px; }
  .wrap { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.project {
  border: 1px solid #45513a;
  border-radius: 10px;
  background: linear-gradient(143deg, #262e20, var(--panel) 68%);
  padding: clamp(20px, 3.5vw, 36px);
}
.project-area {
  color: var(--lime);
  font-size: .875rem;
  font-weight: 640;
  margin-bottom: 16px;
}
.project h3 { font-size: clamp(1.4rem, 2.7vw, 2.1rem); }
.project-description { color: var(--muted); margin-top: 10px; max-width: 51ch; }

.print-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3.5vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.print-panel h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.print-panel p { margin-top: 10px; color: var(--muted); max-width: 64ch; }
.program-summary { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 690px) {
  .projects, .print-panel { grid-template-columns: 1fr; }
  .print-panel { gap: 15px; }
  .print-panel .button { justify-self: start; }
  .program { align-items: flex-start; flex-direction: column; }
}
