/* Godwin Systems — temporary landing page
   Calm, security-conscious, typographic. Graphite base, one restrained green
   accent. No third-party fonts, images, or scripts. */

:root {
  --bg:        #10161a;
  --bg-elev:   #151d23;
  --bg-sunken: #0d1216;
  --heading:   #eaf1ee;
  --text:      #c7d1cd;
  --text-dim:  #869591;
  --accent:    #3f9e78;
  --accent-2:  #57b48e;
  --accent-soft: rgba(63, 158, 120, 0.14);
  --hairline:  rgba(199, 209, 205, 0.10);
  --hairline-strong: rgba(199, 209, 205, 0.16);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --wrap: 1080px;
  --radius: 12px;
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 72% -8%, rgba(63, 158, 120, 0.10), transparent 60%),
    radial-gradient(900px 500px at 8% 0%, rgba(78, 120, 150, 0.06), transparent 55%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2 { color: var(--heading); font-weight: 600; letter-spacing: -0.02em; }

a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--heading); }

p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Accessibility ---------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #06120c;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 20;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 2;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--heading);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark { color: var(--accent); flex: none; }
.brand-name { font-size: 1.05rem; }

.locality {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.locality span { color: var(--accent); margin-right: 0.35rem; }

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 45%, #000 78%, transparent 100%);
          mask-image: linear-gradient(100deg, transparent 8%, #000 45%, #000 78%, transparent 100%);
}
.hero-mesh .mesh-lines { opacity: 0.5; }
.hero-mesh .mesh-nodes circle { opacity: 0.9; }

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  max-width: 760px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.6rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--hairline-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(87, 180, 142, 0.55);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(87, 180, 142, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(87, 180, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 180, 142, 0); }
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  line-height: 1.05;
}

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--text);
  max-width: 40ch;
  margin-bottom: 2rem;
}

/* Buttons / CTA ---------------------------------------------------------- */

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #06120c;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--accent-2); color: #06120c; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.email-link {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.email-link:hover { color: var(--accent-2); text-decoration: underline; }

/* Sections --------------------------------------------------------------- */

.section { border-bottom: 1px solid var(--hairline); }
.section > .wrap { padding-block: clamp(2.75rem, 6vw, 4.25rem); }

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  font-family: var(--font-mono);
}

/* Services */

.service-tags {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.service-tags li {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  background: var(--bg-elev);
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 500;
}
.services-detail {
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0;
}

/* Approach */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 5vw, 3.5rem);
}
.approach-copy { color: var(--text); max-width: 46ch; margin: 0; }

/* Contact */

.contact-inner { max-width: 680px; }
.contact h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
}
.contact-copy { color: var(--text-dim); margin-bottom: 1.75rem; max-width: 52ch; }

/* 404 -------------------------------------------------------------------- */

.error-inner { max-width: 640px; padding-block: clamp(4rem, 12vw, 8rem); }
.error-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 1rem; }
.error-lead { margin-bottom: 2rem; }

/* Footer ----------------------------------------------------------------- */

.site-footer { margin-top: auto; }
.footer-inner {
  padding-block: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.footer-brand {
  margin: 0;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.footer-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.footer-meta a { color: var(--text-dim); text-decoration: none; }
.footer-meta a:hover { color: var(--accent-2); }
.footer-meta .dot { color: var(--hairline-strong); }

/* Reduced motion / transparency ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .status-pill { background: var(--bg-elev); }
  .hero-mesh { opacity: 0.12; }
}

/* Small screens ---------------------------------------------------------- */

@media (max-width: 560px) {
  body { font-size: 16px; }
  .locality { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Light-mode viewers: this page is dark by design, but keep it legible if a
   client forces a light rendering context by pinning the dark palette. */
@media (prefers-color-scheme: light) {
  :root { color-scheme: dark; }
}
