/* Evelix — shared styles. Monochrome, based on the EVELIX wordmark. */

:root {
  --bg: #0b0b0c;
  --fg: #f4f4f5;
  --muted: #9b9ba3;
  --line: #232327;
  --max: 60rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Funnel Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.brand {
  font-family: "Funnel Display", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--fg);
}
.nav {
  display: flex;
  gap: 1.6rem;
}
.nav a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fg);
  border-color: var(--fg);
}

/* Main */
main { flex: 1 0 auto; }

.section { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }

h1, h2, h3 {
  font-family: "Funnel Display", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--fg);
  max-width: 38rem;
}

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

/* Hero (home) */
.hero {
  padding: 7rem 0 5rem;
}
.hero .mark {
  font-family: "Funnel Display", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: 1;
  margin: 0;
}
.hero .tagline {
  font-family: "Funnel Display", sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  margin: 1.5rem 0 0;
  color: var(--fg);
}
.hero .intro {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--muted);
}

/* Buttons / links */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--line);
  color: var(--fg);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { border-color: var(--fg); }
.btn--solid {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn--solid:hover { background: transparent; color: var(--fg); }

/* Services / work lists */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
}
.item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.item p { color: var(--muted); margin: 0; }

.note {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

/* Contact */
.email {
  font-family: "Funnel Display", sans-serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 5vw, 2.2rem);
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease;
  word-break: break-word;
}
.email:hover { border-color: var(--fg); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.site-footer .wrap {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}
.site-footer p { margin: 0; }
.legal { max-width: 40rem; }

@media (max-width: 38rem) {
  .nav { gap: 1.1rem; }
  .section { padding: 3.25rem 0; }
}
