* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #e5e8dd;
  color: #343a2d;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: none;
}
img { max-width: 100%; display: block; }
::selection { background: rgba(95,122,63,0.30); color: #343a2d; }
:focus-visible { outline: 2px solid #5f7a3f; outline-offset: 2px; }
a { color: #5f7a3f; text-decoration: none; }
a:hover { color: #343a2d; background: rgba(95,122,63,0.14); }

/* ---- CRT scanline + flicker overlay (subtle) ---- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, rgba(52,58,45,0.06) 0, rgba(52,58,45,0.06) 1px, transparent 1px, transparent 3px);
  opacity: 0.55;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9997;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%,
    transparent 60%, rgba(0,0,0,0.28) 100%);
}

/* ---- menu bar ---- */
.menubar {
  position: sticky; top: 0; z-index: 50;
  background: #e0e3d9;
  border-bottom: 2px solid rgba(52,58,45,0.22);
}
.menubar-in {
  max-width: 68rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.91rem;
  padding: 0.5rem 1.82rem;
}
.logo {
  font-weight: bold; text-transform: uppercase;
  letter-spacing: 0.08em; color: #5f7a3f;
  text-shadow: 0 0 8px rgba(95,122,63,0.55);
}
.menu { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; }
.menu a {
  color: #343a2d; text-transform: uppercase;
  font-size: 0.76rem; letter-spacing: 0.1em;
}
.menu a:hover { color: #5f7a3f; background: transparent; text-shadow: 0 0 6px rgba(95,122,63,0.55); }

/* ---- crt main ---- */
.crt { max-width: 68rem; margin: 0 auto; padding: 3.12rem 1.82rem; }

/* ---- window chrome ---- */
.win {
  background: #f8faf0;
  border: 2px solid rgba(52,58,45,0.22);
  border-radius: 3px;
  margin-bottom: 3.12rem;
  box-shadow: 0 0 0 1px #e5e8dd, 6px 6px 0 0 rgba(0,0,0,0.35);
  overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 0.6rem;
  background: #e0e3d9;
  border-bottom: 2px solid rgba(52,58,45,0.22);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem; letter-spacing: 0.05em;
}
.dots { display: inline-flex; gap: 0.32rem; }
.dot {
  width: 0.72rem; height: 0.72rem; border-radius: 50%;
  background: #858c78; border: 1px solid rgba(52,58,45,0.22); display: inline-block;
}
.dots .dot:first-child { background: #5f7a3f; }
.win-title { flex: 1; color: #858c78; text-transform: lowercase; }
.win-btns { color: #858c78; letter-spacing: 0.15em; font-size: 0.72rem; }
.win-body { padding: 1.82rem 1.82rem 3.12rem; }
.win-h {
  font-family: Optima, Candara, 'Segoe UI', sans-serif; font-size: 1.35rem; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #343a2d; margin-bottom: 0.91rem;
}
.win-h::before { content: "// "; color: #5f7a3f; }
.readout { color: #858c78; margin-bottom: 1.82rem; max-width: 42rem; }

/* ---- ascii divider ---- */
.ascii-rule {
  color: #858c78; opacity: 0.6; font-size: 0.8rem;
  white-space: nowrap; overflow: hidden;
  margin: 1.82rem 0; letter-spacing: -0.5px;
}

/* ---- hero window ---- */
.win.hero { background: #f3f6eb; }
.win.hero .win-body { padding: 3.12rem 1.82rem 4.68rem; }
.boot {
  display: flex; flex-direction: column;
  font-size: 0.82rem; color: #858c78;
  margin-bottom: 1.82rem;
}
.boot-line {
  white-space: pre-wrap; opacity: 0;
  animation: bootin 0.01s forwards;
}
@keyframes bootin { to { opacity: 1; } }
.boot-line:last-child { color: #5f7a3f; }
.hero-kick {
  text-transform: uppercase; letter-spacing: 0.34em;
  font-size: 0.72rem; color: #5f7a3f; margin-bottom: 0.4rem;
}
.hero-title {
  font-family: Optima, Candara, 'Segoe UI', sans-serif; font-weight: bold;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: #343a2d; text-shadow: 0 0 12px rgba(95,122,63,0.14);
}
.hero-sub {
  color: #858c78; margin: 0.6rem 0 1.82rem; max-width: 40rem;
  font-size: 1rem;
}
.cursor {
  display: inline-block; width: 0.62em; height: 1.05em;
  background: #5f7a3f; margin-left: 0.12em; vertical-align: -0.1em;
  box-shadow: 0 0 10px rgba(95,122,63,0.55);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.run { display: flex; flex-wrap: wrap; gap: 0.91rem; }

/* ---- buttons ---- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: 'Courier New', Courier, monospace; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.7em 1.6em;
  background: #5f7a3f; color: #ffffff;
  border: 2px solid #5f7a3f; border-radius: 0;
  box-shadow: 3px 3px 0 0 rgba(52,58,45,0.22);
  transition: transform 0.08s steps(2), box-shadow 0.08s steps(2),
              background 0.12s ease, color 0.12s ease;
}
.btn:hover {
  background: #f8faf0; color: #5f7a3f;
  box-shadow: 0 0 12px rgba(95,122,63,0.55); transform: translate(1px, 1px);
}
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 rgba(52,58,45,0.22); }
.btn.ghost {
  background: transparent; color: #5f7a3f;
  box-shadow: 3px 3px 0 0 rgba(52,58,45,0.22);
}
.btn.ghost:hover { background: rgba(95,122,63,0.14); }

/* ---- about stats ---- */
.stats {
  font-family: 'Courier New', Courier, monospace; font-size: 0.9rem;
  color: #5f7a3f; background: #f3f6eb;
  border: 1px dashed rgba(52,58,45,0.22); border-radius: 3px;
  padding: 1.82rem; margin-top: 1.82rem; line-height: 1.8;
  overflow-x: auto;
}

/* ---- services grid ---- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.91rem;
}
.svc {
  border: 1px solid rgba(52,58,45,0.22); border-left: 3px solid #5f7a3f;
  border-radius: 3px; background: #f3f6eb;
  padding: 1.82rem;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.svc:hover { box-shadow: 0 0 14px rgba(95,122,63,0.14); transform: translateY(-2px); }
.svc-id { color: #5f7a3f; font-size: 0.8rem; letter-spacing: 0.1em; }
.svc h3 {
  font-family: 'Courier New', Courier, monospace; font-size: 1rem; text-transform: uppercase;
  letter-spacing: 0.04em; margin: 0.3rem 0; color: #343a2d;
}
.svc p { color: #858c78; font-size: 0.88rem; }

/* ---- work tiles ---- */
.tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.82rem;
}
.tile {
  border: 2px solid rgba(52,58,45,0.22); border-radius: 3px;
  background: #f3f6eb; overflow: hidden;
}
.tile-bar {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.5rem; background: #e0e3d9;
  border-bottom: 1px solid rgba(52,58,45,0.22);
  font-size: 0.68rem; color: #858c78;
}
.tile-bar .dot { width: 0.5rem; height: 0.5rem; }
.tile-bar span { margin-left: auto; }
.tile img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.tile figcaption {
  padding: 0.4rem 0.55rem; font-size: 0.72rem; color: #5f7a3f;
  border-top: 1px solid rgba(52,58,45,0.22); background: #f8faf0;
}

/* ---- log stream ---- */
.log {
  font-size: 0.86rem; padding: 0.35rem 0;
  border-bottom: 1px dotted rgba(52,58,45,0.22);
}
.ts { color: #858c78; }
.ok {
  color: #ffffff; background: #5f7a3f;
  padding: 0 0.35em; font-size: 0.72rem; letter-spacing: 0.06em;
}
.usr { color: #5f7a3f; }

/* ---- contact terminal form ---- */
.term-form { display: flex; flex-direction: column; gap: 0.91rem; max-width: 34rem; }
.term-form label { display: flex; align-items: flex-start; gap: 0.6rem; }
.pr { color: #5f7a3f; padding-top: 0.6rem; white-space: nowrap; }
.term-form input, .term-form textarea {
  flex: 1; font: inherit; color: #343a2d;
  background: #f3f6eb; border: 1px solid rgba(52,58,45,0.22); border-radius: 3px;
  padding: 0.55rem 0.7rem; resize: vertical;
}
.term-form input:focus, .term-form textarea:focus {
  outline: none; border-color: #5f7a3f; box-shadow: 0 0 0 2px rgba(95,122,63,0.14);
}
.term-form .btn { align-self: flex-start; margin-top: 0.3rem; }
.dir {
  margin-top: 1.82rem; padding: 1.82rem; background: #f3f6eb;
  border: 1px dashed rgba(52,58,45,0.22); border-radius: 3px;
  color: #858c78; font-size: 0.88rem; line-height: 1.8; overflow-x: auto;
}

/* ---- status bar footer ---- */
.statusbar {
  position: sticky; bottom: 0; z-index: 40;
  background: #e0e3d9; border-top: 2px solid rgba(52,58,45,0.22);
}
.statusbar-in {
  max-width: 68rem; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  padding: 0.4rem 1.82rem; font-size: 0.76rem; color: #858c78;
  letter-spacing: 0.05em;
}
.blink-ok { color: #5f7a3f; animation: blink 1.6s steps(1) infinite; }

@media (prefers-reduced-motion: reduce) {
  .boot-line, .cursor, .blink-ok, .btn { animation: none !important; opacity: 1 !important; }
}

@media (max-width: 820px) {
  .svc-grid, .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid, .tiles { grid-template-columns: 1fr; }
  .menubar-in { justify-content: center; text-align: center; }
  .win-body { padding: 1.82rem 0.91rem 3.12rem; }
  .ascii-rule { font-size: 0.6rem; }
}


.xq{box-sizing:border-box;font-family:Georgia, 'Times New Roman', serif;color:#343a2d;padding:56px 24px;width:100%}
.xq *{box-sizing:border-box;margin:0}
.xq .xq-wrap{max-width:1060px;margin:0 auto}
.xq h2{font-family:Optima, Candara, 'Segoe UI', sans-serif;font-size:1.7rem;line-height:1.2;margin-bottom:8px}
.xq .xq-kick{display:block;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#5f7a3f;margin-bottom:10px;font-weight:700}

.xq-cta{background:#5f7a3f;color:#ffffff}
.xq-cta h2,.xq-cta p{color:#ffffff}
.xq-cta p{opacity:.85;max-width:52ch}
.xq-cta-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.xq-btn{display:inline-block;background:#eef1e6;color:#343a2d;text-decoration:none;font-weight:700;padding:14px 30px;border-radius:14px;font-family:Optima, Candara, 'Segoe UI', sans-serif}
.xq-btn:hover{transform:translateY(-2px)}


.xq-steplist{counter-reset:xqs;list-style:none;padding:0;margin-top:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}
.xq-step{counter-increment:xqs;position:relative;padding:18px 18px 18px 20px;border-left:3px solid #5f7a3f;background:rgba(52,58,45,0.05);border-radius:0 14px 14px 0}
.xq-step::before{content:"0" counter(xqs);display:block;font-family:Optima, Candara, 'Segoe UI', sans-serif;font-size:.8rem;letter-spacing:.1em;color:#5f7a3f;font-weight:800;margin-bottom:8px}
.xq-step h3{font-family:Optima, Candara, 'Segoe UI', sans-serif;font-size:1.02rem;margin-bottom:6px}
.xq-step p{font-size:.9rem;color:#858c78}


/* =====================================================
   DESIGN DNA: mono-outline
   Whole-page visual system applied over the layout
   archetype. Appended last so it wins the cascade.
   ===================================================== */
*{box-shadow:none !important;border-radius:0 !important}
h1,h2,h3{font-family:'Helvetica Neue', Helvetica, Arial, sans-serif !important;text-transform:uppercase !important;letter-spacing:.18em !important;font-weight:400 !important}
img{filter:grayscale(.85) contrast(1.05);outline:1px solid #343a2d;outline-offset:8px;margin:8px}
a[class*="btn"],button,span[class*="btn"]{background:transparent !important;color:inherit !important;border:2px solid currentColor !important;text-transform:uppercase;letter-spacing:.2em;font-size:.8em}
div[class*="card"]:not([class*="cards"]),article[class*="card"],a[class*="card"],figure[class*="card"],li[class*="card"]{border:1.5px solid rgba(52,58,45,.8) !important;background:transparent !important}
html::after{content:'';position:fixed;inset:0;z-index:99990;pointer-events:none;border:1px solid rgba(52,58,45,.8);background:none;margin:10px}
